Skip to content

[release-4.7] Bug 1969320: remove spec.cleanup from ClusterServiceVersion #2329

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

vrutkovs
Copy link

spec.cleanup is not declared in CRD for 4.7, so it makes CVO hotloop

Followup for #2192, as https://bugzilla.redhat.com/show_bug.cgi?id=1969320 failed QE

@openshift-ci openshift-ci bot requested review from anik120 and ecordell August 17, 2021 17:08
@openshift-ci openshift-ci bot added bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Aug 17, 2021
@openshift-ci
Copy link

openshift-ci bot commented Aug 17, 2021

@vrutkovs: This pull request references Bugzilla bug 1969320, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.7.z) matches configured target release for branch (4.7.z)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1881522 is in the state CLOSED (ERRATA), which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 1881522 targets the "4.8.0" release, which is one of the valid target releases: 4.8.0, 4.8.z
  • bug has dependents

Requesting review from QA contact:
/cc @shellyyang1989

In response to this:

[release-4.7] Bug 1969320: remove spec.cleanup from ClusterServiceVersion

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.

@openshift-ci
Copy link

openshift-ci bot commented Aug 17, 2021

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: shellyyang1989.

Note that only operator-framework members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@vrutkovs: This pull request references Bugzilla bug 1969320, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.7.z) matches configured target release for branch (4.7.z)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1881522 is in the state CLOSED (ERRATA), which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 1881522 targets the "4.8.0" release, which is one of the valid target releases: 4.8.0, 4.8.z
  • bug has dependents

Requesting review from QA contact:
/cc @shellyyang1989

In response to this:

[release-4.7] Bug 1969320: remove spec.cleanup from ClusterServiceVersion

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.

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.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 17, 2021
@openshift-ci
Copy link

openshift-ci bot commented Aug 17, 2021

Hi @vrutkovs. Thanks for your PR.

I'm waiting for a operator-framework member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@vrutkovs
Copy link
Author

/cc @timflannagan

@openshift-ci openshift-ci bot requested a review from timflannagan August 17, 2021 17:08
…move spec.cleanup

spec.cleanup is not declared in CRD for 4.7, so it makes CVO hotloop

Signed-off-by: Vadim Rutkovsky <[email protected]>
@vrutkovs vrutkovs force-pushed the 4.7-cvo-hotlooping-2 branch from 150e97f to e992e70 Compare August 17, 2021 17:14
@timflannagan
Copy link
Member

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 17, 2021
@timflannagan
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 17, 2021
@timflannagan
Copy link
Member

@kevinrizza Are we okay with directly modifying the root list of manifests here?

@shellyyang1989
Copy link

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Aug 18, 2021

@shellyyang1989: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@shellyyang1989
Copy link

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Aug 18, 2021
@shellyyang1989
Copy link

shellyyang1989 commented Aug 18, 2021

/bugzilla cc-qa
Steps to verify it:

  1. Build a payload with this PR using cluster-bot

  2. Install a cluster with the payload built in step 1.

  3. Check the audit log

$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.7.0-0.ci.test-2021-08-18-061332-ci-ln-6jdrj8k-latest True False 18m Cluster version is 4.7.0-0.ci.test-2021-08-18-061332-ci-ln-6jdrj8k-latest

$ masters=$(oc get no -l node-role.kubernetes.io/master | sed '1d' | awk '{print $1}')

$ oc adm node-logs $masters --path=kube-apiserver/audit.log --raw | zgrep -h '"verb":"update"."resource":"."packageserver"' 2>/dev/null | jq -r '.user.username + " " + (.objectRef | .resource + " " + .namespace + " " + .name + " " + .apiGroup) + " " + .stageTimestamp + " " + (.responseStatus | tostring)' | sort
null

  1. Check CVO log

$ grep "Updating ClusterServiceVersion openshift-operator-lifecycle-manager/packageserver" /tmp/cvo1.log
null

CVO no longer hotloops on packageserver.

@openshift-ci
Copy link

openshift-ci bot commented Aug 18, 2021

@shellyyang1989: This pull request references Bugzilla bug 1969320, which is valid.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.7.z) matches configured target release for branch (4.7.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1881522 is in the state CLOSED (ERRATA), which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 1881522 targets the "4.8.0" release, which is one of the valid target releases: 4.8.0, 4.8.z
  • bug has dependents

Requesting review from QA contact:
/cc @shellyyang1989

In response to this:

/bugzilla cc-qa
Steps to verify it:

  1. Build a payload with [release-4.7] Bug 1969320: remove spec.cleanup from ClusterServiceVersion #2329 using cluster-bot

build #2329

  1. Install a cluster with the payload built in step 1.

  2. Check the audit log

oc get clusterversion

NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.7.0-0.ci.test-2021-08-18-061332-ci-ln-6jdrj8k-latest True False 18m Cluster version is 4.7.0-0.ci.test-2021-08-18-061332-ci-ln-6jdrj8k-latest

masters=$(oc get no -l node-role.kubernetes.io/master | sed '1d' | awk '{print $1}')

oc adm node-logs $masters --path=kube-apiserver/audit.log --raw | zgrep -h '"verb":"update"."resource":"."packageserver"' 2>/dev/null | jq -r '.user.username + " " + (.objectRef | .resource + " " + .namespace + " " + .name + " " + .apiGroup) + " " + .stageTimestamp + " " + (.responseStatus | tostring)' | sort

null

  1. Check CVO log

grep "Updating ClusterServiceVersion openshift-operator-lifecycle-manager/packageserver" /tmp/cvo1.log

null

CVO no longer hotloops on packageserver.

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.

@openshift-ci
Copy link

openshift-ci bot commented Aug 18, 2021

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: shellyyang1989.

Note that only operator-framework members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@shellyyang1989: This pull request references Bugzilla bug 1969320, which is valid.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.7.z) matches configured target release for branch (4.7.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1881522 is in the state CLOSED (ERRATA), which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 1881522 targets the "4.8.0" release, which is one of the valid target releases: 4.8.0, 4.8.z
  • bug has dependents

Requesting review from QA contact:
/cc @shellyyang1989

In response to this:

/bugzilla cc-qa
Steps to verify it:

  1. Build a payload with [release-4.7] Bug 1969320: remove spec.cleanup from ClusterServiceVersion #2329 using cluster-bot

build #2329

  1. Install a cluster with the payload built in step 1.

  2. Check the audit log

oc get clusterversion

NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.7.0-0.ci.test-2021-08-18-061332-ci-ln-6jdrj8k-latest True False 18m Cluster version is 4.7.0-0.ci.test-2021-08-18-061332-ci-ln-6jdrj8k-latest

masters=$(oc get no -l node-role.kubernetes.io/master | sed '1d' | awk '{print $1}')

oc adm node-logs $masters --path=kube-apiserver/audit.log --raw | zgrep -h '"verb":"update"."resource":"."packageserver"' 2>/dev/null | jq -r '.user.username + " " + (.objectRef | .resource + " " + .namespace + " " + .name + " " + .apiGroup) + " " + .stageTimestamp + " " + (.responseStatus | tostring)' | sort

null

  1. Check CVO log

grep "Updating ClusterServiceVersion openshift-operator-lifecycle-manager/packageserver" /tmp/cvo1.log

null

CVO no longer hotloops on packageserver.

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.

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.

@timflannagan
Copy link
Member

/retest

@kevinrizza
Copy link
Member

/approve

@openshift-ci
Copy link

openshift-ci bot commented Aug 18, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kevinrizza, vrutkovs

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 18, 2021
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@mfojtik
Copy link

mfojtik commented Sep 9, 2021

[patch-manager] 🚀 Approved for z-stream by score: 0.10

adding cherry-pick approved

@timflannagan timflannagan added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Sep 9, 2021
@timflannagan
Copy link
Member

(manually adding the cherry-pick-approved label as michal doesn't have the requisite permissions in this organization)

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@timflannagan
Copy link
Member

Blocked until #2351 can be merged.

@timflannagan
Copy link
Member

/retest

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit cfea59e into operator-framework:release-4.7 Sep 9, 2021
@openshift-ci
Copy link

openshift-ci bot commented Sep 9, 2021

@vrutkovs: All pull requests linked via external trackers have merged:

Bugzilla bug 1969320 has been moved to the MODIFIED state.

In response to this:

[release-4.7] Bug 1969320: remove spec.cleanup from ClusterServiceVersion

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.

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. bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants