Skip to content

Assistet installer information #59

@rbo

Description

@rbo

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions