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:[email protected]] 
Sent: Sunday, December 14, 2014 4:16 AM
To: [email protected]
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

Reply via email to