Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1816737

Summary: when running installation of hosted engine again, /var/tmp is full
Product: Red Hat Enterprise Virtualization Manager Reporter: Martijn ten Heuvel <mtenheuv>
Component: cockpit-ovirtAssignee: Aviv Turgeman <aturgema>
Status: CLOSED NEXTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3.8CC: aturgema, dfediuck, lsurette
Target Milestone: ovirt-4.4.3Flags: aturgema: needinfo-
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-23 16:01:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martijn ten Heuvel 2020-03-24 15:56:25 UTC
Description of problem:
When installer fails for whatever reason, in my case the iscsi gave some issues, /var/tmp/installvm* is not cleaned. This means that with a couple reruns, /var/tmp will be full:

[root@rhv1 tmp]# ls -als | grep local
4 drwxrwxr-x.  2 vdsm kvm  4096 Mar 24 15:53 localvm_25EXd
4 drwxrwxr-x.  4 vdsm kvm  4096 Mar 24 15:22 localvmVvspJr
[root@rhv1 tmp]# du -sh local*
4.0K	localvm_25EXd
4.5G	localvmVvspJr

Version-Release number of selected component (if applicable):
4.3.8

How reproducible:
Easy

Steps to Reproduce:
1. Setup rhvh node
2. Run installer from cockpit.
3. Stop at storage.

Actual results:
Disk full.

Expected results:
Reuse of resources. Now, omnipotency does not exist; also meaning redeployment is actually a full redeploy.


Additional info:

Comment 1 Sandro Bonazzola 2020-04-01 07:46:54 UTC
let's check why /var/tmp got filled. If bootstrap VM content was created there the code should be smart enough to know what to do with the content there.

Comment 2 Asaf Rachmani 2020-08-19 14:20:28 UTC
ovirt-hosted-engine-cleanup tool cleans /var/tmp/localvm*.
Can we run the cleanup tool from cockpit when clicking "Yes" in "Exit Wizard" only after "Prepare VM" stage?