[ovirt-users] HostedEngine with HA
Carlos Rodrigues
cmar at eurotux.com
Thu Aug 18 10:11:36 UTC 2016
On Thu, 2016-08-18 at 11:53 +0200, Simone Tiraboschi wrote:
>
>
> On Thu, Aug 18, 2016 at 11:50 AM, Carlos Rodrigues <cmar at eurotux.com>
> wrote:
> > On Thu, 2016-08-18 at 11:42 +0200, Simone Tiraboschi wrote:
> > > On Thu, Aug 18, 2016 at 11:25 AM, Carlos Rodrigues <cmar at eurotux.
> > > com> wrote:
> > > >
> > > > On Thu, 2016-08-18 at 11:04 +0200, Simone Tiraboschi wrote:
> > > > >
> > > > > On Thu, Aug 18, 2016 at 10:36 AM, Carlos Rodrigues <cmar at euro
> > > > > tux.com>
> > > > > wrote:
> > > > > >
> > > > > >
> > > > > > On Thu, 2016-08-18 at 10:27 +0200, Simone Tiraboschi wrote:
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Aug 18, 2016 at 10:22 AM, Carlos Rodrigues <cmar@
> > > > > > > eurotux.
> > > > > > > com>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, 2016-08-18 at 08:54 +0200, Simone Tiraboschi
> > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Tue, Aug 16, 2016 at 12:53 PM, Carlos Rodrigues <c
> > > > > > > > > mar at euro
> > > > > > > > > tux.
> > > > > > > > > com>
> > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Sun, 2016-08-14 at 14:22 +0300, Roy Golan wrote:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On 12 August 2016 at 20:23, Carlos Rodrigues <cma
> > > > > > > > > > > r at eurotu
> > > > > > > > > > > x.co
> > > > > > > > > > > m>
> > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hello,
> > > > > > > > > > > >
> > > > > > > > > > > > I have one cluster with two hosts with power
> > > > > > > > > > > > management
> > > > > > > > > > > > correctly
> > > > > > > > > > > > configured and one virtual machine with
> > > > > > > > > > > > HostedEngine
> > > > > > > > > > > > over
> > > > > > > > > > > > shared
> > > > > > > > > > > > storage with FiberChannel.
> > > > > > > > > > > >
> > > > > > > > > > > > When i shutdown the network of host with
> > > > > > > > > > > > HostedEngine
> > > > > > > > > > > > VM, it
> > > > > > > > > > > > should be
> > > > > > > > > > > > possible the HostedEngine VM migrate
> > > > > > > > > > > > automatically to
> > > > > > > > > > > > another
> > > > > > > > > > > > host?
> > > > > > > > > > > >
> > > > > > > > > > > migrate on which network?
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > What is the expected behaviour on this HA
> > > > > > > > > > > > scenario?
> > > > > > > > > > >
> > > > > > > > > > > After a few minutes your vm will be shutdown by
> > > > > > > > > > > the High
> > > > > > > > > > > Availability
> > > > > > > > > > > agent, as it can't see network, and started on
> > > > > > > > > > > another
> > > > > > > > > > > host.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I'm testing this scenario and after shutdown
> > > > > > > > > > network, it
> > > > > > > > > > should
> > > > > > > > > > be
> > > > > > > > > > expected that agent shutdown ha and started on
> > > > > > > > > > another
> > > > > > > > > > host,
> > > > > > > > > > but
> > > > > > > > > > after
> > > > > > > > > > couple minutes nothing happens and on host with
> > > > > > > > > > network we
> > > > > > > > > > getting
> > > > > > > > > > the
> > > > > > > > > > following messages:
> > > > > > > > > >
> > > > > > > > > > Aug 16 11:44:08 ied-blade11.install.eurotux.local
> > > > > > > > > > ovirt-ha-
> > > > > > > > > > agent[2779]:
> > > > > > > > > > ovirt-ha-agent
> > > > > > > > > > ovirt_hosted_engine_ha.agent.hosted_engine.HostedEn
> > > > > > > > > > gine.con
> > > > > > > > > > fig
> > > > > > > > > > ERROR
> > > > > > > > > > Unable to get vm.conf from OVF_STORE, falling back
> > > > > > > > > > to
> > > > > > > > > > initial
> > > > > > > > > > vm.conf
> > > > > > > > > >
> > > > > > > > > > I think the HA agent its trying to get vm
> > > > > > > > > > configuration but
> > > > > > > > > > some
> > > > > > > > > > how it
> > > > > > > > > > can't get vm.conf to start VM.
> > > > > > > > >
> > > > > > > > > No, this is a different issues.
> > > > > > > > > In 3.6 we added a feature to let the engine manage
> > > > > > > > > also the
> > > > > > > > > engine VM
> > > > > > > > > itself; ovirt-ha-agent will pickup the latest engine
> > > > > > > > > VM
> > > > > > > > > configuration
> > > > > > > > > from the OVF_STORE which is managed by the engine.
> > > > > > > > > If something goes wrong, ovirt-ha-agent could
> > > > > > > > > fallback to the
> > > > > > > > > initial
> > > > > > > > > (bootstrap time) vm.conf. This will normally happen
> > > > > > > > > till you
> > > > > > > > > add
> > > > > > > > > your
> > > > > > > > > first regular storage domain and the engine imports
> > > > > > > > > the
> > > > > > > > > engine
> > > > > > > > > VM.
> > > > > > > >
> > > > > > > > But i already have my first storage domain and storage
> > > > > > > > engine
> > > > > > > > domain
> > > > > > > > and already imported engine VM.
> > > > > > > >
> > > > > > > > I'm using 4.0 version.
> > > > > > >
> > > > > > > This seams an issue, can you please share your
> > > > > > > /var/log/ovirt-hosted-engine-ha/agent.log ?
> > > > > > >
> > > > > >
> > > > > > I sent it in attachment.
> > > > >
> > > > > Nothing strange here;
> > > > > do you see a couple of disks with alias OVF_STORE on the
> > > > > hosted-
> > > > > engine
> > > > > storage domain if you check it from the engine?
> > > > >
> > > >
> > > > Do you mean any disk label?
> > > > I don't have it anyone:
> > > >
> > > > [root at ied-blade11 ~]# ls /dev/disk/by-label/
> > > > ls: cannot access /dev/disk/by-label/: No such file or
> > > > directory
> > >
> > > No I mean: go to the engine web-ui, select the hosted-engine
> > > storage
> > > domain, check the disks there.
> >
> > No, the alias is virtio-disk0.
> >
>
> And this is the engine VM disk, so the issue is why the engine has
> still to create the OVF_STORE.
> Can you please share your engine.log from the engine VM?
>
Go in attachment.
>
> >
> >
> > >
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Carlos Rodrigues
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Regards,
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Carlos Rodrigues
> > > > > > > > > > > >
> > > > > > > > > > > > Engenheiro de Software Sénior
> > > > > > > > > > > >
> > > > > > > > > > > > Eurotux Informática, S.A. | www.eurotux.com
> > > > > > > > > > > > (t) +351 253 680 300 (m) +351 911 926 110
> > > > > > > > > > > >
> > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > Users mailing list
> > > > > > > > > > > > Users at ovirt.org
> > > > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Carlos Rodrigues
> > > > > > > > > >
> > > > > > > > > > Engenheiro de Software Sénior
> > > > > > > > > >
> > > > > > > > > > Eurotux Informática, S.A. | www.eurotux.com
> > > > > > > > > > (t) +351 253 680 300 (m) +351 911 926 110
> > > > > > > > > >
> > > > > > > > > > _______________________________________________
> > > > > > > > > > Users mailing list
> > > > > > > > > > Users at ovirt.org
> > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > --
> > > > > > > > Carlos Rodrigues
> > > > > > > >
> > > > > > > > Engenheiro de Software Sénior
> > > > > > > >
> > > > > > > > Eurotux Informática, S.A. | www.eurotux.com
> > > > > > > > (t) +351 253 680 300 (m) +351 911 926 110
> > > > > > > >
> > > > > > --
> > > > > > Carlos Rodrigues
> > > > > >
> > > > > > Engenheiro de Software Sénior
> > > > > >
> > > > > > Eurotux Informática, S.A. | www.eurotux.com
> > > > > > (t) +351 253 680 300 (m) +351 911 926 110
> > > > --
> > > > Carlos Rodrigues
> > > >
> > > > Engenheiro de Software Sénior
> > > >
> > > > Eurotux Informática, S.A. | www.eurotux.com
> > > > (t) +351 253 680 300 (m) +351 911 926 110
> > > >
> > --
> > Carlos Rodrigues
> >
> > Engenheiro de Software Sénior
> >
> > Eurotux Informática, S.A. | www.eurotux.com
> > (t) +351 253 680 300 (m) +351 911 926 110
> >
> >
>
--
Carlos Rodrigues
Engenheiro de Software Sénior
Eurotux Informática, S.A. | www.eurotux.com
(t) +351 253 680 300 (m) +351 911 926 110
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine.log.gz
Type: application/gzip
Size: 685950 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160818/15495175/attachment-0001.bin>
More information about the Users
mailing list