----- Original Message -----
From: "Will K" <yetanotherwill(a)yahoo.com>
To: users(a)ovirt.org
Sent: Sunday, January 4, 2015 7:03:36 AM
Subject: [ovirt-users] hosted engine status=WaitForLaunch
Hi all,
I'm pretty new to the hosted engine.
1. Is there a way to re-run the deploy from scratch?
If in 'from scratch' you mean something like the engine's
'engine-cleanup'
utility, then no, we do not have such a tool for hosted-engine.
2. if not, how can I restart a bad setup giving me
status=WaitForLaunch?
I. Usually, it's enough to:
1. Stop the engine VM if it's up, by 'hosted-engine --vm-poweroff'
2. rm -rf /path/to/hosted-engine-storage/* (with the correct path)
3. hosted-engine --deploy again
II. If that's not enough, and for some reason you prefer to clean up manually
instead of reinstalling the OS, you can try:
1. yum remove ovirt\* libvirt\* vdsm\* sanlock\*
2. rm -rf /etc/ovirt* /etc/vdsm* /etc/libvirt* /etc/pki/vdsm* /etc/pki/libvirt*
3. rm -rf /path/to/hosted-engine-storage/* (with the correct path)
This will not revert the changes done to your network configuration. If you
want to revert that, which is usually not needed, you can try manually copying
back parts of /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt to the ifcfg file
of the interface used for the bridge, and remove ifcfg-ovirtmgmt (after, of course,
backing up, stopping the interface, etc).
Then yum install and deploy again.
a. I'm sure I gave bad option to run the VM installation
b. I'm sure I picked a wrong parameter for the hosted-engine command
Then try (some of) the options above. If (I.) is not enough, please post
deploy logs. Thanks!
Best,
--
Didi