Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1711366

Summary: [osp15] phase1 jobs failing due to python-ironicclient issue
Product: Red Hat OpenStack Reporter: Michele Baldessari <michele>
Component: python-ironicclientAssignee: Dmitry Tantsur <dtantsur>
Status: CLOSED ERRATA QA Contact: Alistair Tonner <atonner>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 15.0 (Stein)CC: apevec, atonner, bfournie, dhill, dtantsur, lhh, mburns
Target Milestone: betaKeywords: Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ironicclient-2.7.0-0.20190517140354.4af8a79.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-21 11:22:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michele Baldessari 2019-05-17 15:27:51 UTC
Description of problem:
phase1 jobs are failing: http://cougar11.scl.lab.tlv.redhat.com/phase1-15_director-rhel-8.0-virthost-1cont_1comp-ipv4-geneve-lvm/102/undercloud-0.tar.gz?undercloud-0/home/stack/overcloud_install.log

Issue is (at least) due to:
https://bugs.launchpad.net/tripleo/+bug/1829468

Fixes here:
https://review.opendev.org/#/q/I3b25f4fb170aa93159ffa8074dc74fa6f50671b7

Version-Release number of selected component (if applicable):
RHOS_TRUNK-15.0-RHEL-8-20190517.n.0

Error logs here: http://cougar11.scl.lab.tlv.redhat.com/phase1-15_director-rhel-8.0-virthost-1cont_1comp-ipv4-geneve-lvm/102/undercloud-0.tar.gz?undercloud-0/var/log/containers/nova/nova-compute.log


2019-05-17 12:13:11.476 8 DEBUG oslo_service.periodic_task [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] Running periodic task ComputeManager.update_available_resource run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:217
2019-05-17 12:13:11.493 8 ERROR nova.compute.manager [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] No compute node record for host undercloud-0.localdomain: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host undercloud-0.localdomain could not be found.
2019-05-17 12:13:11.522 8 DEBUG ironicclient.common.http [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] No version header in response, requesting from server negotiate_version /usr/lib/python3.6/site-packages/ironicclient/common/http.py:157
2019-05-17 12:13:11.533 8 ERROR nova.virt.ironic.driver [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] An unknown error has occurred when trying to get the list of nodes from the Ironic inventory. Error: 'StrictVersion' object has no attribute 'version'
2019-05-17 12:13:11.533 8 WARNING nova.compute.manager [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] Virt driver is not ready.: nova.exception.VirtDriverNotReady: Virt driver is not ready.
2019-05-17 12:14:11.527 8 DEBUG oslo_service.periodic_task [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] Running periodic task ComputeManager._sync_scheduler_instance_info run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:217
2019-05-17 12:14:11.547 8 DEBUG oslo_service.periodic_task [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] Running periodic task ComputeManager.update_available_resource run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:217
2019-05-17 12:14:11.575 8 ERROR nova.compute.manager [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] No compute node record for host undercloud-0.localdomain: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host undercloud-0.localdomain could not be found.
2019-05-17 12:14:11.627 8 DEBUG ironicclient.common.http [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] No version header in response, requesting from server negotiate_version /usr/lib/python3.6/site-packages/ironicclient/common/http.py:157
2019-05-17 12:14:11.638 8 ERROR nova.virt.ironic.driver [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] An unknown error has occurred when trying to get the list of nodes from the Ironic inventory. Error: 'StrictVersion' object has no attribute 'version'
2019-05-17 12:14:11.638 8 WARNING nova.compute.manager [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] Virt driver is not ready.: nova.exception.VirtDriverNotReady: Virt driver is not ready.
2019-05-17 12:14:12.548 8 DEBUG oslo_service.periodic_task [req-bc70a01c-1f0f-4313-bf6c-dd36ed5468db - - - - -] Running periodic task ComputeManager._heal_instance_info_cache run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:217

Comment 1 Alex Schultz 2019-05-18 03:27:29 UTC
*** Bug 1711479 has been marked as a duplicate of this bug. ***

Comment 2 Michele Baldessari 2019-05-20 11:48:04 UTC
The build python-ironicclient-2.7.0-0.20190517140354.4af8a79.el8ost (https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=899165) contains the fix and needs to land in containers (which currently have a later [broken] version: python3-ironicclient-2.7.1-0.20190516100402.b40630f.el8ost.noarch)

Comment 3 Lon Hohberger 2019-05-20 13:32:41 UTC
python-ironicclient-2.7.0-0.20190517140354.4af8a79.el8ost was included in a respin; phase 1 did not pass

Comment 10 Alistair Tonner 2019-07-11 18:16:38 UTC
Red Hat Enterprise Linux release 8.0 (Ootpa)


Red Hat OpenStack Platform release 15.0.0 Beta (Stein)

(undercloud) [stack@undercloud-0 unit]$ sudo dnf list installed python3-ironicclient
Installed Packages
python3-ironicclient.noarch                                                    2.7.2-0.20190529060404.266a700.el8ost


Code and functionality verified on OSP15

Comment 14 errata-xmlrpc 2019-09-21 11:22:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:2811