Comments (1)
Great idea!
I'm thinking of having a task that finds all of the VMs then performs the check you described.
Worst case scenario, the VM could grow to 2x the size of its original disks. This might not be ideal though because then all of your datastores will need to be, worst case, 50% consumed.
I'm thinking a more generalized approach could be used where we allow the user to specify an estimation factor the be used when calculating the required space. This would be a number >= 1.0.
For example, if i wanted to account for 2x the space i would use a factor of: 2.0
If i wanted to use something a little less i might specify a factor of: 1.5
or maybe 1.25
This would expect the VM to grow, but not double in size.
The other caveat here is that VMs and disks can potentially live on different datastores but the snapshot is always created on the datastore where the VMX file lives, need to take that into account.
from puppet-patching.
Related Issues (20)
- file::write not supported in PE HOT 2
- patching::update generates error when run on Windows Server 2008 R2 HOT 2
- When I run bolt plan run -t windows patching::pre_update. The plan executes the script on target windows nodes successfully but the output says it failed. HOT 2
- plan fails on bolt 2.4.0 HOT 3
- Update task is ignoring errors of yum command because of tee
- Errors finding VMs in VMware does not cause the plan to error
- Reboot warning step
- Flag for patching all hosts, not just ones with updates
- Content promotion workflow for WSUS and Foreman/Satellite HOT 2
- allow user to specify provider for update task
- Exclude packages HOT 2
- Evaluation error when calling plan reboot_required with noop
- needs-restarting should be checked for before installing packages?
- Feature request: Support puppetlabs/puppet_agent > 3.0 HOT 2
- Pass arbitrary parameters to native package managers
- incorrect statistics for nodes without available updates
- With PE PLAN no such file to load -- rbvmomi HOT 4
- update bolt configuration to bolt v3 HOT 2
- ManagedObjectNotFound: The object 'vim.Task:task-256811' has already been deleted or has not been completely created HOT 1
- Server 2019, Ubuntu 20.04, 22.04, AlmaLinux|OracleLinux 8+ Support?
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 puppet-patching.