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-preflight script is reporting argument --subscription/-s: expected one argument #32

Closed
VinnieGrack opened this issue Dec 8, 2021 · 4 comments

Comments

@VinnieGrack
Copy link

Hiya Team, We got client onboarding for coming Tuesday, having issue with running the script. See the error details. Could you help me resolve this ASAP?

image

@Simonzhaohui
Copy link
Contributor

Simonzhaohui commented Dec 10, 2021

Hello @VinnieGrack

Could you check the azure-cli version ? There has known issue on azure-cli 2.30.0. We recommend to run preflight script using cloudshell, or azure-cli (2.29.2 or 2.31.0).

@xugy99
Copy link
Contributor

xugy99 commented Dec 10, 2021

Could you check the azure-cli version
this is something we can do to check in the azure-preflight.sh script and output to log.

@Simonzhaohui
Copy link
Contributor

@xugy99, sure. I will add azure-cli version check in azure-preflight.sh.

@Simonzhaohui
Copy link
Contributor

Simonzhaohui commented Dec 14, 2021

The issue has been fixed.

./biganimal-preflight-azure xxxxxxxxxx uksouth --instance-type e2s_v3 --endpoint public --activate-region
Run Azure Preflight Checks with azure-cli 2.29.2

#######################
# Provider            #
#######################

Namespace                                RegistrationPolicy    RegistrationState    ProviderAuthorizationConsentState
---------------------------------------  --------------------  -------------------  -----------------------------------
Microsoft.Capacity                       RegistrationRequired  Registered
Microsoft.ContainerInstance              RegistrationRequired  Registered
Microsoft.Compute                        RegistrationRequired  Registered
Microsoft.ContainerService               RegistrationRequired  Registered
Microsoft.KeyVault                       RegistrationRequired  Registered
Microsoft.ManagedIdentity                RegistrationRequired  Registered
Microsoft.Network                        RegistrationRequired  Registered
Microsoft.OperationalInsights            RegistrationRequired  Registered
Microsoft.OperationsManagement           RegistrationRequired  Registered
Microsoft.Portal                         RegistrationFree      Registered
Microsoft.Storage                        RegistrationRequired  Registered
Microsoft.AlertsManagement               RegistrationRequired  Registered
...

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

3 participants