<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:31:39 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-3906] Upgrade Ansible to v2.15 in Jenkins Docker image and Jenkins worker node</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3906</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;We are currently at Ansible 2.9, which was EOL May 2022.&lt;/p&gt;

&lt;p&gt;Assume this is built using &lt;a href=&quot;https://github.com/folio-org/folio-tools/blob/master/jenkins-slave-docker/Dockerfile.jammy-java-17&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;this Dockerfile&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This will require testing and may force dealing with a few feature deprecation issues in folio-ansible. Current warnings in the snapshot build:&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;
TASK [find correct ec2 AMI] ****************************************************
[DEPRECATION WARNING]: The &lt;span class=&quot;code-quote&quot;&gt;&apos;ec2_ami_facts&apos;&lt;/span&gt; module has been renamed to 
&lt;span class=&quot;code-quote&quot;&gt;&apos;ec2_ami_info&apos;&lt;/span&gt;. This feature will be removed in version 2.13.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Vagrant build:&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;
TASK [okapi-docker-container : Create and Launch Okapi Docker Container] ******
[DEPRECATION WARNING]: The container_default_behavior option will change its
&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; value from &lt;span class=&quot;code-quote&quot;&gt;&quot;compatibility&quot;&lt;/span&gt; to &lt;span class=&quot;code-quote&quot;&gt;&quot;no_defaults&quot;&lt;/span&gt; in community.general 3.0.0.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="79898">FOLIO-3906</key>
            <summary>Upgrade Ansible to v2.15 in Jenkins Docker image and Jenkins worker node</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="1" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                    </labels>
                <created>Fri, 6 Oct 2023 17:17:49 +0000</created>
                <updated>Thu, 25 Jan 2024 22:58:18 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="189948" author="61cd0ca0bce5e00069e98be7" created="Mon, 9 Oct 2023 07:25:28 +0000"  >&lt;p&gt;I did build a test image today (agent: label: jenkins-agent-java17-test).&lt;/p&gt;

&lt;p&gt;Our &lt;a href=&quot;https://github.com/folio-org/folio-tools/blob/master/jenkins-slave-docker/Dockerfile.jammy-java-17&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;Dockerfile.jammy-java-17&lt;/a&gt; installs Ansible via pip. As shown at &lt;a href=&quot;https://pypi.org/project/ansible/#history&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://pypi.org/project/ansible/#history&lt;/a&gt; the most recent available there is 2.10.7 and of course trying to go further (&lt;a href=&quot;https://github.com/ansible/ansible/releases&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;ansible/releases&lt;/a&gt; shows latest 2.15.4) then the build fails.&lt;/p&gt;

&lt;p&gt;Probably better to go forward in small Ansible version increments anyway.&lt;/p&gt;

&lt;p&gt;So jenkins-agent-java17-test is using 2.10.7&lt;/p&gt;

&lt;p&gt;Used this test image to rebuild for 
    &lt;span class=&quot;jira-issue-macro&quot; data-jira-key=&quot;FOLIO-3905&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-3905&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;folio-ansible: Container environment variables set from configuration clobber all defaults&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;
            FOLIO-3905
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-complete jira-macro-single-issue-export-pdf&quot;&gt;Open&lt;/span&gt;
            &lt;/span&gt;
 (&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-snapshot-test/509/consoleFull&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;folio-snapshot-test/509&lt;/a&gt;) &amp;#8211; success.&lt;/p&gt;</comment>
                                                            <comment id="189950" author="61cd0ca0bce5e00069e98be7" created="Mon, 9 Oct 2023 07:26:18 +0000"  >&lt;p&gt;Gathered these from that &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-snapshot-test/509/consoleFull&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;folio-snapshot-test/509&lt;/a&gt; build:&lt;/p&gt;

&lt;p&gt;Search for &quot;DEPRECATION&quot;:&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;DEPRECATION WARNING&amp;#93;&lt;/span&gt;: amazon.aws.ec2_ami_facts has been deprecated.&lt;br/&gt;
ec2_ami_facts was renamed in Ansible 2.9 to ec2_ami_info. Please update your&lt;br/&gt;
tasks.&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
TASK &lt;span class=&quot;error&quot;&gt;&amp;#91;find correct ec2 AMI&amp;#93;&lt;/span&gt; ****************************************************&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;DEPRECATION WARNING&amp;#93;&lt;/span&gt;: The &apos;ec2_ami_facts&apos; module has been renamed to&lt;br/&gt;
&apos;ec2_ami_info&apos;.&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
TASK &lt;span class=&quot;error&quot;&gt;&amp;#91;okapi-docker-container : Create and Launch Okapi Docker Container&amp;#93;&lt;/span&gt; *******&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;DEPRECATION WARNING&amp;#93;&lt;/span&gt;: The container_default_behavior option will change its&lt;br/&gt;
default value from &quot;compatibility&quot; to &quot;no_defaults&quot; in community.general 3.0.0.&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
TASK &lt;span class=&quot;error&quot;&gt;&amp;#91;folio-elb : gather ec2 instance facts about our host group&amp;#93;&lt;/span&gt; **************&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;DEPRECATION WARNING&amp;#93;&lt;/span&gt;: community.aws.ec2_instance_facts has been deprecated.&lt;br/&gt;
ec2_instance_facts was renamed in Ansible 2.9 to ec2_instance_info. Please&lt;br/&gt;
update your tasks. This feature will be removed from community.aws in a release&lt;br/&gt;
 after 2021-12-01.&lt;br/&gt;
&amp;#8212;&lt;br/&gt;
TASK &lt;span class=&quot;error&quot;&gt;&amp;#91;folio-elb : Gather elb facts&amp;#93;&lt;/span&gt; ********************************************&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;DEPRECATION WARNING&amp;#93;&lt;/span&gt;: community.aws.elb_application_lb_facts has been&lt;br/&gt;
deprecated. elb_application_lb_facts was renamed in Ansible 2.9 to&lt;br/&gt;
elb_application_lb_info. Please update your tasks. This feature will be removed&lt;br/&gt;
 from community.aws in a release after 2021-12-01.&lt;br/&gt;
&amp;#8212;&lt;/p&gt;

&lt;p&gt;There was also a previous ticket 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2148&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2148&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Gather notes about stuff needing attention in Ansible configurations&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-2148
        &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;
 which investigated deprecation warnings for both folio-ansible and folio-infrastructure. See its linked tickets.&lt;/p&gt;</comment>
                                                            <comment id="189954" author="61cd0ca0bce5e00069e98be7" created="Thu, 25 Jan 2024 06:46:22 +0000"  >&lt;p&gt;We have built a new Jenkins docker image (still using ansible-2.10.7) jenkins-agent-java17-test&lt;/p&gt;

&lt;p&gt;Using the &quot;ansible-combine&quot; branch, we did a fresh build at &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-snapshot-test/529/consoleFull&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;folio-snapshot-test/529&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Of course similar deprecations warnings as previously noted.&lt;/p&gt;

&lt;p&gt;There is now an additional notice at the beginning:&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;.../folio-snapshot-test/folio-infrastructure/CI/ansible/inventory/ec2.py&quot;,
line 172, in &amp;lt;module&amp;gt; from ansible.module_utils import ec2 as ec2_utils
ImportError: cannot import name &apos;ec2&apos; from &apos;ansible.module_utils&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The net has various stuff about that. In particular &lt;a href=&quot;https://github.com/ansible/ansible/issues/45992#issuecomment-423615291&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;ansible/issues/45992&lt;/a&gt; &quot;We are deprecating the contrib dynamic inventory scripts in place of the newer inventory plugins.&quot;&lt;br/&gt;
&lt;a href=&quot;https://docs.ansible.com/ansible/latest/plugins/inventory.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.ansible.com/ansible/latest/plugins/inventory.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://docs.ansible.com/ansible/latest/plugins/inventory/aws_ec2.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.ansible.com/ansible/latest/plugins/inventory/aws_ec2.html&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="189956" author="5f9abc1eb45b2e007453f423" created="Thu, 25 Jan 2024 21:54:50 +0000"  >&lt;p&gt;Tested hourly snapshot platform-complete builds with the new test image.   The build is successful warnings related to the ec2 inventory (also noted in David&apos;s previous comment).  The ec2 inventory is part of folio-infrastructure - not folio-ansible.  &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;  WARNING]:  * Failed to parse *****-
platform-complete-snapshot-test/folio-infrastructure/CI/ansible/inventory/ec2.py with script plugin: Inventory script
(*****-platform-complete-snapshot-test/folio-infrastructure/CI/ansible/inventory/ec2.py) had an execution error:
Traceback (most recent call last):   File
&quot;*****-platform-complete-snapshot-test/folio-infrastructure/CI/ansible/inventory/ec2.py&quot;, line 172, in &amp;lt;module&amp;gt;
from ansible.module_utils import ec2 as ec2_utils ImportError: cannot importname &apos;ec2&apos; from &apos;ansible.module_utils&apos; (/usr/local/lib/python3.10/dist-packages/ansible/module_utils/__init__.py)
[WARNING]:  * Failed to parse *****-platform-complete-snapshot-test/folio-
infrastructure/CI/ansible/inventory/ec2.py with ini plugin:*****-platform-complete-snapshot-test/folio-
infrastructure/CI/ansible/inventory/ec2.py:3: Error parsing host definition
&apos;&apos;&apos;&apos;&apos;: No closing quotation
[WARNING]: Unable to parse *****-platform-
complete-snapshot-test/folio-infrastructure/CI/ansible/inventory/ec2.py as an
inventory source
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match &apos;all&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="189959" author="61cd0ca0bce5e00069e98be7" created="Thu, 25 Jan 2024 22:58:18 +0000"  >&lt;p&gt;I raised that note about ec2.py because with the current production Jenkins image via folio-snapshot build, that warning does not appear. Perhaps this new Ansible version is just reporting differently.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="79897">FOLIO-3905</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="79926">FOLIO-3965</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_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10106" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>RCA Group</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10367"><![CDATA[TBD]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 9 Oct 2023 07:25:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>