Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2012-07-31 20:22:30,127 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Request:null
- 2012-07-31 20:22:30,127 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing command: com.cloud.agent.api.GetVmStatsCommand
- 2012-07-31 20:22:30,205 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) null
- 2012-07-31 20:22:30,416 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Request:null
- 2012-07-31 20:22:30,416 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.GetHostStatsCommand
- 2012-07-31 20:22:30,416 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
- 2012-07-31 20:22:31,007 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Execution is successful.
- 2012-07-31 20:22:31,007 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Executing: /bin/bash -c freeMem=$(free|grep cache:|awk '{print $4}');echo $freeMem
- 2012-07-31 20:22:31,221 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Execution is successful.
- 2012-07-31 20:22:31,221 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Executing: /bin/bash -c free|grep Mem:|awk '{print $2}'
- 2012-07-31 20:22:31,338 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Execution is successful.
- 2012-07-31 20:22:31,338 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/rx_bytes
- 2012-07-31 20:22:31,480 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Exit value is 1
- 2012-07-31 20:22:31,480 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) cat: /sys/class/net/cloudbr1/statistics/rx_bytes: No such file or directory
- 2012-07-31 20:22:31,481 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Executing: /bin/bash -c cat /sys/class/net/cloudbr1/statistics/tx_bytes
- 2012-07-31 20:22:31,577 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) Exit value is 1
- 2012-07-31 20:22:31,577 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-3:null) cat: /sys/class/net/cloudbr1/statistics/tx_bytes: No such file or directory
- 2012-07-31 20:22:31,577 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) null
- 2012-07-31 20:22:35,012 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Request:null
- 2012-07-31 20:22:35,012 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Processing command: com.cloud.agent.api.GetStorageStatsCommand
- 2012-07-31 20:22:35,044 DEBUG [agent.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) Executing: /bin/bash -c stats=$(df --total /mnt/4a6d1d00-facc-360a-bf04-2eb0be9dbde0 |grep total|awk '{print $2,$3}');echo $stats
- 2012-07-31 20:22:35,328 DEBUG [agent.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) Execution is successful.
- 2012-07-31 20:22:35,328 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) null
- 2012-07-31 20:22:37,422 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Request:Seq 2-30740508: { Cmd , MgmtId: 207380248778, via: 2, Ver: v1, Flags: 100111, [{"AttachVolumeCommand":{"attach":true,"vmName":"i-14-90-VM","pooltype":"NetworkFilesystem","poolUuid":"4a6d1d00-facc-360a-bf04-2eb0be9dbde0","volumeFolder":"/home/export/primary","volumePath":"41a96b7a-da21-4a85-97f1-ebd58668e531","volumeName":"coba nambah","deviceId":1,"wait":0}}] }
- 2012-07-31 20:22:37,422 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.AttachVolumeCommand
- 2012-07-31 20:22:37,429 DEBUG [agent.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) Executing: /bin/bash -c stats=$(df --total /mnt/4a6d1d00-facc-360a-bf04-2eb0be9dbde0 |grep total|awk '{print $2,$3}');echo $stats
- 2012-07-31 20:22:37,602 DEBUG [agent.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) Execution is successful.
- 2012-07-31 20:22:37,616 DEBUG [resource.computing.LibvirtComputingResource] (agentRequest-Handler-4:null) Attaching device: <disk device='disk' type='file'>
- <driver name='qemu' type='qcow2' cache='none' />
- <source file='/mnt/4a6d1d00-facc-360a-bf04-2eb0be9dbde0/41a96b7a-da21-4a85-97f1-ebd58668e531'/>
- <target dev='vdb' bus='virtio'/>
- </disk>
- 2012-07-31 20:22:37,652 WARN [resource.computing.LibvirtComputingResource] (agentRequest-Handler-4:null) Failed to attach device to i-14-90-VM: internal error unable to execute QEMU command '__com.redhat_drive_add': Duplicate ID 'drive-virtio-disk1' for drive
- 2012-07-31 20:22:37,653 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Seq 2-30740508: { Ans: , MgmtId: 207380248778, via: 2, Ver: v1, Flags: 110, [{"AttachVolumeAnswer":{"result":false,"details":"org.libvirt.LibvirtException: internal error unable to execute QEMU command '__com.redhat_drive_add': Duplicate ID 'drive-virtio-disk1' for drive","wait":0}}] }
- 2012-07-31 20:22:42,079 DEBUG [resource.computing.LibvirtComputingResource] (UgentTask-5:null) Executing: /usr/lib64/cloud/agent/./scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2012-07-31 20:22:43,271 DEBUG [resource.computing.LibvirtComputingResource] (UgentTask-5:null) Execution is successful.
- 2012-07-31 20:22:43,272 DEBUG [cloud.agent.Agent] (UgentTask-5:null) Sending ping: Seq 2-67334: { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"PingRoutingWithNwGroupsCommand":{"newGroupStates":{"i-3-54-VM":[54,3],"i-3-86-VM":[86,1],"i-3-87-VM":[87,1],"i-14-91-VM":[91,3],"i-14-90-VM":[90,4],"i-14-92-VM":[92,3]},"newStates":{},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":2,"wait":0}}] }
- 2012-07-31 20:22:43,282 DEBUG [cloud.agent.Agent] (Agent-Handler-2:null) Received response: Seq 2-67334: { Ans: , MgmtId: 207380248778, via: 2, Ver: v1, Flags: 100010, [{"PingAnswer":{"_command":{"hostType":"Routing","hostId":2,"wait":0},"result":true,"wait":0}}] }
Advertisement
Add Comment
Please, Sign In to add comment