diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-10-31 13:42:12 -0700 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-11-06 16:48:17 -0800 |
commit | b22c3302ccea6b4b9e685640accbfdbb2856d460 (patch) | |
tree | c04781d86f7f01519e638ac1edc9ac1359840be1 /nova/crypto.py | |
parent | d8970d6b780898b2a7f099af3a251b3f3a52010b (diff) | |
download | nova-b22c3302ccea6b4b9e685640accbfdbb2856d460.tar.gz nova-b22c3302ccea6b4b9e685640accbfdbb2856d460.tar.xz nova-b22c3302ccea6b4b9e685640accbfdbb2856d460.zip |
libvirt: Regenerates xml instead of using on-disk
The libvirt.xml file is written on initial boot of the instance and
may not reflect the current state of the vm if volumes have been
attached. If the libvirt definition of the vm has been lost, it is
safer to regenerate it rather than attempt to load it from the
outdated file. This should properly bring back vms with attached
volumes.
Fixes bug 1073720
Change-Id: Iaa754700a149f09fc0c022fa664c06ad17f505f5
Diffstat (limited to 'nova/crypto.py')
0 files changed, 0 insertions, 0 deletions