-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add nutanix os image step #52204
Add nutanix os image step #52204
Conversation
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.16-amd64-nightly-nutanix-ipi-proxy-fips-mini-perm-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
||
if [[ -z ${CLUSTER_OS_IMAGE} ]]; then | ||
echo "Get default clusterOSImage" | ||
CLUSTER_OS_IMAGE=$(curl -s 'https://raw.githubusercontent.com/openshift/installer/master/data/data/coreos/rhcos.json' | jq -r '.architectures.x86_64.artifacts.nutanix.formats.qcow2.disk.location') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use openshift-install coreos print-stream-json
to get the default os image instead of curling in the installer repo's master branch.
0cacc4b
to
b29c322
Compare
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.16-amd64-nightly-nutanix-ipi-proxy-fips-mini-perm-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
ci-operator/step-registry/ipi/conf/osimage/nutanix/ipi-conf-osimage-nutanix-ref.yaml
Show resolved
Hide resolved
@sgaoshang,
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
8b71ee7
to
e747ed8
Compare
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.16-amd64-nightly-nutanix-ipi-proxy-fips-mini-perm-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
||
if [[ -z ${CLUSTER_OS_IMAGE} ]]; then | ||
echo "Get default clusterOSImage" | ||
CLUSTER_OS_IMAGE=$(openshift-install coreos print-stream-json | jq -r '.architectures.x86_64.artifacts.nutanix.formats.qcow2.disk.location') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you need to use python command to load the json file to workaround jq
missing issue in installer image, something like
Line 75 in e747ed8
cat ${CI_REGISTRY_PULL_SECRET} | python3 -c 'import json,sys |
But one more concern is if we always use the default boot image from installer to customize the cluster OS image, I did not see the difference compared with the case that we did not set any value for cluster OS image. I think installer always use the same way to get the OS image to boot the cluster installation when no any customization setting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to cover the clusterOSImage field in install config, the logic is different by setting it or not, the value of it doesn't matter to much. Or what would you suggest, maintain an httpd server for downloading it? is there existing ones?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the logic is different by setting it or not, the value of it doesn't matter to much
If not set, what is the default os image? From my understanding, if not setting, installer would going to download the same version of disk as the output of openshift-install coreos print-stream-json
.
Or what would you suggest, maintain an httpd server for downloading it.
I guess you are focus on testing where to download the image, but actually I am concerning what version of disk is being downloading. Just like what I explained, openshift-install coreos print-stream-json
would print out different version of disk image by different version of installer, that means, the disk image version vary time by time. If you want to test clusterOSImage
, I would suggest always need to set CLUSTER_OS_IMAGE
on the job when the step is referenced, but never feed a default value. E.g: get a disk image url from openshift-install coreos print-stream-json
using an older version of installer.
e747ed8
to
e88a1b8
Compare
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
cpu: 10m | ||
memory: 100Mi | ||
env: | ||
- name: SINGLE_ZONE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not need this env, right ?
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
9ac23c0
to
707b802
Compare
@jianlinliu pls help to review it, thanks. Now it will use rhcos version specified in job env and check it later.
|
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
@@ -303,6 +303,7 @@ tests: | |||
steps: | |||
cluster_profile: nutanix-qe-zone | |||
env: | |||
CLUSTER_OS_IMAGE: https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.16-9.4/builds/416.94.202405171948-0/x86_64/rhcos-416.94.202405171948-0-nutanix.x86_64.qcow2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest to rename job name to reflect the coverage for your test point.
Do we have a passed job now? |
3668678
to
692bf92
Compare
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-os-image-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jianlinliu, sgaoshang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/pj-rehearse periodic-ci-openshift-verification-tests-master-installation-nightly-4.16-nutanix-ipi-zones-single-os-image-f28 |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
/pj-rehearse ack |
@sgaoshang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
@sgaoshang: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
No description provided.