Azure-Samples / java-microservices-aca-lab

Spring Petclinic Microservices with AI on Azure Container Apps
https://aka.ms/aca-lab
MIT License
7 stars 31 forks source link

AZD Java Template Validation fails #109

Closed karianna closed 1 month ago

karianna commented 1 month ago

For this Java template, there are some unchecked boxes in the output when running through validation, like missing repo tags: https://github.com/Azure-Samples/java-microservices-aca-lab/actions/runs/11496629882/job/31998619727#step:3:4812

karianna commented 1 month ago

@vermegi - I'm not sure if this is something you worked on? CC @brunoborges

vermegi commented 1 month ago

No, this part was added by @sonwan2020 and team.

karianna commented 1 month ago

@sonwan2020 is this something you have some time to fix?

sonwan2020 commented 1 month ago

@karianna OK, I am working on it

sonwan2020 commented 1 month ago

@karianna the pipeline run into error in region swedencentral: Your subscription is in a geography CN where access to Azure OpenAI Service is restricted for non-enterprise customers. Please speak with your account manager if you have any questions. (Code: BadRequest)

I did not meet this error when I manually run azd up in that region. Do you have any idea what happend?

sonwan2020 commented 1 month ago

for this run https://github.com/Azure-Samples/java-microservices-aca-lab/actions/runs/11496629882/job/31998619727#step:3:4812,

the open ai create process succeed in same region swedencentral

the errors happens to

sudo service docker start

docker: unrecognized service

because docker is not required when run automatically, so I believe this is a random issue

rerun shows new problem

karianna commented 1 month ago

Hmmm not sure what's going on there - @brunoborges may be able to help if it's a capacity / region issue

sonwan2020 commented 1 month ago

@brunoborges do you have any info about this restriction? I can not create open ai instance in my sub 50328023-df85-46b6-96f5-c4566d7b063c today, with other ways I was able to do this yesterday

sonwan2020 commented 1 month ago

The latest version of pipeline Validation Sample Workflow passed https://github.com/Azure-Samples/java-microservices-aca-lab/actions/runs/11546313931 There is known issue about the docker issue image

we may just ignore