Kayobe built IPA image has incorrect version of ironic_lib

Bug #2089263 reported by Matt Anson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
Fix Released
High
Matt Anson
Antelope
New
Undecided
Unassigned
Bobcat
Fix Released
Undecided
Unassigned
Caracal
Fix Released
Undecided
Unassigned
Dalmatian
Fix Released
High
Matt Anson

Bug Description

A Freshly built IPA image has fails to start ironic-python-agent process, because the ironic-python-agent version is out of sync with ironic-lib.

ironic-python-agent fails to start with:

ImportError: cannot import name 'disk_utils' from 'ironic_lib'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/kayobe/+/935890

Changed in kayobe:
status: New → In Progress
Matt Anson (matt-anson)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (master)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/935890
Committed: https://opendev.org/openstack/kayobe/commit/89849c1ceceb55d7af34a466b16eccbf3b45a0a6
Submitter: "Zuul (22348)"
Branch: master

commit 89849c1ceceb55d7af34a466b16eccbf3b45a0a6
Author: Matt Anson <email address hidden>
Date: Thu Nov 21 14:26:26 2024 +0000

    Ensure ironic-python-agent matches ironic-lib

    If ironic-python-agent is not installed in the IPA image using
    upper-constraints, the ironic-lib selected by pip for installation may
    be newer than ipa.

    Use upper-constraints for the same version as ironic-python-agent when
    installing it, by passing the DIB_REPOREF_requirements environment
    variable to ironic-python-agent-builder.

    Closes-Bug: #2089263
    Change-Id: I6e33f9897dc7efc57987872ffccdfbe0fc78cc52

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

Fix proposed to branch: stable/2024.2
Review: https://review.opendev.org/c/openstack/kayobe/+/936240

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/2024.1)

Fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/kayobe/+/936241

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kayobe/+/936242

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/2024.2)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/936240
Committed: https://opendev.org/openstack/kayobe/commit/b4a79437eda7862d9d06620473d55886d2031982
Submitter: "Zuul (22348)"
Branch: stable/2024.2

commit b4a79437eda7862d9d06620473d55886d2031982
Author: Matt Anson <email address hidden>
Date: Thu Nov 21 14:26:26 2024 +0000

    Ensure ironic-python-agent matches ironic-lib

    If ironic-python-agent is not installed in the IPA image using
    upper-constraints, the ironic-lib selected by pip for installation may
    be newer than ipa.

    Use upper-constraints for the same version as ironic-python-agent when
    installing it, by passing the DIB_REPOREF_requirements environment
    variable to ironic-python-agent-builder.

    Closes-Bug: #2089263
    Change-Id: I6e33f9897dc7efc57987872ffccdfbe0fc78cc52
    (cherry picked from commit 89849c1ceceb55d7af34a466b16eccbf3b45a0a6)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/2024.1)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/936241
Committed: https://opendev.org/openstack/kayobe/commit/b5719257729a143e71efaa0b33d078f1932b684b
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit b5719257729a143e71efaa0b33d078f1932b684b
Author: Matt Anson <email address hidden>
Date: Thu Nov 21 14:26:26 2024 +0000

    Ensure ironic-python-agent matches ironic-lib

    If ironic-python-agent is not installed in the IPA image using
    upper-constraints, the ironic-lib selected by pip for installation may
    be newer than ipa.

    Use upper-constraints for the same version as ironic-python-agent when
    installing it, by passing the DIB_REPOREF_requirements environment
    variable to ironic-python-agent-builder.

    Closes-Bug: #2089263
    Change-Id: I6e33f9897dc7efc57987872ffccdfbe0fc78cc52
    (cherry picked from commit 89849c1ceceb55d7af34a466b16eccbf3b45a0a6)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/936242
Committed: https://opendev.org/openstack/kayobe/commit/fb5856cd3ac028af168ae48874c1eae2cb9c2fc2
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit fb5856cd3ac028af168ae48874c1eae2cb9c2fc2
Author: Matt Anson <email address hidden>
Date: Thu Nov 21 14:26:26 2024 +0000

    Ensure ironic-python-agent matches ironic-lib

    If ironic-python-agent is not installed in the IPA image using
    upper-constraints, the ironic-lib selected by pip for installation may
    be newer than ipa.

    Use upper-constraints for the same version as ironic-python-agent when
    installing it, by passing the DIB_REPOREF_requirements environment
    variable to ironic-python-agent-builder.

    Closes-Bug: #2089263
    Change-Id: I6e33f9897dc7efc57987872ffccdfbe0fc78cc52
    (cherry picked from commit 89849c1ceceb55d7af34a466b16eccbf3b45a0a6)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (unmaintained/2023.1)

Fix proposed to branch: unmaintained/2023.1
Review: https://review.opendev.org/c/openstack/kayobe/+/936981

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 15.6.0

This issue was fixed in the openstack/kayobe 15.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 16.3.0

This issue was fixed in the openstack/kayobe 16.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 17.1.0

This issue was fixed in the openstack/kayobe 17.1.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.