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

HOSTEDCP-1542: Implement Workload Identity in Azure for Data Plane Components Part 4 #5361

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bryan-cox
Copy link
Member

@bryan-cox bryan-cox commented Jan 9, 2025

What this PR does / why we need it:
This PR is part 4 of implementing workload identity for data plane components in managed Azure. Specifically this PR only includes changes to the CPO.

The PR for part 3 is - #4587.

Which issue(s) this PR fixes:
Fixes HOSTEDCP-1542

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 9, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 9, 2025

@bryan-cox: This pull request references HOSTEDCP-1542 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target either version "4.19." or "openshift-4.19.", but it targets "openshift-4.18" instead.

In response to this:

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from csrwng and enxebre January 9, 2025 12:38
@openshift-ci openshift-ci bot added the area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release label Jan 9, 2025
Copy link
Contributor

openshift-ci bot commented Jan 9, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bryan-cox

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed do-not-merge/needs-area labels Jan 9, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 9, 2025

@bryan-cox: This pull request references HOSTEDCP-1542 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target either version "4.19." or "openshift-4.19.", but it targets "openshift-4.18" instead.

In response to this:

What this PR does / why we need it:
This PR is part 2 of implementing workload identity for data plane components in managed Azure. Specifically this PR only includes changes to the CPO.

The PR for part 1 is - #4587.

Which issue(s) this PR fixes:
Fixes HOSTEDCP-1542

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-robot openshift-merge-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jan 11, 2025
@bryan-cox bryan-cox changed the title HOSTEDCP-1542: Implement Workload Identity in Azure for Data Plane Components Part 2 HOSTEDCP-1542: Implement Workload Identity in Azure for Data Plane Components Part 4 Jan 15, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 15, 2025

@bryan-cox: This pull request references HOSTEDCP-1542 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target either version "4.19." or "openshift-4.19.", but it targets "openshift-4.18" instead.

In response to this:

What this PR does / why we need it:
This PR is part 4 of implementing workload identity for data plane components in managed Azure. Specifically this PR only includes changes to the CPO.

The PR for part 3 is - #4587.

Which issue(s) this PR fixes:
Fixes HOSTEDCP-1542

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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 openshift-eng/jira-lifecycle-plugin repository.

Set the guest cluster Azure cloud credentials secret for azure file CSI,
 azure disk CSI, and image registry.

Signed-off-by: Bryan Cox <[email protected]>
Update the needed RBAC policies for the system accounts for image
registry, azure file csi driver, and azure disk csi driver.

Signed-off-by: Bryan Cox <[email protected]>
@bryan-cox bryan-cox force-pushed the HOSTEDCP-1542-cpo-changes-only branch from ec8fa87 to 5f78eaa Compare January 18, 2025 11:13
@bryan-cox
Copy link
Member Author

/test e2e-aws

@bryan-cox
Copy link
Member Author

/retest-required

@bryan-cox
Copy link
Member Author

bryan-cox commented Jan 18, 2025

Previous AWS failure seems like a flake.

The AKS failure may be something new that was working before

  - lastTransitionTime: "2025-01-18T11:58:11Z"
    message: Cluster operator image-registry is not available
    observedGeneration: 2
    reason: ClusterOperatorNotAvailable
    status: "False"
    type: ClusterVersionSucceeding

Copy link
Contributor

openshift-ci bot commented Jan 18, 2025

@bryan-cox: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aks 5f78eaa link true /test e2e-aks

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-sigs/prow repository. I understand the commands that are listed here.

@bryan-cox
Copy link
Member Author

I'm seeing errors like this in the CIRO pod logs

I0118 15:22:15.332868       1 azureclient.go:110] Using client certification Azure authentication for ARO HCP
I0118 15:22:15.684433       1 dependencies.go:70] missing the deployment dependency: Secret image-registry-tls: secret "image-registry-tls" not found
I0118 15:22:15.690220       1 azureclient.go:110] Using client certification Azure authentication for ARO HCP
I0118 15:22:15.865520       1 dependencies.go:70] missing the deployment dependency: Secret image-registry-tls: secret "image-registry-tls" not found
I0118 15:22:20.946244       1 azureclient.go:110] Using client certification Azure authentication for ARO HCP
I0118 15:22:21.267001       1 dependencies.go:70] missing the deployment dependency: Secret image-registry-tls: secret "image-registry-tls" not found
I0118 15:22:22.935372       1 azureclient.go:110] Using client certification Azure authentication for ARO HCP
I0118 15:22:23.156231       1 dependencies.go:70] missing the deployment dependency: Secret image-registry-tls: secret "image-registry-tls" not found
I0118 15:22:23.169523       1 azureclient.go:110] Using client certification Azure authentication for ARO HCP
I0118 15:22:23.376115       1 dependencies.go:70] missing the deployment dependency: Secret image-registry-tls: secret "image-registry-tls" not found

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. area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants