Skip to content

Instantly share code, notes, and snippets.

@liweinan
Created December 22, 2025 13:54
Show Gist options
  • Select an option

  • Save liweinan/28927a870099494b6e23fc8aaf58c3c3 to your computer and use it in GitHub Desktop.

Select an option

Save liweinan/28927a870099494b6e23fc8aaf58c3c3 to your computer and use it in GitHub Desktop.
Test Case Manual Log
anan@think:~/works/openshift-versions/works$ cat install-config.yaml.bkup 
additionalTrustBundlePolicy: Proxyonly
apiVersion: v1
baseDomain: qe.devcluster.openshift.com
compute:
- architecture: amd64
  hyperthreading: Disabled
  name: worker
  platform: {}
  replicas: 3
controlPlane:
  architecture: amd64
  hyperthreading: Disabled 
  name: master
  platform: {}
  replicas: 3
metadata:
  name: weli-test
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  machineNetwork:
  - cidr: 10.0.0.0/16
  networkType: OVNKubernetes
  serviceNetwork:
  - 172.30.0.0/16
platform:
  aws:
    region: us-east-1
    vpc: {}
publish: External
@liweinan
Copy link
Author

OCP-21531

Verify the Pull Secret:

anan@think:~/works/openshift-versions/421nightly$ vi ../auth.json
anan@think:~/works/openshift-versions/421nightly$ oc adm release extract --command openshift-install --from=registry.ci.openshift.org/ocp/release:4.21.0-0.nightly-2025-12-22-170804 -a ../auth.json 
anan@think:~/works/openshift-versions/421nightly$ du -h openshift-install 
654M	openshift-install

Export variables:

anan@think:~/works/openshift-versions/work3$ export OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE=registry.ci.openshift.org/ocp/release:4.21.0-0.nightly-2025-12-22-170804
anan@think:~/works/openshift-versions/work3$ export OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE=ami-01095d1967818437c

Using different version installer to install the cluster:

anan@think:~/works/openshift-versions/work3$ ../421rc0/openshift-install version
../421rc0/openshift-install 4.21.0-rc.0
built from commit 8f88b34924c2267a2aa446dcdc6ccdd5260f9c45
release image quay.io/openshift-release-dev/ocp-release@sha256:ecde621d6f74aa1af4cd351f8b571ca2a61bbc32826e49cdf1b7fbff07f04ede
WARNING Found override for release image (registry.ci.openshift.org/ocp/release:4.21.0-0.nightly-2025-12-22-170804). Release Image Architecture is unknown 
release architecture unknown
default architecture amd64
anan@think:~/works/openshift-versions/work3$ ../421rc0/openshift-install create cluster
WARNING Found override for release image (registry.ci.openshift.org/ocp/release:4.21.0-0.nightly-2025-12-22-170804). Release Image Architecture is unknown 
INFO Credentials loaded from the "default" profile in file "/home/anan/.aws/credentials" 
WARNING Found override for OS Image. Please be warned, this is not advised 
INFO Successfully populated MCS CA cert information: root-ca 2035-12-23T03:35:54Z 2025-12-25T03:35:54Z 
INFO Successfully populated MCS TLS cert information: root-ca 2035-12-23T03:35:54Z 2025-12-25T03:35:54Z 
INFO Credentials loaded from the AWS config using "SharedConfigCredentials: /home/anan/.aws/credentials" provider 
WARNING Found override for release image (registry.ci.openshift.org/ocp/release:4.21.0-0.nightly-2025-12-22-170804). Please be warned, this is not advised 

Check the installed cluster version and the used amiID:

anan@think:~/works/openshift-versions/work3$ export KUBECONFIG=/home/anan/works/openshift-versions/work3/auth/kubeconfig
anan@think:~/works/openshift-versions/work3$ oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.21.0-0.nightly-2025-12-22-170804   True        False         71m     Cluster version is 4.21.0-0.nightly-2025-12-22-170804
$ oc get machineset.machine.openshift.io -n openshift-machine-api -o json | \
jq -r '.items[] | .spec.template.spec.providerSpec.value.ami.id'
ami-01095d1967818437c
ami-01095d1967818437c
ami-01095d1967818437c
ami-01095d1967818437c
ami-01095d1967818437c

@liweinan
Copy link
Author

OCP-22425

OCP-22425

Cluster A:

anan@think:~/works/openshift-versions/work3$ oc get nodes
NAME                           STATUS   ROLES                  AGE   VERSION
ip-10-0-106-174.ec2.internal   Ready    control-plane,master   8h    v1.34.2
ip-10-0-157-14.ec2.internal    Ready    control-plane,master   8h    v1.34.2
ip-10-0-30-65.ec2.internal     Ready    worker                 8h    v1.34.2
ip-10-0-54-54.ec2.internal     Ready    worker                 8h    v1.34.2
ip-10-0-74-122.ec2.internal    Ready    worker                 8h    v1.34.2
ip-10-0-76-206.ec2.internal    Ready    control-plane,master   8h    v1.34.2
anan@think:~/works/openshift-versions/work3$ oc get route -n openshift-authentication
NAME              HOST/PORT                                                    PATH   SERVICES          PORT   TERMINATION            WILDCARD
oauth-openshift   oauth-openshift.apps.weli-test.qe.devcluster.openshift.com          oauth-openshift   6443   passthrough/Redirect   None
anan@think:~/works/openshift-versions/work3$ oc get po -n openshift-apiserver
NAME                         READY   STATUS    RESTARTS   AGE
apiserver-6b767844c6-2jztv   2/2     Running   0          8h
apiserver-6b767844c6-g4rck   2/2     Running   0          8h
apiserver-6b767844c6-jzv4z   2/2     Running   0          8h
anan@think:~/works/openshift-versions/work3$ oc rsh -n openshift-apiserver apiserver-6b767844c6-2jztv
Defaulted container "openshift-apiserver" out of: openshift-apiserver, openshift-apiserver-check-endpoints, fix-audit-permissions (init)
sh-5.1# 

Cluster B:

anan@think:~/works/openshift-versions/works2$ oc get nodes
NAME                           STATUS   ROLES                  AGE   VERSION
ip-10-0-122-6.ec2.internal     Ready    control-plane,master   27m   v1.34.2
ip-10-0-134-89.ec2.internal    Ready    control-plane,master   27m   v1.34.2
ip-10-0-141-244.ec2.internal   Ready    worker                 13m   v1.34.2
ip-10-0-31-52.ec2.internal     Ready    worker                 21m   v1.34.2
ip-10-0-67-21.ec2.internal     Ready    control-plane,master   27m   v1.34.2
ip-10-0-96-196.ec2.internal    Ready    worker                 21m   v1.34.2
anan@think:~/works/openshift-versions/works2$ oc get po -n openshift-apiserver
NAME                         READY   STATUS    RESTARTS   AGE
apiserver-574bdcd758-j85sh   2/2     Running   0          10m
apiserver-574bdcd758-l98ph   2/2     Running   0          10m
apiserver-574bdcd758-p922j   2/2     Running   0          8m8s
anan@think:~/works/openshift-versions/works2$ oc rsh -n openshift-apiserver apiserver-574bdcd758-j85sh
Defaulted container "openshift-apiserver" out of: openshift-apiserver, openshift-apiserver-check-endpoints, fix-audit-permissions (init)
sh-5.1# curl -k https://oauth-openshift.apps.weli-test.qe.devcluster.openshift.com/healthz
oksh-5.1# 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment