[Users] VM Status "Unknown"

Omer Frenkel ofrenkel at redhat.com
Wed Mar 26 13:32:42 UTC 2014


----- Original Message -----

> From: "Simon Barrett" <Simon.Barrett at tradingscreen.com>
> To: "Omer Frenkel" <ofrenkel at redhat.com>
> Cc: "Meital Bourvine" <mbourvin at redhat.com>, users at ovirt.org
> Sent: Wednesday, March 26, 2014 11:26:51 AM
> Subject: RE: [Users] VM Status "Unknown"

> I tried that but it is the last node connected to the storage device and I
> get the following:

> Manual fence did not revoke the selected SPM (ln2-lvb-002.mgt) since the
> master storage domain was not

> active or could not use another host for the fence operation.

> I just wondered if there was a way to force VM and/or Host removal?

well you need at least one active host to use the system, 
i dont think you can clear this state without another host. 

> Thanks,

> Simon

> From: Omer Frenkel [mailto:ofrenkel at redhat.com]
> Sent: 26 March 2014 09:10
> To: Simon Barrett
> Cc: Meital Bourvine; users at ovirt.org
> Subject: Re: [Users] VM Status "Unknown"

> ----- Original Message -----

> > From: "Simon Barrett" < Simon.Barrett at tradingscreen.com >
> 
> > To: "Omer Frenkel" < ofrenkel at redhat.com >, "Meital Bourvine" <
> > mbourvin at redhat.com >
> 
> > Cc: users at ovirt.org
> 
> > Sent: Wednesday, March 26, 2014 10:44:15 AM
> 
> > Subject: RE: [Users] VM Status "Unknown"
> 

> > Was this ever resolved? I have a similar situation where a node was reset
> > while a VM was running on it. Now the VM is in an unknown state and I
> > cannot
> > stop/start etc. I also cannot put the node into maintenance mode as it
> > thinks it still has running VM’s
> 

> > [oVirt shell (connected)]# list vms --query
> > "id=807593a5-8667-4265-a0ab-b3e37feb1fc1" --show-all | grep status
> 

> > status-state : unknown
> 

> > [oVirt shell (connected)]# action vm 807593a5-8667-4265-a0ab-b3e37feb1fc1
> > stop
> 

> > ============================ ERROR ====================================
> 

> > status: 409
> 

> > reason: Conflict
> 

> > detail: Cannot stop VM. VM is not running.
> 

> > =======================================================================
> 

> > [oVirt shell (connected)]# action host d3a555b1-b5dd-48d1-802c-03096bdf8b00
> > deactivate
> 

> > ============================ ERROR ====================================
> 

> > status: 409
> 

> > reason: Conflict
> 

> > detail: Cannot switch Host to Maintenance mode.
> 

> > Host still has running VMs on it and is in Non Responsive state.
> 

> > =======================================================================
> 

> > Thanks,
> 

> your host in non-responsive, means the engine cant verify its status and the
> vms status on it.

> if you dont have power management (i guess you dont) and you absolutely sure
> the vms are really not running there anymore

> you can mark the host as been rebooted, and clear the its state.

> in the UI - right click the host and choose "confirm rebooted"

> in rest i think its called manual fence

> > From: users-bounces at ovirt.org [ mailto:users-bounces at ovirt.org ] On Behalf
> > Of
> > Omer Frenkel
> 
> > Sent: 12 January 2014 08:47
> 
> > To: Meital Bourvine
> 
> > Cc: users at ovirt.org
> 
> > Subject: Re: [Users] VM Status "Unknown"
> 

> > > From: "Meital Bourvine" < mbourvin at redhat.com >
> > 
> 
> > > To: "Ryan Womer" < Ryan.Womer at cytechservices.com >
> > 
> 
> > > Cc: users at ovirt.org
> > 
> 
> > > Sent: Friday, January 10, 2014 11:54:51 AM
> > 
> 
> > > Subject: Re: [Users] VM Status "Unknown"
> > 
> 

> > > Can you please provide vdsm.log (of both hosts) and engine.log?
> > 
> 

> > also, what version are you using?
> 

> > we had some bugs around this solved for 3.3
> 

> > > > From: "Ryan Womer" < Ryan.Womer at cytechservices.com >
> > > 
> > 
> 
> > > > To: users at ovirt.org
> > > 
> > 
> 
> > > > Sent: Thursday, January 9, 2014 10:43:37 PM
> > > 
> > 
> 
> > > > Subject: [Users] VM Status "Unknown"
> > > 
> > 
> 

> > > > During a migration, the destination host lost connectivity to the san
> > > > and
> > > > crashed.
> > > 
> > 
> 

> > > > Once the server came back up, 3 VMs that didn’t finish migrating have
> > > > been
> > > > stuck in status “Unknown.” Vdsclient doesn’t list any of the vms on
> > > > either
> > > > host. Qemu doesn’t have them listed as mounted on either host. Action
> > > > vm
> > > > start and stop result in “Status: 409”.
> > > 
> > 
> 

> > > > The disks for all 3 VMs are listed as green in the WebAdmin. I’ve tried
> > > > “action vm <name> start” “action vm <name> stop” “update vm <name>
> > > > --status-state down” no joy. They remain in “unknown.”
> > > 
> > 
> 

> > > > _______________________________________________
> > > 
> > 
> 
> > > > Users mailing list
> > > 
> > 
> 
> > > > Users at ovirt.org
> > > 
> > 
> 
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> > 
> 
> > > _______________________________________________
> > 
> 
> > > Users mailing list
> > 
> 
> > > Users at ovirt.org
> > 
> 
> > > http://lists.ovirt.org/mailman/listinfo/users
> > 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140326/26e1f8bd/attachment-0001.html>


More information about the Users mailing list