Git Product home page Git Product logo

Comments (4)

mpuckett159 avatar mpuckett159 commented on July 29, 2024

I've never tried this but you might be able to try following this blog from VMware regarding how to manually inject script dependencies into an action.

https://blogs.vmware.com/management/2020/07/how-to-abx-vro-powershell-additional-modules.html

Alternatively you could try running and Update-Module PowerVRA at the beginning of every action where you want to run the most recent version, assuming your vRA instance has access to the internet.

Basically, what sounds like it happening is you are updating the spawned container that executes the Action, but then trying to run another, different action afterwards. Each ABX Action runs independently of every other action. It is a Function as a Service model similar to Lambda and Azure Functions, and so updates you make in an action are not carried over between actions, thus you need to update the module in every run.

from powervra.

anotherPassword avatar anotherPassword commented on July 29, 2024

Thank you Marcus. I am for sure updating the spawned container, I figured that eventually after looking at what it was doing. I do agree I should be able to update or install module on ABX run and it should work, but that to me do e not address the root issue. What I think I should be able to do is access whatever it is that the container spawns from, which has the 3.6.0 version installed, access it, uninstall 3.6.0, and install 4.1.1. Then each time a container spawns, it will have the right version.
The thing that is sticking me is that I can not get vMware to help on how to update that initial instance of what it is the container spawns from.

from powervra.

mpuckett159 avatar mpuckett159 commented on July 29, 2024

Yeah they aren't gonna help you with that and I wouldn't recommend doing that. The supported and recommended way to import modules not already included in the container is outlined in the blog post above.

from powervra.

anotherPassword avatar anotherPassword commented on July 29, 2024

That's helpful, I will start exploring the other option more in depth. I was just floored no-one there checked the version of powerVRA before they included it. Thanks again.

from powervra.

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.