You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we use the "machine_type" annotation to select bz2-2x8 when CreateInstance is called then selectInstanceProfile will choose the correct vm flavour however selectImage will incorrectly choose the first (amd64) image as the spec.Arch check it does does not have the correct information. The creation will fail later with...
[adaptor/cloud] creating an instance : Image OS architecture amd64 is not supported by the instance profile bz2-2x8
To fix this:
updateInstanceProfileSpecList should populate the InstanceTypeSpecs with Arch from the GetInstanceProfileWithContext result
In CreateInstance after calling selectInstanceProfile the incoming spec should be merged with the instanceProfile spec
Call getImage with the new merged spec
The text was updated successfully, but these errors were encountered:
We provide both amd64 and s390x instance profiles as well as amd64 and s390x images.
If we use the "machine_type" annotation to select
bz2-2x8
whenCreateInstance
is called thenselectInstanceProfile
will choose the correct vm flavour howeverselectImage
will incorrectly choose the first (amd64) image as thespec.Arch
check it does does not have the correct information. The creation will fail later with...To fix this:
updateInstanceProfileSpecList
should populate theInstanceTypeSpec
s withArch
from theGetInstanceProfileWithContext
resultselectInstanceProfile
the incomingspec
should be merged with the instanceProfilespec
getImage
with the new mergedspec
The text was updated successfully, but these errors were encountered: