-
Notifications
You must be signed in to change notification settings - Fork 152
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
Remove configmap kubevirt-storage-class-defaults #1829
Remove configmap kubevirt-storage-class-defaults #1829
Conversation
3e1eced
to
2f99023
Compare
hco-e2e-upgrade-prev-index-sno-azure lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-upgrade-prev-index-sno-aws In response to this:
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/test-infra repository. |
hco-e2e-image-index-azure, hco-e2e-image-index-gcp lanes succeeded. |
okd-hco-e2e-image-index-gcp lane succeeded. |
2 similar comments
okd-hco-e2e-image-index-gcp lane succeeded. |
okd-hco-e2e-image-index-gcp lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-aws, ci/prow/hco-e2e-image-index-sno-aws In response to this:
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/test-infra repository. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-aws, ci/prow/hco-e2e-image-index-sno-aws, ci/prow/okd-hco-e2e-image-index-aws In response to this:
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/test-infra repository. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-aws, ci/prow/hco-e2e-image-index-sno-aws, ci/prow/okd-hco-e2e-image-index-aws In response to this:
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/test-infra repository. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-aws, ci/prow/hco-e2e-image-index-sno-aws, ci/prow/okd-hco-e2e-image-index-aws In response to this:
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/test-infra repository. |
f58efd6
to
2dc7b69
Compare
Pull Request Test Coverage Report for Build 2147463562
💛 - Coveralls |
hco-e2e-upgrade-index-azure lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-sno-aws, ci/prow/hco-e2e-upgrade-index-aws, ci/prow/hco-e2e-upgrade-index-sno-aws, ci/prow/hco-e2e-upgrade-prev-index-sno-aws In response to this:
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/test-infra repository. |
hco-e2e-image-index-azure lane succeeded. |
2 similar comments
hco-e2e-image-index-azure lane succeeded. |
hco-e2e-image-index-azure lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-aws, ci/prow/hco-e2e-image-index-gcp, ci/prow/hco-e2e-upgrade-prev-index-aws, ci/prow/okd-hco-e2e-image-index-aws In response to this:
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/test-infra repository. |
in https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/assets/upgradePatches.json#L42 we have a mechanism to remove leftovers on upgrades according to a json configuration file. |
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.
in https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/assets/upgradePatches.json#L42 we have a mechanism to remove leftovers on upgrades according to a json configuration file.
Can you please add a few entries for those resources that should be deleted during upgrades?
Looking into this now. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-kv-smoke-azure In response to this:
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/test-infra repository. |
/retest |
1 similar comment
/retest |
eae2b5c
to
efefa32
Compare
/retest |
1 similar comment
/retest |
this is still failing due to leftovers on relatedObjects:
|
ConfigMap kubevirt-storage-class-defaults is no longer needed for kubevirt and cdi. It is now replaced by the CDI StorageProfile resources. Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
Also remove related resources that are no longer needed Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
Signed-off-by: Bartosz Rybacki <brybacki@redhat.com>
efefa32
to
adc324a
Compare
Kudos, SonarCloud Quality Gate passed! |
/override coverage/coveralls |
@tiraboschi: Overrode contexts on behalf of tiraboschi: coverage/coveralls In response to this:
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/test-infra repository. |
@brybacki: The following test 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/test-infra repository. I understand the commands that are listed here. |
hco-e2e-kv-smoke-azure lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-kv-smoke-gcp In response to this:
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/test-infra repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nunnatsa 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 |
The previous code was trying to remove a reference (relatedObject) to an object from the status only directly after its removal. If any error happens in the middle, and the object was really destroyed but releatedObject reference not correctly removed, the operator wasn't going to retry on the next loop. Let's make it more robust always retrying to clean releatedObjects if needed. This is a partial cherry pick of a change implemented in kubevirt#1829 Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
The previous code was trying to remove a reference (relatedObject) to an object from the status only directly after its removal. If any error happens in the middle, and the object was really destroyed but releatedObject reference not correctly removed, the operator wasn't going to retry on the next loop. Let's make it more robust always retrying to clean releatedObjects if needed. This is a partial cherry pick of a change implemented in #1829 Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
Reviewer Checklist
ConfigMap kubevirt-storage-class-defaults is no longer needed for kubevirt and cdi. It is now replaced by the CDI StorageProfile resources.
This PR removes the code that creates and reconciles kubevirt-storage-class-defaults. Special cluster roles for accessing this configmap are also removed.
Release note: