<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:24:48 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>[MODRS-79] mod-remote-storage unavailable in snapshot environments</title>
                <link>https://folio-org.atlassian.net/browse/MODRS-79</link>
                <project id="10182" key="MODRS">mod-remote-storage</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5af5e627525ba96b58654f12&quot; class=&quot;user-hover&quot; rel=&quot;5af5e627525ba96b58654f12&quot; data-account-id=&quot;5af5e627525ba96b58654f12&quot; accountid=&quot;5af5e627525ba96b58654f12&quot; rel=&quot;noreferrer&quot;&gt;Ann-Marie Breaux&lt;/a&gt; and &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; class=&quot;user-hover&quot; rel=&quot;557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; data-account-id=&quot;557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; accountid=&quot;557058:f42d9c43-226d-4aa3-bb31-9b2dd07920aa&quot; rel=&quot;noreferrer&quot;&gt;Owen Stephens&lt;/a&gt; reported this morning that the snapshot environment is unavailable.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Symptoms&quot;&gt;&lt;/a&gt;Symptoms&lt;/h3&gt;

&lt;p&gt;The &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-snapshot/785/console&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;latest build&lt;/a&gt; reports the following error:&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;
fatal: [10.36.1.36]: FAILED! =&amp;gt; {&lt;span class=&quot;code-quote&quot;&gt;&quot;changed&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;connection&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;close&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;content&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;POST request &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; mod-remote-storage-1.1.0-SNAPSHOT.49 /_/tenant failed with 500: {\&quot;&lt;/span&gt;timestamp\&lt;span class=&quot;code-quote&quot;&gt;&quot;:\&quot;&lt;/span&gt;2021-02-01T01:44:25.267+00:00\&lt;span class=&quot;code-quote&quot;&gt;&quot;,\&quot;&lt;/span&gt;status\&lt;span class=&quot;code-quote&quot;&gt;&quot;:500,\&quot;&lt;/span&gt;error\&lt;span class=&quot;code-quote&quot;&gt;&quot;:\&quot;&lt;/span&gt;Internal Server Error\&lt;span class=&quot;code-quote&quot;&gt;&quot;,\&quot;&lt;/span&gt;message\&lt;span class=&quot;code-quote&quot;&gt;&quot;:\&quot;&lt;/span&gt;\&lt;span class=&quot;code-quote&quot;&gt;&quot;,\&quot;&lt;/span&gt;path\&lt;span class=&quot;code-quote&quot;&gt;&quot;:\&quot;&lt;/span&gt;/_/tenant\&lt;span class=&quot;code-quote&quot;&gt;&quot;}&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;content_length&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;203&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;content_type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;text/plain&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;elapsed&quot;&lt;/span&gt;: 117, &lt;span class=&quot;code-quote&quot;&gt;&quot;msg&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Status code was 400 and not [200]: HTTP Error 400: Bad Request&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;redirected&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;status&quot;&lt;/span&gt;: 400, &lt;span class=&quot;code-quote&quot;&gt;&quot;url&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.36:9130/_/proxy/tenants/diku/install?deploy=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;&amp;amp;tenantParameters=loadSample%3Dtrue%2CloadReference%3Dtrue&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;vary&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;origin&quot;&lt;/span&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This suggests that mod-remote-storage fails to be enabled for the &lt;tt&gt;diku&lt;/tt&gt; tenant.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;OpenQuestions&quot;&gt;&lt;/a&gt;Open Questions&lt;/h3&gt;

&lt;p&gt;Why does the &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-testing-backend/807/console&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;folio-testing build&lt;/a&gt; succeed with the same version of mod-remote-storage?&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;OtherAffectedEnvironments&quot;&gt;&lt;/a&gt;Other Affected Environments&lt;/h3&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-snapshot-load/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;folio-snapshot-load&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
                <environment></environment>
        <key id="73497">MODRS-79</key>
            <summary>mod-remote-storage unavailable in snapshot environments</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="712020:6a686c16-9faf-499e-b5ea-d5e640ebd2a3">Siarhei Charniak</assignee>
                                                                <reporter accountid="63e2a2771b13d42998e4e706">Marc Johnson</reporter>
                                    <labels>
                            <label>environments</label>
                            <label>outage</label>
                    </labels>
                <created>Mon, 1 Feb 2021 10:02:21 +0000</created>
                <updated>Fri, 30 Jul 2021 11:57:05 +0000</updated>
                            <resolved>Fri, 30 Jul 2021 11:57:04 +0000</resolved>
                                                    <fixVersion>1.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                <comments>
                                                            <comment id="177608" author="63e2a2771b13d42998e4e706" created="Mon, 1 Feb 2021 10:12:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63519767d66d8108a1226c09&quot; class=&quot;user-hover&quot; rel=&quot;63519767d66d8108a1226c09&quot; data-account-id=&quot;63519767d66d8108a1226c09&quot; accountid=&quot;63519767d66d8108a1226c09&quot; rel=&quot;noreferrer&quot;&gt;Viachaslau Khandramai&lt;/a&gt; Do you know what might have caused this (it seems to be a similar error to 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2983&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2983&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Folio testing build failing - remote storage initialisation&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            FOLIO-2983
        &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;
)?&lt;/p&gt;</comment>
                                                            <comment id="177609" author="61cd0ca0bce5e00069e98be7" created="Mon, 1 Feb 2021 10:40:06 +0000"  >&lt;p&gt;I attached docker logs fs-786-mod-remote-storage.txt from today folio-snapshot build 786.&lt;/p&gt;</comment>
                                                            <comment id="177610" author="63519767d66d8108a1226c09" created="Mon, 1 Feb 2021 10:57:34 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63e2a2771b13d42998e4e706&quot; class=&quot;user-hover&quot; rel=&quot;63e2a2771b13d42998e4e706&quot; data-account-id=&quot;63e2a2771b13d42998e4e706&quot; accountid=&quot;63e2a2771b13d42998e4e706&quot; rel=&quot;noreferrer&quot;&gt;Marc Johnson&lt;/a&gt;, investigating now. But looks strange because folio-testing works as expected.&lt;/p&gt;</comment>
                                                            <comment id="177611" author="63519767d66d8108a1226c09" created="Mon, 1 Feb 2021 11:03:47 +0000"  >&lt;p&gt;Could someone please provide the same docker logs for folio-testing? I saw from the logs that system-user we used for internal operations log in was failed despite this user was successfully created:&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;
10:20:22.912 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Sending request to http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.79:9130/users?query=username==system-user &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; tenant: [diku]
&lt;/span&gt;10:20:22.924 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Response status: 200
10:20:22.939 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Sending request to http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.79:9130/users &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; tenant: [diku]
&lt;/span&gt;10:20:22.954 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Response status: 201
10:20:22.956 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Sending request to http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.79:9130/authn/credentials &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; tenant: [diku]
&lt;/span&gt;10:20:22.986 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Response status: 201
10:20:22.986 [http-nio-8081-exec-1] INFO  org.folio.rs.service.SecurityManagerService - Saved credentials &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; user: [SystemUserParameters(id=3e47312e-7718-4620-a513-ce7ab1fa2688, username=system-user, password=system-user, okapiToken=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, okapiUrl=http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.79:9130, tenantId=diku)]
&lt;/span&gt;10:20:23.011 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Sending request to http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.79:9130/perms/users &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; tenant: [diku]
&lt;/span&gt;10:20:23.021 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Response status: 201
10:20:23.026 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Sending request to http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.79:9130/authn/login &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; tenant: [diku]
&lt;/span&gt;10:20:23.031 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Response status: 400
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                                                            <comment id="177612" author="63e2a2771b13d42998e4e706" created="Mon, 1 Feb 2021 11:06:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63519767d66d8108a1226c09&quot; class=&quot;user-hover&quot; rel=&quot;63519767d66d8108a1226c09&quot; data-account-id=&quot;63519767d66d8108a1226c09&quot; accountid=&quot;63519767d66d8108a1226c09&quot; rel=&quot;noreferrer&quot;&gt;Viachaslau Khandramai&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;But looks strange because folio-testing works as expected.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Agreed. I imagine something is set up slightly differently in the two environments.&lt;/p&gt;</comment>
                                                            <comment id="177613" author="63519767d66d8108a1226c09" created="Mon, 1 Feb 2021 13:36:32 +0000"  >&lt;p&gt;Thanks Former user for logs!&lt;/p&gt;

&lt;p&gt;From what I see:&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;
13:28:34.102 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] ---&amp;gt; POST http:&lt;span class=&quot;code-comment&quot;&gt;//authn/login HTTP/1.1
&lt;/span&gt;13:28:34.102 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] Content-Length: 51
13:28:34.102 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] Content-Type: application/json
13:28:34.102 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] 
13:28:34.102 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] {&lt;span class=&quot;code-quote&quot;&gt;&quot;username&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;system-user&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;password&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;system-user&quot;&lt;/span&gt;}
13:28:34.102 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] ---&amp;gt; END HTTP (51-&lt;span class=&quot;code-object&quot;&gt;byte&lt;/span&gt; body)
13:28:34.102 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Sending request to http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.186:9130/authn/login &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; tenant: [diku]
&lt;/span&gt;13:28:34.107 [http-nio-8081-exec-1] INFO  org.folio.rs.client.EnrichHeadersClient - Response status: 400
13:28:34.107 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] &amp;lt;--- HTTP/1.1 400 Bad Request (5ms)
13:28:34.108 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] content-type: text/plain
13:28:34.108 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] transfer-encoding: chunked
13:28:34.108 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] vary: origin
13:28:34.108 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] x-okapi-trace: POST mod-login-7.3.0-SNAPSHOT.91 http:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.186:9135/authn/login : 400 2998us
&lt;/span&gt;13:28:34.108 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] 
13:28:34.108 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] Missing Okapi token header
13:28:34.108 [http-nio-8081-exec-1] DEBUG org.folio.rs.client.AuthnClient - [AuthnClient#getApiKey] &amp;lt;--- END HTTP (26-&lt;span class=&quot;code-object&quot;&gt;byte&lt;/span&gt; body)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looks like the problem comes from necessity of x-okapi-token on the snapshot env during POST &lt;a href=&quot;http://authn/login&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://authn/login&lt;/a&gt;. Looks strange. I think we don&apos;t need to have this header during log in process. Moreover, this works on testing env with the same mod-login artifact.&lt;/p&gt;</comment>
                                                            <comment id="177614" author="5f9abc1eb45b2e007453f423" created="Mon, 1 Feb 2021 18:56:26 +0000"  >&lt;p&gt;I&apos;m now get the following error when attempting to build folio-snapshot-load:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;atal: [10.36.1.238]: FAILED! =&amp;gt; {&quot;changed&quot;: false, &quot;connection&quot;: &quot;close&quot;, &quot;content&quot;: &quot;Unexpected Location header in response for POST /_/tenant&quot;, &quot;content_length&quot;: &quot;57&quot;, &quot;content_type&quot;: &quot;text/plain&quot;, &quot;elapsed&quot;: 30, &quot;msg&quot;: &quot;Status code was 500 and not [200]: HTTP Error 500: Internal Server Error&quot;, &quot;redirected&quot;: false, &quot;status&quot;: 500, &quot;url&quot;: &quot;http://10.36.1.238:9130/_/proxy/tenants/diku/install?deploy=true&amp;amp;tenantParameters=loadSample%3Dtrue%2CloadReference%3Dtrue&quot;, &quot;vary&quot;: &quot;origin&quot;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The Okapi log shows this: &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;021-02-01T18:25:46,844 INFO  DockerModuleHandle   mod-permissions-5.13.0-SNAPSHOT.97 18:25:46 [] [] [] [] INFO  PostgresClient       Successfully executed  CREATE TABLE IF NOT EXISTS diku_mod_permissions.rmb_job (       id UUID PRIMARY KEY,       jsonb JSONB NOT NULL     );
2021-02-01T18:25:46,895 INFO  DockerModuleHandle   mod-permissions-5.13.0-SNAPSHOT.97 18:25:46 [] [] [] [] INFO  LogUtil              org.folio.rest.RestVerticle start  invoking postTenant
2021-02-01T18:25:46,906 INFO  OkapiClient          139954/proxy;242110/tenant RES 201 898349us okapiClient http://10.36.1.238:9136/_/tenant
2021-02-01T18:25:46,908 INFO  TenantManager        job complete
2021-02-01T18:25:46,908 WARN  TenantManager        job failed
io.vertx.core.impl.NoStackTraceThrowable: Unexpected Location header in response for POST /_/tenant
2021-02-01T18:25:46,909 WARN  ProxyContext         Unexpected Location header in response for POST /_/tenant
io.vertx.core.impl.NoStackTraceThrowable: Unexpected Location header in respoor POST /_/tenant
2021-02-01T18:25:46,909 INFO  ProxyContext         139954/proxy RES 500 30679795us okapi Unexpected Location header in response for POST /_/tenant
2021-02-01T18:25:46,910 ERROR HttpResponse         HTTP response code=500 msg=Unexpected Location header in response for POST /_/tenant
2021-02-01T18:25:46,911 INFO  DockerModuleHandle   mod-permissions-5.13.0-SNAPSHOT.97 18:25:46 [] [] [] [] INFO  LogUtil              10.36.1.238:40314 POST /_/tenant null HTTP_1_1 201 345 797 tid=diku Created
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Also weird:  &lt;/p&gt;

&lt;p&gt;ubuntu@ip-10-36-1-238:/var/log/folio/okapi$ grep &quot;139954&quot; okapi.log&lt;br/&gt;
Binary file okapi.log matches&lt;/p&gt;</comment>
                                                            <comment id="177615" author="5f8314dfbdef80006f6f572d" created="Mon, 1 Feb 2021 21:54:40 +0000"  >&lt;p&gt;See 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODPERMS-128&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODPERMS-128&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Wrong _tenant version in module descriptor&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;
            MODPERMS-128
        &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 a fix for the 2nd error.&lt;/p&gt;</comment>
                                                            <comment id="177616" author="5f9abc1eb45b2e007453f423" created="Mon, 1 Feb 2021 23:09:37 +0000"  >&lt;p&gt;After applying the mod-permissions update,  we are now looking at a new, unrelated error.  This time from mod-source-record-storage: &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;22:57:10.283 [vert.x-worker-thread-0] WARN  ClientUtils          [3185eqId] Couldn&apos;t resolve server kafka:9092 from bootstrap.servers as DNS resolution failed for kafka
22:57:10.283 [vert.x-worker-thread-1] WARN  ClientUtils          [3185eqId] Couldn&apos;t resolve server kafka:9092 from bootstrap.servers as DNS resolution failed for kafka
22:57:10.289 [vert.x-eventloop-thread-0] ERROR RestVerticle         [3191eqId] During verticle deployment, init failed, exiting....... Failed to construct kafka consumer
io.vertx.core.impl.NoStackTraceThrowable: Failed to construct kafka consumer
22:57:10.290 [vert.x-eventloop-thread-1] ERROR ertxIsolatedDeployer [3192eqId] Failed in deploying verticle
io.vertx.core.impl.NoStackTraceThrowable: Failed to construct kafka consumer
io.vertx.core.impl.NoStackTraceThrowable: Failed to construct kafka consumer
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is a fatal error. The module container crashes. &lt;/p&gt;</comment>
                                                            <comment id="177617" author="5cd423bebc70090d6ce241b1" created="Mon, 1 Feb 2021 23:14:26 +0000"  >&lt;p&gt;Looks like srs now needs to talk to kafka directly. I guess I&apos;ll try setting: &lt;a href=&quot;https://github.com/folio-org/mod-source-record-storage/commit/ef7e23ff9433bf9af115e271a5a65f5705dd25e0#diff-00d3f6d8ea6dc6833c711e102774e1bc41ddc19f13beda8d773b38f6e147a74aR22&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-source-record-storage/commit/ef7e23ff9433bf9af115e271a5a65f5705dd25e0#diff-00d3f6d8ea6dc6833c711e102774e1bc41ddc19f13beda8d773b38f6e147a74aR22&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; class=&quot;user-hover&quot; rel=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; data-account-id=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; accountid=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; rel=&quot;noreferrer&quot;&gt;Kateryna Senchenko&lt;/a&gt; will you update mod-srs&apos;s module descriptor with any new required environment variables? &lt;/p&gt;</comment>
                                                            <comment id="177618" author="5cd423bebc70090d6ce241b1" created="Mon, 1 Feb 2021 23:22:34 +0000"  >&lt;p&gt;Or, better yet, use &quot;KAFKA_PORT&quot; and &quot;KAFKA_HOST&quot; environment variables. These are the variable names that pubsub and mod-inventory-storage are using&lt;/p&gt;</comment>
                                                            <comment id="177619" author="5cd423bebc70090d6ce241b1" created="Mon, 1 Feb 2021 23:56:55 +0000"  >&lt;p&gt;-I set FOLIO_KAKFA_HOST on srs to the correct host (&quot;KAFKA_HOST=10.36.1.155&quot; where the IP derived from ansible), but SRS still gets a fatal error:&lt;/p&gt;

&lt;p&gt;Probably because the kafka host is not set properly. -&lt;/p&gt;

&lt;p&gt;My mistake, I set the variable wrong, now that its set right, the snapshot-load build passed. I&apos;d still like the SRS devs to consider using the environment variables KAKFA_HOST and KAFKA_PORT instead since pubsub and inventory-storage use those.&lt;/p&gt;</comment>
                                                            <comment id="177620" author="557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a" created="Tue, 2 Feb 2021 05:31:58 +0000"  >&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;Data-import now goes directly via kafka. I created PRs to correct the required env names&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/folio-org/mod-inventory/pull/299&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-inventory/pull/299&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/mod-source-record-storage/pull/290&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-source-record-storage/pull/290&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/mod-source-record-manager/pull/371&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-source-record-manager/pull/371&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/mod-data-import/pull/158&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-data-import/pull/158&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We&apos;ll make sure to update the documentation before the release&lt;/p&gt;</comment>
                                                            <comment id="177621" author="557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a" created="Tue, 2 Feb 2021 08:52:47 +0000"  >&lt;p&gt;Recent logs from folio-snapshot-load indicate that mod-inventory failed to create Kafka Consumers due to missing ENV variables. After &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cd423bebc70090d6ce241b1&quot; class=&quot;user-hover&quot; rel=&quot;5cd423bebc70090d6ce241b1&quot; data-account-id=&quot;5cd423bebc70090d6ce241b1&quot; accountid=&quot;5cd423bebc70090d6ce241b1&quot; rel=&quot;noreferrer&quot;&gt;Ian Hardy&lt;/a&gt; set FOLIO_KAFKA_HOST and _PORT variables - it resolved the issues for mod-data-import, mod-source-record-manager and mod-source-record-storage, but not for mod-inventory apparently. I created the PRs to correct the required variables names, but still not sure why mod-inventory didn&apos;t pick up the env variables like other modules&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;
02 Feb 2021 02:19:30:247 WARN  ClientUtils [] Couldn&apos;t resolve server kafka:9092 from bootstrap.servers as DNS resolution failed &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; kafka
Exception in thread &lt;span class=&quot;code-quote&quot;&gt;&quot;main&quot;&lt;/span&gt; java.util.concurrent.ExecutionException: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2022)
	at org.folio.inventory.Launcher.startConsumerVerticles(Launcher.java:84)
	at org.folio.inventory.Launcher.main(Launcher.java:52)
Caused by: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
	at org.apache.kafka.clients.consumer.KafkaConsumer.&amp;lt;init&amp;gt;(KafkaConsumer.java:825)
	at org.apache.kafka.clients.consumer.KafkaConsumer.&amp;lt;init&amp;gt;(KafkaConsumer.java:631)
	at org.apache.kafka.clients.consumer.KafkaConsumer.&amp;lt;init&amp;gt;(KafkaConsumer.java:612)
	at io.vertx.kafka.client.consumer.KafkaReadStream.create(KafkaReadStream.java:113)
	at io.vertx.kafka.client.consumer.KafkaConsumer.create(KafkaConsumer.java:75)
	at org.folio.kafka.KafkaConsumerWrapper.start(KafkaConsumerWrapper.java:109)
	at org.folio.inventory.DataImportConsumerVerticle.createKafkaConsumerWrapper(DataImportConsumerVerticle.java:119)
	at org.folio.inventory.DataImportConsumerVerticle.lambda$start$0(DataImportConsumerVerticle.java:85)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at org.folio.inventory.DataImportConsumerVerticle.start(DataImportConsumerVerticle.java:86)
	at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$9(DeploymentManager.java:556)
	at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366)
	at io.vertx.core.impl.WorkerContext.lambda$wrapTask$0(WorkerContext.java:35)
	at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:834)
Caused by: org.apache.kafka.common.config.ConfigException: No resolvable bootstrap urls given in bootstrap.servers
	at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:89)
	at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:48)
	at org.apache.kafka.clients.consumer.KafkaConsumer.&amp;lt;init&amp;gt;(KafkaConsumer.java:737)
	... 23 more
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                                                            <comment id="177622" author="63e2a2771b13d42998e4e706" created="Tue, 2 Feb 2021 10:26:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; class=&quot;user-hover&quot; rel=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; data-account-id=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; accountid=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; rel=&quot;noreferrer&quot;&gt;Kateryna Senchenko&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Recent logs from folio-snapshot-load indicate that mod-inventory failed to create Kafka Consumers due to missing ENV variables. ... I created the PRs to correct the required variables names, but still not sure why mod-inventory didn&apos;t pick up the env variables like other modules&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Does this pull request need merging and the environments rebuilding in order for data import to work?&lt;/p&gt;</comment>
                                                            <comment id="177623" author="557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a" created="Tue, 2 Feb 2021 10:33:20 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63e2a2771b13d42998e4e706&quot; class=&quot;user-hover&quot; rel=&quot;63e2a2771b13d42998e4e706&quot; data-account-id=&quot;63e2a2771b13d42998e4e706&quot; accountid=&quot;63e2a2771b13d42998e4e706&quot; rel=&quot;noreferrer&quot;&gt;Marc Johnson&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;It was suggested by &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cd423bebc70090d6ce241b1&quot; class=&quot;user-hover&quot; rel=&quot;5cd423bebc70090d6ce241b1&quot; data-account-id=&quot;5cd423bebc70090d6ce241b1&quot; accountid=&quot;5cd423bebc70090d6ce241b1&quot; rel=&quot;noreferrer&quot;&gt;Ian Hardy&lt;/a&gt; to use KAFKA_HOST and KAFKA_PORT environment variables - the PRs contain that change. But I&apos;m still trying to figure out why mod-inventory didn&apos;t pick up FOLIO_KAFKA_HOST and FOLIO_KAFKA_PORT after Ian set these variables as well. &lt;br/&gt;
We can try to merge the PRs and rebuild folio-snapshot-load though - to check whether this problem is still reproducing&lt;/p&gt;</comment>
                                                            <comment id="177624" author="63e2a2771b13d42998e4e706" created="Tue, 2 Feb 2021 11:14:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; class=&quot;user-hover&quot; rel=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; data-account-id=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; accountid=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; rel=&quot;noreferrer&quot;&gt;Kateryna Senchenko&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;We can try to merge the PRs and rebuild folio-snapshot-load though&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I suggest we move forward with using the standard environment variables.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cd423bebc70090d6ce241b1&quot; class=&quot;user-hover&quot; rel=&quot;5cd423bebc70090d6ce241b1&quot; data-account-id=&quot;5cd423bebc70090d6ce241b1&quot; accountid=&quot;5cd423bebc70090d6ce241b1&quot; rel=&quot;noreferrer&quot;&gt;Ian Hardy&lt;/a&gt; I imagine the use of &lt;tt&gt;FOLIO_KAFKA_HOST&lt;/tt&gt; and &lt;tt&gt;FOLIO_KAFKA_PORT&lt;/tt&gt;  was an attempt at a temporary fix.&lt;/p&gt;</comment>
                                                            <comment id="177625" author="557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a" created="Tue, 2 Feb 2021 11:21:48 +0000"  >&lt;p&gt;OK, I&apos;ll merge the PRs then and we&apos;ll see how it goes&lt;/p&gt;</comment>
                                                            <comment id="177626" author="5cd423bebc70090d6ce241b1" created="Tue, 2 Feb 2021 13:24:23 +0000"  >&lt;p&gt;Yes, that was temporary, Thanks &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; class=&quot;user-hover&quot; rel=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; data-account-id=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; accountid=&quot;557058:06f9b6fb-9a52-481a-ad72-6e13fc570a8a&quot; rel=&quot;noreferrer&quot;&gt;Kateryna Senchenko&lt;/a&gt; for setting the standard vars. I&apos;ve removed the FOLIO_KAKFA_* settings from our ansible playbook.&lt;/p&gt;</comment>
                                                            <comment id="177627" author="712020:d77e59fb-81fa-428f-841d-e46bffe526d5" created="Mon, 19 Jul 2021 08:04:59 +0000"  >&lt;p&gt;The issue related system user initialization(missing token header) at snapshot env exists not only in mod-remote-storage module but also at mod-search module:&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;
Method [&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void org.folio.search.integration.KafkaMessageListener.handleEvents(java.util.List&amp;lt;org.apache.kafka.clients.consumer.ConsumerRecord&amp;lt;java.lang.&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, org.folio.search.domain.dto.ResourceEventBody&amp;gt;&amp;gt;)]
Bean [org.folio.search.integration.KafkaMessageListener@62ccbd95]; nested exception is org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method &lt;span class=&quot;code-quote&quot;&gt;&apos;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void org.folio.search.integration.KafkaMessageListener.handleEvents(java.util.List&amp;lt;org.apache.kafka.clients.consumer.ConsumerRecord&amp;lt;java.lang.&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, org.folio.search.domain.dto.ResourceEventBody&amp;gt;&amp;gt;)&apos;&lt;/span&gt; threw exception; nested exception is feign.FeignException$BadRequest: [400 Bad Request] during [POST] to [http:&lt;span class=&quot;code-comment&quot;&gt;//authn/login] [AuthnClient#getApiKey(UserCredentials)]: [Missing Okapi token header]; nested exception is org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method &lt;span class=&quot;code-quote&quot;&gt;&apos;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void org.folio.search.integration.KafkaMessageListener.handleEvents(java.util.List&amp;lt;org.apache.kafka.clients.consumer.ConsumerRecord&amp;lt;java.lang.&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, org.folio.search.domain.dto.ResourceEventBody&amp;gt;&amp;gt;)&apos;&lt;/span&gt; threw exception; nested exception is feign.FeignException$BadRequest: [400 Bad Request] during [POST] to [http://authn/login] [AuthnClient#getApiKey(UserCredentials)]: [Missing Okapi token header]
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="177628" author="5c706fbb47a54a6728e59df2" created="Wed, 21 Jul 2021 13:08:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Ad77e59fb-81fa-428f-841d-e46bffe526d5&quot; class=&quot;user-hover&quot; rel=&quot;712020:d77e59fb-81fa-428f-841d-e46bffe526d5&quot; data-account-id=&quot;712020:d77e59fb-81fa-428f-841d-e46bffe526d5&quot; accountid=&quot;712020:d77e59fb-81fa-428f-841d-e46bffe526d5&quot; rel=&quot;noreferrer&quot;&gt;Aliaksei Harbuz&lt;/a&gt; It may have to do with the order in which modules are enabled. I note that in the &lt;a href=&quot;https://github.com/folio-org/mod-remote-storage/blob/master/descriptors/ModuleDescriptor-template.json&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;module descriptor&lt;/a&gt; for mod-remote-storage, the authtoken interface is not required, so there is no guarantee that it will be present to provide a token when the module is initialized. See also 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MSEARCH-83&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MSEARCH-83&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;mod-search breaks if authtoken module is not available&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;
            MSEARCH-83
        &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;
.&lt;/p&gt;

&lt;p&gt;Before you jump to the conclusion that you actually require this interface, please think hard about whether your module should be able to operate in an unlocked system (i.e., a system without the authtoken interface). Most modules use module permissions to assign appropriate permissions to endpoints that require them, rather than provisioning users and logging them in. Please review the Okapi &lt;a href=&quot;https://github.com/folio-org/okapi/blob/master/doc/security.md&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;security guide&lt;/a&gt; to get more information about how permissions are used in an Okapi system.&lt;/p&gt;</comment>
                                                            <comment id="177629" author="712020:d77e59fb-81fa-428f-841d-e46bffe526d5" created="Fri, 23 Jul 2021 07:47:21 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;, the&#160; &lt;a href=&quot;https://github.com/folio-org/mod-remote-storage/blob/master/descriptors/ModuleDescriptor-template.json#L29&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;module descriptor&lt;/a&gt; of mod-remote-storage was updated by adding authtoken interface v.2.0. But the issue with system user initialization still exists. It was found additional logs from okapi at same time when errors were logged by mod-remote-storage:&#160;&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;
01:52:12 [] [] [] [] INFO  DockerModuleHandle   mod-login-7.5.0-SNAPSHOT.98 01:52:12 [] [] [] [] INFO  RestRouting          invoking postAuthnLogin
01:52:12 [] [] [] [] INFO  DockerModuleHandle   mod-login-7.5.0-SNAPSHOT.98 01:52:12 [] [] [] [] ERROR LoginAPI             Missing request token
01:52:12 [] [] [] [] INFO  DockerModuleHandle   mod-login-7.5.0-SNAPSHOT.98 01:52:12 [] [] [] [] INFO  LogUtil              10.36.1.66:57604 POST /authn/login &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; HTTP_1_1 400 26 1 tid=diku Bad Request 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;b&gt;Updates:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;According Jenkins logs for snapshot:&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;
ok: [10.36.1.66] =&amp;gt; (item={&lt;span class=&quot;code-quote&quot;&gt;&apos;id&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;mod-remote-storage-1.3.0&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;action&apos;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&apos;enable&apos;&lt;/span&gt;})
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Interfaces updates may not apply. Changes will be double checked after versions fixes and rebuild.&lt;/p&gt;</comment>
                                                            <comment id="177630" author="712020:d77e59fb-81fa-428f-841d-e46bffe526d5" created="Mon, 26 Jul 2021 07:27:27 +0000"  >&lt;p&gt;System user initialization&apos;s issue was fixed by interfaces updates :&#160;&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;
01:52:06 [] [] [] [] INFO  PubSubService        Module&apos;s subscribers were successfully registered
01:52:06 [] [] [] [] INFO  curityManagerService Saved credentials &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; user: [system-user]
01:52:50 [] [] [] [] INFO  KafkaService         Restarting kafka consumer to start listening created topics [id: mod-remote-storage-events-listener]
01
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="177631" author="712020:6a686c16-9faf-499e-b5ea-d5e640ebd2a3" created="Fri, 30 Jul 2021 11:56:31 +0000"  >&lt;p&gt;Double check logs:&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;
01:52:35 [] [] [] [] INFO  curityManagerService Saved credentials &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; user: [system-user]
01:52:35 [] [] [] [] INFO  PubSubService        Module&apos;s publishers were successfully registered
01:52:35 [] [] [] [] INFO  PubSubService        Module&apos;s subscribers were successfully registered
01:53:13 [] [] [] [] INFO  KafkaService         Restarting kafka consumer to start listening created topics [id: mod-remote-storage-events-listener]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;System user initialization works as expected, the story can be closed as done.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="34351">MODPERMS-128</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10008">
                    <name>Defines</name>
                                            <outwardlinks description="defines">
                                        <issuelink>
            <issuekey id="12151">UXPROD-3072</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="28762">MSEARCH-83</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="60248" name="fs-786-mod-remote-storage.txt" size="61191" author="61cd0ca0bce5e00069e98be7" created="Mon, 1 Feb 2021 10:38:44 +0000"/>
                            <attachment id="60249" name="remote-storage-52.log" size="1136280" author="5cd423bebc70090d6ce241b1" created="Mon, 1 Feb 2021 13:14:05 +0000"/>
                    </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="10152"><![CDATA[Firebird]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01nbd:i</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="458">Firebird Sprint 119</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 1 Feb 2021 10:40:06 +0000</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>