Boot from volume fails with 'iscsi' deploy interface
When boot from volume is requested for a node with 'iscsi' deploy
interface and no 'image_source' is provided in
'node.instance_info'. It calls boot.prepare_ramdisk() and fails
while trying to perform validation for 'image_source'. This commit
fixes the issue.
Closes-Bug: #1714147
(cherry picked from commit e9ecdbbadc6a5e2a0936830251ecd1d560bf017e)
Reviewed: https:/ /review. openstack. org/499911 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=95f9751a6de 6f9cfaf67a6301c 2ef8f33ad75131
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit 95f9751a6de6f9c faf67a6301c2ef8 f33ad75131
Author: Shivanand Tendulker <email address hidden>
Date: Fri Sep 1 02:34:48 2017 -0400
Boot from volume fails with 'iscsi' deploy interface
When boot from volume is requested for a node with 'iscsi' deploy instance_ info'. It calls boot.prepare_ ramdisk( ) and fails
interface and no 'image_source' is provided in
'node.
while trying to perform validation for 'image_source'. This commit
fixes the issue.
Closes-Bug: #1714147 a0936830251ecd1 d560bf017e)
(cherry picked from commit e9ecdbbadc6a5e2
Change-Id: If8e51f4ed04cd7 001bf68a8a6a4d2 d2b40e43c62