Re: [ovirt-users] How to reset vm from unknown state?

2014-07-28 Thread Omer Frenkel


- Original Message -
 From: Arman Khalatyan arm2...@gmail.com
 To: users users@ovirt.org
 Sent: Friday, July 25, 2014 9:37:55 PM
 Subject: [ovirt-users] How to reset vm from unknown state?
 
 
 
 Hi. My nfs storage got problems and one of the vms went to unknown state.
 Other vms on the same storage were back to normal state.
 Are there way to reset state of vm???
 I am using ovirt 3.4.0-1 with centos6.5
 
 Thenks.
 Arman
 On Jul 25, 2014 7:47 PM, Brian Proffitt  bprof...@redhat.com  wrote:
 

vm in 'unknown' usually means the host it is running on is in 'non responsive' 
state.
i suggest to understand what is wrong with the host, why is it not responding? 
(vds stuck? connection issues?)
worst case you can try and restart the host, once it will return to UP the vm 
will be free again.
let me know if it does not help

Omer.

 ___
 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: [ovirt-users] How to reset vm from unknown state?

2014-07-28 Thread Tomas Jelinek
Hi Arman,

you can do this:
1: migrate all the running VMs out of the host on which the VM with unknown 
state is
2: reboot the host
3: if you have power management configured than it should be it
4: if not than you need to do a manual fence (e.g. in webadmin in hosts tab 
right click a host and pick confirm host has been rebooted)

3/4 should turn the VM into the down state.

Tomas

- Original Message -
 From: Arman Khalatyan arm2...@gmail.com
 To: users users@ovirt.org
 Sent: Friday, July 25, 2014 8:37:55 PM
 Subject: [ovirt-users] How to reset vm from unknown state?
 
 
 
 Hi. My nfs storage got problems and one of the vms went to unknown state.
 Other vms on the same storage were back to normal state.
 Are there way to reset state of vm???
 I am using ovirt 3.4.0-1 with centos6.5
 
 Thenks.
 Arman
 On Jul 25, 2014 7:47 PM, Brian Proffitt  bprof...@redhat.com  wrote:
 
 ___
 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: [ovirt-users] How to reset vm from unknown state?

2014-07-28 Thread Michal Skrivanek

On Jul 25, 2014, at 20:37 , Arman Khalatyan arm2...@gmail.com wrote:

 Hi. My nfs storage got problems and one of the vms went to unknown state. 
 Other vms on the same storage were back to normal state.

is the host running that VM ok?
It seems like it's not. Can you reboot it? (supposing it may be blocked on 
storage access, or stale NFS handle if NFS, etc…)

Thanks,
michal

 Are there way to reset state of vm???
 I am using ovirt 3.4.0-1 with centos6.5
 
 Thenks.
 Arman
 
 On Jul 25, 2014 7:47 PM, Brian Proffitt bprof...@redhat.com wrote:
 ___
 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: [ovirt-users] How to reset vm from unknown state?

2014-07-28 Thread Federico Alberto Sayd

On 25/07/14 15:37, Arman Khalatyan wrote:


Hi. My nfs storage got problems and one of the vms went to unknown 
state. Other vms on the same storage were back to normal state.

Are there way to reset state of vm???
I am using ovirt 3.4.0-1 with centos6.5

Thenks.
Arman

On Jul 25, 2014 7:47 PM, Brian Proffitt bprof...@redhat.com 
mailto:bprof...@redhat.com wrote:



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

Did you tried restarting ovirt-engine service?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to reset vm from unknown state?

2014-07-28 Thread Arman Khalatyan
Thank you for Ideas,
To clarify the situation:
I have a cluster with 2 hosts:C1 and C2.With stroage on ZFS(d1) and
XFS(d2) both are with nfs mounted.
d1 was away all and VMs where paused or unknown mode.
After recovery d1 one VM with CentOS 7 didnot come back it stay in
ovirt-engine gut always in unknown state(with icon ?).
I just tested to be sure the bare metal hosts are ok: Movind around
some VMs from c1-c2 and disks d1-d2 .
I just rebooted hosts using maintenance mode+reinstall, then reboot by IPMI.
seems to me database of ovirt did not recognize that this VMhost needs
to be in offline or down state.
Over the web-gui I am not able to delete or reboot the VM.
Can I somehow change VM state to down in the database? Is it normal practice?

Thanks,
Arman.


On Mon, Jul 28, 2014 at 2:40 PM, Michal Skrivanek
michal.skriva...@redhat.com wrote:

 On Jul 25, 2014, at 20:37 , Arman Khalatyan arm2...@gmail.com wrote:

 Hi. My nfs storage got problems and one of the vms went to unknown state. 
 Other vms on the same storage were back to normal state.

 is the host running that VM ok?
 It seems like it's not. Can you reboot it? (supposing it may be blocked on 
 storage access, or stale NFS handle if NFS, etc…)

 Thanks,
 michal

 Are there way to reset state of vm???
 I am using ovirt 3.4.0-1 with centos6.5

 Thenks.
 Arman

 On Jul 25, 2014 7:47 PM, Brian Proffitt bprof...@redhat.com wrote:
 ___
 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


[ovirt-users] How to reset vm from unknown state?

2014-07-25 Thread Arman Khalatyan
Hi. My nfs storage got problems and one of the vms went to unknown state.
Other vms on the same storage were back to normal state.
Are there way to reset state of vm???
I am using ovirt 3.4.0-1 with centos6.5

Thenks.
Arman
On Jul 25, 2014 7:47 PM, Brian Proffitt bprof...@redhat.com wrote:
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users