pxe_ipmitool iscsi deploy failed due to Error returned from deploy ramdisk: Could+not+find+disk+to+use.
The root cause of this problem is that the bare metal server has its local hard disk as /dev/sdc.
Please find the attached image.
2015-02-20 10:51:29.563 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is da7fcb58dd6a4ba4af8a02c59665fb8c. from (pid=15228) _add_unique_id /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:224
2015-02-20 10:51:29.565 ERROR ironic.drivers.modules.iscsi_deploy [-] Error returned from deploy ramdisk: Could+not+find+disk+to+u se.
2015-02-20 10:51:29.565 DEBUG ironic.common.states [-] Exiting old state 'deploying' in response to event 'fail' fr om (pid=15228) on_exit /opt/stack/ironic/ironic/common/states.py:157
Tentative fix can be as below:
diff --git a/ironic/drivers/modules/iscsi_deploy.py b/ironic/drivers/modules/iscsi_deploy.py
index d929f5a..98a6309 100644
--- a/ironic/drivers/modules/iscsi_deploy.py
+++ b/ironic/drivers/modules/iscsi_deploy.py
@@ -66,7 +66,7 @@ pxe_opts = [ help='Maximum TTL (in minutes) for old master images in ' 'cache.'),
cfg.StrOpt('disk_devices',
- default='cciss/c0d0,sda,hda,vda',
+ default='cciss/c0d0,sda,sdc,hda,vda', help='The disk devices to scan while doing the deploy.'),
]
pxe_ipmitool iscsi deploy failed due to Error returned from deploy ramdisk: Could+not+ find+disk+ to+use.
The root cause of this problem is that the bare metal server has its local hard disk as /dev/sdc.
Please find the attached image.
2015-02-20 10:51:29.563 DEBUG oslo_messaging. _drivers. amqp [-] UNIQUE_ID is da7fcb58dd6a4ba 4af8a02c59665fb 8c. from (pid=15228) _add_unique_id /usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ _drivers/ amqp.py: 224 drivers. modules. iscsi_deploy [-] Error returned from deploy ramdisk: Could+not+ find+disk+ to+u se. common. states [-] Exiting old state 'deploying' in response to event 'fail' fr om (pid=15228) on_exit /opt/stack/ ironic/ ironic/ common/ states. py:157
2015-02-20 10:51:29.565 ERROR ironic.
2015-02-20 10:51:29.565 DEBUG ironic.
Tentative fix can be as below:
diff --git a/ironic/ drivers/ modules/ iscsi_deploy. py b/ironic/ drivers/ modules/ iscsi_deploy. py drivers/ modules/ iscsi_deploy. py drivers/ modules/ iscsi_deploy. py
help= 'Maximum TTL (in minutes) for old master images in '
'cache. '), StrOpt( 'disk_devices' , 'cciss/ c0d0,sda, hda,vda' , 'cciss/ c0d0,sda, sdc,hda, vda',
help= 'The disk devices to scan while doing the deploy.'),
index d929f5a..98a6309 100644
--- a/ironic/
+++ b/ironic/
@@ -66,7 +66,7 @@ pxe_opts = [
cfg.
- default=
+ default=
]