Bug 1526752 - HE setup: Don't use /var/tmp/localvm but a temp dir.
Summary: HE setup: Don't use /var/tmp/localvm but a temp dir.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.2.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.2.1
: 2.2.5
Assignee: Simone Tiraboschi
QA Contact: Polina
URL:
Whiteboard:
Depends On:
Blocks: 1458709
TreeView+ depends on / blocked
 
Reported: 2017-12-17 08:44 UTC by Yaniv Kaul
Modified: 2018-02-22 10:01 UTC (History)
3 users (show)

Fixed In Version: ovirt-hosted-engine-setup-2.2.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-22 10:01:35 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1541412 0 medium CLOSED Ansible deployment should clean up files in /var once finished 2021-02-22 00:41:40 UTC
oVirt gerrit 85621 0 master MERGED ansible: randomize LOCAL_VM_DIR 2018-09-03 09:37:13 UTC

Internal Links: 1541412

Description Yaniv Kaul 2017-12-17 08:44:47 UTC
Description of problem:
Currently temp dir has a fixed name. This should not be a predictable name.

Comment 1 Polina 2018-02-13 08:21:12 UTC
Hi Simone,

I see that on each deploy the random names are created in /var/tmp, like 

drwxrwxr-x. 4 vdsm kvm   84 Feb 12 17:56 localvmXV7Bsi
drwxrwxr-x. 4 vdsm kvm   84 Feb 13 09:32 localvmyuYAuo

but if the deploy fails, these dirs don't disappear, just remain with all the content. is it ok?

Comment 2 Simone Tiraboschi 2018-02-13 08:41:13 UTC
(In reply to Polina from comment #1)
> but if the deploy fails, these dirs don't disappear, just remain with all
> the content. is it ok?

No, it's not.
It depends on where it fails: if the issue is specific to failures in the first playbook it should be covered by https://bugzilla.redhat.com/1541412 which is targeted to 4.2.2

Comment 3 Polina 2018-02-13 12:14:24 UTC
verified on 
ovirt-hosted-engine-setup-2.2.9-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch

on each deploy the random names are created in /var/tmp, like 

drwxrwxr-x. 4 vdsm kvm   84 Feb 12 17:56 localvmXV7Bsi
drwxrwxr-x. 4 vdsm kvm   84 Feb 13 09:32 localvmyuYAuo

Comment 4 Sandro Bonazzola 2018-02-22 10:01:35 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.