Comment 0 for bug 1423809

Revision history for this message
Naohiro Tamura (naohirot) wrote :

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.'),
     ]