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.10] Bug 2098562: rbd: create token and use it for vault SA #99

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #98

/assign Rakshith-R

create the token if kubernetes version in
1.24+ and use it for vault sa.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 7a2dd4c)
@openshift-ci
Copy link

openshift-ci bot commented Jun 20, 2022

@openshift-cherrypick-robot: Bugzilla bug 2094856 has been cloned as Bugzilla bug 2098562. Retitling PR to link against new bug.
/retitle [release-4.10] Bug 2098562: rbd: create token and use it for vault SA

In response to this:

[release-4.10] Bug 2094856: rbd: create token and use it for vault SA

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 changed the title [release-4.10] Bug 2094856: rbd: create token and use it for vault SA [release-4.10] Bug 2098562: rbd: create token and use it for vault SA Jun 20, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 20, 2022

@openshift-cherrypick-robot: This pull request references Bugzilla bug 2098562, which is invalid:

  • expected the bug to target the "ODF 4.10.3" 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:

[release-4.10] Bug 2098562: rbd: create token and use it for vault SA

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.

@agarwal-mudit
Copy link
Member

/hold

@Rakshith-R
Copy link
Member

/bugzilla refresh

@openshift-ci
Copy link

openshift-ci bot commented Jun 23, 2022

@Rakshith-R: This pull request references Bugzilla bug 2098562, which is invalid:

  • expected the bug to target the "ODF 4.10.3" release, but it targets "ODF 4.10.5" 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.

@Rakshith-R
Copy link
Member

/bugzilla refresh
/unhold
/cc @agarwal-mudit

@openshift-ci
Copy link

openshift-ci bot commented Jun 24, 2022

@Rakshith-R: This pull request references Bugzilla bug 2098562, which is valid.

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

Requesting review from QA contact:
/cc @keesturam

In response to this:

/bugzilla refresh
/unhold
/cc @agarwal-mudit

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
Copy link

openshift-ci bot commented Jun 24, 2022

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: keesturam.

Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@Rakshith-R: This pull request references Bugzilla bug 2098562, which is valid.

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

Requesting review from QA contact:
/cc @keesturam

In response to this:

/bugzilla refresh
/unhold
/cc @agarwal-mudit

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.

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.

@agarwal-mudit
Copy link
Member

/retest
/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Code looks good label Jun 24, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 24, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: agarwal-mudit, openshift-cherrypick-robot

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 Its a good idea label Jun 24, 2022
@openshift-ci openshift-ci bot merged commit 024d4c9 into red-hat-storage:release-4.10 Jun 24, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jun 24, 2022

@openshift-cherrypick-robot: All pull requests linked via external trackers have merged:

Bugzilla bug 2098562 has been moved to the MODIFIED state.

In response to this:

[release-4.10] Bug 2098562: rbd: create token and use it for vault SA

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 bot pushed a commit that referenced this pull request Jun 27, 2022
…tSA.createToken

Pull-Request #99 backported a commit that applies cleanly, but causes a
build failure:

    internal/kms/vault_sa.go:313:12: kms.createToken undefined (type *VaultTenantSA has no field or method createToken)
    internal/kms/vault_sa.go:344:12: undefined: vaultTenantSA

In recent versions, `vaultTenantSA` is used, but release-4.10 is stuck
on the old naming of `VaultTenantSA`. The unexporting was done in
upstream ceph#2750, which includes more changes than what we
want in a backport.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants