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

InvalidParameterValueInContainerTemplate - deploy quickstart image in portal with VNet #892

Open
1 of 3 tasks
donaldtse118 opened this issue Sep 1, 2023 · 3 comments
Open
1 of 3 tasks
Assignees
Labels
documentation Improvements or additions to documentation Provisioning Related to deployment issues, revision provisioning, etc.

Comments

@donaldtse118
Copy link

Please provide us with the following information:

This issue is a: (mark with an x)

  • bug report -> please search issues before submitting
  • documentation issue or request
  • regression (a behavior that used to work and stopped in a new release)

Issue description

When I deploy the first ContainerApp with quickstart image thru azure portal ... I got the following error..

The following field(s) are either invalid or missing. Field 'template.containers.simple-hello-world-container.image' is invalid with details: 'Invalid value: "mcr.microsoft.com/k8se/quickstart:latest": Get "https://mcr.microsoft.com/v2/": EOF';. (Code: InvalidParameterValueInContainerTemplate)

Steps to reproduce

  1. Setup Container App environment with workload profile, bind with VNet
  2. Create Container App on this environment with quick start setting

Expected behavior Successfully deploy quickstart app and able to access homepage

Actual behavior failed to start deploying as claimed template error

Screenshots
image

Additional context

  • error in Portal, without manually specific template
  • my ContainerApp environment detail
    • with workload consumption profile as my organization setup UDR
    • bind to a VNet (with custom DNS)
  • Tried export the ARM template and converting it to yaml. Then deploy with az cli command to another environment in the consumption plan only and with VNet binding, could successfully deploy
  • same comment run on the environment (workload profile+VNet binded got same InvalidParameterValueInContainerTemplate error as portal)
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 Pending a first pass to read, tag, and assign label Sep 1, 2023
@SophCarp SophCarp added the Provisioning Related to deployment issues, revision provisioning, etc. label Sep 5, 2023
@donaldtse118
Copy link
Author

Finally I found it is related network traffic block to image repository. It will be nicer if the error message could give more hints.
Thank you for your time.

@torosent torosent added documentation Improvements or additions to documentation and removed Needs: triage 🔍 Pending a first pass to read, tag, and assign labels Sep 6, 2023
@cachai2
Copy link
Collaborator

cachai2 commented Dec 8, 2023

@donaldtse118 I'm glad to hear that the issue was resolved. Can you share what kind of error messaging you would have liked to see during your investigation? Something like, "The image repository isn't accessible"?

@cachai2 cachai2 self-assigned this Dec 8, 2023
@sch1ldkr0ete
Copy link

@cachai2 we also just ran into this error and it took us a while to figure out that the problem was caused because of a firewall.

Something like, "The image repository isn't accessible"?

That would be nice! It would have saved us a lot of time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Provisioning Related to deployment issues, revision provisioning, etc.
Projects
None yet
Development

No branches or pull requests

5 participants