File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,8 +497,12 @@ function enroll_vms {
497497 done < $IRONIC_VM_MACS_CSV_FILE
498498
499499 # create the nova flavor
500+ # NOTE(adam_g): Attempting to use an autogenerated UUID for flavor id here uncovered
501+ # bug (LP: #1333852) in Trove. This can be changed to use an auto flavor id when the
502+ # bug is fixed in Juno.
500503 local adjusted_disk=$(($IRONIC_VM_SPECS_DISK - $IRONIC_VM_EPHEMERAL_DISK))
501- nova flavor-create --ephemeral $IRONIC_VM_EPHEMERAL_DISK baremetal auto $IRONIC_VM_SPECS_RAM $adjusted_disk $IRONIC_VM_SPECS_CPU
504+ nova flavor-create --ephemeral $IRONIC_VM_EPHEMERAL_DISK baremetal 551 $IRONIC_VM_SPECS_RAM $adjusted_disk $IRONIC_VM_SPECS_CPU
505+
502506 # TODO(lucasagomes): Remove the 'baremetal:deploy_kernel_id'
503507 # and 'baremetal:deploy_ramdisk_id' parameters
504508 # from the flavor after the completion of
You can’t perform that action at this time.
0 commit comments