Config CONF.libvirt.inject_partition=-1, build instance with metadata will remain some images in /var/tmp/.guestfs-0/appliance.d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
Description
===========
Boot instance with metadata will remain some images in '/var/tmp/
Steps to reproduce
==================
1) Config inject_
2) boot instance with metadata on this compute_node.
3) boot instance success but some images were remained.
Expected result
===============
In the end of booting instance, can remove those images in /var/tmp/
Actual result
=============
Those images be left forever.
Environment
===========
1. Exact version of OpenStack you are running. See the following
openstack-
2. Which hypervisor did you use?
Libvirt + KVM
2. Which storage type did you use?
LVM
3. Which networking type did you use?
Neutron with OpenVSwitch)
Logs & Configs
==============
{'message': u"No operating system found in <LocalFileImage
This sounds like more of a libguestfs issue than a nova issue, unless nova isn't creating the guest in such a way that libguestfs would cleanup properly.
What version of libguestfs are you using?
Also note that file injection as a feature is disabled by default (it has been for years) and is also deprecated in the API:
https:/ /docs.openstack .org/nova/ latest/ reference/ api-microversio n-history. html#id52
So in all this is very low priority to resolve IMO.