Bug 1449565

Summary: ovirt-hosted-engine-setup has leftover mounts
Product: Red Hat Enterprise Virtualization Manager Reporter: Andreas Bleischwitz <ableisch>
Component: ovirt-hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.7CC: bburmest, lsurette, ratamir, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: Triaged, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
hosted-engine-setup now correctly disconnects the temporary storage domain used on boot.
Story Points: ---
Clone Of:
: 1458654 (view as bug list) Environment:
Last Closed: 2018-05-15 17:32: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:
Bug Depends On:    
Bug Blocks: 1458654, 1458709    

Description Andreas Bleischwitz 2017-05-10 09:25:54 UTC
Description of problem:
ovirt-hosted-engine-setup does not umount the engine-appliance after the image was copied to the storage-domain.

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.1.0.5-1.el7ev.noarch

How reproducible:


Steps to Reproduce:
1. yum install ovirt-hosted-engine-setup
2. ovirt-hosted-engine-setup
3. after o-h-e-s finishes, find a mount on "/var/lib/ovirt-hosted-engine-setup/tmp*"

Actual results:
After the installation finishes:
# mount | grep /var/lib/ovirt-hosted-engine-setup/
/var/lib/ovirt-hosted-engine-setup/tmpqf10Mu (deleted) on /rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpqf10Mu type ext3 (rw,relatime,seclabel,data=ordered)

Expected results:
No mount is leftover after running o-h-e-s.

Additional info:

Comment 5 Nikolai Sednev 2017-06-05 13:07:10 UTC
Works for me on these components on hosts:
ovirt-vmconsole-host-1.0.4-1.el7ev.noarch
mom-0.5.9-1.el7ev.noarch
ovirt-imageio-daemon-1.0.0-0.el7ev.noarch
libvirt-client-2.0.0-10.el7_3.9.x86_64
ovirt-vmconsole-1.0.4-1.el7ev.noarch
vdsm-4.19.17-1.el7ev.x86_64
ovirt-hosted-engine-ha-2.1.1-1.el7ev.noarch
ovirt-host-deploy-1.6.5-1.el7ev.noarch
ovirt-imageio-common-1.0.0-0.el7ev.noarch
qemu-kvm-rhev-2.6.0-28.el7_3.10.x86_64
ovirt-hosted-engine-setup-2.1.2-2.el7ev.noarch
sanlock-3.4.0-1.el7.x86_64
ovirt-setup-lib-1.1.1-1.el7ev.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch
Linux version 3.10.0-514.21.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Sat Apr 22 02:41:35 EDT 2017
Linux 3.10.0-514.21.1.el7.x86_64 #1 SMP Sat Apr 22 02:41:35 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)


Engine:
rhev-guest-tools-iso-4.1-5.el7ev.noarch
rhevm-dependencies-4.1.1-1.el7ev.noarch
rhevm-4.1.3.1-0.1.el7.noarch
rhevm-setup-plugins-4.1.2-1.el7ev.noarch
rhevm-branding-rhev-4.1.0-1.el7ev.noarch
rhevm-doc-4.1.3-1.el7ev.noarch
Linux version 3.10.0-514.16.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Fri Mar 10 13:12:32 EST 2017
Linux 3.10.0-514.16.1.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)


# mount | grep /var/lib/ovirt-hosted-engine-setup/ didn't revealed any leftovers after running o-h-e-s.

Comment 8 errata-xmlrpc 2018-05-15 17:32:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2018:1471

Comment 9 Franta Kust 2019-05-16 13:06:21 UTC
BZ<2>Jira Resync