Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2021-09-13 11:35:53,980 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Executing: qemu-img info /var/lib/libvirt/images/eafb2607-51dd-4b8f-abfd-97b9c9742224
- 2021-09-13 11:35:53,981 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Executing while with timeout : 3600000
- 2021-09-13 11:35:53,985 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Execution is successful.
- 2021-09-13 11:35:53,987 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Executing: qemu-img create -o preallocation=off -f qcow2 -F qcow2 -b /var/lib/libvirt/images/82f97dd8-b3ba-4be0-a0bf-2ab3bc37c7b4 /var/lib/libvirt/images/eafb2607-51dd-4b8f-abfd-97b9c9742224 2621440000
- 2021-09-13 11:35:53,988 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Executing while with timeout : 3600000
- 2021-09-13 11:35:53,998 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Execution is successful.
- 2021-09-13 11:35:53,998 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Formatting '/var/lib/libvirt/images/eafb2607-51dd-4b8f-abfd-97b9c9742224', fmt=qcow2 size=2621440000 backing_file=/var/lib/libvirt/images/82f97dd8-b3ba-4be0-a0bf-2ab3bc37c7b4 backing_fmt=qcow2 cluster_size=65536 preallocation=off lazy_refcounts=off refcount_bits=16
- 2021-09-13 11:35:54,001 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) (logid:42d715f2) Seq 106277-2361293579625693195: { Ans: , MgmtId: 345048618557, via: 106277, Ver: v1, Flags: 110, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"size":"(2.44 GB) 2621440000","path":"eafb2607-51dd-4b8f-abfd-97b9c9742224","accountId":"0","format":"QCOW2","id":"0","directDownload":"false","deployAsIs":"false"}},"result":"true","wait":"0","bypassHostMaintenance":"false"}}] }
- 2021-09-13 11:35:54,657 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) (logid:42d715f2) Request:Seq 106277-2361293579625693196: { Cmd , MgmtId: 345048618557, via: 106277, Ver: v1, Flags: 100111, [{"com.cloud.agent.api.StartCommand":{"vm":{"id":"4092","name":"r-4092-VM","state":"Starting","type":"DomainRouter","cpus":"1","minSpeed":"200","maxSpeed":"500","minRam":"(102.00 MB) 106954752","maxRam":"(256.00 MB) 268435456","arch":"x86_64","os":"Debian GNU/Linux 7(64-bit)","platformEmulator":"Debian GNU/Linux 7(64-bit)","bootArgs":" vpccidr=10.10.1.0/24 domain=default.network dns1=8.8.8.8 template=domP name=r-4092-VM eth0ip=169.254.52.234 eth0mask=255.255.0.0 type=vpcrouter disable_rp_filter=true exposedns=true","enableHA":"true","limitCpuUse":"false","enableDynamicallyScaleVm":"false","vncPassword":"J9veIbSH24GBS4laDpcQcQ","params":{"cpuOvercommitRatio":"2.5","memoryOvercommitRatio":"2.5"},"uuid":"fca5714e-cc36-4301-a3c6-ea2a1040bdcb","enterHardwareSetup":"false","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"eafb2607-51dd-4b8f-abfd-97b9c9742224","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"d53e6d57-8645-465e-9ce7-c1b937004198","id":"34","poolType":"Filesystem","host":"10.100.22.10","path":"/var/lib/libvirt/images","port":"0","url":"Filesystem://10.100.22.10/var/lib/libvirt/images/?ROLE=Primary&STOREUUID=d53e6d57-8645-465e-9ce7-c1b937004198","isManaged":"false"}},"name":"ROOT-4092","size":"(2.44 GB) 2621440000","path":"eafb2607-51dd-4b8f-abfd-97b9c9742224","volumeId":"6604","vmName":"r-4092-VM","accountId":"2","format":"QCOW2","provisioningType":"THIN","id":"6604","deviceId":"0","bytesReadRate":"(0 bytes) 0","bytesWriteRate":"(0 bytes) 0","iopsReadRate":"(0 bytes) 0","iopsWriteRate":"(0 bytes) 0","hypervisorType":"KVM","directDownload":"false","deployAsIs":"false"}},"diskSeq":"0","path":"eafb2607-51dd-4b8f-abfd-97b9c9742224","type":"ROOT","_details":{"storageHost":"10.100.22.10","managed":"false","storagePort":"0","volumeSize":"(2.44 GB) 2621440000"}}],"nics":[{"deviceId":"0","networkRateMbps":"-1","defaultNic":"false","pxeDisable":"true","nicUuid":"7f298aac-97fa-4a87-8515-e80ecca7d01a","details":{"PromiscuousMode":"false","ForgedTransmits":"true","MacAddressChanges":"true"},"dpdkEnabled":"false","uuid":"cd94ffc0-59fb-4201-9754-ae7bf59d5f99","ip":"169.254.52.234","netmask":"255.255.0.0","gateway":"10.100.25.1","mac":"0e:00:a9:fe:34:ea","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":"false"}],"guestOsDetails":{},"extraConfig":{}},"hostIp":"10.100.22.10","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}},{"com.cloud.agent.api.check.CheckSshCommand":{"ip":"169.254.52.234","port":"3922","interval":"6","retries":"100","name":"r-4092-VM","wait":"0","bypassHostMaintenance":"false"}},{"com.cloud.agent.api.GetDomRVersionCmd":{"accessDetails":{"router.ip":"169.254.52.234","router.name":"r-4092-VM"},"wait":"0","bypassHostMaintenance":"false"}},{"com.cloud.agent.api.PlugNicCommand":{"nic":{"deviceId":"1","networkRateMbps":"-1","defaultNic":"true","pxeDisable":"true","nicUuid":"182496c8-d7ef-4ceb-a512-0612c93a9c2f","dpdkEnabled":"false","uuid":"9d95ac8e-2a4b-4720-a36a-34381c268f74","ip":"23.xx.xxx.133","netmask":"255.255.255.224","gateway":"23.xx.xxx.129","mac":"1e:00:a2:00:00:7c","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://untagged","isolationUri":"vlan://untagged","isSecurityGroupEnabled":"false","name":"cloudbr1"},"instanceName":"r-4092-VM","vmType":"DomainRouter","details":{},"wait":"0","bypassHostMaintenance":"false"}},{"com.cloud.agent.api.routing.SetMonitorServiceCommand":{"services":[{"id":"0","service":"ssh","processname":"sshd","serviceName":"ssh","servicePath":"/var/run/sshd.pid","pidFile":"/var/run/sshd.pid","isDefault":"true"}],"healthChecksConfig":{"gateways":"gatewaysIps=10.100.25.1 23.xx.xxx.129 ","portForwarding":"","systemThresholds":"minDiskNeeded=100.0,maxCpuUsage=100.0,maxMemoryUsage=100.0;","haproxyData":"","virtualMachines":""},"reconfigureAfterUpdate":"false","deleteFromProcessedCache":"false","accessDetails":{"router.health.checks.enabled":"true","router.guest.ip":"23.xx.xxx.133","router.ip":"169.254.52.234","router.name":"r-4092-VM","router.health.checks.advanced.interval":"10","router.health.checks.basic.interval":"3","router.health.checks.excluded":"dhcp_check.py, dns_check.py"},"wait":"0","bypassHostMaintenance":"false"}},{}] }
- 2021-09-13 11:35:54,657 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) (logid:42d715f2) Processing command: com.cloud.agent.api.StartCommand
- 2021-09-13 11:35:54,674 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:42d715f2) Looking for libvirtd connection at: qemu:///system
- 2021-09-13 11:35:54,678 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:42d715f2) Trying to fetch storage pool d53e6d57-8645-465e-9ce7-c1b937004198 from libvirt
- 2021-09-13 11:35:54,678 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:42d715f2) Looking for libvirtd connection at: qemu:///system
- 2021-09-13 11:35:54,690 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:42d715f2) Succesfully refreshed pool d53e6d57-8645-465e-9ce7-c1b937004198 Capacity: (1.6652 TB) 1830920101888 Used: (16.88 GB) 18124382208 Available: (1.6487 TB) 1812795719680
- 2021-09-13 11:35:54,692 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:42d715f2) Could not find volume eafb2607-51dd-4b8f-abfd-97b9c9742224: Storage volume not found: no storage vol with matching name 'eafb2607-51dd-4b8f-abfd-97b9c9742224'
- 2021-09-13 11:35:54,692 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:42d715f2) Refreshing storage pool d53e6d57-8645-465e-9ce7-c1b937004198
- 2021-09-13 11:35:54,694 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:42d715f2) Found volume eafb2607-51dd-4b8f-abfd-97b9c9742224 in storage pool d53e6d57-8645-465e-9ce7-c1b937004198 after refreshing the pool
- 2021-09-13 11:35:54,700 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing: qemu-img info /var/lib/libvirt/images/eafb2607-51dd-4b8f-abfd-97b9c9742224
- 2021-09-13 11:35:54,701 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
- 2021-09-13 11:35:54,706 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Execution is successful.
- 2021-09-13 11:35:54,713 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:42d715f2) Trying to fetch storage pool d53e6d57-8645-465e-9ce7-c1b937004198 from libvirt
- 2021-09-13 11:35:54,713 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:42d715f2) Looking for libvirtd connection at: qemu:///system
- 2021-09-13 11:35:54,727 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-1:null) (logid:42d715f2) Succesfully refreshed pool d53e6d57-8645-465e-9ce7-c1b937004198 Capacity: (1.6652 TB) 1830920101888 Used: (16.88 GB) 18124644352 Available: (1.6487 TB) 1812795457536
- 2021-09-13 11:35:54,727 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) (logid:42d715f2) nic=[Nic:Control-169.254.52.234-null]
- 2021-09-13 11:35:54,728 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing: /bin/bash -c ip route | grep 169.254.0.0/16
- 2021-09-13 11:35:54,729 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 1800000
- 2021-09-13 11:35:54,732 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Execution is successful.
- 2021-09-13 11:35:54,733 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing: /bin/bash -c ip route del 169.254.0.0/16 dev 169.254.0.1
- 2021-09-13 11:35:54,734 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
- 2021-09-13 11:35:54,738 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Exit value is 1
- 2021-09-13 11:35:54,738 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Cannot find device "169.254.0.1"
- 2021-09-13 11:35:54,739 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing: /bin/bash -c ip address add 169.254.0.1/255.255.0.0 dev cloud0
- 2021-09-13 11:35:54,739 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
- 2021-09-13 11:35:54,742 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Exit value is 2
- 2021-09-13 11:35:54,742 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) RTNETLINK answers: File exists
- 2021-09-13 11:35:54,742 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing: /bin/bash -c ip route add 169.254.0.0/16 dev cloud0 src 169.254.0.1
- 2021-09-13 11:35:54,743 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
- 2021-09-13 11:35:54,745 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Exit value is 2
- 2021-09-13 11:35:54,746 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) RTNETLINK answers: File exists
- 2021-09-13 11:35:54,755 DEBUG [resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-1:null) (logid:42d715f2) starting r-4092-VM: <domain type='kvm'>
- <name>r-4092-VM</name>
- <uuid>fca5714e-cc36-4301-a3c6-ea2a1040bdcb</uuid>
- <description>Debian GNU/Linux 7(64-bit)</description>
- <cpu mode='host-model'><model fallback='allow'></model></cpu><sysinfo type='smbios'>
- <system>
- <entry name='manufacturer'>Apache Software Foundation</entry>
- <entry name='product'>CloudStack KVM Hypervisor</entry>
- <entry name='uuid'>fca5714e-cc36-4301-a3c6-ea2a1040bdcb</entry>
- </system>
- </sysinfo>
- <os>
- <type arch='x86_64' machine='pc'>hvm</type>
- <boot dev='cdrom'/>
- <boot dev='hd'/>
- <smbios mode='sysinfo'/>
- </os>
- <on_reboot>restart</on_reboot>
- <on_poweroff>destroy</on_poweroff>
- <on_crash>destroy</on_crash>
- <memory>262144</memory>
- <currentMemory>104448</currentMemory>
- <devices>
- <memballoon model='virtio'/>
- </devices>
- <vcpu>1</vcpu>
- <features>
- <pae/>
- <apic/>
- <acpi/>
- </features>
- <cputune>
- <shares>200</shares>
- </cputune>
- <clock offset='utc'>
- <timer name='kvmclock' >
- </timer>
- </clock>
- <devices>
- <emulator></emulator>
- <watchdog model='i6300esb' action='none'/>
- <console type='pty'>
- <target port='0'/>
- </console>
- <disk device='disk' type='file'>
- <driver name='qemu' type='qcow2' cache='none' />
- <source file='/var/lib/libvirt/images/eafb2607-51dd-4b8f-abfd-97b9c9742224'/>
- <target dev='vda' bus='virtio'/>
- <serial>eafb260751dd4b8fabfd</serial></disk>
- <disk device='cdrom' type='file'>
- <driver name='qemu' type='raw' />
- <source file='/usr/share/cloudstack-common/vms/systemvm.iso'/>
- <target dev='hdc' bus='ide'/>
- </disk>
- <serial type='pty'>
- <target port='0'/>
- </serial>
- <graphics type='vnc' autoport='yes' listen='10.100.22.10' passwd='J9veIbSH24GBS4laDpcQcQ'/>
- <channel type='unix'>
- <source mode='bind' path='/var/lib/libvirt/qemu/r-4092-VM.org.qemu.guest_agent.0'/>
- <address type='virtio-serial'/>
- <target type='virtio' name='org.qemu.guest_agent.0'/>
- </channel>
- <input type='tablet' bus='usb'/>
- <interface type='bridge'>
- <source bridge='cloud0'/>
- <mac address='0e:00:a9:fe:34:ea'/>
- <model type='virtio'/>
- <rom bar='off' file=''/><link state='up'/>
- </interface>
- </devices>
- </domain>
- 2021-09-13 11:35:54,859 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-1:null) (logid:42d715f2) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-xml-transformer.groovy' is not available. Transformations will not be applied.
- 2021-09-13 11:35:54,859 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-1:null) (logid:42d715f2) Groovy scripting engine is not initialized. Data transformation skipped.
- 2021-09-13 11:35:55,497 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-1:null) (logid:42d715f2) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied.
- 2021-09-13 11:35:55,497 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-1:null) (logid:42d715f2) Groovy scripting engine is not initialized. Data transformation skipped.
- 2021-09-13 11:35:55,497 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Checking default network rules for vm r-4092-VM
- 2021-09-13 11:35:55,497 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Executing: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patch.sh -n r-4092-VM -c vpccidr=10.10.1.0/24 domain=default.network dns1=8.8.8.8 template=domP name=r-4092-VM eth0ip=169.254.52.234 eth0mask=255.255.0.0 type=vpcrouter disable_rp_filter=true exposedns=true
- 2021-09-13 11:35:55,498 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 300000
- 2021-09-13 11:36:02,490 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Execution is successful.
- 2021-09-13 11:36:02,491 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Trying to connect to 169.254.52.234
- 2021-09-13 11:36:05,557 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Could not connect to 169.254.52.234
- 2021-09-13 11:36:06,689 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-2:null) (logid:) Executing: /usr/share/cloudstack-common/scripts/vm/network/security_group.py get_rule_logs_for_vms
- 2021-09-13 11:36:06,691 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-2:null) (logid:) Executing while with timeout : 1800000
- 2021-09-13 11:36:06,769 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-2:null) (logid:) Execution is successful.
- 2021-09-13 11:36:06,769 DEBUG [kvm.resource.LibvirtConnection] (UgentTask-2:null) (logid:) Looking for libvirtd connection at: qemu:///system
- 2021-09-13 11:36:06,804 DEBUG [cloud.agent.Agent] (UgentTask-2:null) (logid:) Sending ping: Seq 106277-2: { Cmd , MgmtId: -1, via: 106277, Ver: v1, Flags: 11, [{"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"_hostVmStateReport":{"r-4092-VM":{"state":"PowerOn","host":"usa-nyc-kvm-001.xxxx.xxx"},"s-4050-VM":{"state":"PowerOn","host":"usa-nyc-kvm-001.xxxx.xxx"},"v-4048-VM":{"state":"PowerOn","host":"usa-nyc-kvm-001.xxxx.xxx"}},"_gatewayAccessible":"true","_vnetAccessible":"true","hostType":"Routing","hostId":"106277","wait":"0","bypassHostMaintenance":"false"}}] }
- 2021-09-13 11:36:07,178 DEBUG [cloud.agent.Agent] (Agent-Handler-3:null) (logid:) Received response: Seq 106277-2: { Ans: , MgmtId: 345048618557, via: 106277, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.PingAnswer":{"_command":{"hostType":"Routing","hostId":"106277","wait":"0","bypassHostMaintenance":"false"},"result":"true","wait":"0","bypassHostMaintenance":"false"}}] }
- 2021-09-13 11:36:10,557 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Trying to connect to 169.254.52.234
- 2021-09-13 11:36:13,620 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Could not connect to 169.254.52.234
- 2021-09-13 11:36:18,621 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Unable to logon to 169.254.52.234
- 2021-09-13 11:36:18,621 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Trying to connect to 169.254.52.234
- 2021-09-13 11:36:21,684 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Could not connect to 169.254.52.234
Advertisement
Add Comment
Please, Sign In to add comment