Comments (4)
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.
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.
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.
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)
- Update Azure Pipeline to support Pull Requests to the master branch
- Unable to Connect-vRAServer with a domain account HOT 5
- Add functionality to publish function md docs to GitHub pages
- Update the build step in CI to include exporting aliases
- Disconnect-vRAServer still references Global variable in comments
- Update CI Pipeline to run step 'Publish Unit Test Results' in the 'Build module' job
- Feature Request - Projects Custom Properties HOT 1
- Connect-vRAServer fails to connect to api.mgmt.cloud.vmware.com
- Consider Implementing Pester CodeCoverage HOT 1
- Get-vRACatalogPrincipal wrong with a list of group HOT 2
- Install fails on PowerShell v7.1.3 with Admin rights requirements
- Connect-vRAServer doesn't work on version 8.3 and newer HOT 2
- Debug trace
- Workflows are referencing vulnerable actions
- Bug in Invoke-vRARestMethod auto-pagination handling when fetching policies
- Deprecated (now removed) auth API endpoint breaks PowervRA Connect-vRAServer HOT 1
- Clear out vRA v7 Issues
- vRA 8.12 Connect-VRAServer URI issue HOT 2
- Vidm Authentication not possible
- Filtering doesn't seem to work correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powervra.