Ok, The direct change in the database did the trick.
engine=# update vm_dynamic set status = 0 where vm_guid =(select
vm_guid from vm_static where vm_name = 'myvm');
after this I can start and stop from gui.
Thanks,
Arman.
On Tue, Jul 29, 2014 at 9:34 AM, Arman Khalatyan <arm2arm(a)gmail.com> wrote:
I try to disable iptables same situation.
Yes Ovirt-engine on separate host was restarted. No change of status
of this one vm.
Other two vms are ok.
a.
On Tue, Jul 29, 2014 at 6:11 AM, xiec.fnst(a)cn.fujitsu.com
<xiec.fnst(a)cn.fujitsu.com> wrote:
> Hi Arman
> I met some problem like u because of firewall. Then I shutdown iptables and
VMs' state are normal .
> Hope to help u.
>
>
> -----邮件原件-----
> 发件人: users-bounces(a)ovirt.org [mailto:users-bounces@ovirt.org] 代表 Arman Khalatyan
> 发送时间: 2014年7月29日 0:47
> 收件人: Michal Skrivanek
> 抄送: users
> 主题: Re: [ovirt-users] How to reset vm from unknown state?
>
> 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.skrivanek(a)redhat.com>
wrote:
>>
>> On Jul 25, 2014, at 20:37 , Arman Khalatyan <arm2arm(a)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"
<bproffit(a)redhat.com> wrote:
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users