Re: [ovirt-users] hosted engine status=WaitForLaunch

2015-01-04 Thread Artyom Lukianov
Connect to answer from d...@redhat.com, just put you environment to global 
maintenance mode before you destroy HE vm(hosted-engine --set-maintenance 
--mode=global), because agent will restart HE vm.

- Original Message -
From: Will K yetanotherw...@yahoo.com
To: users@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? 
2. if not, how can I restart a bad setup giving me status=WaitForLaunch? 


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 

Now when I run 
# hosted-engine --vm-start 
VM exists and is down, destroying it 
Machine destroyed 

bc13d2d0-f2b5-4ac2-bc5a-ef98e046e2a9 
Status = WaitForLaunch 
nicModel = rtl8139,pv 
emulatedMachine = pc 

Thanks in Advance and Happy New Year. 

Will 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted engine status=WaitForLaunch

2015-01-04 Thread Will K
Thank you Artyom and Yedidyah.That works out fine.
W
 

 On Sunday, January 4, 2015 6:16 AM, Artyom Lukianov aluki...@redhat.com 
wrote:
   

 Connect to answer from d...@redhat.com, just put you environment to global 
maintenance mode before you destroy HE vm(hosted-engine --set-maintenance 
--mode=global), because agent will restart HE vm.

- Original Message -
From: Will K yetanotherw...@yahoo.com
To: users@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? 
2. if not, how can I restart a bad setup giving me status=WaitForLaunch? 


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 

Now when I run 
# hosted-engine --vm-start 
VM exists and is down, destroying it 
Machine destroyed 

bc13d2d0-f2b5-4ac2-bc5a-ef98e046e2a9 
Status = WaitForLaunch 
nicModel = rtl8139,pv 
emulatedMachine = pc 

Thanks in Advance and Happy New Year. 

Will 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted engine status=WaitForLaunch

2015-01-03 Thread Yedidyah Bar David
- Original Message -
 From: Will K yetanotherw...@yahoo.com
 To: users@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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users