Skip to content
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

[release-4.5] Bug 1878297: remove duplicate catalog source pod when polling #1765

Conversation

exdx
Copy link
Member

@exdx exdx commented Sep 17, 2020

Description of the change:
Fix of #1758

Motivation for the change:

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Docs updated or added to /docs
  • Commit messages sensible and descriptive

@openshift-ci-robot
Copy link
Collaborator

@exdx: This pull request references Bugzilla bug 1878297, which is invalid:

  • expected the bug to target the "4.6.0" release, but it targets "4.5.z" 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:

[release-4.5] Bug 1878297: remove duplicate catalog source pod when polling

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-robot openshift-ci-robot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Sep 17, 2020
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 17, 2020
@openshift-ci-robot
Copy link
Collaborator

@exdx: PR needs rebase.

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.

@exdx exdx closed this Sep 17, 2020
@exdx exdx reopened this Sep 17, 2020
@openshift-ci-robot
Copy link
Collaborator

@exdx: This pull request references Bugzilla bug 1878297, which is invalid:

  • expected the bug to target the "4.6.0" release, but it targets "4.5.z" 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:

[release-4.5] Bug 1878297: remove duplicate catalog source pod when polling

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.

@exdx exdx changed the base branch from master to release-4.5 September 17, 2020 15:43
@openshift-ci-robot openshift-ci-robot added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Sep 17, 2020
@openshift-ci-robot
Copy link
Collaborator

@exdx: This pull request references Bugzilla bug 1878297, which is valid. 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.5.z) matches configured target release for branch (4.5.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1866444 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA))
  • dependent Bugzilla bug 1866444 targets the "4.6.0" release, which is one of the valid target releases: 4.6.0, 4.6.z
  • bug has dependents

In response to this:

[release-4.5] Bug 1878297: remove duplicate catalog source pod when polling

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.

@exdx exdx removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 17, 2020
@exdx
Copy link
Member Author

exdx commented Sep 17, 2020

/retest

1 similar comment
@dinhxuanvu
Copy link
Member

/retest

Copy link
Member

@dinhxuanvu dinhxuanvu left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 17, 2020
@exdx
Copy link
Member Author

exdx commented Sep 17, 2020

/retest

1 similar comment
@exdx
Copy link
Member Author

exdx commented Sep 18, 2020

/retest

@ecordell
Copy link
Member

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dinhxuanvu, ecordell, exdx

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 21, 2020
@openshift-bot
Copy link
Contributor

/retest

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

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

7 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@markmc
Copy link

markmc commented Sep 25, 2020

(patch manager) this seems like quite a large and risky change for a relatively low-impact issue. What am I missing?

@markmc markmc added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. and removed cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. labels Sep 25, 2020
@exdx
Copy link
Member Author

exdx commented Sep 28, 2020

The following 4.5 backports should be brought in if we want to support better catalog polling UX for customers in 4.5.z. Polling will continue to work without these fixes but will not work as effectively.

Just depends how much we expect customers to use this feature in 4.5, versus in 4.6 where catalog polling is clearly being used as the default red hat operator catalogs will ship with polling enabled.

@exdx
Copy link
Member Author

exdx commented Sep 28, 2020

Also worth pointing out that all the fixes work together to provide better UX, we can't really pick and choose which ones we want. In particular #1780 unlocks the rest of the fixes to work as intended.

@exdx
Copy link
Member Author

exdx commented Oct 9, 2020

@operator-framework/patch-managers

Catalog polling is not going to work properly in 4.5.z for Red Hat catalogs as well as for the IBM teams that are publishing catalogs for their customers without this fix going in.

If we don't backport, shorter polling intervals won't work correctly (minimum will always be 15 minutes), there will always be multiple catalog pods running on the cluster per catalog (only one serves traffic), and edge cases where the updated catalog fails to start will not be handled well. So polling will still work in the base case, but the UX will be worse. As customers move more to the new index-based catalog format and adopt polling in their existing clusters this can be an issue.

cc @kevinrizza

@exdx
Copy link
Member Author

exdx commented Oct 9, 2020

Also in terms of risk all the changes in this PR are to one file that deals exclusively with polling logic. Catalog polling is an opt-in feature and these changes do not affect any other behavioral aspects of OLM.

@bparees bparees added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. and removed priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. labels Oct 21, 2020
@openshift-bot
Copy link
Contributor

/retest

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

4 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit 31b4822 into operator-framework:release-4.5 Oct 22, 2020
@openshift-ci-robot
Copy link
Collaborator

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

Bugzilla bug 1878297 has been moved to the MODIFIED state.

In response to this:

[release-4.5] Bug 1878297: remove duplicate catalog source pod when polling

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-medium Referenced Bugzilla bug's severity is medium 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants