tripleo-ansible linters and tox jobs broken with ansible 2.10.0

Bug #1896738 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
High
Rabi Mishra

Bug Description

It seems ansible 2.10.0 broken all jobs

https://20fcdb4cd0caf14838a2-f56bb1b15fc8b6593fa418dc9e44f657.ssl.cf2.rackcdn.com/753546/3/check/openstack-tox-linters/1a290f7/job-output.txt

https://35cc485fe2c45f758211-53453ebbb69cd33a875a83010b4c2a5c.ssl.cf1.rackcdn.com/753546/3/check/openstack-tox-py38/b45f158/job-output.txt

traceback linters:

2020-09-23 09:49:30.886627 | centos-8 | [30891] /home/zuul/src/opendev.org/openstack/tripleo-ansible$ /home/zuul/src/opendev.org/openstack/tripleo-ansible/.tox/linters/bin/pip check
2020-09-23 09:49:31.627414 | centos-8 | virtualenv 20.0.31 has requirement importlib-metadata<2,>=0.12; python_version < "3.8", but you have importlib-metadata 2.0.0.
2020-09-23 09:49:31.656312 | centos-8 | ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/tripleo-ansible/.tox/linters/bin/pip check (exited with code 1)

traceback py38:

2020-09-23 09:49:11.809995 | ubuntu-focal | Failed to import test module: tripleo_ansible.tests.modules.test_tripleo_list_overclouds
2020-09-23 09:49:11.810013 | ubuntu-focal | Traceback (most recent call last):
2020-09-23 09:49:11.810031 | ubuntu-focal | File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
2020-09-23 09:49:11.810048 | ubuntu-focal | module = self._get_module_from_name(name)
2020-09-23 09:49:11.810066 | ubuntu-focal | File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
2020-09-23 09:49:11.810084 | ubuntu-focal | __import__(name)
2020-09-23 09:49:11.810101 | ubuntu-focal | File "/home/zuul/src/opendev.org/openstack/tripleo-ansible/tripleo_ansible/tests/modules/test_tripleo_list_overclouds.py", line 20, in <module>
2020-09-23 09:49:11.810120 | ubuntu-focal | from tripleo_ansible.ansible_plugins.modules import tripleo_list_overclouds as tlo
2020-09-23 09:49:11.810138 | ubuntu-focal | File "/home/zuul/src/opendev.org/openstack/tripleo-ansible/tripleo_ansible/ansible_plugins/modules/tripleo_list_overclouds.py", line 29, in <module>
2020-09-23 09:49:11.810163 | ubuntu-focal | from ansible.module_utils.openstack import openstack_full_argument_spec
2020-09-23 09:49:11.810181 | ubuntu-focal | ModuleNotFoundError: No module named 'ansible.module_utils.openstack'
2020-09-23 09:49:11.810199 | ubuntu-focal |
2020-09-23 09:49:11.810221 | ubuntu-focal | ================================================================================
2020-09-23 09:49:11.810239 | ubuntu-focal | The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
2020-09-23 09:49:11.853378 | ubuntu-focal | ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/tripleo-ansible/.tox/py38/bin/stestr run (exited with code 100)
2020-09-23 09:49:11.853458 | ubuntu-focal | py38 finish: run-test after 4.21 seconds
2020-09-23 09:49:11.853901 | ubuntu-focal | py38 start: run-test-post
2020-09-23 09:49:11.853947 | ubuntu-focal | py38 finish: run-test-post after 0.00 seconds

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/753564

Changed in tripleo:
milestone: none → victoria-3
importance: Undecided → High
Revision history for this message
Rabi Mishra (rabi) wrote :

So the openstack module has moved out of tree to a new collection ttps://opendev.org/openstack/ansible-collections-openstack.git with 2.10.0

We need to do a bit of refactoring for this I guess?

Revision history for this message
Rabi Mishra (rabi) wrote :
Changed in tripleo:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/753701

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/753564
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=d37dfddff3c07c03e911c02b0ff96b7da188cf33
Submitter: Zuul
Branch: master

commit d37dfddff3c07c03e911c02b0ff96b7da188cf33
Author: Rabi Mishra <email address hidden>
Date: Wed Sep 23 15:41:26 2020 +0530

    Don't use ansible 2.10.0

    It seems to have broken all jobs, let's not use it till we
    fix those.

    Also pin importlib-metadata 2.0.0 which is not compatible
    with virtualenv 20.0.31.

    Related-Bug: #1896738
    Change-Id: I696605e312692b24059178b82446d947023f35d9

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (stable/ussuri)

Related fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/754420

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (stable/train)

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/754421

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (stable/ussuri)

Reviewed: https://review.opendev.org/754420
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=8384c29951aa211f0b75cace660a05f8620dd916
Submitter: Zuul
Branch: stable/ussuri

commit 8384c29951aa211f0b75cace660a05f8620dd916
Author: Rabi Mishra <email address hidden>
Date: Wed Sep 23 15:41:26 2020 +0530

    Don't use ansible 2.10.0

    It seems to have broken all jobs, let's not use it till we
    fix those.

    Also pin importlib-metadata 2.0.0 which is not compatible
    with virtualenv 20.0.31.

    Related-Bug: #1896738
    Change-Id: I696605e312692b24059178b82446d947023f35d9
    (cherry picked from commit d37dfddff3c07c03e911c02b0ff96b7da188cf33)

tags: added: in-stable-ussuri
tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (stable/train)

Reviewed: https://review.opendev.org/754421
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=e6fa3ebcceea013df32cb2ddd2cc0f99683a9b8f
Submitter: Zuul
Branch: stable/train

commit e6fa3ebcceea013df32cb2ddd2cc0f99683a9b8f
Author: Rabi Mishra <email address hidden>
Date: Wed Sep 23 15:41:26 2020 +0530

    Don't use ansible 2.10.0

    It seems to have broken all jobs, let's not use it till we
    fix those.

    Also pin importlib-metadata 2.0.0 which is not compatible
    with virtualenv 20.0.31.

    Related-Bug: #1896738
    Change-Id: I696605e312692b24059178b82446d947023f35d9
    (cherry picked from commit d37dfddff3c07c03e911c02b0ff96b7da188cf33)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/755077

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.opendev.org/755077
Reason: https://review.opendev.org/#/c/755078/1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/756122

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/756122
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=85478583d47ad68d7e18c2c5f168616831e9a39f
Submitter: Zuul
Branch: master

commit 85478583d47ad68d7e18c2c5f168616831e9a39f
Author: Alan Bishop <email address hidden>
Date: Mon Oct 5 08:49:39 2020 -0700

    doc: Don't use ansible 2.10.0

    Don't use ansible 2.10.0 when building docs. See [1] for related
    patch.

    [1] I696605e312692b24059178b82446d947023f35d9

    Related-Bug: #1896738
    Change-Id: I9916daf72a481269e66f25cfbbd940eb134eecdb

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (stable/ussuri)

Related fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/756285

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (stable/ussuri)

Reviewed: https://review.opendev.org/756285
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=174639769396615316ba83a92452685c091ded17
Submitter: Zuul
Branch: stable/ussuri

commit 174639769396615316ba83a92452685c091ded17
Author: Alan Bishop <email address hidden>
Date: Mon Oct 5 08:49:39 2020 -0700

    doc: Don't use ansible 2.10.0

    Don't use ansible 2.10.0 when building docs. See [1] for related
    patch.

    [1] I696605e312692b24059178b82446d947023f35d9

    Related-Bug: #1896738
    Change-Id: I9916daf72a481269e66f25cfbbd940eb134eecdb
    (cherry picked from commit 85478583d47ad68d7e18c2c5f168616831e9a39f)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (stable/train)

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/757595

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (stable/train)

Reviewed: https://review.opendev.org/757595
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=a1776c57d960e4949ced1ebf0a406e969424eb27
Submitter: Zuul
Branch: stable/train

commit a1776c57d960e4949ced1ebf0a406e969424eb27
Author: Alan Bishop <email address hidden>
Date: Mon Oct 5 08:49:39 2020 -0700

    doc: Don't use ansible 2.10.0

    Don't use ansible 2.10.0 when building docs. See [1] for related
    patch.

    [1] I696605e312692b24059178b82446d947023f35d9

    Related-Bug: #1896738
    Change-Id: I9916daf72a481269e66f25cfbbd940eb134eecdb
    (cherry picked from commit 85478583d47ad68d7e18c2c5f168616831e9a39f)
    (cherry picked from commit 174639769396615316ba83a92452685c091ded17)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (master)

Change abandoned by "James Slagle <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/753701
Reason: Abandoning this patch per the TripleO Patch Abandonment guidelines
(https://specs.openstack.org/openstack/tripleo-specs/specs/policy/patch-abandonment.html).
If you wish to have this restored and cannot do so yourself, please reach out
via #tripleo on OFTC or the OpenStack Dev mailing list.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.