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

make auth error #4269

Closed
alanmegaw77 opened this issue Jan 14, 2025 · 7 comments
Closed

make auth error #4269

alanmegaw77 opened this issue Jan 14, 2025 · 7 comments

Comments

@alanmegaw77
Copy link

I am getting the following error when running the make auth in the setup auth:

/home/devcontainers/AzureTRE-main/AzureTRE-main/devops/scripts/convert_azure_env_to_arm_env.sh: line 9: arm_envs[${azure_environment}]: unbound variable
/home/devcontainers/AzureTRE-main/AzureTRE-main/devops/scripts/load_and_validate_env.sh: line 84: TRE_ID: unbound variable
»»» 🔨 Azure details from logged on user
»»» • Subscription: xxxxxxxxxxxxx
»»» • Tenant: xxxxxxxxxxxxx

/bin/bash: line 3: /home/devcontainers/AzureTRE-main/AzureTRE-main//devops/scripts/create_aad_assets.sh: Permission denied
make: *** [Makefile:375: auth] Error 126

@marrobi
Copy link
Member

marrobi commented Jan 14, 2025

@alanmegaw77 are you running this from within the dev container?

Was the git repository initially cloned to a Windows or Linux file system?

@alanmegaw77
Copy link
Author

hi @marrobi thank you for responding

I'm running WSL:Ubuntu on a windows machine.

I think I am running from within the dev container otherwise the 'make auth' would not initiate, but not 100% on this - please see attached screen grab

Image

@marrobi
Copy link
Member

marrobi commented Jan 14, 2025

Hmm, You should see something like this, note dev container in the bottom left:

Image

Are you following these docs? Note the note re permissions - https://microsoft.github.io/AzureTRE/latest/tre-admins/setup-instructions/deployment-repo/

@alanmegaw77
Copy link
Author

@marrobi

Image

mine does not show Dev Container in blue bottom left.

now trying to start in Dev Container as per the instructions but it's been running over 20 minutes and still going as per below - should it take this long?

@marrobi
Copy link
Member

marrobi commented Jan 14, 2025

Hmm, has your WSL instance got enough memory available?

Quick search - docker/for-win#10247 - might be this? This isn't a Azure TRE issue, so if continue to hit issues, maybe comment on that thread...

@alanmegaw77
Copy link
Author

thanks @marrobi . Seem to be hitting so many issues running the TRE setup via WSL I think it might just be easier spinning up an Azure linux VM and installing VS code and docker to do the setup. Troubleshooting all these issues on WSL is time-consuming.

Thanks for your help!

@marrobi
Copy link
Member

marrobi commented Jan 15, 2025

Ok, very odd, a lot of us use WSL 2 to deploy, but yes, a Linux VM will also work. Will close the issue, let us know if need further help.

@marrobi marrobi closed this as completed Jan 15, 2025
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