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

[OTHER] Investigate Azure issue #1685

Open
1 of 2 tasks
FlorianJacta opened this issue Aug 20, 2024 · 0 comments
Open
1 of 2 tasks

[OTHER] Investigate Azure issue #1685

FlorianJacta opened this issue Aug 20, 2024 · 0 comments
Labels
🖧 Devops Operations, monitoring, maintenance, deployment, packaging 🟨 Priority: Medium Not blocking but should be addressed

Comments

@FlorianJacta
Copy link
Member

What would you like to share or ask?

From a user feedback:

We’re having some odd issues with Taipy App deployment. The Taipy App uses the Taipy framework and has an external connection (i.e., Azure Cosmos).

  1. Create WebApp and Deploy Taipy App using Azure CLI

    a. Create WebApp resource and Deploy Taipy App ‘taipyapp2-DEV’ using the command ‘az webapp up’.

    b. Results: OK. The deployment succeeds and the webapp runs without error.

  2. Deploying a Taipy App using Azure CLI to a pre-created WebApp resource.

    a. Deploy to ‘taipyapp-DEV’. (Note this is the WebApp I asked you to create yesterday. I assume the WebApp was created via Azure Portal)

    b. The Azure CLI command ‘az web app up’ (the same as 1) is used to deploy, and we specify the name of the WebApp to deploy to.

    c. Results: Fails during deployment because resource not found. Error states that the WebApp resource cannot be found using Azure CLI ‘az webapp up’ command. It is odd because I can list WebApp via the ‘az webapp list’ command.

  3. Deploying a Taipy App using Azure CLI to a pre-created WebApp

    a. Deploy to ‘webapp-DEV’. Note this was created a long time ago. I assume the WebApp was created via Azure Portal

    b. Azure CLI command ‘az webapp up’ (same as 1) is used to deploy and we specify the name of the WebApp to deploy to.

    c. Results: Fails during deployment with a build failure.

  4. Deploying a Taipy App using DevOps pipeline to a pre-created WebApp

    a. Deploy to ‘webapp-DEV’. Note this was created a long time ago and the deployment uses the build and release pipelines that you set up for us.

    b. Results: Build / Deploy succeeds but App throw ‘Monkey Patch Error’ (the one I showed you before). This is an odd error because the Deployment using 1 above uses the exact same code, requirements.txt file, etc. so the only difference is the deployment method and the way the WebApp was created. Likely we need to look at the build and deploy script too.

So, we think it’s a combination of two issues:

  • There is something different about the App created via ‘az webapp up’ command and the one’s created separately. On the surface, I didn’t see any major differences.
  • There is some adjustment needed for the build and/or deploy script to match what ‘az webapp up’ is doing.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@FlorianJacta FlorianJacta added 🖧 Devops Operations, monitoring, maintenance, deployment, packaging 🟨 Priority: Medium Not blocking but should be addressed labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖧 Devops Operations, monitoring, maintenance, deployment, packaging 🟨 Priority: Medium Not blocking but should be addressed
Projects
None yet
Development

No branches or pull requests

1 participant