<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:11:20 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-1169] mod-permissions causes lockup in Ansible build</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1169</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;The MODS import for mod-inventory generates &lt;b&gt;lots&lt;/b&gt; of requests to mod-permissions in a short time, and mod-permissions seems to be thrashing to the point of being non-responsive and timing out requests.&lt;/p&gt;

&lt;p&gt;To replicate:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Get the latest &lt;tt&gt;folio/testing-backend&lt;/tt&gt; vagrant box, bring it up, &lt;tt&gt;vagrant ssh&lt;/tt&gt; into it&lt;/li&gt;
	&lt;li&gt;Login as `diku_admin`:
&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;
curl -w &lt;span class=&quot;code-quote&quot;&gt;&apos;\n&apos;&lt;/span&gt; -D - -X POST -H &lt;span class=&quot;code-quote&quot;&gt;&quot;Content-type: application/json&quot;&lt;/span&gt; -H &lt;span class=&quot;code-quote&quot;&gt;&quot;Accept: application/json, text/plain&quot;&lt;/span&gt; -H &lt;span class=&quot;code-quote&quot;&gt;&quot;X-Okapi-Tenant: diku&quot;&lt;/span&gt; -d &lt;span class=&quot;code-quote&quot;&gt;&apos;{&lt;span class=&quot;code-quote&quot;&gt;&quot;username&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;diku_admin&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;admin&quot;&lt;/span&gt;}&apos;&lt;/span&gt; http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:9130/authn/login&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;Post a largish MODS file to mod-inventory:
&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;
curl -w &lt;span class=&quot;code-quote&quot;&gt;&apos;\n&apos;&lt;/span&gt; -D - -X POST -H &lt;span class=&quot;code-quote&quot;&gt;&apos;Content-type: multipart/form-data&apos;&lt;/span&gt; -H &lt;span class=&quot;code-quote&quot;&gt;&apos;X-Okapi-Tenant: diku&apos;&lt;/span&gt; -H &lt;span class=&quot;code-quote&quot;&gt;&apos;X-Okapi-Token: &amp;lt;token&amp;gt;&apos;&lt;/span&gt; -F upload=@/etc/.mod-metadata-mods-large_ansible.xml http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:9130/inventory/ingest/mods&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;mod-permissions begins to chew up about 80% of CPU, with occasional lockups, and lots and lots of CQL permissions queries are logged in &lt;tt&gt;/var/log/folio/okapi/okapi.log&lt;/tt&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="80565">FOLIO-1169</key>
            <summary>mod-permissions causes lockup in Ansible build</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="10001">Duplicate</resolution>
                                                        <assignee accountid="5c38e8d616ac1e4f7cbc660a">Kurt Nordstrom</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                            <label>ci</label>
                            <label>core</label>
                            <label>sprint35</label>
                            <label>sprint36</label>
                            <label>sprint37</label>
                    </labels>
                <created>Thu, 29 Mar 2018 17:32:48 +0000</created>
                <updated>Mon, 12 Nov 2018 14:24:17 +0000</updated>
                            <resolved>Tue, 24 Apr 2018 13:12:12 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                    <timespent seconds="70200">2 days, 3 hours, 30 minutes</timespent>
                                <comments>
                                                            <comment id="192795" author="5c706fbb47a54a6728e59df2" created="Thu, 29 Mar 2018 17:48:43 +0000"  >&lt;p&gt;Sample largish MODS file: &lt;a href=&quot;https://raw.githubusercontent.com/folio-org/folio-ansible/master/roles/mod-metadata-data/files/many_mods.xml&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://raw.githubusercontent.com/folio-org/folio-ansible/master/roles/mod-metadata-data/files/many_mods.xml&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="192799" author="5c706fbb47a54a6728e59df2" created="Fri, 6 Apr 2018 13:43:41 +0000"  >&lt;p&gt;This is much improved with mod-permissions-5.2.3-SNAPSHOT.20 &amp;#8211; testing-backend and testing builds now succeed. The snapshot build is still a problem.&lt;/p&gt;</comment>
                                                            <comment id="192803" author="5c706fbb47a54a6728e59df2" created="Fri, 6 Apr 2018 20:05:08 +0000"  >&lt;p&gt;Added handler to mod-metadata-data role to wait for MODS update to complete &amp;#8211; this works around the issues with mod-permissions and will hopefully allow the snapshot Vagrant build to complete.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="34211">MODPERMS-40</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="80567">FOLIO-1170</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzyfcf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </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>