Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2012-12-03 13:49:05,914 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) Executing: /bin/bash -c qemu-img create -f qcow2 -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/1ebe7ffc-fef8-4f93-bb38-dfb0f09feb98 /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226
- 2012-12-03 13:49:05,989 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:49:05,998 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Seq 1-1384382479: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 110, [{"storage.CreateAnswer":{"volume":{"id":7,"name":"/export/primary","mountPoint":"ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226","path":"ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"157108d3-89be-333c-9ead-f3d19dfd2367","deviceId":0},"requestTemplateReload":false,"result":true,"wait":0}}] }
- 2012-12-03 13:49:06,048 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Request:Seq 1-1384382480: { Cmd , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100111, [{"storage.DestroyCommand":{"vmName":"v-6-VM","volume":{"id":6,"name":"ROOT-6","mountPoint":"/export/primary","path":"03774651-7330-4180-83f1-a6f729c9e927","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"157108d3-89be-333c-9ead-f3d19dfd2367","deviceId":0},"wait":0}}] }
- 2012-12-03 13:49:06,049 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.storage.DestroyCommand
- 2012-12-03 13:49:06,091 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Seq 1-1384382480: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 110, [{"Answer":{"result":true,"details":"Success","wait":0}}] }
- 2012-12-03 13:49:06,160 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Request:Seq 1-1384382481: { Cmd , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100111, [{"StartCommand":{"vm":{"id":7,"name":"s-7-VM","type":"SecondaryStorageVm","cpus":1,"speed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=secstorage host=172.16.0.10 port=8250 name=s-7-VM zone=1 pod=1 guid=s-7-VM resource=com.cloud.storage.resource.NfsSecondaryStorageResource instance=SecStorage sslcopy=true role=templateProcessor mtu=1500 eth2ip=72.249.143.74 eth2mask=255.255.255.192 gateway=72.249.143.65 public.network.device=eth2 eth0ip=169.254.0.204 eth0mask=255.255.0.0 eth1ip=172.16.1.28 eth1mask=255.255.0.0 mgmtcidr=172.16.0.0/16 localgw=172.16.0.1 private.network.device=eth1 eth3ip=172.16.1.110 eth3mask=255.255.0.0 storageip=172.16.1.110 storagenetmask=255.255.0.0 storagegateway=172.16.0.1 internaldns1=172.16.0.10 dns1=8.8.8.8 dns2=4.4.4.4","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"ce5d9f6e7191cbb5","params":{},"uuid":"d1c20596-44c7-4be4-8936-e396920acc08","disks":[{"id":7,"name":"/export/primary","mountPoint":"ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226","path":"ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"157108d3-89be-333c-9ead-f3d19dfd2367","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"90afaff3-cfe5-486b-89b7-8e0f586f892a","ip":"72.249.143.74","netmask":"255.255.255.192","gateway":"72.249.143.65","mac":"06:40:72:00:01:03","dns1":"8.8.8.8","dns2":"4.4.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://10","isolationUri":"vlan://10","isSecurityGroupEnabled":false,"name":"cloudbr1"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"0f54e029-b683-4eeb-a6ab-a83ebc6767e9","ip":"169.254.0.204","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:00:cc","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"afd00148-bc1b-4d5d-8bf2-4676791e8d23","ip":"172.16.1.28","netmask":"255.255.0.0","gateway":"172.16.0.1","mac":"06:a3:0a:00:00:1c","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false,"name":"cloudbr0"},{"deviceId":3,"networkRateMbps":-1,"defaultNic":false,"uuid":"8a7c5890-8ba1-4c1c-bc4e-259e1fc41db2","ip":"172.16.1.110","netmask":"255.255.0.0","gateway":"172.16.0.1","mac":"06:c1:5c:00:00:6e","broadcastType":"Native","type":"Storage","isSecurityGroupEnabled":false,"name":"cloudbr0"}]},"wait":0}},{"check.CheckSshCommand":{"ip":"169.254.0.204","port":3922,"interval":6,"retries":100,"name":"s-7-VM","wait":0}}] }
- 2012-12-03 13:49:06,160 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.StartCommand
- 2012-12-03 13:49:06,385 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) generating new patch disk for s-7-VM since none was found
- 2012-12-03 13:49:06,385 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) <volume>
- <name>s-7-VM-patchdisk</name>
- <capacity >10485760</capacity>
- <target>
- <format type='raw'/>
- <permissions><mode>0744</mode></permissions></target>
- </volume>
- 2012-12-03 13:49:06,403 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Executing: /usr/lib/cloud/common/scripts/storage/qcow2/createvm.sh -f /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- 2012-12-03 13:49:06,479 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Execution is successful.
- 2012-12-03 13:49:06,482 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/rundomrpre.sh -l s-7-VM -t all -d /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk -p %template=domP%type=secstorage%host=172.16.0.10%port=8250%name=s-7-VM%zone=1%pod=1%guid=s-7-VM%resource=com.cloud.storage.resource.NfsSecondaryStorageResource%instance=SecStorage%sslcopy=true%role=templateProcessor%mtu=1500%eth2ip=72.249.143.74%eth2mask=255.255.255.192%gateway=72.249.143.65%public.network.device=eth2%eth0ip=169.254.0.204%eth0mask=255.255.0.0%eth1ip=172.16.1.28%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%private.network.device=eth1%eth3ip=172.16.1.110%eth3mask=255.255.0.0%storageip=172.16.1.110%storagenetmask=255.255.0.0%storagegateway=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- 2012-12-03 13:49:16,887 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Execution is successful.
- 2012-12-03 13:49:16,889 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) + pubKey=/root/.ssh/id_rsa.pub.cloud
- + lflag=
- + dflag=
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + lflag=1
- + vmname=s-7-VM
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + tflag=1
- + vmtype=all
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + dflag=1
- + rootdisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + pflag=1
- + cmdline=%template=domP%type=secstorage%host=172.16.0.10%port=8250%name=s-7-VM%zone=1%pod=1%guid=s-7-VM%resource=com.cloud.storage.resource.NfsSecondaryStorageResource%instance=SecStorage%sslcopy=true%role=templateProcessor%mtu=1500%eth2ip=72.249.143.74%eth2mask=255.255.255.192%gateway=72.249.143.65%public.network.device=eth2%eth0ip=169.254.0.204%eth0mask=255.255.0.0%eth1ip=172.16.1.28%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%private.network.device=eth1%eth3ip=172.16.1.110%eth3mask=255.255.0.0%storageip=172.16.1.110%storagenetmask=255.255.0.0%storagegateway=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + '[' 111 '!=' 111 ']'
- + '[' all = all ']'
- + mount_raw_disk s-7-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- + local vmname=s-7-VM
- + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- ++ mntpath s-7-VM
- ++ local vmname=s-7-VM
- ++ '[' '!' -d /mnt/s-7-VM ']'
- ++ mkdir -p /mnt/s-7-VM
- ++ echo /mnt/s-7-VM
- + local path=/mnt/s-7-VM
- + '[' '!' -f /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk -a '!' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk ']'
- + retry=10
- + '[' 10 -gt 0 ']'
- + '[' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk ']'
- + mount /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk /mnt/s-7-VM -o loop
- + ret=0
- + sleep 10
- + '[' 0 -gt 0 ']'
- + break
- + return 0
- + '[' 0 -gt 0 ']'
- + patch_all s-7-VM %template=domP%type=secstorage%host=172.16.0.10%port=8250%name=s-7-VM%zone=1%pod=1%guid=s-7-VM%resource=com.cloud.storage.resource.NfsSecondaryStorageResource%instance=SecStorage%sslcopy=true%role=templateProcessor%mtu=1500%eth2ip=72.249.143.74%eth2mask=255.255.255.192%gateway=72.249.143.65%public.network.device=eth2%eth0ip=169.254.0.204%eth0mask=255.255.0.0%eth1ip=172.16.1.28%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%private.network.device=eth1%eth3ip=172.16.1.110%eth3mask=255.255.0.0%storageip=172.16.1.110%storagenetmask=255.255.0.0%storagegateway=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4 /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- + local vmname=s-7-VM
- + local cmdline=%template=domP%type=secstorage%host=172.16.0.10%port=8250%name=s-7-VM%zone=1%pod=1%guid=s-7-VM%resource=com.cloud.storage.resource.NfsSecondaryStorageResource%instance=SecStorage%sslcopy=true%role=templateProcessor%mtu=1500%eth2ip=72.249.143.74%eth2mask=255.255.255.192%gateway=72.249.143.65%public.network.device=eth2%eth0ip=169.254.0.204%eth0mask=255.255.0.0%eth1ip=172.16.1.28%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%private.network.device=eth1%eth3ip=172.16.1.110%eth3mask=255.255.0.0%storageip=172.16.1.110%storagenetmask=255.255.0.0%storagegateway=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- ++ mntpath s-7-VM
- ++ local vmname=s-7-VM
- ++ '[' '!' -d /mnt/s-7-VM ']'
- ++ echo /mnt/s-7-VM
- + local path=/mnt/s-7-VM
- + '[' -f /root/.ssh/id_rsa.pub.cloud ']'
- + cp /root/.ssh/id_rsa.pub.cloud /mnt/s-7-VM/authorized_keys
- + echo %template=domP%type=secstorage%host=172.16.0.10%port=8250%name=s-7-VM%zone=1%pod=1%guid=s-7-VM%resource=com.cloud.storage.resource.NfsSecondaryStorageResource%instance=SecStorage%sslcopy=true%role=templateProcessor%mtu=1500%eth2ip=72.249.143.74%eth2mask=255.255.255.192%gateway=72.249.143.65%public.network.device=eth2%eth0ip=169.254.0.204%eth0mask=255.255.0.0%eth1ip=172.16.1.28%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%private.network.device=eth1%eth3ip=172.16.1.110%eth3mask=255.255.0.0%storageip=172.16.1.110%storagenetmask=255.255.0.0%storagegateway=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- + sed -i 's/%/\ /g' /mnt/s-7-VM/cmdline
- + return 0
- + umount_raw_disk s-7-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- + local vmname=s-7-VM
- + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
- ++ mntpath s-7-VM
- ++ local vmname=s-7-VM
- ++ '[' '!' -d /mnt/s-7-VM ']'
- ++ echo /mnt/s-7-VM
- + local path=/mnt/s-7-VM
- + retry=10
- + sync
- + '[' 10 -gt 0 ']'
- + umount /mnt/s-7-VM
- + '[' 0 -gt 0 ']'
- + rm -rf /mnt/s-7-VM
- + break
- + return 0
- + exit 0
- 2012-12-03 13:49:16,890 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Control-169.254.0.204-null]
- 2012-12-03 13:49:16,891 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) Executing: /bin/bash -c ip route | grep 169.254.0.0/16
- 2012-12-03 13:49:16,914 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) Execution is successful.
- 2012-12-03 13:49:16,916 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) Executing: /bin/sh -c brctl show|grep cloud0
- 2012-12-03 13:49:16,937 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) Execution is successful.
- 2012-12-03 13:49:16,939 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Management-172.16.1.28-null]
- 2012-12-03 13:49:16,939 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Public-72.249.143.74-vlan://10]
- 2012-12-03 13:49:16,940 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) Executing: /usr/lib/cloud/common/scripts/vm/network/vnet/modifyvlan.sh -v 10 -p bond1 -o add
- 2012-12-03 13:49:16,986 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) Execution is successful.
- 2012-12-03 13:49:16,988 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
- 2012-12-03 13:49:16,988 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Storage-172.16.1.110-null]
- 2012-12-03 13:49:16,989 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) starting s-7-VM: <domain type='kvm'>
- <name>s-7-VM</name>
- <uuid>dcfc6315-7ddf-3b46-82a7-994ab47f6f97</uuid>
- <description>Debian GNU/Linux 5.0 (32-bit)</description>
- <clock offset='utc'>
- </clock>
- <features>
- <pae/>
- <apic/>
- <acpi/>
- </features>
- <devices>
- <emulator>/usr/bin/kvm</emulator>
- <interface type='bridge'>
- <source bridge='cloud0'/>
- <mac address='0e:00:a9:fe:00:cc'/>
- <model type='virtio'/>
- </interface>
- <interface type='bridge'>
- <source bridge='cloudbr0'/>
- <mac address='06:a3:0a:00:00:1c'/>
- <model type='virtio'/>
- </interface>
- <interface type='bridge'>
- <source bridge='cloudVirBr10'/>
- <mac address='06:40:72:00:01:03'/>
- <model type='virtio'/>
- </interface>
- <interface type='bridge'>
- <source bridge='cloudbr0'/>
- <mac address='06:c1:5c:00:00:6e'/>
- <model type='virtio'/>
- </interface>
- <serial type='pty'>
- <target port='0'/>
- </serial>
- <graphics type='vnc' autoport='yes' listen='' />
- <disk device='disk' type='file'>
- <driver name='qemu' type='qcow2' cache='none' />
- <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226'/>
- <target dev='vda' bus='virtio'/>
- </disk>
- <disk device='disk' type='file'>
- <driver name='qemu' type='raw' cache='none' />
- <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk'/>
- <target dev='vdb' bus='virtio'/>
- </disk>
- <console type='pty'>
- <target port='0'/>
- </console>
- <input type='tablet' bus='usb'/>
- </devices>
- <memory>262144</memory>
- <vcpu>1</vcpu>
- <os>
- <type arch='x86_64' machine='pc'>hvm</type>
- <boot dev='cdrom'/>
- <boot dev='hd'/>
- </os>
- <cputune>
- <shares>500</shares>
- </cputune>
- <on_reboot>restart</on_reboot>
- <on_poweroff>destroy</on_poweroff>
- <on_crash>destroy</on_crash>
- </domain>
- 2012-12-03 13:49:20,574 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.check.CheckSshCommand
- 2012-12-03 13:49:20,575 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Ping command port, 169.254.0.204:3922
- 2012-12-03 13:49:20,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
- 2012-12-03 13:49:23,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Could not connect to 169.254.0.204
- 2012-12-03 13:49:23,670 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-12-03 13:49:27,765 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-12-03 13:49:27,765 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-12-03 13:49:28,307 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:49:28,309 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-12-03 13:49:28,330 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:49:28,332 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-12-03 13:49:28,351 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:49:28,352 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-12-03 13:49:28,370 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:49:28,371 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-12-03 13:49:28,388 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:49:33,576 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
- 2012-12-03 13:49:36,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Could not connect to 169.254.0.204
- 2012-12-03 13:49:46,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
- 2012-12-03 13:49:46,577 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Could not connect to 169.254.0.204
- 2012-12-03 13:49:56,577 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
- 2012-12-03 13:49:56,579 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Ping command port succeeded for vm s-7-VM
- 2012-12-03 13:49:56,598 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Seq 1-1384382481: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":7,"name":"s-7-VM","type":"SecondaryStorageVm","cpus":1,"speed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=secstorage host=172.16.0.10 port=8250 name=s-7-VM zone=1 pod=1 guid=s-7-VM resource=com.cloud.storage.resource.NfsSecondaryStorageResource instance=SecStorage sslcopy=true role=templateProcessor mtu=1500 eth2ip=72.249.143.74 eth2mask=255.255.255.192 gateway=72.249.143.65 public.network.device=eth2 eth0ip=169.254.0.204 eth0mask=255.255.0.0 eth1ip=172.16.1.28 eth1mask=255.255.0.0 mgmtcidr=172.16.0.0/16 localgw=172.16.0.1 private.network.device=eth1 eth3ip=172.16.1.110 eth3mask=255.255.0.0 storageip=172.16.1.110 storagenetmask=255.255.0.0 storagegateway=172.16.0.1 internaldns1=172.16.0.10 dns1=8.8.8.8 dns2=4.4.4.4","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"ce5d9f6e7191cbb5","params":{},"uuid":"d1c20596-44c7-4be4-8936-e396920acc08","disks":[{"id":7,"name":"/export/primary","mountPoint":"ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226","path":"ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"157108d3-89be-333c-9ead-f3d19dfd2367","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"90afaff3-cfe5-486b-89b7-8e0f586f892a","ip":"72.249.143.74","netmask":"255.255.255.192","gateway":"72.249.143.65","mac":"06:40:72:00:01:03","dns1":"8.8.8.8","dns2":"4.4.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://10","isolationUri":"vlan://10","isSecurityGroupEnabled":false,"name":"cloudbr1"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"0f54e029-b683-4eeb-a6ab-a83ebc6767e9","ip":"169.254.0.204","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:00:cc","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"afd00148-bc1b-4d5d-8bf2-4676791e8d23","ip":"172.16.1.28","netmask":"255.255.0.0","gateway":"172.16.0.1","mac":"06:a3:0a:00:00:1c","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false,"name":"cloudbr0"},{"deviceId":3,"networkRateMbps":-1,"defaultNic":false,"uuid":"8a7c5890-8ba1-4c1c-bc4e-259e1fc41db2","ip":"172.16.1.110","netmask":"255.255.0.0","gateway":"172.16.0.1","mac":"06:c1:5c:00:00:6e","broadcastType":"Native","type":"Storage","isSecurityGroupEnabled":false,"name":"cloudbr0"}]},"result":true,"wait":0}},{"check.CheckSshAnswer":{"result":true,"wait":0}}] }
- 2012-12-03 13:49:56,620 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Request:Seq 1-1384382484: { Cmd , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100111, [{"storage.CreateCommand":{"volId":8,"pool":{"id":200,"uuid":"157108d3-89be-333c-9ead-f3d19dfd2367","host":"172.16.0.5","path":"/export/primary","port":2049,"type":"NetworkFilesystem"},"diskCharacteristics":{"size":0,"tags":[],"type":"ROOT","name":"ROOT-8","useLocalStorage":false,"recreatable":true,"diskOfferingId":8,"volumeId":8,"hyperType":"KVM"},"templateUrl":"1ebe7ffc-fef8-4f93-bb38-dfb0f09feb98","wait":0}}] }
- 2012-12-03 13:49:56,620 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.storage.CreateCommand
- 2012-12-03 13:49:56,655 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) <volume>
- <name>05528d5c-0528-4bf8-813b-6b4b5240fc0c</name>
- <capacity >2097152000</capacity>
- <target>
- <format type='qcow2'/>
- <permissions><mode>0744</mode></permissions></target>
- </volume>
- 2012-12-03 13:49:56,711 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) Executing: /bin/bash -c qemu-img create -f qcow2 -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/1ebe7ffc-fef8-4f93-bb38-dfb0f09feb98 /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/05528d5c-0528-4bf8-813b-6b4b5240fc0c
- 2012-12-03 13:49:56,784 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:49:56,790 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Seq 1-1384382484: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 110, [{"storage.CreateAnswer":{"volume":{"id":8,"name":"/export/primary","mountPoint":"05528d5c-0528-4bf8-813b-6b4b5240fc0c","path":"05528d5c-0528-4bf8-813b-6b4b5240fc0c","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"157108d3-89be-333c-9ead-f3d19dfd2367","deviceId":0},"requestTemplateReload":false,"result":true,"wait":0}}] }
- 2012-12-03 13:49:56,871 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Request:Seq 1-1384382485: { Cmd , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100111, [{"StartCommand":{"vm":{"id":8,"name":"v-8-VM","type":"ConsoleProxy","cpus":1,"speed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy host=172.16.0.10 port=8250 name=v-8-VM premium=true zone=1 pod=1 guid=Proxy.8 proxy_vm=8 disable_rp_filter=true eth2ip=72.249.143.71 eth2mask=255.255.255.192 gateway=72.249.143.65 eth0ip=169.254.0.254 eth0mask=255.255.0.0 eth1ip=172.16.1.81 eth1mask=255.255.0.0 mgmtcidr=172.16.0.0/16 localgw=172.16.0.1 internaldns1=172.16.0.10 dns1=8.8.8.8 dns2=4.4.4.4","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"d79c4d357082b3c0","params":{},"uuid":"bd917c36-66d5-48e4-8de3-36c0e032a5e6","disks":[{"id":8,"name":"/export/primary","mountPoint":"05528d5c-0528-4bf8-813b-6b4b5240fc0c","path":"05528d5c-0528-4bf8-813b-6b4b5240fc0c","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"157108d3-89be-333c-9ead-f3d19dfd2367","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"9a1f7f04-fe85-439e-b759-0a15d62a6e17","ip":"72.249.143.71","netmask":"255.255.255.192","gateway":"72.249.143.65","mac":"06:54:9c:00:01:00","dns1":"8.8.8.8","dns2":"4.4.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://10","isolationUri":"vlan://10","isSecurityGroupEnabled":false,"name":"cloudbr1"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"111276e6-aa9b-408f-9408-2aeab6d6879d","ip":"169.254.0.254","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:00:fe","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"52624b3a-5501-4e2e-bbd6-779994998e3c","ip":"172.16.1.81","netmask":"255.255.0.0","gateway":"172.16.0.1","mac":"06:e7:a4:00:00:51","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false,"name":"cloudbr0"}]},"wait":0}},{"check.CheckSshCommand":{"ip":"169.254.0.254","port":3922,"interval":6,"retries":100,"name":"v-8-VM","wait":0}}] }
- 2012-12-03 13:49:56,872 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.StartCommand
- 2012-12-03 13:49:57,090 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) generating new patch disk for v-8-VM since none was found
- 2012-12-03 13:49:57,091 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) <volume>
- <name>v-8-VM-patchdisk</name>
- <capacity >10485760</capacity>
- <target>
- <format type='raw'/>
- <permissions><mode>0744</mode></permissions></target>
- </volume>
- 2012-12-03 13:49:57,107 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Executing: /usr/lib/cloud/common/scripts/storage/qcow2/createvm.sh -f /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- 2012-12-03 13:49:57,185 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:49:57,188 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/rundomrpre.sh -l v-8-VM -t all -d /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk -p %template=domP%type=consoleproxy%host=172.16.0.10%port=8250%name=v-8-VM%premium=true%zone=1%pod=1%guid=Proxy.8%proxy_vm=8%disable_rp_filter=true%eth2ip=72.249.143.71%eth2mask=255.255.255.192%gateway=72.249.143.65%eth0ip=169.254.0.254%eth0mask=255.255.0.0%eth1ip=172.16.1.81%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- 2012-12-03 13:49:57,469 DEBUG [kvm.resource.KVMHAMonitor] (Thread-9:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh -i 172.16.0.5 -p /export/primary -m /mnt/157108d3-89be-333c-9ead-f3d19dfd2367 -h 172.16.0.11
- 2012-12-03 13:49:57,502 DEBUG [kvm.resource.KVMHAMonitor] (Thread-9:null) Execution is successful.
- 2012-12-03 13:50:00,021 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Ignoring VM v-8-VM in transition state starting.
- 2012-12-03 13:50:00,022 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib/cloud/common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-12-03 13:50:00,161 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-12-03 13:50:00,165 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 1-5: { Cmd , MgmtId: -1, via: 1, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":1,"wait":0}}] }
- 2012-12-03 13:50:00,212 DEBUG [cloud.agent.Agent] (Agent-Handler-2:null) Received response: Seq 1-5: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":1,"wait":0},"result":true,"wait":0}}] }
- 2012-12-03 13:50:07,496 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:50:07,497 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) + pubKey=/root/.ssh/id_rsa.pub.cloud
- + lflag=
- + dflag=
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + lflag=1
- + vmname=v-8-VM
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + tflag=1
- + vmtype=all
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + dflag=1
- + rootdisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + case $OPTION in
- + pflag=1
- + cmdline=%template=domP%type=consoleproxy%host=172.16.0.10%port=8250%name=v-8-VM%premium=true%zone=1%pod=1%guid=Proxy.8%proxy_vm=8%disable_rp_filter=true%eth2ip=72.249.143.71%eth2mask=255.255.255.192%gateway=72.249.143.65%eth0ip=169.254.0.254%eth0mask=255.255.0.0%eth1ip=172.16.1.81%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
- + '[' 111 '!=' 111 ']'
- + '[' all = all ']'
- + mount_raw_disk v-8-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- + local vmname=v-8-VM
- + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- ++ mntpath v-8-VM
- ++ local vmname=v-8-VM
- ++ '[' '!' -d /mnt/v-8-VM ']'
- ++ mkdir -p /mnt/v-8-VM
- ++ echo /mnt/v-8-VM
- + local path=/mnt/v-8-VM
- + '[' '!' -f /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk -a '!' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk ']'
- + retry=10
- + '[' 10 -gt 0 ']'
- + '[' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk ']'
- + mount /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk /mnt/v-8-VM -o loop
- + ret=0
- + sleep 10
- + '[' 0 -gt 0 ']'
- + break
- + return 0
- + '[' 0 -gt 0 ']'
- + patch_all v-8-VM %template=domP%type=consoleproxy%host=172.16.0.10%port=8250%name=v-8-VM%premium=true%zone=1%pod=1%guid=Proxy.8%proxy_vm=8%disable_rp_filter=true%eth2ip=72.249.143.71%eth2mask=255.255.255.192%gateway=72.249.143.65%eth0ip=169.254.0.254%eth0mask=255.255.0.0%eth1ip=172.16.1.81%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4 /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- + local vmname=v-8-VM
- + local cmdline=%template=domP%type=consoleproxy%host=172.16.0.10%port=8250%name=v-8-VM%premium=true%zone=1%pod=1%guid=Proxy.8%proxy_vm=8%disable_rp_filter=true%eth2ip=72.249.143.71%eth2mask=255.255.255.192%gateway=72.249.143.65%eth0ip=169.254.0.254%eth0mask=255.255.0.0%eth1ip=172.16.1.81%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- ++ mntpath v-8-VM
- ++ local vmname=v-8-VM
- ++ '[' '!' -d /mnt/v-8-VM ']'
- ++ echo /mnt/v-8-VM
- + local path=/mnt/v-8-VM
- + '[' -f /root/.ssh/id_rsa.pub.cloud ']'
- + cp /root/.ssh/id_rsa.pub.cloud /mnt/v-8-VM/authorized_keys
- + echo %template=domP%type=consoleproxy%host=172.16.0.10%port=8250%name=v-8-VM%premium=true%zone=1%pod=1%guid=Proxy.8%proxy_vm=8%disable_rp_filter=true%eth2ip=72.249.143.71%eth2mask=255.255.255.192%gateway=72.249.143.65%eth0ip=169.254.0.254%eth0mask=255.255.0.0%eth1ip=172.16.1.81%eth1mask=255.255.0.0%mgmtcidr=172.16.0.0/16%localgw=172.16.0.1%internaldns1=172.16.0.10%dns1=8.8.8.8%dns2=4.4.4.4
- + sed -i 's/%/\ /g' /mnt/v-8-VM/cmdline
- + return 0
- + umount_raw_disk v-8-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- + local vmname=v-8-VM
- + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
- ++ mntpath v-8-VM
- ++ local vmname=v-8-VM
- ++ '[' '!' -d /mnt/v-8-VM ']'
- ++ echo /mnt/v-8-VM
- + local path=/mnt/v-8-VM
- + retry=10
- + sync
- + '[' 10 -gt 0 ']'
- + umount /mnt/v-8-VM
- + '[' 0 -gt 0 ']'
- + rm -rf /mnt/v-8-VM
- + break
- + return 0
- + exit 0
- 2012-12-03 13:50:07,498 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) nic=[Nic:Control-169.254.0.254-null]
- 2012-12-03 13:50:07,498 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing: /bin/bash -c ip route | grep 169.254.0.0/16
- 2012-12-03 13:50:07,523 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:50:07,525 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing: /bin/sh -c brctl show|grep cloud0
- 2012-12-03 13:50:07,549 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:50:07,551 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) nic=[Nic:Management-172.16.1.81-null]
- 2012-12-03 13:50:07,551 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) nic=[Nic:Public-72.249.143.71-vlan://10]
- 2012-12-03 13:50:07,551 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) Executing: /usr/lib/cloud/common/scripts/vm/network/vnet/modifyvlan.sh -v 10 -p bond1 -o add
- 2012-12-03 13:50:07,598 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:50:07,599 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
- 2012-12-03 13:50:07,600 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) starting v-8-VM: <domain type='kvm'>
- <name>v-8-VM</name>
- <uuid>5660f148-d886-33ba-841f-6ae54af14bff</uuid>
- <description>Debian GNU/Linux 5.0 (32-bit)</description>
- <clock offset='utc'>
- </clock>
- <features>
- <pae/>
- <apic/>
- <acpi/>
- </features>
- <devices>
- <emulator>/usr/bin/kvm</emulator>
- <interface type='bridge'>
- <source bridge='cloud0'/>
- <mac address='0e:00:a9:fe:00:fe'/>
- <model type='virtio'/>
- </interface>
- <interface type='bridge'>
- <source bridge='cloudbr0'/>
- <mac address='06:e7:a4:00:00:51'/>
- <model type='virtio'/>
- </interface>
- <interface type='bridge'>
- <source bridge='cloudVirBr10'/>
- <mac address='06:54:9c:00:01:00'/>
- <model type='virtio'/>
- </interface>
- <serial type='pty'>
- <target port='0'/>
- </serial>
- <graphics type='vnc' autoport='yes' listen='' />
- <disk device='disk' type='file'>
- <driver name='qemu' type='qcow2' cache='none' />
- <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/05528d5c-0528-4bf8-813b-6b4b5240fc0c'/>
- <target dev='vda' bus='virtio'/>
- </disk>
- <disk device='disk' type='file'>
- <driver name='qemu' type='raw' cache='none' />
- <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk'/>
- <target dev='vdb' bus='virtio'/>
- </disk>
- <console type='pty'>
- <target port='0'/>
- </console>
- <input type='tablet' bus='usb'/>
- </devices>
- <memory>1048576</memory>
- <vcpu>1</vcpu>
- <os>
- <type arch='x86_64' machine='pc'>hvm</type>
- <boot dev='cdrom'/>
- <boot dev='hd'/>
- </os>
- <cputune>
- <shares>500</shares>
- </cputune>
- <on_reboot>restart</on_reboot>
- <on_poweroff>destroy</on_poweroff>
- <on_crash>destroy</on_crash>
- </domain>
- 2012-12-03 13:50:10,763 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.check.CheckSshCommand
- 2012-12-03 13:50:10,763 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Ping command port, 169.254.0.254:3922
- 2012-12-03 13:50:10,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
- 2012-12-03 13:50:13,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Could not connect to 169.254.0.254
- 2012-12-03 13:50:23,746 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-12-03 13:50:23,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
- 2012-12-03 13:50:26,762 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Could not connect to 169.254.0.254
- 2012-12-03 13:50:28,441 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-12-03 13:50:28,441 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-12-03 13:50:28,990 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:50:28,992 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-12-03 13:50:29,019 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:50:29,021 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-12-03 13:50:29,046 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:50:29,047 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-12-03 13:50:29,065 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:50:29,066 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-12-03 13:50:29,087 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:50:36,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
- 2012-12-03 13:50:36,765 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Could not connect to 169.254.0.254
- 2012-12-03 13:50:46,765 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
- 2012-12-03 13:50:46,767 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Ping command port succeeded for vm v-8-VM
- 2012-12-03 13:50:46,786 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Seq 1-1384382485: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":8,"name":"v-8-VM","type":"ConsoleProxy","cpus":1,"speed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy host=172.16.0.10 port=8250 name=v-8-VM premium=true zone=1 pod=1 guid=Proxy.8 proxy_vm=8 disable_rp_filter=true eth2ip=72.249.143.71 eth2mask=255.255.255.192 gateway=72.249.143.65 eth0ip=169.254.0.254 eth0mask=255.255.0.0 eth1ip=172.16.1.81 eth1mask=255.255.0.0 mgmtcidr=172.16.0.0/16 localgw=172.16.0.1 internaldns1=172.16.0.10 dns1=8.8.8.8 dns2=4.4.4.4","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"d79c4d357082b3c0","params":{},"uuid":"bd917c36-66d5-48e4-8de3-36c0e032a5e6","disks":[{"id":8,"name":"/export/primary","mountPoint":"05528d5c-0528-4bf8-813b-6b4b5240fc0c","path":"05528d5c-0528-4bf8-813b-6b4b5240fc0c","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"157108d3-89be-333c-9ead-f3d19dfd2367","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"9a1f7f04-fe85-439e-b759-0a15d62a6e17","ip":"72.249.143.71","netmask":"255.255.255.192","gateway":"72.249.143.65","mac":"06:54:9c:00:01:00","dns1":"8.8.8.8","dns2":"4.4.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://10","isolationUri":"vlan://10","isSecurityGroupEnabled":false,"name":"cloudbr1"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"111276e6-aa9b-408f-9408-2aeab6d6879d","ip":"169.254.0.254","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:00:fe","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"52624b3a-5501-4e2e-bbd6-779994998e3c","ip":"172.16.1.81","netmask":"255.255.0.0","gateway":"172.16.0.1","mac":"06:e7:a4:00:00:51","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false,"name":"cloudbr0"}]},"result":true,"wait":0}},{"check.CheckSshAnswer":{"result":true,"wait":0}}] }
- 2012-12-03 13:50:57,505 DEBUG [kvm.resource.KVMHAMonitor] (Thread-10:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh -i 172.16.0.5 -p /export/primary -m /mnt/157108d3-89be-333c-9ead-f3d19dfd2367 -h 172.16.0.11
- 2012-12-03 13:50:57,544 DEBUG [kvm.resource.KVMHAMonitor] (Thread-10:null) Execution is successful.
- 2012-12-03 13:51:00,029 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib/cloud/common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-12-03 13:51:00,202 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-12-03 13:51:00,206 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 1-6: { Cmd , MgmtId: -1, via: 1, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":1,"wait":0}}] }
- 2012-12-03 13:51:00,216 DEBUG [cloud.agent.Agent] (Agent-Handler-3:null) Received response: Seq 1-6: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":1,"wait":0},"result":true,"wait":0}}] }
- 2012-12-03 13:51:23,827 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-12-03 13:51:29,136 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-12-03 13:51:29,137 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-12-03 13:51:29,700 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:51:29,701 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-12-03 13:51:29,723 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:51:29,725 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-12-03 13:51:29,745 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:51:29,746 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-12-03 13:51:29,765 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:51:29,766 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-12-03 13:51:29,785 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:51:57,546 DEBUG [kvm.resource.KVMHAMonitor] (Thread-11:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh -i 172.16.0.5 -p /export/primary -m /mnt/157108d3-89be-333c-9ead-f3d19dfd2367 -h 172.16.0.11
- 2012-12-03 13:51:57,585 DEBUG [kvm.resource.KVMHAMonitor] (Thread-11:null) Execution is successful.
- 2012-12-03 13:52:00,029 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib/cloud/common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-12-03 13:52:00,202 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-12-03 13:52:00,205 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 1-7: { Cmd , MgmtId: -1, via: 1, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":1,"wait":0}}] }
- 2012-12-03 13:52:00,215 DEBUG [cloud.agent.Agent] (Agent-Handler-1:null) Received response: Seq 1-7: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":1,"wait":0},"result":true,"wait":0}}] }
- 2012-12-03 13:52:23,906 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-12-03 13:52:29,837 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-12-03 13:52:29,837 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-12-03 13:52:30,384 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:52:30,386 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-12-03 13:52:30,411 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:52:30,412 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-12-03 13:52:30,436 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:52:30,437 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-12-03 13:52:30,456 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:52:30,457 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-12-03 13:52:30,475 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
- 2012-12-03 13:52:57,587 DEBUG [kvm.resource.KVMHAMonitor] (Thread-12:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh -i 172.16.0.5 -p /export/primary -m /mnt/157108d3-89be-333c-9ead-f3d19dfd2367 -h 172.16.0.11
- 2012-12-03 13:52:57,624 DEBUG [kvm.resource.KVMHAMonitor] (Thread-12:null) Execution is successful.
- 2012-12-03 13:53:00,029 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib/cloud/common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-12-03 13:53:00,205 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-12-03 13:53:00,208 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 1-8: { Cmd , MgmtId: -1, via: 1, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":1,"wait":0}}] }
- 2012-12-03 13:53:00,218 DEBUG [cloud.agent.Agent] (Agent-Handler-4:null) Received response: Seq 1-8: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":1,"wait":0},"result":true,"wait":0}}] }
- 2012-12-03 13:53:22,218 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Request:Seq 1-1384382492: { Cmd , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100011, [{"GetVncPortCommand":{"id":7,"name":"s-7-VM","wait":0}}] }
- 2012-12-03 13:53:22,219 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.GetVncPortCommand
- 2012-12-03 13:53:22,245 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Seq 1-1384382492: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 10, [{"GetVncPortAnswer":{"address":"172.16.0.11","port":5900,"result":true,"wait":0}}] }
- 2012-12-03 13:53:24,021 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-12-03 13:53:30,528 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-12-03 13:53:30,529 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-12-03 13:53:31,077 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:53:31,079 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-12-03 13:53:31,103 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:53:31,105 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-12-03 13:53:31,130 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:53:31,132 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-12-03 13:53:31,155 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:53:31,156 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-12-03 13:53:31,179 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:53:53,740 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Request:Seq 1-1384382495: { Cmd , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100011, [{"GetVncPortCommand":{"id":7,"name":"s-7-VM","wait":0}}] }
- 2012-12-03 13:53:53,740 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetVncPortCommand
- 2012-12-03 13:53:53,767 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Seq 1-1384382495: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 10, [{"GetVncPortAnswer":{"address":"172.16.0.11","port":5900,"result":true,"wait":0}}] }
- 2012-12-03 13:53:57,627 DEBUG [kvm.resource.KVMHAMonitor] (Thread-13:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh -i 172.16.0.5 -p /export/primary -m /mnt/157108d3-89be-333c-9ead-f3d19dfd2367 -h 172.16.0.11
- 2012-12-03 13:53:57,663 DEBUG [kvm.resource.KVMHAMonitor] (Thread-13:null) Execution is successful.
- 2012-12-03 13:54:00,028 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib/cloud/common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-12-03 13:54:00,207 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-12-03 13:54:00,211 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 1-9: { Cmd , MgmtId: -1, via: 1, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":1,"wait":0}}] }
- 2012-12-03 13:54:00,262 DEBUG [cloud.agent.Agent] (Agent-Handler-4:null) Received response: Seq 1-9: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":1,"wait":0},"result":true,"wait":0}}] }
- 2012-12-03 13:54:24,055 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-12-03 13:54:31,232 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-12-03 13:54:31,233 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-12-03 13:54:31,782 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:54:31,783 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-12-03 13:54:31,806 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:54:31,808 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-12-03 13:54:31,832 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:54:31,833 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-12-03 13:54:31,857 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:54:31,858 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-12-03 13:54:31,877 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
- 2012-12-03 13:54:57,665 DEBUG [kvm.resource.KVMHAMonitor] (Thread-14:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh -i 172.16.0.5 -p /export/primary -m /mnt/157108d3-89be-333c-9ead-f3d19dfd2367 -h 172.16.0.11
- 2012-12-03 13:54:57,704 DEBUG [kvm.resource.KVMHAMonitor] (Thread-14:null) Execution is successful.
- 2012-12-03 13:55:00,029 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib/cloud/common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-12-03 13:55:00,201 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-12-03 13:55:00,204 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 1-10: { Cmd , MgmtId: -1, via: 1, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":1,"wait":0}}] }
- 2012-12-03 13:55:00,214 DEBUG [cloud.agent.Agent] (Agent-Handler-5:null) Received response: Seq 1-10: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":1,"wait":0},"result":true,"wait":0}}] }
- 2012-12-03 13:55:24,132 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-12-03 13:55:31,928 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-12-03 13:55:31,929 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-12-03 13:55:32,479 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:55:32,481 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-12-03 13:55:32,506 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:55:32,507 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-12-03 13:55:32,531 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:55:32,532 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-12-03 13:55:32,551 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:55:32,552 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-12-03 13:55:32,572 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
- 2012-12-03 13:55:57,707 DEBUG [kvm.resource.KVMHAMonitor] (Thread-15:null) Executing: /usr/lib/cloud/common/scripts/vm/hypervisor/kvm/kvmheartbeat.sh -i 172.16.0.5 -p /export/primary -m /mnt/157108d3-89be-333c-9ead-f3d19dfd2367 -h 172.16.0.11
- 2012-12-03 13:55:57,746 DEBUG [kvm.resource.KVMHAMonitor] (Thread-15:null) Execution is successful.
- 2012-12-03 13:56:00,030 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib/cloud/common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-12-03 13:56:00,209 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-12-03 13:56:00,212 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 1-11: { Cmd , MgmtId: -1, via: 1, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":1,"wait":0}}] }
- 2012-12-03 13:56:00,222 DEBUG [cloud.agent.Agent] (Agent-Handler-2:null) Received response: Seq 1-11: { Ans: , MgmtId: 207379522204, via: 1, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":1,"wait":0},"result":true,"wait":0}}] }
Advertisement
Add Comment
Please, Sign In to add comment