[hosted-engine] engine VM didn't migrate to the fresh upgraded host

Hi, I followed this instruction: http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engi... However, when I exited the global maintenance mode in step 7 and waited for about 15 minutes, the engine VM still doesn't migrate to the fresh upgraded host. BTW, after step 6, did I have to put the host out of its local maintenance mode? The instruction didn't state this so I guess it's a special case when upgrading and didn't do anything. [root@host01 me]# hosted-engine --vm-status --== Host 1 status ==-- Status up-to-date : True Hostname : host01.ovirt.forest.go.th Host ID : 1 Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} Score : 0 stopped : False Local maintenance : True crc32 : 33cc9d8c Host timestamp : 4993624 --== Host 2 status ==-- Status up-to-date : True Hostname : host02.ovirt.forest.go.th Host ID : 2 Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} Score : 3400 stopped : False Local maintenance : False crc32 : 6dc9b311 Host timestamp : 4244063 --== Host 3 status ==-- Status up-to-date : True Hostname : host03.ovirt.forest.go.th Host ID : 3 Engine status : {"health": "good", "vm": "up", "detail": "up"} Score : 3400 stopped : False Local maintenance : False crc32 : 29513baf Host timestamp : 5537027 Thank you -- Wee

On Thu, Jul 7, 2016 at 7:17 AM, Wee Sritippho <wee.s@forest.go.th> wrote:
Hi, I followed this instruction:
http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engi...
However, when I exited the global maintenance mode in step 7 and waited for about 15 minutes, the engine VM still doesn't migrate to the fresh upgraded host.
In you case it didn't migrated since both host-2 and host-3 were already at 3400 points and so there wasn't any reason to migrate.
BTW, after step 6, did I have to put the host out of its local maintenance mode? The instruction didn't state this so I guess it's a special case when upgrading and didn't do anything.
hosted-engine --set-maintenance --mode=none will also exit local maintenance mode.
[root@host01 me]# hosted-engine --vm-status
--== Host 1 status ==--
Status up-to-date : True Hostname : host01.ovirt.forest.go.th Host ID : 1 Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} Score : 0 stopped : False Local maintenance : True crc32 : 33cc9d8c Host timestamp : 4993624
--== Host 2 status ==--
Status up-to-date : True Hostname : host02.ovirt.forest.go.th Host ID : 2 Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} Score : 3400 stopped : False Local maintenance : False crc32 : 6dc9b311 Host timestamp : 4244063
--== Host 3 status ==--
Status up-to-date : True Hostname : host03.ovirt.forest.go.th Host ID : 3 Engine status : {"health": "good", "vm": "up", "detail": "up"} Score : 3400 stopped : False Local maintenance : False crc32 : 29513baf Host timestamp : 5537027
Thank you
-- Wee
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 7/7/2559 15:41, Simone Tiraboschi wrote:
On Thu, Jul 7, 2016 at 7:17 AM, Wee Sritippho <wee.s@forest.go.th> wrote:
Hi, I followed this instruction:
http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engi...
However, when I exited the global maintenance mode in step 7 and waited for about 15 minutes, the engine VM still doesn't migrate to the fresh upgraded host. In you case it didn't migrated since both host-2 and host-3 were already at 3400 points and so there wasn't any reason to migrate.
BTW, after step 6, did I have to put the host out of its local maintenance mode? The instruction didn't state this so I guess it's a special case when upgrading and didn't do anything. hosted-engine --set-maintenance --mode=none will also exit local maintenance mode.
I didn't type the command line but right click on engine vm, and choose 'Disable Global HA Maintenance Mode'. Could this be the cause that prevent engine vm from migrating? I'm suffering from this. Didn't wait until the engine vm migrate, and when upgrading the last host (which the engine vm live in), the host stuck at "Preparing For Maintenance" forever.
[root@host01 me]# hosted-engine --vm-status
--== Host 1 status ==--
Status up-to-date : True Hostname : host01.ovirt.forest.go.th Host ID : 1 Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} Score : 0 stopped : False Local maintenance : True crc32 : 33cc9d8c Host timestamp : 4993624
--== Host 2 status ==--
Status up-to-date : True Hostname : host02.ovirt.forest.go.th Host ID : 2 Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} Score : 3400 stopped : False Local maintenance : False crc32 : 6dc9b311 Host timestamp : 4244063
--== Host 3 status ==--
Status up-to-date : True Hostname : host03.ovirt.forest.go.th Host ID : 3 Engine status : {"health": "good", "vm": "up", "detail": "up"} Score : 3400 stopped : False Local maintenance : False crc32 : 29513baf Host timestamp : 5537027
Thank you
-- Wee
-- Wee
participants (2)
-
Simone Tiraboschi
-
Wee Sritippho