<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:11:30 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-1192] folio-ansible: Empty loan_users list. Zero active patron users in mod-circulation-data role</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1192</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;I&apos;ve come across this error a couple of time now: &lt;/p&gt;

&lt;p&gt;TASK &lt;span class=&quot;error&quot;&gt;&amp;#91;folio-ansible/roles/mod-circulation-data : Load loans&amp;#93;&lt;/span&gt; *******************&lt;br/&gt;
fatal: &lt;span class=&quot;error&quot;&gt;&amp;#91;10.36.1.77&amp;#93;&lt;/span&gt;: FAILED! =&amp;gt; &lt;/p&gt;
{&quot;failed&quot;: true, &quot;msg&quot;: &quot;the field &apos;args&apos; has an invalid value, which appears to include a variable that is undefined. The error was: list object has no element 0\n\nThe error appears to have been in &apos;/home/jenkins/workspace/Automation/folio-testing-backend01/CI/ansible/folio-ansible/roles/mod-circulation-data/tasks/main.yml&apos;: line 96, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# 422 (or 500?) error means the data are already there\n- name: Load loans\n  ^ here\n&quot;}</description>
                <environment></environment>
        <key id="80646">FOLIO-1192</key>
            <summary>folio-ansible: Empty loan_users list. Zero active patron users in mod-circulation-data role</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="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</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="5f9abc1eb45b2e007453f423">John Malconian</reporter>
                                    <labels>
                            <label>ci</label>
                            <label>sprint36</label>
                    </labels>
                <created>Wed, 11 Apr 2018 02:42:35 +0000</created>
                <updated>Mon, 12 Nov 2018 14:24:20 +0000</updated>
                            <resolved>Wed, 11 Apr 2018 18:47:29 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                    <timespent seconds="9000">2 hours, 30 minutes</timespent>
                                <comments>
                                                            <comment id="193059" author="5f9abc1eb45b2e007453f423" created="Wed, 11 Apr 2018 02:46:26 +0000"  >&lt;p&gt;It appears there are no users designated as &apos;active&apos;:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;malc@ip-10-36-20-124 scripts&amp;#93;&lt;/span&gt;$ curl -H &apos;x-okapi-tenant: diku&apos; -H &apos;x-okapi-token: eyJhbGciOiJIUzUxMiJ9.yJzdWIiOiJkaWt1X2FkbWluIiwidXNlcl9pZCI6IjFhZDczN2IwLWQ4NDctMTFlNi1iZjI2LWNlYzBjOTMyY2UwMSIsInRlbmFudCI6ImRpa3UifQ.tmPkMJ_xhcy_03q2od8xAsuNAeCATPUBFQd2eMr6Y15DJc72wVyFgTgLvVzoVc2qbjV_5_sBQLLG-PQc0zYDpg&apos; &quot;http://10.36.1.77:9130/users?query=active%3D%22true%22%20and%20type%3D%3Dpatron%20sortby%20personal.lastName%20personal.firstName&amp;amp;limit=6&quot;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;users&quot; : [ ],&lt;br/&gt;
  &quot;totalRecords&quot; : 0,&lt;br/&gt;
  &quot;resultInfo&quot; : &lt;/p&gt;
{
    &quot;totalRecords&quot; : 0,
    &quot;facets&quot; : [ ],
    &quot;diagnostics&quot; : [ ]
  }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;200 users have been loaded:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;malc@ip-10-36-20-124 scripts&amp;#93;&lt;/span&gt;$ curl -H &apos;x-okapi-tenant: diku&apos; -H &apos;x-okapi-token: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkaWt1X2FkbWluIiwidXNlcl9pZCI6IjFhZDczN2IwLWQ4NDctMTFlNi1iZjI2LWNlYzBjOTMyY2UwMSIsInRlbmFudCI6ImRpa3UifQ.tmPkMJ_xhcy_03q2od8xAsuNAeCATPUBFQd2eMr6Y15DJc72wVyFgTgLvVzoVc2qbjV_5_sBQLLG-PQc0zYDpg&apos; &quot;http://10.36.1.77:9130/users?query=type%3D%3Dpatron%20sortby%20personal.lastName%20personal.firstName&amp;amp;limit=1&quot;&lt;br/&gt;
{&lt;br/&gt;
  &quot;users&quot; : [ {&lt;br/&gt;
    &quot;username&quot; : &quot;hal&quot;,&lt;br/&gt;
    &quot;id&quot; : &quot;a69b395a-7987-43ac-97e7-0d394275f1a1&quot;,&lt;br/&gt;
    &quot;barcode&quot; : &quot;762017189809078&quot;,&lt;br/&gt;
    &quot;active&quot; : false,&lt;br/&gt;
    &quot;type&quot; : &quot;patron&quot;,&lt;br/&gt;
    &quot;patronGroup&quot; : &quot;ba63f86e-a6c2-4ba2-874d-a35903ae1f6d&quot;,&lt;br/&gt;
    &quot;proxyFor&quot; : [ ],&lt;br/&gt;
    &quot;personal&quot; : {&lt;br/&gt;
      &quot;lastName&quot; : &quot;Abbott&quot;,&lt;br/&gt;
      &quot;firstName&quot; : &quot;Stacey&quot;,&lt;br/&gt;
      &quot;email&quot; : &quot;haylie@jacobs-walsh-and-wuckert.bs&quot;,&lt;br/&gt;
      &quot;phone&quot; : &quot;399.680.8263&quot;,&lt;br/&gt;
      &quot;mobilePhone&quot; : &quot;133.523.8475 x25924&quot;,&lt;br/&gt;
      &quot;dateOfBirth&quot; : &quot;1973-08-05T00:00:00.000+0000&quot;,&lt;br/&gt;
      &quot;addresses&quot; : [ &lt;/p&gt;
{
        &quot;countryId&quot; : &quot;US&quot;,
        &quot;addressLine1&quot; : &quot;63442 Luettgen Shoals Suite 545&quot;,
        &quot;city&quot; : &quot;Lomita&quot;,
        &quot;region&quot; : &quot;VA&quot;,
        &quot;postalCode&quot; : &quot;23662&quot;,
        &quot;addressTypeId&quot; : &quot;5b9c1cf8-9014-4e25-b474-fad2f6bb080d&quot;,
        &quot;primaryAddress&quot; : true
      }
&lt;p&gt; ],&lt;br/&gt;
      &quot;preferredContactTypeId&quot; : &quot;003&quot;&lt;br/&gt;
    },&lt;br/&gt;
    &quot;enrollmentDate&quot; : &quot;1970-05-05T00:00:00.000+0000&quot;,&lt;br/&gt;
    &quot;expirationDate&quot; : &quot;1990-12-17T00:00:00.000+0000&quot;,&lt;br/&gt;
    &quot;createdDate&quot; : &quot;2018-04-11T01:56:34.439+0000&quot;,&lt;br/&gt;
    &quot;updatedDate&quot; : &quot;2018-04-11T01:56:34.439+0000&quot;,&lt;br/&gt;
    &quot;metadata&quot; : &lt;/p&gt;
{
      &quot;createdDate&quot; : &quot;2018-04-11T01:56:34.431+0000&quot;,
      &quot;createdByUserId&quot; : &quot;1ad737b0-d847-11e6-bf26-cec0c932ce01&quot;,
      &quot;updatedDate&quot; : &quot;2018-04-11T01:56:34.431+0000&quot;,
      &quot;updatedByUserId&quot; : &quot;1ad737b0-d847-11e6-bf26-cec0c932ce01&quot;
    }
&lt;p&gt;  } ],&lt;br/&gt;
  &quot;totalRecords&quot; : 200,&lt;br/&gt;
  &quot;resultInfo&quot; : &lt;/p&gt;
{
    &quot;totalRecords&quot; : 200,
    &quot;facets&quot; : [ ],
    &quot;diagnostics&quot; : [ ]
  }
</comment>
                                                            <comment id="193065" author="5f9abc1eb45b2e007453f423" created="Wed, 11 Apr 2018 02:59:26 +0000"  >&lt;p&gt;From gen-folio-users: &lt;/p&gt;

&lt;p&gt;active =&amp;gt; (rand(1) &amp;gt; 0.3 ? JSON::true : JSON::false),&lt;/p&gt;

&lt;p&gt;So it appears the number active users generated is random though I&apos;m not quite sure what &apos; &amp;gt; 0.3&apos; does here. &lt;/p&gt;</comment>
                                                            <comment id="193068" author="5f9abc1eb45b2e007453f423" created="Wed, 11 Apr 2018 03:05:21 +0000"  >&lt;p&gt;I&apos;m guessing &amp;gt; 0.3 really means NOT zero if the range for rand is 0-1.  it doesn&apos;t seem that rand is working properly or at least is not very random. &lt;/p&gt;</comment>
                                                            <comment id="193071" author="5f9abc1eb45b2e007453f423" created="Wed, 11 Apr 2018 03:57:40 +0000"  >&lt;p&gt;It appears the error is caused by a recent commit to mod-users. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/folio-org/mod-users/commit/15a5ecfaadb6000d66553d58bd0f09b1282e1cf8&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-users/commit/15a5ecfaadb6000d66553d58bd0f09b1282e1cf8&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="193075" author="615afd1cd9820f0070a09ef0" created="Wed, 11 Apr 2018 10:12:26 +0000"  >&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;/rest/api/3/attachment/content/64045&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                                                            <comment id="193080" author="5c706fbb47a54a6728e59df2" created="Wed, 11 Apr 2018 17:06:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt; is right, the issue was that mod-users now magically makes users who have expired &quot;inactive&quot; &amp;#8211; which in this case was all of them. I changed the script to make users expire a random number of days (up to 2 years) after the date the script is run.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="64045" name="random.png" size="202449" author="615afd1cd9820f0070a09ef0" created="Wed, 11 Apr 2018 10:11:52 +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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzygp3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 11 Apr 2018 10:12:26 +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>