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

OCPBUGS-18498: Disable BuildConfigChange controller when Build cap is disabled #299

Merged

Conversation

ardaguclu
Copy link
Member

With this #291, we have an ability to disable controllers if the capability they are belonging to is disabled.

But BuildConfigChange controller also belongs to Build capability and this PR adds it to the capability list. If Build cap
is disabled, openshift-controller-manager should not run BuildConfigChange controller.

@ardaguclu ardaguclu changed the title Disable BuildConfigChange controller when Build cap is disabled OCPBUGS-18498: Disable BuildConfigChange controller when Build cap is disabled Sep 11, 2023
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Sep 11, 2023
@openshift-ci-robot
Copy link
Contributor

@ardaguclu: This pull request references Jira Issue OCPBUGS-18498, which is invalid:

  • expected the bug to target the "4.15.0" version, but no target version was set

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

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

With this #291, we have an ability to disable controllers if the capability they are belonging to is disabled.

But BuildConfigChange controller also belongs to Build capability and this PR adds it to the capability list. If Build cap
is disabled, openshift-controller-manager should not run BuildConfigChange controller.

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.

@ardaguclu
Copy link
Member Author

/hold
we verify that this works;

/cc @ingvagabund

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 11, 2023
@ardaguclu
Copy link
Member Author

/jira refresh
I think, after the verification, we need to backport this PR and the next PR(another one for informers) in 4.14.

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Sep 11, 2023
@openshift-ci-robot
Copy link
Contributor

@ardaguclu: This pull request references Jira Issue OCPBUGS-18498, which is valid. The bug has been moved to the POST state.

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

Requesting review from QA contact:
/cc @zhouying7780

In response to this:

/jira refresh
I think, after the verification, we need to backport this PR and the next PR(another one for informers) in 4.14.

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.

@ardaguclu
Copy link
Member Author

/cc @kasturinarra

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 11, 2023

@ardaguclu: all tests passed!

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.

@ardaguclu
Copy link
Member Author

This is the other PR openshift/openshift-controller-manager#270

@ardaguclu
Copy link
Member Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 12, 2023
@ingvagabund
Copy link
Member

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 13, 2023
@ingvagabund
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 13, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 13, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ardaguclu, ingvagabund

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

@ingvagabund
Copy link
Member

/label acknowledge-critical-fixes-only
This is a critical fix as vanilla clusters with Build/DC cap disabled will cause the OCM to restart.

@openshift-ci openshift-ci bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Sep 13, 2023
@openshift-merge-robot openshift-merge-robot merged commit 3e4ef91 into openshift:master Sep 13, 2023
8 checks passed
@openshift-ci-robot
Copy link
Contributor

@ardaguclu: Jira Issue OCPBUGS-18498: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-18498 has not been moved to the MODIFIED state.

In response to this:

With this #291, we have an ability to disable controllers if the capability they are belonging to is disabled.

But BuildConfigChange controller also belongs to Build capability and this PR adds it to the capability list. If Build cap
is disabled, openshift-controller-manager should not run BuildConfigChange controller.

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.

@ardaguclu ardaguclu deleted the disable-also-build-change branch September 13, 2023 15:36
@ardaguclu
Copy link
Member Author

/cherry-pick release-4.14

@openshift-cherrypick-robot

@ardaguclu: new pull request created: #301

In response to this:

/cherry-pick release-4.14

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
acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. 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

5 participants