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

Cannot build bundles after make setup-local-debugging #3711

Closed
basitrehman531997 opened this issue Sep 15, 2023 · 2 comments · Fixed by #3727
Closed

Cannot build bundles after make setup-local-debugging #3711

basitrehman531997 opened this issue Sep 15, 2023 · 2 comments · Fixed by #3727
Assignees
Labels
bug Something isn't working

Comments

@basitrehman531997
Copy link

basitrehman531997 commented Sep 15, 2023

when i run make all
tre produce this kind of error

note : this type of error produce after run command >>> make setup-local-debugging

Runtime image build section isn't specified. Exiting...
could not render config file because ${secret.porter-db-connection-string} could not be resolved: rpc error: code = Unknown desc = could not get secret porter-db-connection-string: keyvault.BaseClient#GetSecret: Failure sending request: StatusCode=0 -- Original Error: Get "https://.vault.azure.net/secrets/porter-db-connection-string/?api-version=7.0": dial tcp: lookup .vault.azure.net: no such host
make[1]: *** [Makefile:189: bundle-build] Error 1
make[1]: Leaving directory '/workspaces/AzureTRE'
make: *** [Makefile:305: firewall-install] Error 2

Azure TRE release version (e.g. v0.14.0 or main):

Deployed Azure TRE components - click the (i) in the UI:

@basitrehman531997 basitrehman531997 added the bug Something isn't working label Sep 15, 2023
@basitrehman531997 basitrehman531997 changed the title Runtime image build section isn't specified. Exiting... Runtime image build section isn't specified. Exiting..., bundle-build] Error 1,firewall-install] Error 2 Sep 15, 2023
@marrobi
Copy link
Member

marrobi commented Sep 19, 2023

This looks like a transient connectivity issue.

dial tcp: lookup .vault.azure.net: no such host

Did it succeed after a second run?

@marrobi
Copy link
Member

marrobi commented Sep 20, 2023

I think I know the issue, make setup-local-debugging creates this file - /home/vscode/.porter/config.yaml, to allow the resoure processor to be debugged.

This affects future commands that interact with porter but aren't configured with the RP environment variables.

If run rm ~/.porter/config.yaml the issue goes away.

One to look at when have time.

@marrobi marrobi changed the title Runtime image build section isn't specified. Exiting..., bundle-build] Error 1,firewall-install] Error 2 Cannot build bundles after make setup-local-debugging Sep 21, 2023
@marrobi marrobi self-assigned this Sep 25, 2023
@tim-p-allen tim-p-allen added this to the Release 0.18.0 milestone May 10, 2024
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
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants