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 cli not giving prompt for password #1349

Closed
randhikpurwalam opened this issue Jun 27, 2024 · 2 comments
Closed
Assignees
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.

Comments

@randhikpurwalam
Copy link

Bug Description

karavictl storage create doesnt prompt for password when not passing --password, it ends up trying to authenticate with empty password

Command used and output below

./karavictl storage create --array-insecure --insecure --addr xxxxxx:443 --type powermax --endpoint https://xxxxxxxxx --user test --admin-token admin.yaml
{
  "ErrorMsg": "rpc error: code = Unknown desc = powermax authentication failed: Unauthorized"
}

Logs

time="2024-06-27T15:18:54Z" level=error msg="creating storage: rpc error: code = Unknown desc = powermax authentication failed: Unauthorized" error="rpc error: code = Unknown desc = powermax authentication failed: Unauthorized"
time="2024-06-27T15:18:54Z" level=error msg="rpc error: code = Unknown desc = powermax authentication failed: Unauthorized

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Run karavictl storage create command

Expected Behavior

Should ask for password via stdin and hide it for others

CSM Driver(s)

CSM Authorization 1.9.1
CSM Powermax 2.9.1

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

Openshift

Operating System

CORE OS

@randhikpurwalam randhikpurwalam added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Jun 27, 2024
@atye
Copy link
Contributor

atye commented Jun 27, 2024

Duplicate of #1347.

We can keep this open until @coulof has verified the fix with you.

@atye atye self-assigned this Jun 27, 2024
@atye atye added area/csm-authorization Issue pertains to the CSM Authorization module and removed needs-triage Issue requires triage. labels Jun 27, 2024
@gallacher
Copy link
Contributor

Closing this as we do not want duplicate issues open. Thanks.

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