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

hubctl stacks ls throwing Error: listing storage account error #28

Open
oginskis opened this issue Feb 8, 2023 · 0 comments
Open

hubctl stacks ls throwing Error: listing storage account error #28

oginskis opened this issue Feb 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@oginskis
Copy link
Contributor

oginskis commented Feb 8, 2023

When working on Azure based stacks and running hubctl stacks ls getting the following error:

hubctl stack ls
2023/02/08 10:46:36 WARN: Unable to check `az://hubctlf9993145/hubctl/waiting-murdoc-630.epam.devops.delivery/hub/aks-cluster/hub.state` state file: Error listing storage account `hubctlf9993145` access keys: storage.AccountsClient#ListKeys: Invalid input: autorest/validation: validation failed: parameter=client.SubscriptionID constraint=MinLength value="" details: value length must be greater than or equal to 1;
        Please set AZURE_STORAGE_KEY environment variable, or AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET

I logged in to Azure as a user (az login), not using service principal authentication so I don't have AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET env vars set.

@oginskis oginskis added bug Something isn't working Azure labels Feb 8, 2023
@akranga akranga removed the Azure label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants