Bug 1349351 - [Docs][SHE] Swap the order of two commands for removing a host
Summary: [Docs][SHE] Swap the order of two commands for removing a host
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation
Version: 3.6.7
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-3.6.10
: ---
Assignee: Megan Lewis
QA Contact: Tahlia Richardson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-23 09:57 UTC by Jiri Belka
Modified: 2016-12-06 00:41 UTC (History)
8 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-12-06 00:41:56 UTC


Attachments (Terms of Use)

Description Jiri Belka 2016-06-23 09:57:19 UTC
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-18 01:16:40 UTC
Assigning to Megan for review.


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