Skip to content

Instantly share code, notes, and snippets.

@bh7cw
Last active July 28, 2020 04:00
Show Gist options
  • Save bh7cw/cef9c0573566353ee40039b9b40df6b6 to your computer and use it in GitHub Desktop.
Save bh7cw/cef9c0573566353ee40039b9b40df6b6 to your computer and use it in GitHub Desktop.
[jingzhan@jing cluster_0715]$ OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE=ami-0b7dd156ccbd25423 ./openshift-install create manifests
? SSH Public Key /home/jingzhan/.ssh/cluster-0715.pub
? Platform aws
INFO Credentials loaded from the "default" profile in file "/home/jingzhan/.aws/credentials"
? Region us-east-2
? Base Domain devcluster.openshift.com
? Cluster Name cluster-bh7cw-727-06
? Pull Secret [? for help] *************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
WARNING Found override for OS Image. Please be warned, this is not advised ******
INFO Manifests created in: manifests and openshift
[jingzhan@jing cluster_0715]$ vi openshift/99_openshift-machineconfig_99-master-ssh.yaml
[jingzhan@jing cluster_0715]$ OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE=ami-0b7dd156ccbd25423 ./openshift-install create cluster
INFO Credentials loaded from the "default" profile in file "/home/jingzhan/.aws/credentials"
INFO Consuming Master Machines from target directory
INFO Consuming Worker Machines from target directory
INFO Consuming Openshift Manifests from target directory
INFO Consuming Common Manifests from target directory
INFO Consuming OpenShift Install (Manifests) from target directory
INFO Creating infrastructure resources...
INFO Waiting up to 20m0s for the Kubernetes API at https://api.cluster-bh7cw-727-06.devcluster.openshift.com:6443...
ERROR Attempted to gather ClusterOperator status after installation failure: listing ClusterOperator objects: Get "https://api.cluster-bh7cw-727-06.devcluster.openshift.com:6443/apis/config.openshift.io/v1/clusteroperators": dial tcp 3.132.244.201:6443: connect: connection refused
INFO Pulling debug logs from the bootstrap machine
ERROR Attempted to gather debug logs after installation failure: failed to connect to the bootstrap machine: dial tcp 18.191.186.32:22: connect: connection refused
FATAL Bootstrap failed to complete: failed waiting for Kubernetes API: Get "https://api.cluster-bh7cw-727-06.devcluster.openshift.com:6443/version?timeout=32s": dial tcp 18.189.199.171:6443: connect: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment