openstack deployments with octavia leave orphan amphora images in /tmp/ansible.* directories
Environment
- Red Hat OpenStack Platform (RHOSP) 17.1
- Red Hat OpenStack Platform (RHOSP) 16.2
Issue
- For an Octavia deployment, every time ansible workflow is being triggered, it is dumping "octavia-amphora.img" image in /tmp/ansible.* directory.
- These temporary images are not getting auto cleaned by the workflow itself and may cause space utilization issue for related filesystems.
Resolution
-
Manually delete temporary ansible directories after
openstack overcloud deployfinishes:[stack@director.example.lab ~]$ sudo find /tmp/ -name octavia-amphora.img -ls 319727535 2169272 -rw-r--r-- 1 root root 3221225472 Oct 21 11:26 /tmp/ansible.8psgzlfw/octavia-amphora.img 9442461 2169272 -rw-r--r-- 1 root root 3221225472 Oct 22 13:20 /tmp/ansible.05xdldxv/octavia-amphora.img [stack@director.example.lab ~]$ [stack@director.example.lab ~]$ sudo find /tmp/ -name octavia-amphora.img -delete [stack@director.example.lab ~]$
Root Cause
- The following BZ has been created to track resolution of this issue: <This content is not included.https://bugzilla.redhat.com/show_bug.cgi?id=2216209>
SBR
Product(s)
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.