Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2014-09-12 05:06:22 -0500

teju gravatar image

ironic deploy failed

I followed instructions in the below links

  1. To install ironic

    http://docs.openstack.org/developer/ironic/deploy/install-guide.html

  2. For PXE boot using Ironic

http://ma.ttwagner.com/bare-metal-deploys-with-devstack-and-ironic/

When I ran the curl command mentioned in the above link to deploy, I see error "PXE driver failed to continue deployment".

Ironic conductor Logs :

http://pastebin.com/JbB5mPrZ

ironic deploy failed

I followed instructions in the below links

  1. To install ironic

    http://docs.openstack.org/developer/ironic/deploy/install-guide.html

  2. For PXE boot using Ironic

http://ma.ttwagner.com/bare-metal-deploys-with-devstack-and-ironic/

When I ran the curl command mentioned in the above link to deploy, I see error "PXE driver failed to continue deployment".

Ironic conductor Logs :

http://pastebin.com/JbB5mPrZ

2014-09-12 13:20:39.625 7790 INFO ironic.drivers.modules.pxe [-] Continuing deployment for node 266ddb3e-1673-4b98-a178-81e1f1f9f482, params {'image_path': u'/var/lib/ironic/images/266ddb3e-1673-4b98-a178-81e1f1f9f482/disk', 'preserve_ephemeral': False, 'address': u'192.168.10.30', 'ephemeral_mb': 0, 'pxe_config_path': u'/tftpboot/266ddb3e-1673-4b98-a178-81e1f1f9f482/config', 'port': '3260', 'ephemeral_format': None, 'iqn': u'iqn-266ddb3e-1673-4b98-a178-81e1f1f9f482', 'lun': '1', 'root_mb': 5120, 'swap_mb': 1}
2014-09-12 13:20:52.687 7790 ERROR ironic.drivers.modules.deploy_utils [-] Failed to detect root device UUID.
2014-09-12 13:20:52.689 7790 ERROR ironic.drivers.modules.deploy_utils [-] Deploy to address 192.168.10.30 failed.
2014-09-12 13:20:52.690 7790 ERROR ironic.drivers.modules.deploy_utils [-] Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf blkid -s UUID -o value /dev/disk/by-path/ip-192.168.10.30:3260-iscsi-iqn-266ddb3e-1673-4b98-a178-81e1f1f9f482-lun-1-part1
2014-09-12 13:20:52.691 7790 ERROR ironic.drivers.modules.deploy_utils [-] StdOut: ''
2014-09-12 13:20:52.692 7790 ERROR ironic.drivers.modules.deploy_utils [-] StdErr: ''
2014-09-12 13:20:53.432 7790 ERROR ironic.drivers.modules.pxe [-] PXE deploy failed for instance a1b8b802-99b9-4329-b2e7-7d8e4af4ef3b. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf blkid -s UUID -o value /dev/disk/by-path/ip-192.168.10.30:3260-iscsi-iqn-266ddb3e-1673-4b98-a178-81e1f1f9f482-lun-1-part1
Exit code: 2
Stdout: ''
Stderr: ''

ironic deploy failed"Failed to detect root device UUID."

I followed instructions in the below links

  1. To install ironic

    http://docs.openstack.org/developer/ironic/deploy/install-guide.html

  2. For PXE boot using Ironic

http://ma.ttwagner.com/bare-metal-deploys-with-devstack-and-ironic/

When I ran the curl command mentioned in the above link to deploy, I see error "PXE driver failed to continue deployment".

Ironic conductor Logs :

2014-09-12 13:20:39.625 7790 INFO ironic.drivers.modules.pxe [-] Continuing deployment for node 266ddb3e-1673-4b98-a178-81e1f1f9f482, params {'image_path': u'/var/lib/ironic/images/266ddb3e-1673-4b98-a178-81e1f1f9f482/disk', 'preserve_ephemeral': False, 'address': u'192.168.10.30', 'ephemeral_mb': 0, 'pxe_config_path': u'/tftpboot/266ddb3e-1673-4b98-a178-81e1f1f9f482/config', 'port': '3260', 'ephemeral_format': None, 'iqn': u'iqn-266ddb3e-1673-4b98-a178-81e1f1f9f482', 'lun': '1', 'root_mb': 5120, 'swap_mb': 1}
2014-09-12 13:20:52.687 7790 ERROR ironic.drivers.modules.deploy_utils [-] Failed to detect root device UUID.
2014-09-12 13:20:52.689 7790 ERROR ironic.drivers.modules.deploy_utils [-] Deploy to address 192.168.10.30 failed.
2014-09-12 13:20:52.690 7790 ERROR ironic.drivers.modules.deploy_utils [-] Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf blkid -s UUID -o value /dev/disk/by-path/ip-192.168.10.30:3260-iscsi-iqn-266ddb3e-1673-4b98-a178-81e1f1f9f482-lun-1-part1
2014-09-12 13:20:52.691 7790 ERROR ironic.drivers.modules.deploy_utils [-] StdOut: ''
2014-09-12 13:20:52.692 7790 ERROR ironic.drivers.modules.deploy_utils [-] StdErr: ''
2014-09-12 13:20:53.432 7790 ERROR ironic.drivers.modules.pxe [-] PXE deploy failed for instance a1b8b802-99b9-4329-b2e7-7d8e4af4ef3b. Error: Unexpected error while running command.
Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf blkid -s UUID -o value /dev/disk/by-path/ip-192.168.10.30:3260-iscsi-iqn-266ddb3e-1673-4b98-a178-81e1f1f9f482-lun-1-part1
Exit code: 2
Stdout: ''
Stderr: ''