<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:24:08 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2907] Okapi service doesn&apos;t start on boot in Vagrant VMs</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2907</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ace80da0c-f920-41ff-a68c-b909ca51fd53&quot; class=&quot;user-hover&quot; rel=&quot;557058:ce80da0c-f920-41ff-a68c-b909ca51fd53&quot; data-account-id=&quot;557058:ce80da0c-f920-41ff-a68c-b909ca51fd53&quot; accountid=&quot;557058:ce80da0c-f920-41ff-a68c-b909ca51fd53&quot; rel=&quot;noreferrer&quot;&gt;Yauheni Kuzmianok&lt;/a&gt; reports:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Hi guys looks like last testing-backend vagrant box doesn&#8217;t work&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa8c797e5-5c61-47c6-baca-1a78467606c9&quot; class=&quot;user-hover&quot; rel=&quot;557058:a8c797e5-5c61-47c6-baca-1a78467606c9&quot; data-account-id=&quot;557058:a8c797e5-5c61-47c6-baca-1a78467606c9&quot; accountid=&quot;557058:a8c797e5-5c61-47c6-baca-1a78467606c9&quot; rel=&quot;noreferrer&quot;&gt;Andrei Makaranka&lt;/a&gt; adds:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Run vagrant box &quot;5.0.0-20201209.5451&quot; and see only 4 containers&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="81909">FOLIO-2907</key>
            <summary>Okapi service doesn&apos;t start on boot in Vagrant VMs</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                    </labels>
                <created>Thu, 10 Dec 2020 14:16:47 +0000</created>
                <updated>Fri, 11 Dec 2020 16:53:16 +0000</updated>
                            <resolved>Fri, 11 Dec 2020 16:53:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                                                            <comment id="197876" author="5c706fbb47a54a6728e59df2" created="Thu, 10 Dec 2020 16:16:50 +0000"  >&lt;p&gt;Okapi service doesn&apos;t start on boot, for some reason.&lt;/p&gt;</comment>
                                                            <comment id="197878" author="5c706fbb47a54a6728e59df2" created="Thu, 10 Dec 2020 16:41:56 +0000"  >&lt;p&gt;From the syslog:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Dec 10 16:20:26 vagrant systemd[1]: docker.service: Found ordering cycle on okapi.service/stop
Dec 10 16:20:26 vagrant systemd[1]: docker.service: Job okapi.service/stop deleted to &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt; ordering cycle starting with docker.service/stop
Dec 10 16:26:38 vagrant kernel: [   35.548047] systemd[1]: multi-user.target: Found ordering cycle on okapi.service/start
Dec 10 16:26:38 vagrant kernel: [   35.548055] systemd[1]: multi-user.target: Job okapi.service/start deleted to &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt; ordering cycle starting with multi-user.target/start
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="197880" author="5c706fbb47a54a6728e59df2" created="Thu, 10 Dec 2020 18:00:34 +0000"  >&lt;p&gt;The issue seems to be that the &lt;tt&gt;okapi.service&lt;/tt&gt; wants to start before &lt;tt&gt;multi-user.target&lt;/tt&gt; and after &lt;tt&gt;docker.service&lt;/tt&gt;, but &lt;tt&gt;docker.service&lt;/tt&gt; specifies:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
After=network-online.target firewalld.service containerd.service multi-user.target
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This appears to be a change in the &lt;tt&gt;docker-ce&lt;/tt&gt; Debian package between v19 and v20.&lt;/p&gt;

&lt;p&gt;It seems that adding &lt;tt&gt;multi-user.target&lt;/tt&gt; to the &lt;tt&gt;After&lt;/tt&gt; key of &lt;tt&gt;okapi.service&lt;/tt&gt; resolves the issue. Opened 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;OKAPI-966&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/OKAPI-966&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Okapi systemd service fails to start after upgrade to docker-ce v20&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            OKAPI-966
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 for that update.&lt;/p&gt;</comment>
                                                            <comment id="197883" author="5c706fbb47a54a6728e59df2" created="Thu, 10 Dec 2020 18:12:07 +0000"  >&lt;p&gt;Until 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;OKAPI-966&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/OKAPI-966&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Okapi systemd service fails to start after upgrade to docker-ce v20&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            OKAPI-966
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 is resolved and a new Okapi package is released, the workaround for Vagrant VM users is to log into the VM and issue the command &lt;tt&gt;sudo systemctl start okapi&lt;/tt&gt;. This will start up Okapi without a problem (because &lt;tt&gt;multi-user.target&lt;/tt&gt; is obviously complete after the system is booted).&lt;/p&gt;</comment>
                                                            <comment id="197886" author="5c706fbb47a54a6728e59df2" created="Fri, 11 Dec 2020 16:53:05 +0000"  >&lt;p&gt;With release of Okapi v4.5.1, this is resolved. A test build of snapshot-backend core was successful. Future builds will include this update.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="54335">OKAPI-966</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i023ov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1863">DevOps: Sprint 103</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>