Ironic inspector fails on startup with AttributeError: StrictVersion instance has no attribute 'version'

Bug #1839866 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Mark Goddard
Train
Fix Released
Medium
Mark Goddard

Bug Description

Seen in CI. Raised a bug in python-ironicclient [1], but need a workaround here.

[1] https://storyboard.openstack.org/#!/story/2006393

Changed in kolla-ansible:
assignee: nobody → Mark Goddard (mgoddard)
status: New → In Progress
Revision history for this message
Mark Goddard (mgoddard) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/675893
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=15591437f3d6e47b476d953a2bf7ffdcb8f71a44
Submitter: Zuul
Branch: master

commit 15591437f3d6e47b476d953a2bf7ffdcb8f71a44
Author: Mark Goddard <email address hidden>
Date: Mon Aug 12 14:05:53 2019 +0100

    Workaround ironic inspector startup issue

    If ironic inspector starts up before ironic-api is accessible, we see
    the following error:

    AttributeError: StrictVersion instance has no attribute 'version'

    This actually prevents startup of ironic inspector.

    Example: http://paste.openstack.org/show/756342/

    The underlying issue is in python-ironicclient:
    https://storyboard.openstack.org/#!/story/2006393.

    The workaround employed here is to wait for ironic-api to become
    available before starting ironic-inspector.

    Change-Id: I674982eba5082fdc951cdcb8247d706278c64c1a
    Closes-Bug: #1839866

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc1 release candidate.

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.