Description of problem: When trying to deploy to ppc64le machoines (or others with iscsi based deploys?) the deploy fails with: 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' This comes from: https://review.opendev.org/#/q/I9db48a3462422749290bbb887c14816734ab0478 The fix is to add systemd/system-udev into the container
I believe this has been resolve by Marc Goddard's fix - https://review.opendev.org/#/c/655688/.
Note that the requirement to use udevadm is not new, its been in ironic-lib since 2017 with this patch [1]. There doesn't seem to be any issues with x86 on rhel-8 or earlier, only with ppc, but again I believe that the patch in kolla resolves this. [1] https://review.opendev.org/#/c/446950/8/ironic_lib/disk_utils.py
[stack@undercloud-0 ~]$ cat core_puddle_version RHOS_TRUNK-15.0-RHEL-8-20190708.n.2 [stack@undercloud-0 ~]$ sudo podman ps | grep ironic_conductor c2c7f39ed5e7 192.168.24.1:8787/rhosp15/openstack-ironic-conductor:20190708.1 dumb-init --singl... 2 days ago Up 2 days ago ironic_conductor [stack@undercloud-0 ~]$ sudo podman images | grep openstack-ironic-conductor 192.168.24.1:8787/rhosp15/openstack-ironic-conductor 20190708.1 99136cbffa8f 3 days ago 865 MB [stack@undercloud-0 ~]$ sudo podman exec -it --user root ironic_conductor ls -ld /usr/bin/udevadm -rwxr-xr-x. 1 root root 532488 May 2 07:17 /usr/bin/udevadm [stack@undercloud-0 ~]$ udevadm is present in x86_64
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