GithubHelp home page GithubHelp logo

Comments (13)

marrobi avatar marrobi commented on May 18, 2024

I believe this error appears when using an old version (< v1) of Porter.

Can you try rebuilding your dev container and reporting back.

from azuretre-deployment.

pselmani avatar pselmani commented on May 18, 2024

I assume version is 1.0.4, if not, where would I check ?

image

from azuretre-deployment.

marrobi avatar marrobi commented on May 18, 2024

https://porter.sh/cli/porter_version/

If its not the version in the dev container Dockerfile you need to rebuild the dev container via the command palette on VS Code.

from azuretre-deployment.

pselmani avatar pselmani commented on May 18, 2024

The screenshot above is from Dockerfile, below to confirm. So I guess my version is OK so issue must be something else

(main) $ porter version
porter v1.0.4 (e3a2a5ef)

from azuretre-deployment.

pselmani avatar pselmani commented on May 18, 2024

Is it an issue if Dockerfile has both Porter versions in the code

image

from azuretre-deployment.

marrobi avatar marrobi commented on May 18, 2024

Hmm, do you have something in your bundle Dockerfile? Pretty sure this is a Porter version issue.

@tamirkamara any ideas?

from azuretre-deployment.

tamirkamara avatar tamirkamara commented on May 18, 2024

The original error seem to be copied from the UI/API. Are you sure your deployed system (mainly the resource processor component/image) is updated to the same version you're working with in your devcontainer?

from azuretre-deployment.

pselmani avatar pselmani commented on May 18, 2024

The error is taken from UI but same appears on logs of Resource Processor also

How do I check version of resource processor? (I think it's 1.7) I believe the deployed system is below 1.7.
Also, is there a compatibility matrix or does everything need to match all the time. I.e. if we were to upgrade to 1.9, does devcontainer need upgrading also ?

from azuretre-deployment.

tamirkamara avatar tamirkamara commented on May 18, 2024

When upgrading to a new release of the TRE Solution you should upgrade all core components from devcontainer to all the underlining apps. The easiest way to do this is via a CICD or make all.

1.7 doesn't make sense to me :-)
Since you mentioned the Resource Processor logs - look at the application insights logs in your TRE resource group (the "core" one and not any workspace). An example query

traces
| where cloud_RoleName == "resource_processor"
| summarize count() by application_Version

The minimum version you should be using is 0.5.1

from azuretre-deployment.

pselmani avatar pselmani commented on May 18, 2024

I mean to say 0.7 but anyway, I ran query on application insights, got below, I guess it's time to upgrade to 0.9 :)

image

from azuretre-deployment.

pselmani avatar pselmani commented on May 18, 2024

@tamirkamara if the TRE Solution is older version than devcontainer, what is the recommended route to upgrade the TRE Solution?

from azuretre-deployment.

marrobi avatar marrobi commented on May 18, 2024

You should be able to run make all from the newer dev container.

Ensure you review the https://github.com/microsoft/AzureTRE/blob/main/CHANGELOG.md and note any breaking changes/migration steps that are needed.

from azuretre-deployment.

marrobi avatar marrobi commented on May 18, 2024

Closing as believe resovled.

from azuretre-deployment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.