Ask Your Question
2

ironic deploy "Failed to detect root device UUID." [closed]

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

teju gravatar image

updated 2014-09-12 18:17:25 -0600

smaffulli gravatar image

I followed instructions in the below links

  1. To install ironic

    http://docs.openstack.org/developer/i...

  2. For PXE boot using Ironic

http://ma.ttwagner.com/bare-metal-dep...

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: ''
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by teju
close date 2014-09-17 04:39:26.805765

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-17 04:39:12 -0600

teju gravatar image

Fixed this by replacing the hard disk in the bare metal server

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-12 05:06:22 -0600

Seen: 416 times

Last updated: Sep 17 '14