Adding nodes to ROSA cluster does not work due to Marketplace terms not being accepted
Environment
- Red Hat OpenShift Service on AWS (ROSA)
- 4
- Amazon Web Services (AWS) Marketplace
Issue
-
On a ROSA cluster, it can be observed that new Nodes cannot be added. Additionally, the
machine-controllerlogs shows errors like the following:I0824 20:32:55.664808 1 machine_scope.go:167] example-worker-eu-central-1c-xxxx: Updating status I0824 20:32:55.664814 1 machine_scope.go:193] example-worker-eu-central-1c-xxxx: finished calculating AWS status I0824 20:32:55.664823 1 machine_scope.go:90] example-worker-eu-central-1c-xxxx: patching machine E0824 20:32:55.675937 1 actuator.go:72] example-worker-eu-central-1c-xxxx error: example-worker-eu-central-1c-xxxx: reconciler failed to Create machine: failed to launch instance: error launching instance: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit https://aws.amazon.com/marketplace/pp?sku=xxxxxxxxxx W0824 20:32:55.675979 1 controller.go:382] example-worker-eu-central-1c-xxxx: failed to create machine: example-worker-eu-central-1c-xxxx: reconciler failed to Create machine: failed to launch instance: error launching instance: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit https://aws.amazon.com/marketplace/pp?sku=xxxxxxxxxx I0824 20:32:55.675988 1 controller.go:422] Actuator returned invalid configuration error: error launching instance: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit https://aws.amazon.com/marketplace/pp?sku=xxxxxxxxxx I0824 20:32:55.676078 1 recorder.go:103] events "msg"="example-worker-eu-central-1c-xxxx: reconciler failed to Create machine: failed to launch instance: error launching instance: In order to use this AWS Marketplace product you need to accept terms and subscribe. To do so please visit https://aws.amazon.com/marketplace/pp?sku=xxxxxxxxxx" "object"={"kind":"Machine","namespace":"openshift-machine-api","name":"example-work er-eu-central-1c-xxxx","uid":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx","apiVersion":"machine.openshift.io/v1beta1","resourceVersion":"00000000"} "reason"="FailedCreate" "type"="Warning" -
The terms in
https://aws.amazon.com/marketplace/pp?sku=xxxxxxxxxxURL are shown as already accepted. - Accepting the terms is not solving the issue.
Resolution
A workaround is to visit the link and to again accept the terms of the ROSA Marketplace product. If accepting the terms again is not solving the issue, please open a new Support Case in the Red Hat Customer Portal referring to this Solution.
Root Cause
A race condition that arose during the transition from different AWS offerings was found to cause this issue. The race condition led to a mismatch in subscription state between backend AWS systems, leading the subscription to appear active when in fact new AMIs could not be provisioned.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments