<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:07:32 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-676] folio-ansible/roles/mod-users-data fails when &apos;auth_required&apos; set to &apos;false&apos;</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-676</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;By default,  the variable &apos;auth_required&apos; is set to &apos;false&apos; in the mod-users-data folio-ansible role.   If not set to &apos;true&apos;, however, the role fails.    Perhaps the default should be set to &apos;true&apos;.  Error output in comments.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80233">FOLIO-676</key>
            <summary>folio-ansible/roles/mod-users-data fails when &apos;auth_required&apos; set to &apos;false&apos;</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="10003">Done</resolution>
                                                        <assignee accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</assignee>
                                                                <reporter accountid="5f9abc1eb45b2e007453f423">John Malconian</reporter>
                                    <labels>
                            <label>ci</label>
                    </labels>
                <created>Wed, 14 Jun 2017 21:01:50 +0000</created>
                <updated>Mon, 12 Nov 2018 14:23:36 +0000</updated>
                            <resolved>Fri, 16 Jun 2017 14:19:24 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                    <timespent seconds="4500">1 hour, 15 minutes</timespent>
                                <comments>
                                                            <comment id="188556" author="5f9abc1eb45b2e007453f423" created="Wed, 14 Jun 2017 21:02:28 +0000"  >&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;TASK [folio-ansible/roles/mod-users-data : Check tenant mod-user registration] ***
ok: [folioami]

TASK [folio-ansible/roles/mod-users-data : Enable mod-users module for tenant] ***
skipping: [folioami]

TASK [folio-ansible/roles/mod-users-data : Login as diku_admin] ****************
skipping: [folioami]

TASK [folio-ansible/roles/mod-users-data : Load groups] ************************
failed: [folioami] (item=/home/malc/proj/folio-infrastructure/CI/ansible/folio-ansible/roles/mod-users-data/files/groups/oncampus.json) =&amp;gt; {&quot;changed&quot;: false, &quot;connection&quot;: &quot;close&quot;, &quot;content&quot;: &quot;&quot;, &quot;failed&quot;: true, &quot;item&quot;: &quot;/home/malc/proj/folio-infrastructure/CI/ansible/folio-ansible/roles/mod-users-data/files/groups/oncampus.json&quot;, &quot;msg&quot;: &quot;Status code was not [201, 422]: HTTP Error 400: Bad Request&quot;, &quot;redirected&quot;: false, &quot;status&quot;: 400, &quot;transfer_encoding&quot;: &quot;chunked&quot;, &quot;url&quot;: &quot;http://10.36.1.124:9130/groups&quot;, &quot;x_okapi_trace&quot;: &quot;POST authtoken http://10.36.1.124:9131/groups : 400&quot;}
failed: [folioami] (item=/home/malc/proj/folio-infrastructure/CI/ansible/folio-ansible/roles/mod-users-data/files/groups/other.json) =&amp;gt; {&quot;changed&quot;: false, &quot;connection&quot;: &quot;close&quot;, &quot;content&quot;: &quot;&quot;, &quot;failed&quot;: true, &quot;item&quot;: &quot;/home/malc/proj/folio-infrastructure/CI/ansible/folio-ansible/roles/mod-users-data/files/groups/other.json&quot;, &quot;msg&quot;: &quot;Status code was not [201, 422]: HTTP Error 400: Bad Request&quot;, &quot;redirected&quot;: false, &quot;status&quot;: 400, &quot;transfer_encoding&quot;: &quot;chunked&quot;, &quot;url&quot;: &quot;http://10.36.1.124:9130/groups&quot;, &quot;x_okapi_trace&quot;: &quot;POST authtoken http://10.36.1.124:9131/groups : 400&quot;}
failed: [folioami] (item=/home/malc/proj/folio-infrastructure/CI/ansible/folio-ansible/roles/mod-users-data/files/groups/offcampus.json) =&amp;gt; {&quot;changed&quot;: false, &quot;connection&quot;: &quot;close&quot;, &quot;content&quot;: &quot;&quot;, &quot;failed&quot;: true, &quot;item&quot;: &quot;/home/malc/proj/folio-infrastructure/CI/ansible/folio-ansible/roles/mod-users-data/files/groups/offcampus.json&quot;, &quot;msg&quot;: &quot;Status code was not [201, 422]: HTTP Error 400: Bad Request&quot;, &quot;redirected&quot;: false, &quot;status&quot;: 400, &quot;transfer_encoding&quot;: &quot;chunked&quot;, &quot;url&quot;: &quot;http://10.36.1.124:9130/groups&quot;, &quot;x_okapi_trace&quot;: &quot;POST authtoken http://10.36.1.124:9131/groups : 400&quot;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="188558" author="5f9abc1eb45b2e007453f423" created="Wed, 14 Jun 2017 21:03:35 +0000"  >&lt;p&gt;I should add that the failure occurs using group_vars/testing module configuration. &lt;/p&gt;</comment>
                                                            <comment id="188560" author="5f9abc1eb45b2e007453f423" created="Wed, 14 Jun 2017 21:05:17 +0000"  >&lt;p&gt;I should also clarify that setting &apos;auth_required&apos; to &apos;true&apos; does resolve the issue. &lt;/p&gt;</comment>
                                                            <comment id="188563" author="5c706fbb47a54a6728e59df2" created="Fri, 16 Jun 2017 14:14:58 +0000"  >&lt;p&gt;The error is caused by loading and enabling the authn/z modules for the tenant without setting auth_required to &quot;true&quot;. If you update the module list to exclude those modules (and also exclude mod-users-bl, which depends on them), the mod-users-data role succeeds.&lt;/p&gt;

&lt;p&gt;I &lt;em&gt;think&lt;/em&gt; it is still best for the default of auth_required to be &quot;false&quot;, because the simplest system doesn&apos;t include auth. However, I think that the auth_required variable should be defined in the same group_vars files as the list of modules, since that&apos;s actually a little more where it belongs.&lt;/p&gt;

&lt;p&gt;I don&apos;t really have a great notion about how to document this, it&apos;s kind of a weird side effect &amp;#8211; any suggestions on that would be welcome.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzxpen:</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>Fri, 16 Jun 2017 14:14:58 +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>