-
Bug
-
Resolution: Done
-
Critical
-
4.13, 4.12, 4.14, 4.15, 4.16
-
Important
-
No
-
1
-
OSDOCS Sprint 250
-
1
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
With OpenShift Container Platform 4.12, https://github.com/openshift/installer/pull/6304 has been implemened and for newly installed OpenShift Container Platform 4 - Cluster, Machine Images are stored in image gallery instead of managed image on Microsoft Azure. The respective documentation though has not been updated and still showing examples with managed images, which will fail if the customer is following documentation. For more details, refer to https://docs.openshift.com/container-platform/4.14/machine_management/creating_machinesets/creating-machineset-azure.html. Interesting enough, the part about adding GPU OpenShift Container Platform 4 - Node does contain the required image gallery references (see https://docs.openshift.com/container-platform/4.14/machine_management/creating_machinesets/creating-machineset-azure.html#nvidia-gpu-aws-adding-a-gpu-node_creating-machineset-azure). This makes it even more confusing as we now have examples showing different things and it's therefore not clear what should be used/applied when following the documentation.
Version-Release number of selected component (if applicable):
OpenShift Container Platform 4.12, 4.13 and 4.15
How reproducible:
Always
Steps to Reproduce:
1. https://docs.openshift.com/container-platform/4.14/machine_management/creating_machinesets/creating-machineset-azure.html is showing managed images in the examples, even though the installer is now using image gallery and MachineSet is therefore also referencing the image gallery
Actual results:
Examples are shoing "resourceID: /resourceGroups/<infrastructure_id>-rg/providers/Microsoft.Compute/images/<infrastructure_id>" but should actually reference "/resourceGroups/myclustername-rg/providers/Microsoft.Compute/galleries/gallery_myclustername_n6n4r/images/myclustername-gen2/versions/latest"
Expected results:
Update examples to use image gallery like the example in "/resourceGroups/myclustername-rg/providers/Microsoft.Compute/galleries/gallery_myclustername_n6n4r/images/myclustername-gen2/versions/latest" and also update instructions how to fetch and use the image gallery to obtain the images and reference them in MachineSet
Additional info:
- causes
-
OCPBUGS-30864 Azure Machine Images are stored in image gallery as managed images are not supported for arm64
- ASSIGNED
- links to
(2 links to)