question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update configuration for running VM

See original GitHub issue

Enhancement 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
atodorov-storpoolcommented, Jul 8, 2019

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…

1reaction
rsmonterocommented, Mar 26, 2019

This issue will require:

  • Generate new context CD
  • Change CD media with new CD
  • Trigger context scripts on udev rule (change CD)
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found