Skip to content

feat: require nested virtualization detection in s390x workloads #4175

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

Conversation

nestoracunablanco
Copy link
Contributor

This commit also removes the usage of the SLIM tag, as the slim
variant is automatically used for s390x.

Release note:

NONE

This commit also removes the usage of the SLIM tag, as the slim
 variant is automatically used for s390x.

Signed-off-by: Nestor Acuna Blanco <[email protected]>
@kubevirt-bot kubevirt-bot added the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label May 20, 2025
@kubevirt-bot kubevirt-bot requested review from ksimon1 and lyarwood May 20, 2025 09:34
@nestoracunablanco
Copy link
Contributor Author

/rehearse

@kubevirt-bot
Copy link
Contributor

⚠️ @nestoracunablanco you need to be an approver for all the files to run rehearsal.

@lyarwood can help run the rehearsal.

If that doesn't work, ping someone from this list:

  • enp0s3
  • phoracek
  • tiraboschi
  • aglitke
  • brianmcarey
  • davidvossel
  • dhiller
  • rmohr
  • vladikr
  • xpivarc

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @nestoracunablanco - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Member

@lyarwood lyarwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/rehearse
/approve

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 20, 2025
@lyarwood
Copy link
Member

/rehearse

@kubevirt-bot
Copy link
Contributor

Rehearsal jobs created for this PR:

rehearsal-pull-containerdisks-pipeline-fedora-s390x
rehearsal-pull-containerdisks-pipeline-centos-stream-9-s390x
rehearsal-pull-containerdisks-pipeline-ubuntu-s390x
rehearsal-pull-containerdisks-pipeline-centosstream-s390x

You can trigger rehearsal for all jobs by commenting either /rehearse or /rehearse all
on this PR.

For a specific PR you can comment /rehearse {job-name}.

For a list of jobs that you can rehearse you can comment /rehearse ?.

@lyarwood
Copy link
Member

/test pull-containerdisks-pipeline-fedora-s390x

@kubevirt-bot
Copy link
Contributor

@lyarwood: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test build-autoowners-image
/test build-bootstrap-image
/test build-fedora-coreos-kubevirt-image
/test build-kubekins-e2e-image
/test build-kubevirt-infra-bootstrap-image
/test build-kubevirt-kubevirt.github.io-image
/test build-kubevirt-user-guide-image
/test build-pr-creator-image
/test build-prow-deploy-image
/test build-release-tool-image
/test build-shared-images-controller-image
/test build-test-label-analyzer-image
/test build-test-subset-image
/test build-vm-image-builder-image
/test check-prow-config
/test pull-kubevirt-org-github-config-updater
/test pull-project-infra-check-testgrid-config
/test pull-project-infra-ci-search-deploy-test
/test pull-project-infra-coverage
/test pull-project-infra-grafana-deploy-test
/test pull-project-infra-job-config-validator
/test pull-project-infra-lint
/test pull-project-infra-prow-deploy-test
/test pull-project-infra-test-external-plugins
/test pull-project-infra-test-github-ci-services
/test pull-project-infra-test-releng
/test pull-project-infra-test-robots
/test pull-prow-kubevirt-labels-update-precheck
/test pull-prow-nmstate-labels-update-precheck

Use /test all to run the following jobs that were automatically triggered:

check-prow-config
pull-project-infra-check-testgrid-config
pull-project-infra-lint
pull-project-infra-prow-deploy-test

In response to this:

/test pull-containerdisks-pipeline-fedora-s390x

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.

@lyarwood
Copy link
Member

/rehearse rehearsal-pull-containerdisks-pipeline-fedora-s390x

@kubevirt-bot
Copy link
Contributor

Rehearsal jobs created for this PR:


You can trigger rehearsal for all jobs by commenting either /rehearse or /rehearse all
on this PR.

For a specific PR you can comment /rehearse {job-name}.

For a list of jobs that you can rehearse you can comment /rehearse ?.

@nestoracunablanco
Copy link
Contributor Author

/rehearse rehearsal-pull-containerdisks-pipeline-fedora-s390x

@kubevirt-bot
Copy link
Contributor

⚠️ @nestoracunablanco you need to be an approver for all the files to run rehearsal.

@lyarwood can help run the rehearsal.

If that doesn't work, ping someone from this list:

  • aglitke
  • davidvossel
  • dhiller
  • enp0s3
  • phoracek
  • tiraboschi
  • vladikr
  • brianmcarey
  • rmohr
  • xpivarc

@lyarwood
Copy link
Member

/rehearse all

@kubevirt-bot
Copy link
Contributor

Rehearsal jobs created for this PR:

rehearsal-pull-containerdisks-pipeline-fedora-s390x
rehearsal-pull-containerdisks-pipeline-ubuntu-s390x
rehearsal-pull-containerdisks-pipeline-centos-stream-9-s390x
rehearsal-pull-containerdisks-pipeline-centosstream-s390x

You can trigger rehearsal for all jobs by commenting either /rehearse or /rehearse all
on this PR.

For a specific PR you can comment /rehearse {job-name}.

For a list of jobs that you can rehearse you can comment /rehearse ?.

@nestoracunablanco
Copy link
Contributor Author

/retest

@lyarwood
Copy link
Member

/rehearse all

@kubevirt-bot
Copy link
Contributor

Rehearsal jobs created for this PR:

rehearsal-pull-containerdisks-pipeline-centos-stream-9-s390x
rehearsal-pull-containerdisks-pipeline-ubuntu-s390x
rehearsal-pull-containerdisks-pipeline-centosstream-s390x
rehearsal-pull-containerdisks-pipeline-fedora-s390x

You can trigger rehearsal for all jobs by commenting either /rehearse or /rehearse all
on this PR.

For a specific PR you can comment /rehearse {job-name}.

For a list of jobs that you can rehearse you can comment /rehearse ?.

@lyarwood
Copy link
Member

/approve cancel
/hold

As discussed there are issues with some mirrors supplying the s390x images.

We should file a ticket with the infra team of Fedora asking for these to be addressed. In the meantime we can also retry our requests here to workaround this for now. Can you wire something up in this PR?

https://github.com/kubevirt/containerdisks/blob/cda78a67ccc5ad09a5ead9ce7c1bf1758910b89a/cmd/medius/images/push.go#L189-L193

@kubevirt-bot kubevirt-bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 22, 2025
@nestoracunablanco
Copy link
Contributor Author

Issue Opened: https://pagure.io/fedora-infrastructure/issue/12570

I'll follow up with you later regarding the retry logic.

Thanks for taking a look! 👍

@nestoracunablanco
Copy link
Contributor Author

Hi @lyarwood @ksimon1, the PR with the retry logic in containerdisks has been merged. Since I do not have enough permissions, could you please rehearse the jobs again?

@ksimon1
Copy link
Member

ksimon1 commented Jun 2, 2025

/retest

@lyarwood
Copy link
Member

lyarwood commented Jun 2, 2025

/rehearse all

@kubevirt-bot
Copy link
Contributor

Rehearsal jobs created for this PR:

rehearsal-pull-containerdisks-pipeline-centosstream-s390x
rehearsal-pull-containerdisks-pipeline-ubuntu-s390x
rehearsal-pull-containerdisks-pipeline-fedora-s390x
rehearsal-pull-containerdisks-pipeline-centos-stream-9-s390x

You can trigger rehearsal for all jobs by commenting either /rehearse or /rehearse all
on this PR.

For a specific PR you can comment /rehearse {job-name}.

For a list of jobs that you can rehearse you can comment /rehearse ?.

@nestoracunablanco
Copy link
Contributor Author

The error persists on Fedora. In the meantime, I received feedback on the issue I opened. According to the response, the incorrect link should be removed within the next few hours.

@nestoracunablanco
Copy link
Contributor Author

nestoracunablanco commented Jun 3, 2025

Hi @ksimon1 and @lyarwood, based on the output of the following command:
curl 'https://mirrors.fedoraproject.org/metalink?path=pub/fedora-secondary/releases/41/Cloud/s390x/images/Fedora-Cloud-Base-Generic-41-1.4.s390x.qcow2'
it appears that the URL should no longer redirect to the hostiserver mirror.
Could you please rehearse again? Thanks :)

@ksimon1
Copy link
Member

ksimon1 commented Jun 3, 2025

/rehearse all

@kubevirt-bot
Copy link
Contributor

⚠️ @ksimon1 you need to be an approver for all the files to run rehearsal.

@lyarwood can help run the rehearsal.

If that doesn't work, ping someone from this list:

  • vladikr
  • xpivarc
  • aglitke
  • brianmcarey
  • davidvossel
  • phoracek
  • dhiller
  • enp0s3
  • rmohr
  • tiraboschi

@lyarwood
Copy link
Member

lyarwood commented Jun 3, 2025

/rehearse all

@kubevirt-bot
Copy link
Contributor

Rehearsal jobs created for this PR:

rehearsal-pull-containerdisks-pipeline-centos-stream-9-s390x
rehearsal-pull-containerdisks-pipeline-ubuntu-s390x
rehearsal-pull-containerdisks-pipeline-fedora-s390x
rehearsal-pull-containerdisks-pipeline-centosstream-s390x

You can trigger rehearsal for all jobs by commenting either /rehearse or /rehearse all
on this PR.

For a specific PR you can comment /rehearse {job-name}.

For a list of jobs that you can rehearse you can comment /rehearse ?.

@lyarwood
Copy link
Member

lyarwood commented Jun 3, 2025

/approve
/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 3, 2025
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lyarwood

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 3, 2025
@lyarwood
Copy link
Member

lyarwood commented Jun 3, 2025

/hold cancel

@kubevirt-bot kubevirt-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 3, 2025
@kubevirt-bot kubevirt-bot merged commit 5389318 into kubevirt:main Jun 3, 2025
11 checks passed
@kubevirt-bot
Copy link
Contributor

@nestoracunablanco: Updated the job-config configmap in namespace kubevirt-prow at cluster default using the following files:

  • key containerdisks-presubmits.yaml using file github/ci/prow-deploy/files/jobs/kubevirt/containerdisks/containerdisks-presubmits.yaml

In response to this:

This commit also removes the usage of the SLIM tag, as the slim
variant is automatically used for s390x.

Release note:

NONE

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.

@nestoracunablanco nestoracunablanco deleted the feat/requireNestedVirtualization branch June 3, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants