Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-13 Thread Michal Skrivanek
> On 13 Jul 2017, at 11:51, Gianluca Cecchi wrote: > > On Thu, Jul 13, 2017 at 11:08 AM, Michal Skrivanek > wrote: > > On 12 Jul 2017, at 16:30, Gianluca Cecchi > > wrote: > > > > In the mean time I have verified that the problem is

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-13 Thread Gianluca Cecchi
On Thu, Jul 13, 2017 at 11:08 AM, Michal Skrivanek wrote: > > On 12 Jul 2017, at 16:30, Gianluca Cecchi > wrote: > > > > In the mean time I have verified that the problem is with > > > > emulatedMachine=pc-i440fx-rhel7.3.0 > > Might be. The fact that it works with 7.2 in esxi nested environment

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-13 Thread Michal Skrivanek
> On 12 Jul 2017, at 16:30, Gianluca Cecchi wrote: > > In the mean time I have verified that the problem is with > > emulatedMachine=pc-i440fx-rhel7.3.0 Might be. The fact that it works with 7.2 in esxi nested environment is nice, but definitely not supported. Use lower-than-broadwell CPU - that

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-12 Thread Gianluca Cecchi
In the mean time I have verified that the problem is with emulatedMachine=pc-i440fx-rhel7.3.0 Summarizing: default boot ofengine VM after update to 4.1.3 is with cpuType=Broadwell and emulatedMachine=pc-i440fx-rhel7.3.0 and the engine vm hangs at "Booting from Hard Disk " screen When starting w

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-12 Thread Gianluca Cecchi
On Wed, Jul 12, 2017 at 12:16 PM, Yedidyah Bar David wrote: > > >> > > >> > the modified file would be such that: > >> > > >> > [root@ovirt02 images]# diff /var/run/ovirt-hosted-engine-ha/vm.conf > >> > /root/alternate_vm.conf > >> > 1,2c1,2 > >> > < cpuType=Broadwell > >> > < emulatedMachine=pc-

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-12 Thread Yedidyah Bar David
On Mon, Jul 10, 2017 at 6:42 PM, Gianluca Cecchi wrote: > On Mon, Jul 10, 2017 at 4:38 PM, Yedidyah Bar David wrote: >> >> >> > >> > Currently I have set the environment in global maintenance. >> > Does it make sense to try to start the HostedEngine with an alternate >> > vm.conf to crosscheck it

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Martin Sivak
> My question was: no operating system is loaded at all before getting the > lease, so that don't have any risk of corruption? That is exactly what it is supposed to do. The process dies before starting the OS. MArtin On Mon, Jul 10, 2017 at 5:45 PM, Gianluca Cecchi wrote: > On Mon, Jul 10, 20

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Gianluca Cecchi
On Mon, Jul 10, 2017 at 4:45 PM, Martin Sivak wrote: > > In the 'hosted-engine' script itself, in the function cmd_vm_start, > > there is a comment: > > # TODO: Check first the sanlock status, and if allows: > > > > Perhaps ha-agent checks sanlock status before starting the VM? > > Adding Mar

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Gianluca Cecchi
On Mon, Jul 10, 2017 at 4:38 PM, Yedidyah Bar David wrote: > > > > > Currently I have set the environment in global maintenance. > > Does it make sense to try to start the HostedEngine with an alternate > > vm.conf to crosscheck it it is then able to start ok? > > Not sure. Depends on why you thi

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Martin Sivak
> In the 'hosted-engine' script itself, in the function cmd_vm_start, > there is a comment: > # TODO: Check first the sanlock status, and if allows: > > Perhaps ha-agent checks sanlock status before starting the VM? > Adding Martin. QEMU does that by itself. It starts, asks for a lease and die

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Yedidyah Bar David
On Mon, Jul 10, 2017 at 5:12 PM, Gianluca Cecchi wrote: > On Mon, Jul 10, 2017 at 1:40 PM, Gianluca Cecchi > wrote: >> >> >> On Mon, Jul 10, 2017 at 12:42 PM, Gianluca Cecchi >> wrote: >>> >>> >>> >>> Do you understand why my engine vm remains in "Booting from Hard Disk" >>> screen from these lo

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Gianluca Cecchi
On Mon, Jul 10, 2017 at 1:40 PM, Gianluca Cecchi wrote: > > On Mon, Jul 10, 2017 at 12:42 PM, Gianluca Cecchi < > gianluca.cec...@gmail.com> wrote: > >> >> >> Do you understand why my engine vm remains in "Booting from Hard Disk" >> screen from these logs? >> >> Thanks, >> Gianluca >> > > > One o

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Gianluca Cecchi
On Mon, Jul 10, 2017 at 12:42 PM, Gianluca Cecchi wrote: > > > Do you understand why my engine vm remains in "Booting from Hard Disk" > screen from these logs? > > Thanks, > Gianluca > One of possible causes of my engine unable to boot up could be this? In 4.1.2 I was already in 7.3 and with t

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-10 Thread Gianluca Cecchi
On Mon, Jul 10, 2017 at 8:11 AM, Yedidyah Bar David wrote: > On Sun, Jul 9, 2017 at 11:12 PM, Gianluca Cecchi > wrote: > > > > > > On Sun, Jul 9, 2017 at 9:54 PM, Gianluca Cecchi < > gianluca.cec...@gmail.com> > > wrote: > >> > >> Hello. > >> I'm on 4.1.3 with self hosted engine and glusterfs as

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-09 Thread Yedidyah Bar David
On Sun, Jul 9, 2017 at 11:12 PM, Gianluca Cecchi wrote: > > > On Sun, Jul 9, 2017 at 9:54 PM, Gianluca Cecchi > wrote: >> >> Hello. >> I'm on 4.1.3 with self hosted engine and glusterfs as storage. >> I updated the kernel on engine so I executed these steps: >> >> - enable global maintenace from

Re: [ovirt-users] 2 hosts starting the engine at the same time?

2017-07-09 Thread Gianluca Cecchi
On Sun, Jul 9, 2017 at 9:54 PM, Gianluca Cecchi wrote: > Hello. > I'm on 4.1.3 with self hosted engine and glusterfs as storage. > I updated the kernel on engine so I executed these steps: > > - enable global maintenace from the web admin gui > - wait some minutes > - shutdown the engine vm from

[ovirt-users] 2 hosts starting the engine at the same time?

2017-07-09 Thread Gianluca Cecchi
Hello. I'm on 4.1.3 with self hosted engine and glusterfs as storage. I updated the kernel on engine so I executed these steps: - enable global maintenace from the web admin gui - wait some minutes - shutdown the engine vm from inside its OS - wait some minutes - execute on one host [root@ovirt02