Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save miabbott/d46d7ea6c1b5e1d9a4daa59981d3e6c8 to your computer and use it in GitHub Desktop.

Select an option

Save miabbott/d46d7ea6c1b5e1d9a4daa59981d3e6c8 to your computer and use it in GitHub Desktop.
custom payload notes

reverted commit in 4.4

https://gitlab.cee.redhat.com/miabbott/redhat-coreos/commit/a33f64d6810abe5fa4da755adf05644c57f3bb5f

devel pipeline setup

https://gitlab.cee.redhat.com/miabbott/rhcos-psi/commit/04852ad2cc3e86e38c026a9afd4097e805dcfb15

devel pipeline job #1

https://jenkins-rhcos.cloud.privileged.psi.redhat.com/job/rhcos-miabbott-rhcos-4.4/1/console

push machine-os-content to quay

$ skopeo copy --authfile /home/miabbott/Downloads/miabbott-auth.json docker://registry.svc.ci.openshift.org/rhcos-devel/machine-os-content@sha256:72ff139d56fe93cd8a242db22d77428a85e3bc4217177cc71fa9f826d25b7933 docker://quay.io/miabbott/machine-os-content:4.4
Getting image source signatures
Copying blob 86cd1cc9d13d done
Copying config 4682431b3c done
Writing manifest to image destination
Storing signatures

new payload

$ oc adm release new --from-release=quay.io/openshift-release-dev/ocp-release:4.4.0-rc.11-x86_64 \
>   --to-image=registry.svc.ci.openshift.org/rhcos/miabbott-4.4-gcp-fix-reverted:latest \
>   machine-os-content=quay.io/miabbott/machine-os-content@sha256:72ff139d56fe93cd8a242db22d77428a85e3bc4217177cc71fa9f826d25b7933
info: Found 108 images in release
info: Loading sha256:4008c82222975d020247b54bf1ac0456d062c1c4148bad92c424e5ab9fe67152 cloud-credential-operator
info: Loading sha256:a2150ec9af62c10489ec6569fe604fa34a0c2402352b4a370ea0c7ec8709266c cluster-autoscaler-operator
info: Loading sha256:348121e371807759fe9ee799f5bdfdd15f59225fa7e454cf791a3b249324fc2c cluster-authentication-operator
info: Loading sha256:89360ef6771df4c66300bcb0628762d569ecadc1074311860f52f691af144796 cluster-bootstrap
info: Loading sha256:64cfb3f3ec91ee4011471a2141363a1037df9f12de1a2cf949ff209be3ef8b71 cluster-config-operator
info: Loading sha256:ae7135ff4c01672b6d71d87cf3f558418a67c76aecaa3a78539717e809b9175b cluster-csi-snapshot-controller-operator
info: Loading sha256:21587dfdcd18294f7ebb0e14848181f50b50878dcac8c95f204404ee5722885b cluster-dns-operator
info: Loading sha256:07721e054cf5ac1a714650376db57b3bbecc7f53c5c36a1c685d850b0c460fa3 cluster-etcd-operator
info: Loading sha256:48b60114fb697ecd0ccfaa439a0df6f9fd012dd5b0f096069d869f89ec8871f0 cluster-image-registry-operator
info: Loading sha256:4fd417932c1d9e01ce82185de89626906aea6ffcd9c6cd0d464589851a92ffd5 cluster-ingress-operator
info: Loading sha256:ea08bb92564dcfae815213ad7a5791c9910807584a214c8a02a67f397e0afcea cluster-kube-apiserver-operator
info: Loading sha256:a5c5b75c5f49747dff8b1121bdceb2ee0c96e0591ff115b5b6cdfc7a26c8e532 cluster-kube-controller-manager-operator
info: Loading sha256:827fdb4302cf78cf80b03667947f154d7c5104217b1c1bdc7f3d351d28beeb5a cluster-kube-scheduler-operator
info: Loading sha256:9f3d449bdebffec5a8bbdefce0d44b8ebd17ed6a7d865c5334efaa57b2099b00 cluster-kube-storage-version-migrator-operator
info: Loading sha256:73caa5f0ffe43e776ef2c1312eb45434608fe1683a6962fcbd920979970d4238 cluster-machine-approver
info: Loading sha256:6499b812db9fa7023d357368935305e80b5f94722caca591330f3d5400566c0e cluster-monitoring-operator
info: Loading sha256:94e9e0bd29f700e1b664236843649e926deb06beaa0ae2694e44a11e23b6503d cluster-network-operator
info: Loading sha256:c83defaf09431b50ec35c8d7fb77cb5d011451cd0e38c48880d3c8faed78c823 cluster-node-tuning-operator
info: Loading sha256:4d61f60faeca5417fd2e35782d1228827371e12172b967162213edde5e52b852 cluster-openshift-apiserver-operator
info: Loading sha256:034ff5a2b21ef6b642dbdb614dec4f681cb9df5c268018afe284e300e668ceab cluster-openshift-controller-manager-operator
info: Loading sha256:59a8ed197771b9052d5a259ef4658ce06bdcdf20a046aac102000899e2a688e8 cluster-samples-operator
info: Loading sha256:e17d064e4d0286ec059e73e9301d91a6cd6db8587c5f5dca568e5598714edb39 cluster-storage-operator
info: Loading sha256:244cd0b8a518e1581f0fb781e69ee1a8c4a9098183f352740ccd25f76ae230dc cluster-svcat-apiserver-operator
info: Loading sha256:364ec062d0dc21cfb5e9cb659c0d2403b1d3919a79dcf6be0cf2ee5fd57d90a5 cluster-svcat-controller-manager-operator
info: Loading sha256:e3f085c30c611545392575f678018f096b04a01298994719cf8f0ce6ffe63321 cluster-update-keys
info: Loading sha256:dba8725344bb5d61020ec731a70aaa7e362684aa1a13e3a3a7d3583b5cdc90ce console-operator
info: Loading sha256:3309598411ec0a82a9a9dca7de9a33241c324211b4dab49d28d534326e443560 insights-operator
info: Loading sha256:8f513ce2492855176709371e3edf659baf3ac861ff81226bbc99b788ed1af6da ironic-hardware-inventory-recorder
info: Loading sha256:f6ee0d4b7bd823135a02c8021af0a26bdaf166547af4c1f8bc9e04acefd5c02d local-storage-static-provisioner
info: Loading sha256:35b7b9e186e387b772dc946c011b3887fe92dc88db0bddfafc60e666f3165805 machine-api-operator
info: Loading sha256:5e712c96991f2990534ffda207747023415489e799f2f5a04cfde44901d46bf1 machine-config-operator
info: Loading sha256:39728d60b9460c555063fbcec887748fb6c2093f72d9befa65505a02340066b6 operator-lifecycle-manager
info: Loading sha256:1d4c737336f5a986b187838114919e0b5d2b446bb5a713f4b50872a658d9af61 operator-marketplace
info: Loading sha256:4092453cb5e35ab544680d83287039f4994e327e2298390b3f89832763474c45 service-ca-operator
info: Pushed to registry.svc.ci.openshift.org/rhcos/miabbott-4.4-gcp-fix-reverted:latest
sha256:43fb5954b3f4c4b20088436198707a140be5657409af872f29ff59918c4de3d5 4.4.0-rc.11 2020-04-24T14:27:51Z

cluster-bot upgrade commands

test upgrade 4.3 registry.svc.ci.openshift.org/rhcos/miabbott-4.4-gcp-fix-reverted@sha256:43fb5954b3f4c4b20088436198707a140be5657409af872f29ff59918c4de3d5 gcp

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-e2e-gcp-upgrade/686

test upgrade registry.svc.ci.openshift.org/rhcos/miabbott-4.4-gcp-fix-reverted@sha256:43fb5954b3f4c4b20088436198707a140be5657409af872f29ff59918c4de3d5 registry.svc.ci.openshift.org/rhcos/miabbott-4.4-gcp-fix-reverted@sha256:43fb5954b3f4c4b20088436198707a140be5657409af872f29ff59918c4de3d5 gcp

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-e2e-gcp-upgrade/685

machine-os-content (with Casey's downfile fix) = quay.io/miabbott/machine-os-content@sha256:8d66e93f0c7a00cb03398658873e0b8b7c9eec85e613a96d1b6a69c9846bc258
machine-config-operator (with PR 1607) = quay.io/miabbott/machine-config-operator@sha256:0453c9b4d445e1d9bd7d0a4cc11895095ad354c95b34ec4b3b97208fdcb195ff
new payload:
oc adm release new --from-release=registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-04-21-103613 \
> --to-image=registry.svc.ci.openshift.org/rhcos/miabbott-gcp-routes-fix-4.5:latest \
> machine-os-content=quay.io/miabbott/machine-os-content@sha256:8d66e93f0c7a00cb03398658873e0b8b7c9eec85e613a96d1b6a69c9846bc258 \
> machine-config-operator=quay.io/miabbott/machine-config-operator@sha256:0453c9b4d445e1d9bd7d0a4cc11895095ad354c95b34ec4b3b97208fdcb195ff
info: Found 110 images in release
info: Loading sha256:27409d662cdd8d212e640954e0aed1b3eacc3969a071d4e66dbca1f67b6aa4cc cluster-authentication-operator
info: Loading sha256:6f5f9a27811d9084d3a0805e3652af5bd3a965035ebd47df11eeec8b2569844b cloud-credential-operator
info: Loading sha256:a64aa8662b20f7791c68674c7db9b21b7d04bc43c116c42437a65f9ca170b339 cluster-autoscaler-operator
info: Loading sha256:cfb6eb4d5f4e611c65226dade894802b12a4266ce08275137ac4b5c2521e43fe cluster-bootstrap
info: Loading sha256:9ac6f7c63e8dcd6db92d47842ad15f2cd9cdf852565ef7e72c2a3e632139303a cluster-config-operator
info: Loading sha256:f7da2edac999835eaa8f7f6ff2ba198a40a88c247d2a25c66fe9000d253b9980 cluster-csi-snapshot-controller-operator
info: Loading sha256:67dc031c8e10629fbf53cac30b9158c34361a9180ec77dd017e6b301ad44cdd7 cluster-dns-operator
info: Loading sha256:d32398bbc86b9192c92b43b9695d84bc7cdac537dcf905d5ebc74af511df618d cluster-etcd-operator
info: Loading sha256:c0ea63f361b3656731d7bc9a5a256361f5f660b6496963ed716bd4e7b0a8f82a cluster-image-registry-operator
info: Loading sha256:3d586bf295c3bf0ba9ff84aa59f1cfa30710587345b218176f006d928bd20c86 cluster-ingress-operator
info: Loading sha256:78c309f78fa7d76def9d1cb298bd538c923371af19e2c6e53c2e13e500a59915 cluster-kube-apiserver-operator
info: Loading sha256:716c66f53a57c052e67d6ffc2ff14c4492f77c839ef7713a0b52ecd731ee9e95 cluster-kube-controller-manager-operator
info: Loading sha256:551c7897b261c1d1c6db5e1edfca40d1ad8fe1f3279ab07a0121ec0b0ad1661d cluster-kube-scheduler-operator
info: Loading sha256:93d4ef12c08103cd2af0d5bc298053c62d64b1f1d54ef56e3d53adda0356023f cluster-kube-storage-version-migrator-operator
info: Loading sha256:d530842d79d856b7a5bc56d1400447ed67ce8696173983140ae7257cb6dd3514 cluster-machine-approver
info: Loading sha256:19733288e3bfffa323dc2ca7db3df80c5fd54c4d3e6809aa0cc0a45144b66032 cluster-monitoring-operator
info: Loading sha256:841763d80c823c99bfd9b2ab9230bb719c327366248e86087b2e9bf07151eba0 cluster-network-operator
info: Loading sha256:5d3901e8e026103726b3dd9d44fefeb483dbc550972e7580416a72123d71480b cluster-openshift-apiserver-operator
info: Loading sha256:1370eaeb4feb6919bcd988013c7c3251cfacedbfedfb31597b6da330dff5ed6e cluster-node-tuning-operator
info: Loading sha256:0c347b2d8aeb2dad193ab1ea4ff8d6725419f3478831beba386a7592725d55f2 cluster-openshift-controller-manager-operator
info: Loading sha256:93629b9b3c746ee26da5c8f571a674036cb731a44e385e64d005520bc238d8d9 cluster-samples-operator
info: Loading sha256:1c3a1d54b0db5da5c5c1ded254f9852d06d9ce3703def7b90f6d11ac31ed5f3b cluster-storage-operator
info: Loading sha256:03178885aacc9dbc152875d1e8bf17fbd20fac42acc9bb628452895eba2c1dc5 cluster-svcat-apiserver-operator
info: Loading sha256:68640373caf695ef122434d1cf67c6c4561c6760845596a4c8ff652fd197fd72 cluster-svcat-controller-manager-operator
info: Loading sha256:37d4be5b294bae9711ce0f18a4e76eb846621285c35c37f419a4a07200d51634 cluster-update-keys
info: Loading sha256:7de41d8658ea01d0a92156b3f8986efb7727571c17bc7717370d08bfc4867f61 console-operator
info: Loading sha256:c8dc918bdf3f72e817949cf041f082a5350bb224e24eabcad0d8477583897db6 insights-operator
info: Loading sha256:0377d622b991ddafff4d1020ed513e20179152d762969312568fd8dc2f018352 ironic-hardware-inventory-recorder
info: Loading sha256:f68bef54e232887cba9fdefd70f59cf22c38e606a71a375d16f71199db057b97 local-storage-static-provisioner
info: Loading sha256:f892eb762949b3530d048b40894f7d0629133ce62fd58b94defed82ecefa5ad2 machine-api-operator
info: Loading override quay.io/miabbott/machine-config-operator@sha256:0453c9b4d445e1d9bd7d0a4cc11895095ad354c95b34ec4b3b97208fdcb195ff machine-config-operator
info: Loading sha256:b96d213f8adeb612294f3fd93afe35ad5e4c15892f6822dfa59b7c6c21e2ae68 operator-marketplace
info: Loading sha256:d3757ff5f27ecdb92eaaf2617de4cb167e4ca8feac57849bd0eaba1a9d70681b operator-lifecycle-manager
info: Loading sha256:b9e8d4288c4ef913e0bb49168e8d1bdb4676b530143d860376ea09e274a7c8de service-ca-operator
info: Included 110 images from 34 input operators into the release
sha256:0aaf28c8f5acc7594c2bff98c8f971481bd2ef06be257369fd9e009e292d6358 4.5.0-0.nightly-2020-04-21-103613 2020-04-23T14:56:11Z
cluster-bot command:
test upgrade registry.svc.ci.openshift.org/rhcos/miabbott-gcp-routes-fix-4.5@sha256:3bfc861b3e6f98089c77b379d81dedb0a22a82636b90add18a2db91bf8ecb2ac registry.svc.ci.openshift.org/rhcos/miabbott-gcp-routes-fix-4.5@sha256:3bfc861b3e6f98089c77b379d81dedb0a22a82636b90add18a2db91bf8ecb2ac gcp

sttts gcp fix

https://gitlab.cee.redhat.com/coreos/redhat-coreos/merge_requests/905

devel pipeline setup

https://gitlab.cee.redhat.com/miabbott/rhcos-psi/commit/eef9e7c0e3ebae79337ea0b83474c1c385d6f654

devel pipeline job #1

https://jenkins-rhcos.cloud.privileged.psi.redhat.com/job/rhcos-miabbott-rhcos-4.5/3/console

push machine-os-content to quay

$ skopeo copy --authfile /home/miabbott/Downloads/miabbott-auth.json docker://registry.svc.ci.openshift.org/rhcos-devel/machine-os-content@sha256:01061724fc519ae40718d6bad697ec8e5370c8e08c6e059733ff5bb8da11e4b4 docker://quay.io/miabbott/machine-os-content:4.5
Getting image source signatures
Copying blob 9db541167243 done  
Copying config e719240f7a done  
Writing manifest to image destination
Storing signatures

new payload

$ oc adm release new --from-release=registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-04-27-112506 \
> --to-image=registry.svc.ci.openshift.org/rhcos/miabbott-4.5-sttts-gcp-fix:latest \
> machine-os-content=quay.io/miabbott/machine-os-content@sha256:01061724fc519ae40718d6bad697ec8e5370c8e08c6e059733ff5bb8da11e4b4
info: Found 109 images in release
info: Loading sha256:1200c43e2cb3f9f321c05e00615368e660e7b33548815eac64782c2458384f0a cloud-credential-operator
info: Loading sha256:4b93c0149b8396053ebfa1ce9e29529d4287ce70b385e2087be3ad0d4ccec748 cluster-authentication-operator
info: Loading sha256:1f2f07a4744c232f064ea4565a5eb996478fd82f0da2a0ae63647b663abdb0a8 cluster-autoscaler-operator
info: Loading sha256:41191464cafd407249bd636014f50150e618a667506d058c241a34504f950a41 cluster-bootstrap
info: Loading sha256:c179ac1cb6d863fa05d5206d4c0f73efb5879acffa1e264ac000bd1effc59a2f cluster-config-operator
info: Loading sha256:2cc79b472f501b8767835a0b4d6a4ccbc843a893fbdbb8a7a927245d22b1fa05 cluster-csi-snapshot-controller-operator
info: Loading sha256:f666f766c5d39d88cce765b562908a30adc6ca99c76e2dc2ca2eabf8a8cba2a5 cluster-dns-operator
info: Loading sha256:553be473dee32117305c9418176c373436689a59e88bd6f005e7b637470db3fd cluster-etcd-operator
info: Loading sha256:f89252a10430f5f9dc29f7e0edb876754cfacd390a3a4c59b6bd23cf3347a005 cluster-image-registry-operator
info: Loading sha256:c5f534dbdf9bba74e3e92d5aff08308f5c51546e156a6c30ce23fa9708c9a387 cluster-ingress-operator
info: Loading sha256:88b6ee77035c1f8c59a6bd3f24cd85f87733ea5d1af12c22e0e04c1c84b2dfad cluster-kube-apiserver-operator
info: Loading sha256:3c6369e13e557222b1ea271cab520ac9a380d4f87de030a7ec100ed4f35ec218 cluster-kube-controller-manager-operator
info: Loading sha256:16a6aa35bf32b5ce6c5a79cec7697d9d5a2716c8854428e739cb9d6be9fe68f0 cluster-kube-scheduler-operator
info: Loading sha256:a08c40338b3b17745c0218b3005a656a8fd64b7c366c69a8363425cc654da673 cluster-kube-storage-version-migrator-operator
info: Loading sha256:e883bc28a006b30ffd038ea84dd578e37c46a8da35511588c3d58ca8c8142399 cluster-machine-approver
info: Loading sha256:67c7d7d22de81fdf78d87f09b36e8ab335c938906cc7edadcf1d7b779edf5a88 cluster-monitoring-operator
info: Loading sha256:5e10c1517bd6556fdfc5e1426ec3f338fb2d2ab4e78af746061c0730b9e22123 cluster-network-operator
info: Loading sha256:c51276076d9d11f7e2225e1aa61083e189f45585aecc57f2788b4104adf31442 cluster-node-tuning-operator
info: Loading sha256:282f92034eab2bb7d0a4157817cd0158e407d12b4b1718a2308b9350904aa355 cluster-openshift-controller-manager-operator
info: Loading sha256:5d623d5f28f0ba64bd3e0ccd1b804af195670bb9d150f5c0c99bb5503aa7464a cluster-openshift-apiserver-operator
info: Loading sha256:be8a1127c9d56a3a555f0d65bce881f2fd93a245c27661564a124231969d7519 cluster-samples-operator
info: Loading sha256:cd482e4ac2000fad817610639c2e4f427df14c5f32894bf4c279ea3cd25ea3c4 cluster-storage-operator
info: Loading sha256:cb16a4d700c3c9709160b983c9176048eed06d44760d32ef470b403a267569a2 cluster-svcat-apiserver-operator
info: Loading sha256:80864458dabc66a9465b3eb73c74709ed19a0ba04f27e5cd300934803c6888d3 cluster-svcat-controller-manager-operator
info: Loading sha256:d836a8d3a6e66b38651f5bb26fa7a036cac394e8bd367fe483e5ea9f149433e2 cluster-update-keys
info: Loading sha256:2ca5203861b217a6c2bf8919a24b0ff3b74dfbe75a700a6a1b9ae9186d7a3800 console-operator
info: Loading sha256:751c0a901e7be8645e6b39a6e1097225819eebe2c9094478d3ff60ef00192f72 insights-operator
info: Loading sha256:375b797d1f98b5f4b53161fd33e21685ec5406a54b81d2d95b04c65a15cef800 ironic-hardware-inventory-recorder
info: Loading sha256:437ced0f0e466bc28c70831b3b4fd594b70031aa45c3ae768d56e9f3b03c07a9 local-storage-static-provisioner
info: Loading sha256:fa8dbac810fcc21889ec372d85913e82c57f2a1324ec8371ea262cdc6c9d99c4 machine-api-operator
info: Loading sha256:0cd62bea9e4072a33601afc3faa9f34db7e658e4efc4b15a52605e3ddb36581a machine-config-operator
info: Loading sha256:78988a59ffc5aaa99ac7336de298a1238fe33f32e6a8fe304686368180e68db8 operator-lifecycle-manager
info: Loading sha256:f283670488341690eed7ab462a997f9854aab643ea5d2630d241f3b2b486cf22 operator-marketplace
info: Loading sha256:5644b9a663f9e9e45e03e5623db17ac5b8fcf19e6bb64a208d9f1262bbd66609 service-ca-operator
info: Pushed to registry.svc.ci.openshift.org/rhcos/miabbott-4.5-sttts-gcp-fix:latest
sha256:5315b6c0b5f0ca74e0c619b42b1a74654e8ba30382205b85ee06fa2bbf606ccf 4.5.0-0.nightly-2020-04-27-112506 2020-04-27T15:14:40Z

cluster-bot upgrade commands

test upgrade 4.4 registry.svc.ci.openshift.org/rhcos/miabbott-4.5-sttts-gcp-fix@sha256:5315b6c0b5f0ca74e0c619b42b1a74654e8ba30382205b85ee06fa2bbf606ccf gcp

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-e2e-gcp-upgrade/702

test upgrade 4.5 registry.svc.ci.openshift.org/rhcos/miabbott-4.5-sttts-gcp-fix@sha256:5315b6c0b5f0ca74e0c619b42b1a74654e8ba30382205b85ee06fa2bbf606ccf gcp

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-e2e-gcp-upgrade/703

test upgrade registry.svc.ci.openshift.org/rhcos/miabbott-4.5-sttts-gcp-fix@sha256:5315b6c0b5f0ca74e0c619b42b1a74654e8ba30382205b85ee06fa2bbf606ccf registry.svc.ci.openshift.org/rhcos/miabbott-4.5-sttts-gcp-fix@sha256:5315b6c0b5f0ca74e0c619b42b1a74654e8ba30382205b85ee06fa2bbf606ccf gcp

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-e2e-gcp-upgrade/704

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-launch-gcp/585

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-launch-gcp/594

@miabbott
Copy link
Copy Markdown
Author

Verifying that machine-os-content has the fix included:

# podman pull quay.io/miabbott/machine-os-content@sha256:8d66e93f0c7a00cb03398658873e0b8b7c9eec85e613a96d1b6a69c9846bc258
Trying to pull quay.io/miabbott/machine-os-content@sha256:8d66e93f0c7a00cb03398658873e0b8b7c9eec85e613a96d1b6a69c9846bc258...
Getting image source signatures
Copying blob 003944bcc19f done  
Copying config 6cf3bea17f done  
Writing manifest to image destination
Storing signatures
6cf3bea17f030ae54653ab3dab87aa7c624889dfbc9605b2c1d95774566dbc9c

# ctr=$(podman create quay.io/miabbott/machine-os-content@sha256:8d66e93f0c7a00cb03398658873e0b8b7c9eec85e613a96d1b6a69c9846bc258)

# ostree --repo=$mnt/srv/repo cat  d92a116461ba092be74f5411b8d06a9761deacfe76818b87a868d222c3702b22 /usr/sbin/gcp-routes.sh | head -n 20
#!/bin/bash

# Update iptables rules based on google cloud load balancer VIPS
#
# This is needed because the GCP L3 load balancer doesn't actually do DNAT; 
# the destination IP address is still the VIP. Normally, there is an agent that
# adds the vip to the local routing table, tricking the kernel in to thinking
# it's a local IP and allowing processes doing an accept(0.0.0.0) to receive
# the packets. Clever.
#
# We don't do that. Instead, we DNAT with conntrack. This is so we don't break
# existing connections when the vip is removed. This is useful for draining
# connections - take ourselves out of the vip, but service existing conns.
#
# Additionally, clients can write a file to /run/gcp-routes/$IP.down to force
# a VIP as down. This is useful for graceful shutdown / upgrade.
#
# ~cdc~

set -e

@miabbott
Copy link
Copy Markdown
Author

new payload with only RHCOS/machine-os-content changed:

$ oc adm release new --from-release=registry.svc.ci.openshift.org/ocp/release:4.5.0-0.nightly-2020-04-21-103613 --to-image=registry.svc.ci.openshift.org/rhcos/mia
bbott-gcp-routes-fix-rhcos-only-4.5:latest machine-os-content=quay.io/miabbott/machine-os-content@sha256:8d66e93f0c7a00cb03398658873e0b8b7c9eec85e613a96d1b6a69c9846bc258 
info: Found 110 images in release
info: Loading sha256:6f5f9a27811d9084d3a0805e3652af5bd3a965035ebd47df11eeec8b2569844b cloud-credential-operator
info: Loading sha256:27409d662cdd8d212e640954e0aed1b3eacc3969a071d4e66dbca1f67b6aa4cc cluster-authentication-operator
info: Loading sha256:a64aa8662b20f7791c68674c7db9b21b7d04bc43c116c42437a65f9ca170b339 cluster-autoscaler-operator
info: Loading sha256:cfb6eb4d5f4e611c65226dade894802b12a4266ce08275137ac4b5c2521e43fe cluster-bootstrap
info: Loading sha256:9ac6f7c63e8dcd6db92d47842ad15f2cd9cdf852565ef7e72c2a3e632139303a cluster-config-operator
info: Loading sha256:f7da2edac999835eaa8f7f6ff2ba198a40a88c247d2a25c66fe9000d253b9980 cluster-csi-snapshot-controller-operator
info: Loading sha256:67dc031c8e10629fbf53cac30b9158c34361a9180ec77dd017e6b301ad44cdd7 cluster-dns-operator
info: Loading sha256:d32398bbc86b9192c92b43b9695d84bc7cdac537dcf905d5ebc74af511df618d cluster-etcd-operator
info: Loading sha256:c0ea63f361b3656731d7bc9a5a256361f5f660b6496963ed716bd4e7b0a8f82a cluster-image-registry-operator
info: Loading sha256:3d586bf295c3bf0ba9ff84aa59f1cfa30710587345b218176f006d928bd20c86 cluster-ingress-operator
info: Loading sha256:78c309f78fa7d76def9d1cb298bd538c923371af19e2c6e53c2e13e500a59915 cluster-kube-apiserver-operator
info: Loading sha256:716c66f53a57c052e67d6ffc2ff14c4492f77c839ef7713a0b52ecd731ee9e95 cluster-kube-controller-manager-operator
info: Loading sha256:551c7897b261c1d1c6db5e1edfca40d1ad8fe1f3279ab07a0121ec0b0ad1661d cluster-kube-scheduler-operator
zinfo: Loading sha256:93d4ef12c08103cd2af0d5bc298053c62d64b1f1d54ef56e3d53adda0356023f cluster-kube-storage-version-migrator-operator
info: Loading sha256:d530842d79d856b7a5bc56d1400447ed67ce8696173983140ae7257cb6dd3514 cluster-machine-approver
info: Loading sha256:19733288e3bfffa323dc2ca7db3df80c5fd54c4d3e6809aa0cc0a45144b66032 cluster-monitoring-operator
info: Loading sha256:841763d80c823c99bfd9b2ab9230bb719c327366248e86087b2e9bf07151eba0 cluster-network-operator
info: Loading sha256:1370eaeb4feb6919bcd988013c7c3251cfacedbfedfb31597b6da330dff5ed6e cluster-node-tuning-operator
info: Loading sha256:5d3901e8e026103726b3dd9d44fefeb483dbc550972e7580416a72123d71480b cluster-openshift-apiserver-operator
info: Loading sha256:0c347b2d8aeb2dad193ab1ea4ff8d6725419f3478831beba386a7592725d55f2 cluster-openshift-controller-manager-operator
info: Loading sha256:93629b9b3c746ee26da5c8f571a674036cb731a44e385e64d005520bc238d8d9 cluster-samples-operator
info: Loading sha256:1c3a1d54b0db5da5c5c1ded254f9852d06d9ce3703def7b90f6d11ac31ed5f3b cluster-storage-operator
info: Loading sha256:03178885aacc9dbc152875d1e8bf17fbd20fac42acc9bb628452895eba2c1dc5 cluster-svcat-apiserver-operator
info: Loading sha256:68640373caf695ef122434d1cf67c6c4561c6760845596a4c8ff652fd197fd72 cluster-svcat-controller-manager-operator
info: Loading sha256:37d4be5b294bae9711ce0f18a4e76eb846621285c35c37f419a4a07200d51634 cluster-update-keys
info: Loading sha256:7de41d8658ea01d0a92156b3f8986efb7727571c17bc7717370d08bfc4867f61 console-operator
info: Loading sha256:c8dc918bdf3f72e817949cf041f082a5350bb224e24eabcad0d8477583897db6 insights-operator
info: Loading sha256:0377d622b991ddafff4d1020ed513e20179152d762969312568fd8dc2f018352 ironic-hardware-inventory-recorder
info: Loading sha256:f68bef54e232887cba9fdefd70f59cf22c38e606a71a375d16f71199db057b97 local-storage-static-provisioner
info: Loading sha256:f892eb762949b3530d048b40894f7d0629133ce62fd58b94defed82ecefa5ad2 machine-api-operator
info: Loading sha256:fb6d93820cb2446a2c2d50f9b4824ecb880d827f68e25e089971ccce4607bbc1 machine-config-operator
info: Loading sha256:d3757ff5f27ecdb92eaaf2617de4cb167e4ca8feac57849bd0eaba1a9d70681b operator-lifecycle-manager
info: Loading sha256:b96d213f8adeb612294f3fd93afe35ad5e4c15892f6822dfa59b7c6c21e2ae68 operator-marketplace
info: Loading sha256:b9e8d4288c4ef913e0bb49168e8d1bdb4676b530143d860376ea09e274a7c8de service-ca-operator
info: Pushed to registry.svc.ci.openshift.org/rhcos/miabbott-gcp-routes-fix-rhcos-only-4.5:latest
sha256:bc48ac53a4369f1338ec4a1f751aec985052298864f1e7e162e92db89c7be3f2 4.5.0-0.nightly-2020-04-21-103613 2020-04-23T18:38:20Z

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