Guest User

Untitled

a guest
Dec 3rd, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.60 KB | None | 0 0
  1. 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
  2. 2012-12-03 13:49:05,989 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) Execution is successful.
  3. 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}}] }
  4. 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}}] }
  5. 2012-12-03 13:49:06,049 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.storage.DestroyCommand
  6. 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}}] }
  7. 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}}] }
  8. 2012-12-03 13:49:06,160 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.StartCommand
  9. 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
  10. 2012-12-03 13:49:06,385 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) <volume>
  11. <name>s-7-VM-patchdisk</name>
  12. <capacity >10485760</capacity>
  13. <target>
  14. <format type='raw'/>
  15. <permissions><mode>0744</mode></permissions></target>
  16. </volume>
  17.  
  18. 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
  19. 2012-12-03 13:49:06,479 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Execution is successful.
  20. 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
  21. 2012-12-03 13:49:16,887 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Execution is successful.
  22. 2012-12-03 13:49:16,889 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) + pubKey=/root/.ssh/id_rsa.pub.cloud
  23. + lflag=
  24. + dflag=
  25. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  26. + case $OPTION in
  27. + lflag=1
  28. + vmname=s-7-VM
  29. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  30. + case $OPTION in
  31. + tflag=1
  32. + vmtype=all
  33. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  34. + case $OPTION in
  35. + dflag=1
  36. + rootdisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
  37. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  38. + case $OPTION in
  39. + pflag=1
  40. + 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
  41. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  42. + '[' 111 '!=' 111 ']'
  43. + '[' all = all ']'
  44. + mount_raw_disk s-7-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
  45. + local vmname=s-7-VM
  46. + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
  47. ++ mntpath s-7-VM
  48. ++ local vmname=s-7-VM
  49. ++ '[' '!' -d /mnt/s-7-VM ']'
  50. ++ mkdir -p /mnt/s-7-VM
  51. ++ echo /mnt/s-7-VM
  52. + local path=/mnt/s-7-VM
  53. + '[' '!' -f /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk -a '!' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk ']'
  54. + retry=10
  55. + '[' 10 -gt 0 ']'
  56. + '[' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk ']'
  57. + mount /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk /mnt/s-7-VM -o loop
  58. + ret=0
  59. + sleep 10
  60. + '[' 0 -gt 0 ']'
  61. + break
  62. + return 0
  63. + '[' 0 -gt 0 ']'
  64. + 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
  65. + local vmname=s-7-VM
  66. + 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
  67. + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
  68. ++ mntpath s-7-VM
  69. ++ local vmname=s-7-VM
  70. ++ '[' '!' -d /mnt/s-7-VM ']'
  71. ++ echo /mnt/s-7-VM
  72. + local path=/mnt/s-7-VM
  73. + '[' -f /root/.ssh/id_rsa.pub.cloud ']'
  74. + cp /root/.ssh/id_rsa.pub.cloud /mnt/s-7-VM/authorized_keys
  75. + 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
  76. + sed -i 's/%/\ /g' /mnt/s-7-VM/cmdline
  77. + return 0
  78. + umount_raw_disk s-7-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
  79. + local vmname=s-7-VM
  80. + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk
  81. ++ mntpath s-7-VM
  82. ++ local vmname=s-7-VM
  83. ++ '[' '!' -d /mnt/s-7-VM ']'
  84. ++ echo /mnt/s-7-VM
  85. + local path=/mnt/s-7-VM
  86. + retry=10
  87. + sync
  88. + '[' 10 -gt 0 ']'
  89. + umount /mnt/s-7-VM
  90. + '[' 0 -gt 0 ']'
  91. + rm -rf /mnt/s-7-VM
  92. + break
  93. + return 0
  94. + exit 0
  95.  
  96. 2012-12-03 13:49:16,890 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Control-169.254.0.204-null]
  97. 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
  98. 2012-12-03 13:49:16,914 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) Execution is successful.
  99. 2012-12-03 13:49:16,916 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) Executing: /bin/sh -c brctl show|grep cloud0
  100. 2012-12-03 13:49:16,937 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) Execution is successful.
  101. 2012-12-03 13:49:16,939 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Management-172.16.1.28-null]
  102. 2012-12-03 13:49:16,939 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Public-72.249.143.74-vlan://10]
  103. 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
  104. 2012-12-03 13:49:16,986 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) Execution is successful.
  105. 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
  106.  
  107. 2012-12-03 13:49:16,988 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-2:null) nic=[Nic:Storage-172.16.1.110-null]
  108. 2012-12-03 13:49:16,989 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) starting s-7-VM: <domain type='kvm'>
  109. <name>s-7-VM</name>
  110. <uuid>dcfc6315-7ddf-3b46-82a7-994ab47f6f97</uuid>
  111. <description>Debian GNU/Linux 5.0 (32-bit)</description>
  112. <clock offset='utc'>
  113. </clock>
  114. <features>
  115. <pae/>
  116. <apic/>
  117. <acpi/>
  118. </features>
  119. <devices>
  120. <emulator>/usr/bin/kvm</emulator>
  121. <interface type='bridge'>
  122. <source bridge='cloud0'/>
  123. <mac address='0e:00:a9:fe:00:cc'/>
  124. <model type='virtio'/>
  125. </interface>
  126. <interface type='bridge'>
  127. <source bridge='cloudbr0'/>
  128. <mac address='06:a3:0a:00:00:1c'/>
  129. <model type='virtio'/>
  130. </interface>
  131. <interface type='bridge'>
  132. <source bridge='cloudVirBr10'/>
  133. <mac address='06:40:72:00:01:03'/>
  134. <model type='virtio'/>
  135. </interface>
  136. <interface type='bridge'>
  137. <source bridge='cloudbr0'/>
  138. <mac address='06:c1:5c:00:00:6e'/>
  139. <model type='virtio'/>
  140. </interface>
  141. <serial type='pty'>
  142. <target port='0'/>
  143. </serial>
  144. <graphics type='vnc' autoport='yes' listen='' />
  145. <disk device='disk' type='file'>
  146. <driver name='qemu' type='qcow2' cache='none' />
  147. <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/ceb8ae94-feb4-4c4d-a0e2-fbfc1781c226'/>
  148. <target dev='vda' bus='virtio'/>
  149. </disk>
  150. <disk device='disk' type='file'>
  151. <driver name='qemu' type='raw' cache='none' />
  152. <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/s-7-VM-patchdisk'/>
  153. <target dev='vdb' bus='virtio'/>
  154. </disk>
  155. <console type='pty'>
  156. <target port='0'/>
  157. </console>
  158. <input type='tablet' bus='usb'/>
  159. </devices>
  160. <memory>262144</memory>
  161. <vcpu>1</vcpu>
  162. <os>
  163. <type arch='x86_64' machine='pc'>hvm</type>
  164. <boot dev='cdrom'/>
  165. <boot dev='hd'/>
  166. </os>
  167. <cputune>
  168. <shares>500</shares>
  169. </cputune>
  170. <on_reboot>restart</on_reboot>
  171. <on_poweroff>destroy</on_poweroff>
  172. <on_crash>destroy</on_crash>
  173. </domain>
  174.  
  175. 2012-12-03 13:49:20,574 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.check.CheckSshCommand
  176. 2012-12-03 13:49:20,575 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Ping command port, 169.254.0.204:3922
  177. 2012-12-03 13:49:20,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
  178. 2012-12-03 13:49:23,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Could not connect to 169.254.0.204
  179. 2012-12-03 13:49:23,670 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
  180. 2012-12-03 13:49:27,765 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
  181. 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
  182. 2012-12-03 13:49:28,307 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  183. 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
  184. 2012-12-03 13:49:28,330 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  185. 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}'
  186. 2012-12-03 13:49:28,351 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  187. 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
  188. 2012-12-03 13:49:28,370 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  189. 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
  190. 2012-12-03 13:49:28,388 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  191. 2012-12-03 13:49:33,576 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
  192. 2012-12-03 13:49:36,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Could not connect to 169.254.0.204
  193. 2012-12-03 13:49:46,575 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
  194. 2012-12-03 13:49:46,577 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Could not connect to 169.254.0.204
  195. 2012-12-03 13:49:56,577 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) Trying to connect to 169.254.0.204
  196. 2012-12-03 13:49:56,579 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) Ping command port succeeded for vm s-7-VM
  197. 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}}] }
  198. 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}}] }
  199. 2012-12-03 13:49:56,620 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.storage.CreateCommand
  200. 2012-12-03 13:49:56,655 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) <volume>
  201. <name>05528d5c-0528-4bf8-813b-6b4b5240fc0c</name>
  202. <capacity >2097152000</capacity>
  203. <target>
  204. <format type='qcow2'/>
  205. <permissions><mode>0744</mode></permissions></target>
  206. </volume>
  207.  
  208. 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
  209. 2012-12-03 13:49:56,784 DEBUG [utils.script.Script] (agentRequest-Handler-4:null) Execution is successful.
  210. 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}}] }
  211. 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}}] }
  212. 2012-12-03 13:49:56,872 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.StartCommand
  213. 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
  214. 2012-12-03 13:49:57,091 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) <volume>
  215. <name>v-8-VM-patchdisk</name>
  216. <capacity >10485760</capacity>
  217. <target>
  218. <format type='raw'/>
  219. <permissions><mode>0744</mode></permissions></target>
  220. </volume>
  221.  
  222. 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
  223. 2012-12-03 13:49:57,185 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
  224. 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
  225. 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
  226. 2012-12-03 13:49:57,502 DEBUG [kvm.resource.KVMHAMonitor] (Thread-9:null) Execution is successful.
  227. 2012-12-03 13:50:00,021 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Ignoring VM v-8-VM in transition state starting.
  228. 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
  229. 2012-12-03 13:50:00,161 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
  230. 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}}] }
  231. 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}}] }
  232. 2012-12-03 13:50:07,496 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
  233. 2012-12-03 13:50:07,497 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) + pubKey=/root/.ssh/id_rsa.pub.cloud
  234. + lflag=
  235. + dflag=
  236. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  237. + case $OPTION in
  238. + lflag=1
  239. + vmname=v-8-VM
  240. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  241. + case $OPTION in
  242. + tflag=1
  243. + vmtype=all
  244. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  245. + case $OPTION in
  246. + dflag=1
  247. + rootdisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
  248. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  249. + case $OPTION in
  250. + pflag=1
  251. + 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
  252. + getopts t:v:i:m:e:E:a:A:g:l:n:d:b:B:p:I:N:Mx:X: OPTION
  253. + '[' 111 '!=' 111 ']'
  254. + '[' all = all ']'
  255. + mount_raw_disk v-8-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
  256. + local vmname=v-8-VM
  257. + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
  258. ++ mntpath v-8-VM
  259. ++ local vmname=v-8-VM
  260. ++ '[' '!' -d /mnt/v-8-VM ']'
  261. ++ mkdir -p /mnt/v-8-VM
  262. ++ echo /mnt/v-8-VM
  263. + local path=/mnt/v-8-VM
  264. + '[' '!' -f /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk -a '!' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk ']'
  265. + retry=10
  266. + '[' 10 -gt 0 ']'
  267. + '[' -b /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk ']'
  268. + mount /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk /mnt/v-8-VM -o loop
  269. + ret=0
  270. + sleep 10
  271. + '[' 0 -gt 0 ']'
  272. + break
  273. + return 0
  274. + '[' 0 -gt 0 ']'
  275. + 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
  276. + local vmname=v-8-VM
  277. + 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
  278. + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
  279. ++ mntpath v-8-VM
  280. ++ local vmname=v-8-VM
  281. ++ '[' '!' -d /mnt/v-8-VM ']'
  282. ++ echo /mnt/v-8-VM
  283. + local path=/mnt/v-8-VM
  284. + '[' -f /root/.ssh/id_rsa.pub.cloud ']'
  285. + cp /root/.ssh/id_rsa.pub.cloud /mnt/v-8-VM/authorized_keys
  286. + 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
  287. + sed -i 's/%/\ /g' /mnt/v-8-VM/cmdline
  288. + return 0
  289. + umount_raw_disk v-8-VM /mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
  290. + local vmname=v-8-VM
  291. + local datadisk=/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk
  292. ++ mntpath v-8-VM
  293. ++ local vmname=v-8-VM
  294. ++ '[' '!' -d /mnt/v-8-VM ']'
  295. ++ echo /mnt/v-8-VM
  296. + local path=/mnt/v-8-VM
  297. + retry=10
  298. + sync
  299. + '[' 10 -gt 0 ']'
  300. + umount /mnt/v-8-VM
  301. + '[' 0 -gt 0 ']'
  302. + rm -rf /mnt/v-8-VM
  303. + break
  304. + return 0
  305. + exit 0
  306.  
  307. 2012-12-03 13:50:07,498 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) nic=[Nic:Control-169.254.0.254-null]
  308. 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
  309. 2012-12-03 13:50:07,523 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is successful.
  310. 2012-12-03 13:50:07,525 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing: /bin/sh -c brctl show|grep cloud0
  311. 2012-12-03 13:50:07,549 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is successful.
  312. 2012-12-03 13:50:07,551 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) nic=[Nic:Management-172.16.1.81-null]
  313. 2012-12-03 13:50:07,551 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) nic=[Nic:Public-72.249.143.71-vlan://10]
  314. 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
  315. 2012-12-03 13:50:07,598 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) Execution is successful.
  316. 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
  317.  
  318. 2012-12-03 13:50:07,600 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) starting v-8-VM: <domain type='kvm'>
  319. <name>v-8-VM</name>
  320. <uuid>5660f148-d886-33ba-841f-6ae54af14bff</uuid>
  321. <description>Debian GNU/Linux 5.0 (32-bit)</description>
  322. <clock offset='utc'>
  323. </clock>
  324. <features>
  325. <pae/>
  326. <apic/>
  327. <acpi/>
  328. </features>
  329. <devices>
  330. <emulator>/usr/bin/kvm</emulator>
  331. <interface type='bridge'>
  332. <source bridge='cloud0'/>
  333. <mac address='0e:00:a9:fe:00:fe'/>
  334. <model type='virtio'/>
  335. </interface>
  336. <interface type='bridge'>
  337. <source bridge='cloudbr0'/>
  338. <mac address='06:e7:a4:00:00:51'/>
  339. <model type='virtio'/>
  340. </interface>
  341. <interface type='bridge'>
  342. <source bridge='cloudVirBr10'/>
  343. <mac address='06:54:9c:00:01:00'/>
  344. <model type='virtio'/>
  345. </interface>
  346. <serial type='pty'>
  347. <target port='0'/>
  348. </serial>
  349. <graphics type='vnc' autoport='yes' listen='' />
  350. <disk device='disk' type='file'>
  351. <driver name='qemu' type='qcow2' cache='none' />
  352. <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/05528d5c-0528-4bf8-813b-6b4b5240fc0c'/>
  353. <target dev='vda' bus='virtio'/>
  354. </disk>
  355. <disk device='disk' type='file'>
  356. <driver name='qemu' type='raw' cache='none' />
  357. <source file='/mnt/157108d3-89be-333c-9ead-f3d19dfd2367/v-8-VM-patchdisk'/>
  358. <target dev='vdb' bus='virtio'/>
  359. </disk>
  360. <console type='pty'>
  361. <target port='0'/>
  362. </console>
  363. <input type='tablet' bus='usb'/>
  364. </devices>
  365. <memory>1048576</memory>
  366. <vcpu>1</vcpu>
  367. <os>
  368. <type arch='x86_64' machine='pc'>hvm</type>
  369. <boot dev='cdrom'/>
  370. <boot dev='hd'/>
  371. </os>
  372. <cputune>
  373. <shares>500</shares>
  374. </cputune>
  375. <on_reboot>restart</on_reboot>
  376. <on_poweroff>destroy</on_poweroff>
  377. <on_crash>destroy</on_crash>
  378. </domain>
  379.  
  380. 2012-12-03 13:50:10,763 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.check.CheckSshCommand
  381. 2012-12-03 13:50:10,763 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Ping command port, 169.254.0.254:3922
  382. 2012-12-03 13:50:10,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
  383. 2012-12-03 13:50:13,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Could not connect to 169.254.0.254
  384. 2012-12-03 13:50:23,746 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
  385. 2012-12-03 13:50:23,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
  386. 2012-12-03 13:50:26,762 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Could not connect to 169.254.0.254
  387. 2012-12-03 13:50:28,441 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
  388. 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
  389. 2012-12-03 13:50:28,990 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  390. 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
  391. 2012-12-03 13:50:29,019 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  392. 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}'
  393. 2012-12-03 13:50:29,046 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  394. 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
  395. 2012-12-03 13:50:29,065 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  396. 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
  397. 2012-12-03 13:50:29,087 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  398. 2012-12-03 13:50:36,763 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
  399. 2012-12-03 13:50:36,765 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Could not connect to 169.254.0.254
  400. 2012-12-03 13:50:46,765 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) Trying to connect to 169.254.0.254
  401. 2012-12-03 13:50:46,767 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Ping command port succeeded for vm v-8-VM
  402. 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}}] }
  403. 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
  404. 2012-12-03 13:50:57,544 DEBUG [kvm.resource.KVMHAMonitor] (Thread-10:null) Execution is successful.
  405. 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
  406. 2012-12-03 13:51:00,202 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
  407. 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}}] }
  408. 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}}] }
  409. 2012-12-03 13:51:23,827 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
  410. 2012-12-03 13:51:29,136 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
  411. 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
  412. 2012-12-03 13:51:29,700 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  413. 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
  414. 2012-12-03 13:51:29,723 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  415. 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}'
  416. 2012-12-03 13:51:29,745 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  417. 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
  418. 2012-12-03 13:51:29,765 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  419. 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
  420. 2012-12-03 13:51:29,785 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  421. 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
  422. 2012-12-03 13:51:57,585 DEBUG [kvm.resource.KVMHAMonitor] (Thread-11:null) Execution is successful.
  423. 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
  424. 2012-12-03 13:52:00,202 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
  425. 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}}] }
  426. 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}}] }
  427. 2012-12-03 13:52:23,906 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
  428. 2012-12-03 13:52:29,837 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
  429. 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
  430. 2012-12-03 13:52:30,384 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  431. 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
  432. 2012-12-03 13:52:30,411 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  433. 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}'
  434. 2012-12-03 13:52:30,436 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  435. 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
  436. 2012-12-03 13:52:30,456 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  437. 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
  438. 2012-12-03 13:52:30,475 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null) Execution is successful.
  439. 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
  440. 2012-12-03 13:52:57,624 DEBUG [kvm.resource.KVMHAMonitor] (Thread-12:null) Execution is successful.
  441. 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
  442. 2012-12-03 13:53:00,205 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
  443. 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}}] }
  444. 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}}] }
  445. 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}}] }
  446. 2012-12-03 13:53:22,219 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.GetVncPortCommand
  447. 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}}] }
  448. 2012-12-03 13:53:24,021 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
  449. 2012-12-03 13:53:30,528 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
  450. 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
  451. 2012-12-03 13:53:31,077 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  452. 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
  453. 2012-12-03 13:53:31,103 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  454. 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}'
  455. 2012-12-03 13:53:31,130 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  456. 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
  457. 2012-12-03 13:53:31,155 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  458. 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
  459. 2012-12-03 13:53:31,179 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  460. 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}}] }
  461. 2012-12-03 13:53:53,740 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetVncPortCommand
  462. 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}}] }
  463. 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
  464. 2012-12-03 13:53:57,663 DEBUG [kvm.resource.KVMHAMonitor] (Thread-13:null) Execution is successful.
  465. 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
  466. 2012-12-03 13:54:00,207 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
  467. 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}}] }
  468. 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}}] }
  469. 2012-12-03 13:54:24,055 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
  470. 2012-12-03 13:54:31,232 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
  471. 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
  472. 2012-12-03 13:54:31,782 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
  473. 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
  474. 2012-12-03 13:54:31,806 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
  475. 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}'
  476. 2012-12-03 13:54:31,832 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
  477. 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
  478. 2012-12-03 13:54:31,857 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
  479. 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
  480. 2012-12-03 13:54:31,877 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) Execution is successful.
  481. 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
  482. 2012-12-03 13:54:57,704 DEBUG [kvm.resource.KVMHAMonitor] (Thread-14:null) Execution is successful.
  483. 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
  484. 2012-12-03 13:55:00,201 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
  485. 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}}] }
  486. 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}}] }
  487. 2012-12-03 13:55:24,132 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
  488. 2012-12-03 13:55:31,928 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
  489. 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
  490. 2012-12-03 13:55:32,479 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  491. 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
  492. 2012-12-03 13:55:32,506 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  493. 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}'
  494. 2012-12-03 13:55:32,531 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  495. 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
  496. 2012-12-03 13:55:32,551 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  497. 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
  498. 2012-12-03 13:55:32,572 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful.
  499. 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
  500. 2012-12-03 13:55:57,746 DEBUG [kvm.resource.KVMHAMonitor] (Thread-15:null) Execution is successful.
  501. 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
  502. 2012-12-03 13:56:00,209 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
  503. 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}}] }
  504. 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