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

Failed context creation should be gracefully handled #1899

Closed
Tracked by #1709
jemrobinson opened this issue May 17, 2024 · 0 comments · Fixed by #1916
Closed
Tracked by #1709

Failed context creation should be gracefully handled #1899

jemrobinson opened this issue May 17, 2024 · 0 comments · Fixed by #1916
Assignees
Labels
enhancement New functionality that should be added to the Safe Haven good first issue This is a good issue for newcomers to the project to tackle

Comments

@jemrobinson
Copy link
Member

Creation failure should indicate what needs to be done (probably authenticating against the Azure CLI in this case)?

dsh context create
2024-01-23 14:30:50 [    INFO] Reading project settings from '/Users/jrobinson/Library/Application Support/data_safe_haven/contexts.yaml'.                                                                                                             context_settings.py:208
2024-01-23 14:31:00 [   ERROR] Failed to create context resources.                                                                                                                                                                                                   cli.py:98
2024-01-23 14:31:00 [   ERROR] Failed to create resource group shm-green-rg-context.                                                                                                                                                                                 cli.py:98
2024-01-23 14:31:00 [   ERROR] Failed to authenticate with Azure.                                                                                                                                                                                                    cli.py:98
2024-01-23 14:31:00 [   ERROR] Failed to invoke the Azure CLI
@jemrobinson jemrobinson mentioned this issue May 17, 2024
10 tasks
@jemrobinson jemrobinson added this to the Release 5.0.0rc2 milestone May 17, 2024
@JimMadge JimMadge added enhancement New functionality that should be added to the Safe Haven good first issue This is a good issue for newcomers to the project to tackle labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New functionality that should be added to the Safe Haven good first issue This is a good issue for newcomers to the project to tackle
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants