'rebuild' fails with iscsi_ilo driver

Bug #1466729 reported by Ramakrishnan G (rameshg87)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Ramakrishnan G (rameshg87)

Bug Description

Rebuild is failing with iscsi_ilo driver with the following error:

2015-06-19 00:34:54.003 DEBUG ironic.drivers.modules.ilo.common [-] Node e7e1ef37-0fe4-461a-a4ba-09de67148ad9 boot mode is being set to bios from (pid=6936) update_boot_mode /opt/stack/ironic/ironic/drivers/modules/ilo/common.py:333
2015-06-19 00:34:54.315 INFO ironic.drivers.modules.ilo.common [-] Node e7e1ef37-0fe4-461a-a4ba-09de67148ad9 pending boot mode is bios.
2015-06-19 00:34:54.316 DEBUG ironic.drivers.modules.ilo.deploy [-] Trying to get a boot ISO to boot the baremetal node from (pid=6936) _get_boot_iso /opt/stack/ironic/ironic/drivers/modules/ilo/deploy.py:108
2015-06-19 00:34:54.316 DEBUG ironic.drivers.modules.ilo.deploy [-] Using ilo_boot_iso provided in node's instance_info from (pid=6936) _get_boot_iso /opt/stack/ironic/ironic/drivers/modules/ilo/deploy.py:113
2015-06-19 00:34:54.325 ERROR ironic.drivers.modules.ilo.deploy [-] Virtual media deploy accepts only Glance images or HTTP(S) URLs as instance_info['ilo_boot_iso']. Either swift:boot-e7e1ef37-0fe4-461a-a4ba-09de67148ad9 is not a valid HTTP(S) URL or is not reachable.
2015-06-19 00:34:54.328 ERROR ironic.drivers.modules.ilo.deploy [-] Deploy failed for instance bc4e27a5-80a2-4e4e-b05d-d0ba621abdec. Error: Validation of image href swift:boot-e7e1ef37-0fe4-461a-a4ba-09de67148ad9 failed, reason: No connection adapters were found for 'swift:boot-e7e1ef37-0fe4-461a-a4ba-09de67148ad9'
2015-06-19 00:34:54.330 DEBUG ironic.common.states [-] Exiting old state 'deploying' in response to event 'fail' from (pid=6936) on_exit /opt/stack/ironic/ironic/common/states.py:178
2015-06-19 00:34:54.331 DEBUG ironic.common.states [-] Entering new state 'deploy failed' in response to event 'fail' from (pid=6936) on_enter /opt/stack/ironic/ironic/common/states.py:184
2015-06-19 00:35:01.541 INFO ironic.conductor.utils [-] Successfully set node e7e1ef37-0fe4-461a-a4ba-09de67148ad9 power state to power off.

Tags: ilo
Revision history for this message
Ramakrishnan G (rameshg87) (rameshg87) wrote :

The problem is because the ilo_boot_iso from the previous deploy is not cleared which causes the failure. This should be cleared if it's a glance image (which means that boot iso was auto created or fetched from glance).

Changed in ironic:
assignee: nobody → Ramakrishnan G (rameshg87) (rameshg87)
status: New → In Progress
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → High
tags: added: ilo
Changed in ironic:
status: In Progress → Fix Committed
Changed in ironic:
milestone: none → 4.0.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.