Cleanup /var/lib/libvirt/openshift-images#1153
Cleanup /var/lib/libvirt/openshift-images#1153openshift-merge-robot merged 1 commit intoopenshift-metal3:masterfrom
Conversation
f3d0f30 to
456af93
Compare
For some reason the virsh --remove-all-storage isn't actually removing the storage, this may be because we moved to a non-default pool? This can quickly use up space as each leaked directory is about 2.2G so lets clean it up until we can find a more robust way to handle this in the installer.
456af93 to
39ed94b
Compare
|
Interestingly, I no longer see this happening in my environments. On the node I already cleaned up, I have (with a cluster actively running): $ ls -lah /var/lib/libvirt/openshift-images/ On another node that I didn't clean up I just have a bunch of empty directories there. I wonder if there was a bug that affected deployments during a certain window of time that left a bunch of cruft, but has since been fixed. |
I think it's a corner case where if the installer fails during the terraform apply phase, it then doesn't clean up properly in the |
|
/lgtm Fair enough. It shouldn't hurt anything to clean these up in any case. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andfasano The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
For some reason the virsh --remove-all-storage isn't actually removing
the storage, this may be because we moved to a non-default pool?
This can quickly use up space as each leaked directory is about 2.2G
so lets clean it up until we can find a more robust way to handle
this in the installer.