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

Airlock deployment failed #3586

Closed
Danny-Cooke-CK opened this issue Jun 26, 2023 · 7 comments
Closed

Airlock deployment failed #3586

Danny-Cooke-CK opened this issue Jun 26, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Danny-Cooke-CK
Copy link
Collaborator

During the deploy of a whole new TRE environment at version 11, the airlock workspace deployment hangs with a message that says "authorization not yet deployed for resource" and then eventually fails

image

in this state we can't disable and delete as it errors again with another message advising it can't be disabled.

we then deployed a second airlock workspace and this went through fine while the original deployment has decided to start performing an upgrade.

so this bug is being raised because the first one failed and can't be removed. and the second one worked fine. unsure of where to fine the logs to see what happened.

@Danny-Cooke-CK Danny-Cooke-CK added the bug Something isn't working label Jun 26, 2023
@marrobi
Copy link
Member

marrobi commented Jun 26, 2023

Hi @Danny-Cooke-cCK

The operation logs can be retrieved by using the Swagger UI for the API.

image

at https://<tre_id>.region>.cloudapp.azure.com/api/workspaces/<workspace_id>/docs

Let us know why it failed and can advise.

We have fixed some issues around deleting failed resources in the main branch, but yet to be released.

@Danny-Cooke-CK
Copy link
Collaborator Author

Hi and thanks for the response. Im getting a 401 using swagger ?

image

@marrobi
Copy link
Member

marrobi commented Jun 26, 2023

Have you clicked the authorise button at the top, and logged in? Leave client secret blank.

@Danny-Cooke-CK
Copy link
Collaborator Author

Danny-Cooke-CK commented Jun 26, 2023

Staringly i can't.
I've created a secret for the (treID UX) app reg and i'm taking the secret "value" but can't authorized it?. Tried a few times actually and with 2 new secrets too. any thoughts?

@Danny-Cooke-CK
Copy link
Collaborator Author

just looked at th swagger documentation and figured the login out. The install logs just said "awaiting install"

@marrobi
Copy link
Member

marrobi commented Jun 27, 2023

Can you paste the full JSON from the operations API endpoint?

Do you know if you ran any make commands while deployment was in progress?

@marrobi
Copy link
Member

marrobi commented Aug 7, 2023

Closing as required fix are in base workspace and need to be included in airlock as covered in #3617

@marrobi marrobi closed this as completed Aug 7, 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