ironic conductor dd
2020-06-06 16:14:28.562 7858 ERROR ironic.drivers. modules.agent_base_vendor [req-15189857-7e9e-4398- 9f89-6b132586147b - - - - -] Asynchronous exception: Node failed to deploy. Exception: Deploy failed for instance 40079003-187a-48a8-840a-9baf546b0783. Error: Unexpected error while running command. 22645 Command: sudo ironic-rootwrap /etc/ironic/rootwrap. conf dd if=/var/lib/ironic/images/817e78c0-19c0-4fbd- b4dd-ea2945350112/disk of=/dev/disk/by-path/ip-172.16. 100.102:3260-iscsi-iqn.2008-10.org.openstack:817e78c0- 19c0-4fbd-b4dd-ea2945350112-lun-1 bs=1M oflag=direct 22646 Exit code: 1
22649 Command: sudo ironic-rootwrap /etc/ironic/rootwrap. conf dd if=/var/lib/ironic/images/817e78c0-19c0-4fbd- b4dd-ea2945350112/disk of=/dev/disk/by-path/ip-172.16. 100.102:3260-iscsi-iqn.2008-10.org.openstack:817e78c0- 19c0-4fbd-b4dd-ea2945350112-lun-1 bs=1M oflag=direct 22650 Exit code: 1 22651 Stdout: u'' 22652 Stderr: u"/bin/dd: error writing '/dev/disk/by-path/ ip-172.16.100.102:3260-iscsi-iqn.2008-10.org. openstack:817e78c0-19c0-4fbd-b4dd-ea2945350112-lun- 1': Input/output error\n1745+0 records in\n1744+0 records out\n1828716544 bytes (1.8 GB) copied, 139. 127 s, 13.1 MB/s\n"
裸金属到这里就停止了
定位发现裸金属的root device 如下 root_device='{"name": "/dev/sdc"}' 而裸金属上没有sdc,只有sda和sdb