Bug 1449565 - ovirt-hosted-engine-setup has leftover mounts
Summary: 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.2.0
: ---
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks: 1458654 1458709
TreeView+ depends on / blocked
 
Reported: 2017-05-10 09:25 UTC by Andreas Bleischwitz
Modified: 2021-05-01 16:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
hosted-engine-setup now correctly disconnects the temporary storage domain used on boot.
Clone Of:
: 1458654 (view as bug list)
Environment:
Last Closed: 2018-05-15 17:32:21 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-2018:1471 0 None None None 2018-05-15 17:34:05 UTC
oVirt gerrit 77256 0 master MERGED storage: call disconnectStorageServer on the bootstrap SD 2020-12-14 09:43:55 UTC
oVirt gerrit 77278 0 ovirt-hosted-engine-setup-2.1 MERGED storage: call disconnectStorageServer on the bootstrap SD 2020-12-14 09:43:26 UTC

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


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