Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
6.04k stars 4.13k forks source link

unable to deploy the code with azd deploy #2077

Open achu152 opened 17 hours ago

achu152 commented 17 hours ago

Please provide us with the following information:

This issue is for a: (mark with an x)

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

Minimal steps to reproduce

Tried to deploy the code via azd deploy command . however, the output.tar.gz file is not as expected and throwing error does azd deploy command takes care of both building the code and deploying it to the apps service ?

Any log messages given by the failure

Expected/desired behavior

Deploying service backend (Running build process) Deploying service backend (Running build process) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Starting runtime process, 1 in progress instances, 0 successful instances) Deploying service backend (Fetching endpoints for app service) (✓) Done: Deploying service backend

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) Linux

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

bnodir commented 16 hours ago

does azd deploy command takes care of both building the code and deploying it to the apps service ?

No, the azd deploy command only handles deploying the code to the App Service. To build the code and deploy it, you should use the azd up command.

svenfeld commented 14 hours ago

I might have encountered the same issue. Scaling up the App service helped (backend).