Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1349351 - [Docs][SHE] Swap the order of two commands for removing a host
[Docs][SHE] Swap the order of two commands for removing a host
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.6.7
Unspecified Unspecified
medium Severity low
: ovirt-3.6.10
: ---
Assigned To: Megan Lewis
Tahlia Richardson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-23 05:57 EDT by Jiri Belka
Modified: 2016-12-05 19:41 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-05 19:41:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Docs
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jiri Belka 2016-06-23 05:57:19 EDT
Description of problem:

The order below did not work for me

~~~
# rm /etc/ovirt-hosted-engine/hosted-engine.conf
# unpersist /etc/ovirt-hosted-engine/hosted-engine.conf
~~~

taken from

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Self-Hosted_Engine_Guide/Removing_a_Host_from_a_Self-Hosted_Engine_Environment.html

~~~
[root@dell-r210ii-04 admin]# rm -f /etc/ovirt-hosted-engine/hosted-engine.conf
rm: cannot remove ‘/etc/ovirt-hosted-engine/hosted-engine.conf’: Device or resource busy
~~~

I suppose this is because the file is in `mount' output:

/dev/mapper/HostVG-Config on /etc/ovirt-hosted-engine/hosted-engine.conf type ext4 (rw,noatime,seclabel,data=ordered)

This is the order which worked for me:

~~~
[root@dell-r210ii-04 ~]# unpersist /etc/ovirt-hosted-engine/hosted-engine.conf
/etc/ovirt-hosted-engine/hosted-engine.conf successully unpersisted
[root@dell-r210ii-04 ~]# rm /etc/ovirt-hosted-engine/hosted-engine.conf
rm: remove regular file ‘/etc/ovirt-hosted-engine/hosted-engine.conf’? y
[root@dell-r210ii-04 ~]# mount -vvv | grep /etc/ovirt-hosted-engine
/dev/mapper/HostVG-Config on /etc/ovirt-hosted-engine/iptables.example type ext4 (rw,noatime,seclabel,data=ordered)
/dev/mapper/HostVG-Config on /etc/ovirt-hosted-engine/answers.conf type ext4 (rw,noatime,seclabel,data=ordered)
~~~

Version-Release number of selected component (if applicable):
3.6.7
Red Hat Enterprise Virtualization Hypervisor release 7.2 (20160621.0.el7ev)


How reproducible:
100%

Steps to Reproduce:
1. rhevh Red Hat Enterprise Virtualization Hypervisor release 7.2 (20160621.0.el7ev)

2.
3.

Actual results:
the instruction does not work

Expected results:
should work

Additional info:
Comment 1 Lucy Bopf 2016-11-17 20:16:40 EST
Assigning to Megan for review.

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