py38/39 jobs fail with error No module named 'ironic_inspector_client'

Bug #1995566 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Rabi Mishra

Bug Description

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: tripleo_ansible.tests.modules.test_tripleo_list_overclouds
Traceback (most recent call last):
  File "/home/ramishra/work/openstack/tripleo-ansible/tripleo_ansible/ansible_plugins/modules/tripleo_list_overclouds.py", line 25, in <module>
    from ansible.module_utils import tripleo_common_utils as tc
ImportError: cannot import name 'tripleo_common_utils' from 'ansible.module_utils' (/home/ramishra/work/openstack/tripleo-ansible/.tox/py39/lib/python3.9/site-packages/ansible/module_utils/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.9/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.9/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/ramishra/work/openstack/tripleo-ansible/tripleo_ansible/tests/modules/test_tripleo_list_overclouds.py", line 20, in <module>
    from tripleo_ansible.ansible_plugins.modules import tripleo_list_overclouds as tlo
  File "/home/ramishra/work/openstack/tripleo-ansible/tripleo_ansible/ansible_plugins/modules/tripleo_list_overclouds.py", line 27, in <module>
    from tripleo_ansible.ansible_plugins.module_utils import tripleo_common_utils as tc
  File "/home/ramishra/work/openstack/tripleo-ansible/tripleo_ansible/ansible_plugins/module_utils/tripleo_common_utils.py", line 31, in <module>
    import ironic_inspector_client
ModuleNotFoundError: No module named 'ironic_inspector_client'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)
Changed in tripleo:
status: Triaged → In Progress
Rabi Mishra (rabi)
Changed in tripleo:
milestone: none → antelope-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/863482
Committed: https://opendev.org/openstack/tripleo-ansible/commit/aa47e5499cc3d2d84e6317835df9bf49925abd5d
Submitter: "Zuul (22348)"
Branch: master

commit aa47e5499cc3d2d84e6317835df9bf49925abd5d
Author: rabi <email address hidden>
Date: Thu Nov 3 12:54:13 2022 +0530

    Remove inspector client usage

    This is not used anymore and py37/38 jobs are broken as it's
    not in requierements. Not sure what was installing it earlier.

    Closes-Bug: #1995566
    Change-Id: I42694d4042574eb1adeb84b66eef637f7f5178a3

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/863461

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/863461
Committed: https://opendev.org/openstack/tripleo-ansible/commit/93bc07799cbd4e092a2ccca5c861648cbfc02a25
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 93bc07799cbd4e092a2ccca5c861648cbfc02a25
Author: rabi <email address hidden>
Date: Thu Nov 3 12:54:13 2022 +0530

    Remove inspector client usage

    This is not used anymore and py37/38 jobs are broken as it's
    not in requierements. Not sure what was installing it earlier.

    Closes-Bug: #1995566
    Change-Id: I42694d4042574eb1adeb84b66eef637f7f5178a3
    (cherry picked from commit aa47e5499cc3d2d84e6317835df9bf49925abd5d)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/863787

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

This is probably an issue caused by https://review.opendev.org/c/openstack/tripleo-common/+/850679 , though it should not affect wallaby because that change is present only in master and zed.

Revision history for this message
Rabi Mishra (rabi) wrote :

We seem to be using master uc tripleo-common in wallaby and zed etc. Proposed https://review.opendev.org/c/openstack/tripleo-ansible/+/863876

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/863787
Committed: https://opendev.org/openstack/tripleo-ansible/commit/82d41d9f5cd450834d9c508e8fcf87b7c31725e1
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 82d41d9f5cd450834d9c508e8fcf87b7c31725e1
Author: rabi <email address hidden>
Date: Thu Nov 3 12:54:13 2022 +0530

    Remove inspector client usage

    This is not used anymore and py37/38 jobs are broken as it's
    not in requierements. Not sure what was installing it earlier.

    Closes-Bug: #1995566
    Change-Id: I42694d4042574eb1adeb84b66eef637f7f5178a3
    (cherry picked from commit aa47e5499cc3d2d84e6317835df9bf49925abd5d)
    (cherry picked from commit 93bc07799cbd4e092a2ccca5c861648cbfc02a25)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 6.0.0

This issue was fixed in the openstack/tripleo-ansible 6.0.0 release.

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.