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

Azure - Unhandled exception error validating Default Security Group #62

Open
jingalls1217 opened this issue May 10, 2022 · 1 comment
Open

Comments

@jingalls1217
Copy link

When running ./cdpctl validate infra -c config.yml , encountering an error asking to please run 'az login'. I tried again and first ran this command to login to Azure and it fails with same error. Please let me know if you need additional details.

The following is the error message:

--- An Error Occured ---
An Error occured while running the "Default Security Group exists." validation.
It has the following information:

('Unhandled exception:', CredentialUnavailableError("Please run 'az login' to set up an account"))

(infra/validate_azure_security_groups.py::azure_default_security_group_exists_validation)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! _pytest.outcomes.Exit: 1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Screen Shot 2022-05-09 at 4 56 10 PM

@nicknameyu
Copy link

Is anyone working on this issue? I ran into the same issue.
Well, got another question, why cdpctl needs check network security groups? This command is normally running before onboarding, and NSGs are not created during this stage. Is there any option to ignore NSG check at this stage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants