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

[4.3] Bug 1782574: Restrict minimum kube version #73

Conversation

gnufied
Copy link
Member

@gnufied gnufied commented Dec 11, 2019

@openshift-ci-robot
Copy link
Contributor

@gnufied: This pull request references Bugzilla bug 1782574, which is invalid:

  • expected dependent Bugzilla bug 1782480 to be in one of the following states: MODIFIED, ON_QA, VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but it is NEW instead
  • expected dependent Bugzilla bug 1782575 to be in one of the following states: MODIFIED, ON_QA, VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but it is NEW 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 1782574: Restrict minimum kube version

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/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 11, 2019
@@ -49,6 +49,7 @@ spec:
- name: Source Repository
url: https://github.com/openshift/local-storage-operator
version: 4.3.0
minKubeVersion: 1.14.0
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering if we can use 1.16 for 4.3 and 1.17 for 4.4 in order to prevent people from using the wrong manifests.

Copy link
Member Author

Choose a reason for hiding this comment

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

As I understand it - minKubeVersion is only designed to have a last minute switch to stop an operator from being installed on a incompatible kube release. I for example when tested this - this indeed prevented operator from being installed but there were no hints in the UI that operator was prevented from being installed because of kube version mis-match.

In a nutshell - this is not a good mechanism to specify version ranges of kubernetes(or openshift). The manifests are still being displayed to the user because they come from same operatorsource. I would rather OLM team provided a better mechanism for this. May be index images will solve it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should be 4.2 requirement noted somewhere in the operator description then?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah I can update description of 4.2 operator.

Copy link
Contributor

Choose a reason for hiding this comment

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

OLM is working on a better mechanism how to restrict operator version to OCP version, https://coreos.slack.com/archives/C3VS0LV41/p1576081661098700?thread_ts=1576079878.090000&cid=C3VS0LV41

I like it as it is in this PR, let's use minKubeVersion to prevent users installing it on 4.1, but then it's up to the user to subscribe to the right channel. Users can install newest 4.3 operator in 4.2, IMO it should work. We must be careful when triaging customer issues, so the operator version is in sync with OCP version and suggest upgrade / downgrade otherwise.

@bertinatto
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto, gnufied

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

@bertinatto
Copy link
Member

/hold

Adding hold in case #73 (comment) should be addressed.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 12, 2019
@jsafrane jsafrane changed the title Bug 1782574: Restrict minimum kube version [4.3] Bug 1782574: Restrict minimum kube version Dec 12, 2019
@jsafrane
Copy link
Contributor

out of curiosity...
/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@jsafrane: This pull request references Bugzilla bug 1782574, which is invalid:

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

out of curiosity...
/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.

Copy link
Contributor

@jsafrane jsafrane left a comment

Choose a reason for hiding this comment

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

Please sync the description about OCP 4.2 as minimal version.

@@ -48,6 +48,7 @@ spec:
- name: Source Repository
url: https://github.com/openshift/local-storage-operator
version: 4.2.0
minKubeVersion: 1.14.0
Copy link
Contributor

Choose a reason for hiding this comment

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

in master you removed whole manifests/4.2/local-storage-operator.v4.2.0.clusterserviceversion.yaml. Should we keep it in 4.3?

@jsafrane
Copy link
Contributor

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@jsafrane: This pull request references Bugzilla bug 1782574, which is invalid:

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

/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-bot
Copy link
Contributor

/bugzilla refresh

The requirements for Bugzilla bugs have changed, recalculating validity.

@openshift-ci-robot
Copy link
Contributor

@openshift-bot: This pull request references Bugzilla bug 1782574, which is invalid:

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

/bugzilla refresh

The requirements for Bugzilla bugs have changed, recalculating validity.

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.

@gnufied
Copy link
Member Author

gnufied commented Jan 6, 2020

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@gnufied: This pull request references Bugzilla bug 1782574, which is invalid:

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

/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.

@bertinatto
Copy link
Member

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 7, 2020
@bertinatto
Copy link
Member

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@bertinatto: This pull request references Bugzilla bug 1782574, which is invalid:

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

/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.

@gnufied
Copy link
Member Author

gnufied commented Feb 4, 2020

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

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

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-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 Feb 4, 2020
@eparis eparis added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Feb 4, 2020
@openshift-merge-robot openshift-merge-robot merged commit b48b490 into openshift:release-4.3 Feb 4, 2020
@openshift-ci-robot
Copy link
Contributor

@gnufied: All pull requests linked via external trackers have merged. Bugzilla bug 1782574 has been moved to the MODIFIED state.

In response to this:

[4.3] Bug 1782574: Restrict minimum kube version

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/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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants