ironic-conductor requires udevadm

Bug #1825784 reported by Tony Breeds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Mark Goddard
Queens
Fix Released
High
Unassigned
Rocky
Fix Released
High
Unassigned
Stein
Fix Released
High
Mark Goddard
Train
Fix Released
High
Mark Goddard

Bug Description

Current ironic-conductor can fail to deploy nodes with an error like:

---
2019-04-15 04:30:04.882 8 ERROR ironic.drivers.modules.agent_base_vendor [req-e243d083-6f71-4213-8bde-ca7dfc84b796 - - - - -] Asynchronous exception: Node failed to deploy. Exception: Deploy failed for instance c2f32b88-089a-4e9b-aa13-6b34b3e18fc6. Error: Failed to create config drive on disk /dev/disk/by-path/ip-192.168.0.124:3260-iscsi-iqn.2008-10.org.openstack:180cac51-9320-4c58-b95a-962f6a3532c7-lun-1 for node 180cac51-9320-4c58-b95a-962f6a3532c7. Error: [Errno 2] No such file or directory: 'udevadm': 'udevadm' for node 180cac51-9320-4c58-b95a-962f6a3532c7: ironic.common.exception.InstanceDeployFailure: Deploy failed for instance c2f32b88-089a-4e9b-aa13-6b34b3e18fc6. Error: Failed to create config drive on disk /dev/disk/by-path/ip-192.168.0.124:3260-iscsi-iqn.2008-10.org.openstack:180cac51-9320-4c58-b95a-962f6a3532c7-lun-1 for node 180cac51-9320-4c58-b95a-962f6a3532c7. Error: [Errno 2] No such file or directory: 'udevadm': 'udevadm'
---

On a CentOS-7 this comes from systemd, on RHEL-8 (beta) this comes from systemd-udev and on ubuntu 16/18 it comes from udev.

Revision history for this message
Tony Breeds (o-tony) wrote :

This is a recent requirement from ironic and has been backported to queens:

https://review.opendev.org/#/q/I9db48a3462422749290bbb887c14816734ab0478

Mark Goddard (mgoddard)
Changed in kolla:
importance: Undecided → High
assignee: nobody → Mark Goddard (mgoddard)
status: New → Confirmed
milestone: none → 9.0.0
no longer affects: kolla/train
Revision history for this message
Mark Goddard (mgoddard) wrote :

Thanks for raising this Tony. It appears that RDO includes the dependency: https://cbs.centos.org/koji/rpminfo?rpmID=160048, so this will just apply for source centos/rhel images and all debian/ubuntu images.

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

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

Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/655369
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=856b2c8824967e582c3d2e98851b58efab6757f8
Submitter: Zuul
Branch: master

commit 856b2c8824967e582c3d2e98851b58efab6757f8
Author: Mark Goddard <email address hidden>
Date: Wed Apr 24 10:54:50 2019 +0100

    Install udevadm in ironic-conductor image

    backport: rocky, queens

    A dependency on udevadm was recently added to ironic-lib:

    https://review.opendev.org/#/q/I9db48a3462422749290bbb887c14816734ab0478

    Change-Id: I6c5746606ab59fd88e35525ecc17a62bfa9211e6
    Closes-Bug: #1825784

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

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/655688

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

Reviewed: https://review.opendev.org/655691
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=8dbb962494750fe9c164113616e4864d9d84ac3e
Submitter: Zuul
Branch: stable/queens

commit 8dbb962494750fe9c164113616e4864d9d84ac3e
Author: Mark Goddard <email address hidden>
Date: Wed Apr 24 10:54:50 2019 +0100

    Install udevadm in ironic-conductor image

    backport: rocky, queens

    A dependency on udevadm was recently added to ironic-lib:

    https://review.opendev.org/#/q/I9db48a3462422749290bbb887c14816734ab0478

    Change-Id: I6c5746606ab59fd88e35525ecc17a62bfa9211e6
    Closes-Bug: #1825784
    (cherry picked from commit 856b2c8824967e582c3d2e98851b58efab6757f8)

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

Reviewed: https://review.opendev.org/655690
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=0cb2d2e34210416ecdbdb305e3452b236fb84c7e
Submitter: Zuul
Branch: stable/rocky

commit 0cb2d2e34210416ecdbdb305e3452b236fb84c7e
Author: Mark Goddard <email address hidden>
Date: Wed Apr 24 10:54:50 2019 +0100

    Install udevadm in ironic-conductor image

    backport: rocky, queens

    A dependency on udevadm was recently added to ironic-lib:

    https://review.opendev.org/#/q/I9db48a3462422749290bbb887c14816734ab0478

    Change-Id: I6c5746606ab59fd88e35525ecc17a62bfa9211e6
    Closes-Bug: #1825784
    (cherry picked from commit 856b2c8824967e582c3d2e98851b58efab6757f8)

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

Reviewed: https://review.opendev.org/655688
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3e9b4406a499f395975992e016d03d60a6c61037
Submitter: Zuul
Branch: stable/stein

commit 3e9b4406a499f395975992e016d03d60a6c61037
Author: Mark Goddard <email address hidden>
Date: Wed Apr 24 10:54:50 2019 +0100

    Install udevadm in ironic-conductor image

    backport: rocky, queens

    A dependency on udevadm was recently added to ironic-lib:

    https://review.opendev.org/#/q/I9db48a3462422749290bbb887c14816734ab0478

    Change-Id: I6c5746606ab59fd88e35525ecc17a62bfa9211e6
    Closes-Bug: #1825784
    (cherry picked from commit 856b2c8824967e582c3d2e98851b58efab6757f8)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 6.2.2

This issue was fixed in the openstack/kolla 6.2.2 release.

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

This issue was fixed in the openstack/kolla 7.0.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 8.0.0.0rc2

This issue was fixed in the openstack/kolla 8.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 9.0.0.0rc1

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