Skip to content

Bug 1881522: packageserver CSV: add missing properties #84

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

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

vrutkovs
Copy link
Member

@vrutkovs vrutkovs commented Jun 2, 2021

Some properties are unset and being set to defaults. CVO is however unware of it, so it attempts to remove the fields which are unset in the manifest files.

This PR should prevent CVO from hotlooping on this manifest. Verified that its no longer happening:

$ curl -sL https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/release-openshift-origin-installer-launch-aws/1400074947912536064/artifacts/launch/pods/openshift-cluster-version_cluster-version-operator-7d4cc845f6-pwfcm_cluster-version-operator.log | grep -oP "Updating \K.+ due to diff" | cut -d' ' -f1 | sort | uniq -c
    448 Deployment
     14 PriorityClass

Some properties are unset and being set to defaults. CVO is however unware of it, so it attempts to remove the fields which are unset in the manifest files.

This PR should prevent CVO from hotlooping on this manifest
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 2, 2021
@vrutkovs
Copy link
Member Author

vrutkovs commented Jun 2, 2021

/test e2e-gcp

Install never started

@vrutkovs vrutkovs changed the title WIP packageserver CSV: add missing properties Bug 1881522: packageserver CSV: add missing properties Jun 2, 2021
@openshift-ci openshift-ci bot added bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Jun 2, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 2, 2021

@vrutkovs: This pull request references Bugzilla bug 1881522, which is invalid:

  • expected the bug to target the "4.8.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 1881522: packageserver CSV: add missing properties

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 bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jun 2, 2021
@vrutkovs
Copy link
Member Author

vrutkovs commented Jun 2, 2021

/bugzilla refresh

@openshift-ci openshift-ci bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jun 2, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 2, 2021

@vrutkovs: This pull request references Bugzilla bug 1881522, 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.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.8.0) matches configured target release for branch (4.8.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @jianlinliu

In response to this:

/bugzilla refresh

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 removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jun 2, 2021
@openshift-ci openshift-ci bot requested a review from jianlinliu June 2, 2021 15:05
@vrutkovs
Copy link
Member Author

vrutkovs commented Jun 2, 2021

/retest

@vrutkovs
Copy link
Member Author

vrutkovs commented Jun 2, 2021

/cherrypick release-4.7

@openshift-cherrypick-robot

@vrutkovs: once the present PR merges, I will cherry-pick it on top of release-4.7 in a new PR and assign it to you.

In response to this:

/cherrypick release-4.7

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
Contributor

/lgtm

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

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 7, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: timflannagan, 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 Jun 7, 2021
@openshift-merge-robot openshift-merge-robot merged commit 1adb449 into openshift:master Jun 7, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 7, 2021

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

Bugzilla bug 1881522 has been moved to the MODIFIED state.

In response to this:

Bug 1881522: packageserver CSV: add missing properties

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-cherrypick-robot

@vrutkovs: #84 failed to apply on top of branch "release-4.7":

Applying: packageserver CSV: add missing properties
Using index info to reconstruct a base tree...
M	manifests/0000_50_olm_15-packageserver.clusterserviceversion.yaml
Falling back to patching base and 3-way merge...
Auto-merging manifests/0000_50_olm_15-packageserver.clusterserviceversion.yaml
CONFLICT (content): Merge conflict in manifests/0000_50_olm_15-packageserver.clusterserviceversion.yaml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 packageserver CSV: add missing properties
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-4.7

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 added a commit to timflannagan/operator-framework-olm that referenced this pull request Jun 14, 2021
…generate manifests

Update the staging/operator-lifecycle-manager helm charts for the
PackageServer CSV resource and add the defaults for various fields to
avoid the CVO hotlooping when attempting to create this resource.

These changes were introduced directly into the root list of manifests
in openshift#84 and this
PR attempts to ensure those changes were also propagated to the helm
charts and regenerated to keep the manifest directory in sync.
timflannagan added a commit to timflannagan/operator-framework-olm that referenced this pull request Jun 14, 2021
…generate manifests

Update the staging/operator-lifecycle-manager helm charts for the
PackageServer CSV resource and add the defaults for various fields to
avoid the CVO hotlooping when attempting to create this resource.

These changes were introduced directly into the root list of manifests
in openshift#84 and this
PR attempts to ensure those changes were also propagated to the helm
charts and regenerated to keep the manifest directory in sync.
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants