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

[BUG]: CSM Authorization karavictl role update can't find existing role in helm deployment #530

Closed
atye opened this issue Nov 1, 2022 · 1 comment
Labels
area/csm-authorization Issue pertains to the CSM Authorization module type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@atye
Copy link
Contributor

atye commented Nov 1, 2022

Bug Description

When I try to update a role, it fails due to the role not existing.

Logs

# karavictl role list --addr role.csm-authorization.com:31934 --insecure
{
  "jacobPflexRole": {
    "system_types": {
      "powerflex": {
        "system_ids": {
          "1a99af710210af0f": {
            "pool_quotas": {
              "pool3": "1.0 PB"
            }
          }
        }
      }
    }
  }
}

# karavictl role update --role jacobPflexRole=powerflex="1a99af710210af0f"=pool1=100000000GB --addr role.csm-authorization.com:31934 --insecure
{
  "ErrorMsg": "failed to update role: rpc error: code = Unknown desc = jacobPflexRole role does not exist. Try create command\n"
}

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Create storage and a role.
Attempt to update the role.

Expected Behavior

Role update should be successful.

CSM Driver(s)

CSI Driver for PowerFlex,PowerMax,PowerScale

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

Kubernetes 1.24

Operating System

RHEL 8.4

@atye atye added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Nov 1, 2022
@csmbot
Copy link
Collaborator

csmbot commented Nov 1, 2022

@atye: Thank you for submitting this issue!

The issue is currently awaiting triage. Please make sure you have given us as much context as possible.

If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.


We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at [email protected].

@atye atye added the area/csm-authorization Issue pertains to the CSM Authorization module label Nov 1, 2022
@atye atye added this to the v1.5.0 milestone Nov 1, 2022
@shaynafinocchiaro shaynafinocchiaro removed the needs-triage Issue requires triage. label Nov 8, 2022
@atye atye closed this as completed Nov 9, 2022
@shaynafinocchiaro shaynafinocchiaro changed the title [BUG]: karavictl role update can't find existing role in helm deployment [BUG]: CSM Authorization karavictl role update can't find existing role in helm deployment Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csm-authorization Issue pertains to the CSM Authorization module type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

3 participants