Re: [Users] VM Status Unknown

2014-03-26 Thread Simon Barrett
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,



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




From: Meital Bourvine mbour...@redhat.commailto:mbour...@redhat.com
To: Ryan Womer 
ryan.wo...@cytechservices.commailto:ryan.wo...@cytechservices.com
Cc: users@ovirt.orgmailto:users@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.wo...@cytechservices.commailto:ryan.wo...@cytechservices.com
To: users@ovirt.orgmailto:users@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@ovirt.orgmailto:Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.orgmailto:Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM Status Unknown

2014-03-26 Thread Gadi Ickowicz
If you are sure that the host (node) running the vm has reset, and the vm is no 
longer running on that host you can select the host and manually Confirm host 
has been rebooted (from the webadmin, not sure exactly how to do it from 
ovirt-shell).

Gadi Ickowicz

- Original Message -
From: Simon Barrett simon.barr...@tradingscreen.com
To: Omer Frenkel ofren...@redhat.com, Meital Bourvine 
mbour...@redhat.com
Cc: users@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, 








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














From: Meital Bourvine  mbour...@redhat.com  
To: Ryan Womer  ryan.wo...@cytechservices.com  
Cc: users@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.wo...@cytechservices.com  
To: users@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@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 






___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM Status Unknown

2014-03-26 Thread Omer Frenkel
- Original Message -

 From: Simon Barrett simon.barr...@tradingscreen.com
 To: Omer Frenkel ofren...@redhat.com, Meital Bourvine
 mbour...@redhat.com
 Cc: users@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-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
 Omer Frenkel
 Sent: 12 January 2014 08:47
 To: Meital Bourvine
 Cc: users@ovirt.org
 Subject: Re: [Users] VM Status Unknown

 - Original Message -

  From: Meital Bourvine  mbour...@redhat.com 
 
  To: Ryan Womer  ryan.wo...@cytechservices.com 
 
  Cc: users@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

  - Original Message -
 

   From: Ryan Womer  ryan.wo...@cytechservices.com 
  
 
   To: users@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@ovirt.org
  
 
   http://lists.ovirt.org/mailman/listinfo/users
  
 

  ___
 
  Users mailing list
 
  Users@ovirt.org
 
  http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM Status Unknown

2014-03-26 Thread Simon Barrett
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?

Thanks,

Simon

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




From: Simon Barrett 
simon.barr...@tradingscreen.commailto:simon.barr...@tradingscreen.com
To: Omer Frenkel ofren...@redhat.commailto:ofren...@redhat.com, Meital 
Bourvine mbour...@redhat.commailto:mbour...@redhat.com
Cc: users@ovirt.orgmailto:users@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-boun...@ovirt.orgmailto:users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] On Behalf Of Omer Frenkel
Sent: 12 January 2014 08:47
To: Meital Bourvine
Cc: users@ovirt.orgmailto:users@ovirt.org
Subject: Re: [Users] VM Status Unknown



From: Meital Bourvine mbour...@redhat.commailto:mbour...@redhat.com
To: Ryan Womer 
ryan.wo...@cytechservices.commailto:ryan.wo...@cytechservices.com
Cc: users@ovirt.orgmailto:users@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.wo...@cytechservices.commailto:ryan.wo...@cytechservices.com
To: users@ovirt.orgmailto:users@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@ovirt.orgmailto:Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.orgmailto:Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM Status Unknown

2014-03-26 Thread Omer Frenkel
- Original Message -

 From: Simon Barrett simon.barr...@tradingscreen.com
 To: Omer Frenkel ofren...@redhat.com
 Cc: Meital Bourvine mbour...@redhat.com, users@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:ofren...@redhat.com]
 Sent: 26 March 2014 09:10
 To: Simon Barrett
 Cc: Meital Bourvine; users@ovirt.org
 Subject: Re: [Users] VM Status Unknown

 - Original Message -

  From: Simon Barrett  simon.barr...@tradingscreen.com 
 
  To: Omer Frenkel  ofren...@redhat.com , Meital Bourvine 
  mbour...@redhat.com 
 
  Cc: users@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-boun...@ovirt.org [ mailto:users-boun...@ovirt.org ] On Behalf
  Of
  Omer Frenkel
 
  Sent: 12 January 2014 08:47
 
  To: Meital Bourvine
 
  Cc: users@ovirt.org
 
  Subject: Re: [Users] VM Status Unknown
 

   From: Meital Bourvine  mbour...@redhat.com 
  
 
   To: Ryan Womer  ryan.wo...@cytechservices.com 
  
 
   Cc: users@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.wo...@cytechservices.com 
   
  
 
To: users@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@ovirt.org
   
  
 
http://lists.ovirt.org/mailman/listinfo/users
   
  
 
   ___
  
 
   Users mailing list
  
 
   Users@ovirt.org
  
 
   http://lists.ovirt.org/mailman/listinfo/users
  
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM Status Unknown

2014-01-10 Thread Meital Bourvine
Can you please provide vdsm.log (of both hosts) and engine.log? 

- Original Message -

 From: Ryan Womer ryan.wo...@cytechservices.com
 To: users@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users