-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
Instructions to ignore CPU pre-flight validation with assisted installer:
Get Offline Token from OCM: https://console.redhat.com/openshift/token
Validate API access via CLI:
export OFFLINE_TOKEN=<...>
export API_TOKEN=$( \
curl \
--silent \
--header "Accept: application/json" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "grant_type=refresh_token" \
--data-urlencode "client_id=cloud-services" \
--data-urlencode "refresh_token=${OFFLINE_TOKEN}" \
"https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token" \
| jq --raw-output ".access_token" \
)
Query all clusters and identify you cluster id from here:
curl -s https://api.openshift.com/api/assisted-install/v2/clusters -H "Authorization: Bearer ${API_TOKEN}" | jq
export CLUSTER_ID=<...>
Then send PUT to [https://api.openshift.com/api/assisted-install/v2/clusters/${CLUSTER_ID}/ignored-validations](https://api.openshift.com/api/assisted-install/v2/clusters/$%7BCLUSTER_ID%7D/ignored-validations) with JSON Body: {"host-validation-ids": "[\"has-min-cpu-cores\", \"has-cpu-cores-for-role\"]"}
Metadata
Metadata
Assignees
Labels
No labels