the vms turn transient after libvirt pod restarts
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
In Progress
|
Undecided
|
wind | |||
Trunk |
In Progress
|
Undecided
|
wind | |||
openstack-helm |
Fix Released
|
Undecided
|
wind |
Bug Description
The vms create by NOVA should be persistent ,but after libvirt pod restarts,the vms created before turn transient. Then operate these vms ,the nova-compute will throw this exception:
| fault | {"message": "Requested operation is not valid: cannot do managed save for transient domain", "code": 500, "details": " File \"/usr/
| | File \"/usr/
| | File \"/usr/
| | File \"/usr/
| | File \"/usr/
| | result = proxy_call(
| | File \"/usr/
| | rv = execute(f, *args, **kwargs) |
| | File \"/usr/
| | six.reraise(c, e, tb) |
| | File \"/usr/
| | rv = meth(*args, **kwargs) |
| | File \"/usr/
| | if ret == -1: raise libvirtError ('virDomainMana
| | ", "created": "2018-03-
This is because that the directory /etc/libivrt/qemu in pod contains vitual machines xml files and it is nonpersistent, the xmls files disappear after the pod restarts, so we mount it
to hostpath /etc/libvirt/qemu to make the directory persistent.
Changed in openstack-helm: | |
assignee: | nobody → wind (better) |
Changed in openstack-helm: | |
status: | New → Fix Committed |
Changed in openstack-helm: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/557889
Review: https:/