-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.15, 4.16, 4.17
Description of problem:
IBM Cloud MAPI only allows the Machine's Image to be provided as a name. Since names could be duplicated, especially with Private Catalogs, it should also allow ID's or CRN's to be provided as well.
Version-Release number of selected component (if applicable):
4.17
How reproducible:
100%
Steps to Reproduce:
1. Create IPI cluster on IBM Cloud 2. Create a new MacineSet for IBM Cloud, using an ID or CRN for Image 3. MachineSet will fail to deploy
Actual results:
I0730 01:20:52.487064 1 recorder.go:104] "eu-gb-ibmopen-4-16-1-ms4h2-worker-eu-gb-f776g: reconciler failed to Create machine: failed to create instance via ibm vpc client: could not retrieve image id of name: r018-5b42e34c-df58-4770-9e0a-e775e654b604" logger="events" type="Warning" object={"kind":"Machine","namespace":"openshift-machine-api","name":"eu-gb-ibmopen-4-16-1-ms4h2-worker-eu-gb-f776g","uid":"dfe4b23f-b4d7-4d97-ad6a-ee84c73a140d","apiVersion":"machine.openshift.io/v1beta1","resourceVersion":"9156189"} reason="FailedCreate"
Expected results:
Successful Machine creation using an image id or crn or catalog offering/version crn.
Additional info:
IBM Cloud is working on a solution that allows the user to provide an VPC Image name, id, or crn, or a Catalog Offering or Version crn.