Update configuration for running VM
See original GitHub issueEnhancement Request
Component
- Authorization (LDAP, x509 certs…)
- Command Line Interface (CLI)
- Contextualization
- Documentation
- Federation and HA
- Host, Clusters and Monitorization
- KVM
- Networking
- Orchestration (OpenNebula Flow)
- Packages
- Scheduler
- Storage & Images
- Sunstone
- Upgrades
- User, Groups, VDCs and ACL
- vCenter
Description
There is need posibility for update configuration when VM in running state.
Actual Behavior
[one.vm.updateconf] configuration cannot be updated in state RUNNING
How to reproduce
- Start VM
onevm updateconf <vmid>
Use case
It is needed for update some contextulization variables (eg. remove PASSWORD variable imminently after first start) or attach new init scripts. User should be noticed that he still need completely shutdown his VM for apply new configuration.
Interface Changes
Maybe small warning in sustone interface for user, that new configuration will be applied only after shutdown VM.
Progress Status
- Branch created
- Code committed to development branch
- Testing - QA
- Documentation
- Release notes - resolved issues, compatibility, known issues
- Code committed to upstream release/hotfix branches
- Documentation committed to upstream release/hotfix branches
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Manage Windows virtual machine configuration in Azure
Navigate to your VM in the Azure portal (search for Virtual machines in the search bar, then choose a VM from the list)....
Read more >How to view and update virtual machine settings
After you've deployed a virtual machine (VM), you can view and update its configuration. ... In the left navigation panel, under Compute, select...
Read more >Updating the VM Configuration of an Application on a VMware ...
On the Manage tab, click Update VM Configuration. The Update screen for the application VM is displayed.
Read more >Automatically apply VM configuration updates in a MIG
For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only...
Read more >Configure VMware Tools Updates for a Specific Virtual Machine
Select the virtual machine and select VM > Settings. · On the Options tab, select VMware Tools. · Select a VMware Tools update...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Currently as a workaround I am working with a patched onedb_live.rb to allow adding entries https://github.com/OpenNebula/addon-storpool/blob/onedb_livePatch/patches/ruby/5.8.1/onedb_live.rb.patch
With it I can add/change[*]/delete context entries in any VM state.
[*] the changed entry has no CDATA element. So I am considering to use delete-then-add of an element instead because the patched function do insert the value in CDATA element.
Yeah, it is not perfect at all but is doing the job until this is resolved…
This issue will require: