Rebuild is failing with iscsi_ilo driver with the following error:
2015-06-19 00:34:54.003 [00;32mDEBUG ironic.drivers.modules.ilo.common [[00;36m-[00;32m] [01;35m[00;32mNode e7e1ef37-0fe4-461a-a4ba-09de67148ad9 boot mode is being set to bios[00m [00;33mfrom (pid=6936) update_boot_mode /opt/stack/ironic/ironic/drivers/modules/ilo/common.py:333[00m
2015-06-19 00:34:54.315 [00;36mINFO ironic.drivers.modules.ilo.common [[00;36m-[00;36m] [01;35m[00;36mNode e7e1ef37-0fe4-461a-a4ba-09de67148ad9 pending boot mode is bios.[00m
2015-06-19 00:34:54.316 [00;32mDEBUG ironic.drivers.modules.ilo.deploy [[00;36m-[00;32m] [01;35m[00;32mTrying to get a boot ISO to boot the baremetal node[00m [00;33mfrom (pid=6936) _get_boot_iso /opt/stack/ironic/ironic/drivers/modules/ilo/deploy.py:108[00m
2015-06-19 00:34:54.316 [00;32mDEBUG ironic.drivers.modules.ilo.deploy [[00;36m-[00;32m] [01;35m[00;32mUsing ilo_boot_iso provided in node's instance_info[00m [00;33mfrom (pid=6936) _get_boot_iso /opt/stack/ironic/ironic/drivers/modules/ilo/deploy.py:113[00m
2015-06-19 00:34:54.325 [01;31mERROR ironic.drivers.modules.ilo.deploy [[00;36m-[01;31m] [01;35m[01;31mVirtual 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.[00m
2015-06-19 00:34:54.328 [01;31mERROR ironic.drivers.modules.ilo.deploy [[00;36m-[01;31m] [01;35m[01;31mDeploy 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'[00m
2015-06-19 00:34:54.330 [00;32mDEBUG ironic.common.states [[00;36m-[00;32m] [01;35m[00;32mExiting old state 'deploying' in response to event 'fail'[00m [00;33mfrom (pid=6936) on_exit /opt/stack/ironic/ironic/common/states.py:178[00m
2015-06-19 00:34:54.331 [00;32mDEBUG ironic.common.states [[00;36m-[00;32m] [01;35m[00;32mEntering new state 'deploy failed' in response to event 'fail'[00m [00;33mfrom (pid=6936) on_enter /opt/stack/ironic/ironic/common/states.py:184[00m
2015-06-19 00:35:01.541 [00;36mINFO ironic.conductor.utils [[00;36m-[00;36m] [01;35m[00;36mSuccessfully set node e7e1ef37-0fe4-461a-a4ba-09de67148ad9 power state to power off.[00m
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).