-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.15
-
None
Description of problem:
https://github.com/openshift/installer/pull/7778 introduced a bug where an error is always returned while retrieving a marketplace image.
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. Configure marketplace image in the install-config 2. openshift-install create manifests 3.
Actual results:
$ ./openshift-install create manifests --dir ipi1 --log-level debug DEBUG OpenShift Installer 4.16.0-0.test-2023-12-12-020559-ci-ln-xkqmlqk-latest DEBUG Built from commit 456ae720a83e39dffd9918c5a71388ad873b6a38 DEBUG Fetching Master Machines... DEBUG Loading Master Machines... DEBUG Loading Cluster ID... DEBUG Loading Install Config... DEBUG Loading SSH Key... DEBUG Loading Base Domain... DEBUG Loading Platform... DEBUG Loading Cluster Name... DEBUG Loading Base Domain... DEBUG Loading Platform... DEBUG Loading Pull Secret... DEBUG Loading Platform... INFO Credentials loaded from file "/home/fedora/.azure/osServicePrincipal.json" ERROR failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: [controlPlane.platform.azure.osImage: Invalid value: azure.OSImage{Plan:"", Publisher:"redhat", Offer:"rh-ocp-worker", SKU:"rh-ocp-worker", Version:"413.92.2023101700"}: could not get marketplace image: %!w(<nil>), compute[0].platform.azure.osImage: Invalid value: azure.OSImage{Plan:"", Publisher:"redhat", Offer:"rh-ocp-worker", SKU:"rh-ocp-worker", Version:"413.92.2023101700"}: could not get marketplace image: %!w(<nil>)]
Expected results:
Success
Additional info:
When {{errors.Wrap(err, ...)}} was replaced by {{fmt.Errorf(...)}}, there is a slight difference in behavior in which {{errors.Wrap}} returns {{nil}} if {{err}} is {{nil}} but {{fmt.Errorf}} always returns an error.
- blocks
-
OCPBUGS-25216 [azure] using marketplace image fails while retrieving the image
- Closed
- is cloned by
-
OCPBUGS-25216 [azure] using marketplace image fails while retrieving the image
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update