Skip to content

Commit 2c19946

Browse files
committed
[ironic] correct capabilities for disk images supported
Generally ironic users use whole disk images or partition images, and ironic identifies the difference between the two by checking if a kernel and ramdisk are in use for the system. Turns out that an AMI is a partition image, where a kernel and ramdisk is paired with the desired disk image. So in essence we appear to have supported it all along. Just different names were used. It *appears* that this should work just fine in most cases unless someone has somewhat weird settings on their ironic deployment, and realistically those should be considered bugs if they are encountered. Change-Id: I168d75da5c04270459ce80d913206910f79bacb6
1 parent 726e2fd commit 2c19946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nova/virt/ironic/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class IronicDriver(virt_driver.ComputeDriver):
167167

168168
# Image type support flags
169169
"supports_image_type_aki": False,
170-
"supports_image_type_ami": False,
170+
"supports_image_type_ami": True,
171171
"supports_image_type_ari": False,
172172
"supports_image_type_iso": False,
173173
"supports_image_type_qcow2": True,

0 commit comments

Comments
 (0)