You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Tejas Sheth <ts...@gmail.com> on 2014/12/14 10:15:54 UTC

SSVM weird behavior

Hello guyz,

  we were doing HA testing for xenservers. when SSVM restarted to another
host in cloudstack VM State stuck to "STARTING" but agent state is "UP" . I
tried to upload and ISO to secondary storage which is working fine.

  is it because cloudstakc was not able to update the record in VM_instance
table?

 Which table i have to modify to change the VM status from "Starting" to
"UP"?

Thanks,
Tejas

RE: SSVM weird behavior

Posted by Tejas Sheth <ts...@gmail.com>.
Thanks somesh.
On Dec 16, 2014 9:45 PM, "Somesh Naidu" <So...@citrix.com> wrote:

> VM state is reflected in "vm_instance" table. You could update the state
> using the following SQL:
> update vm_instance set state='Up', host_id=<host_id> where id=<vm_id>;
> //host_id is where the VM is running
>
> Agent status is reflected in "host table". Make sure the entries in the
> two tables correctly correspond to each other.
>
> I would recommend to check all network interfaces (specially the
> private/link-local IP) are sending/receiving traffic. It would also benefit
> to run the ssvm diagnostic tool to check for any discrepancy.
>
> -----Original Message-----
> From: Tejas Sheth [mailto:tsheth.p@gmail.com]
> Sent: Sunday, December 14, 2014 4:16 AM
> To: users@cloudstack.apache.org
> Subject: SSVM weird behavior
>
> Hello guyz,
>
>   we were doing HA testing for xenservers. when SSVM restarted to another
> host in cloudstack VM State stuck to "STARTING" but agent state is "UP" . I
> tried to upload and ISO to secondary storage which is working fine.
>
>   is it because cloudstakc was not able to update the record in VM_instance
> table?
>
>  Which table i have to modify to change the VM status from "Starting" to
> "UP"?
>
> Thanks,
> Tejas
>

RE: SSVM weird behavior

Posted by Somesh Naidu <So...@citrix.com>.
VM state is reflected in "vm_instance" table. You could update the state using the following SQL:
update vm_instance set state='Up', host_id=<host_id> where id=<vm_id>; //host_id is where the VM is running

Agent status is reflected in "host table". Make sure the entries in the two tables correctly correspond to each other.

I would recommend to check all network interfaces (specially the private/link-local IP) are sending/receiving traffic. It would also benefit to run the ssvm diagnostic tool to check for any discrepancy.

-----Original Message-----
From: Tejas Sheth [mailto:tsheth.p@gmail.com] 
Sent: Sunday, December 14, 2014 4:16 AM
To: users@cloudstack.apache.org
Subject: SSVM weird behavior

Hello guyz,

  we were doing HA testing for xenservers. when SSVM restarted to another
host in cloudstack VM State stuck to "STARTING" but agent state is "UP" . I
tried to upload and ISO to secondary storage which is working fine.

  is it because cloudstakc was not able to update the record in VM_instance
table?

 Which table i have to modify to change the VM status from "Starting" to
"UP"?

Thanks,
Tejas