Bug 1458654 - [downstream clone - 4.1.3] ovirt-hosted-engine-setup has leftover mounts
Summary: [downstream clone - 4.1.3] ovirt-hosted-engine-setup has leftover mounts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.0.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ovirt-4.1.3
: ---
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On: 1449565 1455606
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-05 06:37 UTC by rhev-integ
Modified: 2021-05-01 16:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, ovirt-hosted-engine-setup did not correctly disconnect the temporary, loopback-mounted storage domain used to bootstrap the system. This has now been fixed.
Clone Of: 1449565
Environment:
Last Closed: 2017-07-06 07:30:02 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1691 0 normal SHIPPED_LIVE ovirt-hosted-engine-setup bug fix update for RHV 4.1.3 2017-07-06 11:24:27 UTC
oVirt gerrit 77256 0 master MERGED storage: call disconnectStorageServer on the bootstrap SD 2020-12-14 09:42:20 UTC
oVirt gerrit 77278 0 ovirt-hosted-engine-setup-2.1 MERGED storage: call disconnectStorageServer on the bootstrap SD 2020-12-14 09:42:21 UTC

Description rhev-integ 2017-06-05 06:37:15 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1449565 +++
======================================================================

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:

(Originally by Andreas Bleischwitz)

Comment 6 Nikolai Sednev 2017-06-05 13:56:17 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 2017-07-06 07:30:02 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-2017:1691


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