You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Abstract
Updating the XML of a VM running on SEAPATH is a complex task. Currently, it is only documented on the wiki, as an example playbook.
We should create a playbook to do that.
Note that this only handles the VM XML update. We could also consider providing a standard way to update the VM disk, with snapshots or clones to handle the recovery cases.
Detailed Description
Updating a VM XML requires using the clone command of vm-manager and providing the new XML and metadatas.
This is only shown on the wiki, with a playbook that the user has to adapt it.
I believe that we could upstream a playbook that:
Uses the same VM inventory as deploy_vms_* playbooks
Uses either a standard XML or a templated XML.j2 file
Abstract
Updating the XML of a VM running on SEAPATH is a complex task. Currently, it is only documented on the wiki, as an example playbook.
We should create a playbook to do that.
Note that this only handles the VM XML update. We could also consider providing a standard way to update the VM disk, with snapshots or clones to handle the recovery cases.
Detailed Description
Updating a VM XML requires using the clone command of vm-manager and providing the new XML and metadatas.
This is only shown on the wiki, with a playbook that the user has to adapt it.
I believe that we could upstream a playbook that:
deploy_vms_*playbookspreferred_host)This would require Add vm_manager rename command vm_manager#77
This is a SEAPATH standard scenario, so it is similar to providing the replace_machine playbooks
Work to be done
Start with the example given on the wiki.
Implement the list above