VMs cannot be started, stuck in migration

I recently had my IB switch go down which brought down all storage connections. As a result all VMs were either paused or entered an unknown state. After many hours they are all finally in the "off" state according to the web GUI. When I try and start some VMs I get the following message: "Cannot run VM. VM ns01 is being migrated". There are 0 tasks in the web GUI and the state in web GUI is "off" for that VM. The engine.log just shows this line: 2014-10-21 11:32:17,274 INFO [org.ovirt.engine.core.bll.RunVmCommand] (ajp--127.0.0.1-8702-4) [3f235291] Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: 552aa31c-249e-46fe-9bcb-efd135aff4a6 value: VM , sharedLocks= ] 2014-10-21 11:32:17,276 WARN [org.ovirt.engine.core.bll.RunVmCommand] (ajp--127.0.0.1-8702-4) [3f235291] CanDoAction of action RunVm failed. Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_BEING_MIGRATED,$VmName ns01 Suggestions?

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21.10.2014 18:39, Trey Dockendorf wrote:
I recently had my IB switch go down which brought down all storage connections. As a result all VMs were either paused or entered an unknown state. After many hours they are all finally in the "off" state according to the web GUI.
Suggestions?
the fastest, but dirtiest way would be to restart the engine, as some vms might be hung in some stale state, you could also try to check the status in the db. there where some postings on the mailing list on how to do so. but afaik restarting engine might clear those stale vms. hth sven -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQGcBAEBAgAGBQJURp8AAAoJEAq0kGAWDrqluaoL+QEWdb+ypmEMVNNW1nZVZUxz 4apynzZgpQwv0cHgWc7ajhy79wUZoz1OCDWONyebUOM3Db0aY97dF+POaZbERJ7s 8Q53WG0fiZMF9XX4qkFtgBb1/aJuRjm3uMM5e7cRO/iiaIu90mCTX+OPy+pCgvfM r8LA7J4li2vap5lj2G01yAT8DzufcTVqzcf+RB4hsKmg8xnyHCh832L/Vh8Z+IHS 18Sviu8VvVqdmwLcwa04dTBuslmcK970nHt0H1OFFW25OW7eT5RacALU+hRQUui0 i7pzZvgNpbnEZwStnggdp4zW5EvIW5FJcEBbxvcqtt081g+c19sxgO1qUllXr8+b qbxjdlRIlMsLbZJUylpEkPRpInpV75I0XmwtV7oYo7315QG9pOS2Z7qIfcQjD6f5 MK38V4zfhjUIG0k5nhPjs+bxbjGzCcYAPMqd9VkwZ8X7fa9ZL6vqCpZdBb4StNDB xAjd87NjM7yam6AT1eYUoO4sSmEAXrWEn29G7f5yJQ== =TdQI -----END PGP SIGNATURE-----

Thanks for the response. Restarting engine was something I found when searching too, but now I'm in much worse shape as I can't get my storage domains back online. There's another thread for that. - Trey On Tue, Oct 21, 2014 at 12:59 PM, Sven Kieske <svenkieske@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 21.10.2014 18:39, Trey Dockendorf wrote:
I recently had my IB switch go down which brought down all storage connections. As a result all VMs were either paused or entered an unknown state. After many hours they are all finally in the "off" state according to the web GUI.
Suggestions?
the fastest, but dirtiest way would be to restart the engine, as some vms might be hung in some stale state, you could also try to check the status in the db.
there where some postings on the mailing list on how to do so.
but afaik restarting engine might clear those stale vms.
hth
sven
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQGcBAEBAgAGBQJURp8AAAoJEAq0kGAWDrqluaoL+QEWdb+ypmEMVNNW1nZVZUxz 4apynzZgpQwv0cHgWc7ajhy79wUZoz1OCDWONyebUOM3Db0aY97dF+POaZbERJ7s 8Q53WG0fiZMF9XX4qkFtgBb1/aJuRjm3uMM5e7cRO/iiaIu90mCTX+OPy+pCgvfM r8LA7J4li2vap5lj2G01yAT8DzufcTVqzcf+RB4hsKmg8xnyHCh832L/Vh8Z+IHS 18Sviu8VvVqdmwLcwa04dTBuslmcK970nHt0H1OFFW25OW7eT5RacALU+hRQUui0 i7pzZvgNpbnEZwStnggdp4zW5EvIW5FJcEBbxvcqtt081g+c19sxgO1qUllXr8+b qbxjdlRIlMsLbZJUylpEkPRpInpV75I0XmwtV7oYo7315QG9pOS2Z7qIfcQjD6f5 MK38V4zfhjUIG0k5nhPjs+bxbjGzCcYAPMqd9VkwZ8X7fa9ZL6vqCpZdBb4StNDB xAjd87NjM7yam6AT1eYUoO4sSmEAXrWEn29G7f5yJQ== =TdQI -----END PGP SIGNATURE----- _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Sven Kieske
-
Trey Dockendorf