After installation, create a new machineset will get error:
- lastTransitionTime: "2021-12-14T01:14:14Z"
message: 'Failed to check if machine exists: vm for machine zhsunaz14ipi-wnhrb-worker-northcentralus1-s56vm exists, but has unexpected ''Failed'' provisioning state'
Installation works as expected on 4.8.0-0.nightly-2021-12-13-183908.
After generating manifests, modify the image spec in worker machineset as
Installation finished successfully. Worker are created with expected image via machine-api.
Seems no plan id in this 4.8 image, I cant set up cluster with it, worker machine failed with below error.
# az vm image list --all --offer ocp-worker
message: 'failed to create vm zhsunipi3-mzh98-worker-centralus1-7z7gd: failure sending request for machine zhsunipi3-mzh98-worker-centralus1-7z7gd: cannot create vm: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ResourcePurchaseValidationFailed" Message="User failed validation to purchase resources. Error message: ''Offer with PublisherId: ''redhat-rhel'', OfferId: ''ocp-worker'' cannot be purchased due to validation errors. For more information see details. Correlation Id: ''529af651-c656-4d25-b07d-1ee365fd24f1'' Offer with PublisherId: ''redhat-rhel'', OfferId: ''ocp-worker'' and PlanId: ocp-worker-100-gen1 was removed from the marketplace for new purchase. See similar offers here ''https://azuremarketplace.microsoft.com/en-us/marketplace/apps?page=1%26search=redhat-rhel%20ocp-worker''. Correlation Id ''529af651-c656-4d25-b07d-1ee365fd24f1''.''"'
Tested with pr https://github.com/openshift/cluster-api-provider-azure/pull/245 and https://github.com/openshift/machine-api-operator/pull/970
1.After generating manifests, modify the image spec in worker machineset as
Installation finished successfully
2.Post installtion create machineset with above image, machine works well.
3.Create a cluster with WMCO, windows node works well.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.8.25 bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.