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

Application Error after make infrastructure #859

Open
1 of 2 tasks
ruandersMSFT opened this issue Sep 22, 2024 · 1 comment
Open
1 of 2 tasks

Application Error after make infrastructure #859

ruandersMSFT opened this issue Sep 22, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@ruandersMSFT
Copy link
Contributor

ruandersMSFT commented Sep 22, 2024

Bug Details

Describe the bug
After performing an infrastructure deployment via make infrastructure against a working application, the application no longer works.

Steps To Reproduce

With a working deployment, based on the latest v1.2 main release, execute a make infrastructure, allow the code to run, observed the error after infrastructure deployment.

What is the expected behavior?

The infrastructure should have not impacting changes via a redeployment of the infrastructure and the application should still operate successfully.

Screenshots
image

image

Information Assistant details

Please provide the following details. You can simply include a screenshot of your Info panel as well.

GitHub branch: [e.g. main]
main
Version or Latest commit: [obtained by running git log -n 1 <branchname>
Merge: b6c3a3b a1e4867
Author: Lon Tierney [email protected]
Date: Thu Sep 19 19:31:15 2024 -0700

Merge pull request #857 from microsoft/vNext-Dev

Merging 1.2 features into Main

What region is your Azure Open AI Service in?
EastUS2
What ChatGPT model are you using?
default
model name: (i.e. gpt-3.5-turbo, gpt-4)
default
model version: (i.e. 0613)
default
What embeddings model are you using?
default

If the bug is confirmed, would you be willing to submit a PR?

  • Yes
  • No
@dayland
Copy link
Contributor

dayland commented Sep 23, 2024

This is a new behavior in version v1.2. As we are now using docker images for the Azure App Services and Azure Functions, we need to know the latest label of the uploaded image. At "infrastructure" deployment time the label isn't yet known, so now the terraform sets the docker image label to LATEST, thus the image isn't pulled from the Azure Container Registry. You need to now run the make deploy-functions deploy-webapp deploy-enrichments part of the scripts after make infrastructure to upload and set the proper docker image tag on the Azure App Services and Azure Function Host.

The alternative is a manual update where if you know you have a good image uploaded to the Azure Container Registry and you have not modified any of the application code, then you can:

  • Navigate to the Azure App Service or Azure Function Host in the Azure Portal
  • Select the Deployment Center blade
  • Under the Settings tab, scroll down and enter the correct image tag under the Tag field.
  • Save and restart the service.

@dayland dayland self-assigned this Sep 23, 2024
@dayland dayland added the question Further information is requested label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants