[one-users] VM status to unknown after switching to Ganglia

Olivier Sallou olivier.sallou at irisa.fr
Mon Apr 2 02:49:42 PDT 2012


I have moved to Ganglia monitoring.

My VM are in unknown status.

Indeed, after a migration to a ganglia monitored host (not all
configured for the moment) I see in VM logs:

on Apr  2 11:37:36 2012 [VMM][I]: Successfully execute network driver operation: post.
Mon Apr  2 11:37:36 2012 [LCM][I]: New VM state is RUNNING
Mon Apr  2 11:40:17 2012 [VMM][I]: ExitCode: 0
Mon Apr  2 11:40:17 2012 [VMM][I]: VM running but it was not found. Restart and delete actions available or try to recover it manually
Mon Apr  2 11:40:17 2012 [LCM][I]: New VM state is UNKNOWN


I can see the metric OPENNEBULA_VMS_INFORMATION  in my host on ganglia
Once decoded I see:

one-177:
  :state: a
  :nettx: 300
  :usedcpu: "1.5"
  :name: one-177
  :usedmemory: 4096000
  :netrx: 80622

However, in sunstone and onevm I see the unknown status:

oneadmin at genokvm4:/tmp$ onevm show 177
VIRTUAL MACHINE 177
INFORMATION                                                
ID                  : 177                
NAME                : test2              
USER                : oneadmin           
GROUP               : oneadmin           
STATE               : ACTIVE             
LCM_STATE           : UNKNOWN            
HOSTNAME            : genokvm4           
START TIME          : 04/02 11:27:23     
END TIME            : -                  
DEPLOY ID           : one-177            

VIRTUAL MACHINE
MONITORING                                                     
NET_TX              : 0                  
NET_RX              : 0                  
USED MEMORY         : 0                  
USED CPU            : 0                  

PERMISSIONS                                                                    

OWNER               : um-                
GROUP               : ---                
OTHER               : ---                

VIRTUAL MACHINE
TEMPLATE                                                       
CONTEXT=[
  BROADCAST=192.168.2.255,
  DNS=192.168.2.91,
  DOMAIN=genouest.org,
  FILES=/home/genouest/admin/oneadmin/keys/0.pub,
  GATEWAY=192.168.2.90,
  HOSTNAME=VM-177,
  IP=192.168.2.23,
  NETWORK=192.168.2.0,
  TARGET=hdb,
  USERNAME=0 ]
CPU=2
DISK=[
  BUS=ide,
  CLONE=YES,
  DISK_ID=0,
  IMAGE=debian,
  IMAGE_ID=35,
  IMAGE_UNAME=oneadmin,
  READONLY=NO,
  SAVE=NO,
  SOURCE=/var/lib/one/images/5b46dddb7011cb645a95e0d861396280,
  TARGET=hda,
  TYPE=DISK ]
GRAPHICS=[
  KEYMAP=fr,
  PORT=6077,
  TYPE=vnc ]
MEMORY=4000
NAME=test2
NIC=[
  BRIDGE=br0,
  IP=192.168.2.23,
  MAC=00:04:c0:a8:02:17,
  NETWORK=genouest,
  NETWORK_ID=2,
  NETWORK_UNAME=oneadmin,
  VLAN=NO ]
OS=[
  ARCH=x86_64,
  BOOT=hd ]
RAW=[
  TYPE=kvm ]
TEMPLATE_ID=2
VMID=177

VIRTUAL MACHINE
HISTORY                                                        
 SEQ        HOSTNAME REASON           START        TIME       PTIME
   0        genokvm7   user  04/02 11:27:53 00 00:09:38 00 00:02:11
   1        genokvm4   none  04/02 11:37:21 00 00:09:22 00 00:00:00


Olivier

-- 


gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120402/4f8594f8/attachment-0002.htm>


More information about the Users mailing list