Guest User

Could not connect

a guest
Sep 13th, 2021
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.64 KB | None | 0 0
  1.  
  2. 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
  3. 2021-09-13 11:35:53,981 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Executing while with timeout : 3600000
  4. 2021-09-13 11:35:53,985 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Execution is successful.
  5. 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
  6. 2021-09-13 11:35:53,988 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Executing while with timeout : 3600000
  7. 2021-09-13 11:35:53,998 DEBUG [utils.script.Script] (agentRequest-Handler-5:null) (logid:42d715f2) Execution is successful.
  8. 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
  9.  
  10. 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"}}] }
  11. 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"}},{}] }
  12. 2021-09-13 11:35:54,657 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) (logid:42d715f2) Processing command: com.cloud.agent.api.StartCommand
  13. 2021-09-13 11:35:54,674 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:42d715f2) Looking for libvirtd connection at: qemu:///system
  14. 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
  15. 2021-09-13 11:35:54,678 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:42d715f2) Looking for libvirtd connection at: qemu:///system
  16. 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
  17. 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'
  18. 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
  19. 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
  20. 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
  21. 2021-09-13 11:35:54,701 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
  22. 2021-09-13 11:35:54,706 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Execution is successful.
  23. 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
  24. 2021-09-13 11:35:54,713 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:null) (logid:42d715f2) Looking for libvirtd connection at: qemu:///system
  25. 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
  26. 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]
  27. 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
  28. 2021-09-13 11:35:54,729 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 1800000
  29. 2021-09-13 11:35:54,732 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Execution is successful.
  30. 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
  31. 2021-09-13 11:35:54,734 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
  32. 2021-09-13 11:35:54,738 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Exit value is 1
  33. 2021-09-13 11:35:54,738 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Cannot find device "169.254.0.1"
  34. 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
  35. 2021-09-13 11:35:54,739 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
  36. 2021-09-13 11:35:54,742 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Exit value is 2
  37. 2021-09-13 11:35:54,742 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) RTNETLINK answers: File exists
  38. 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
  39. 2021-09-13 11:35:54,743 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 3600000
  40. 2021-09-13 11:35:54,745 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) Exit value is 2
  41. 2021-09-13 11:35:54,746 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) (logid:42d715f2) RTNETLINK answers: File exists
  42. 2021-09-13 11:35:54,755 DEBUG [resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-1:null) (logid:42d715f2) starting r-4092-VM: <domain type='kvm'>
  43. <name>r-4092-VM</name>
  44. <uuid>fca5714e-cc36-4301-a3c6-ea2a1040bdcb</uuid>
  45. <description>Debian GNU/Linux 7(64-bit)</description>
  46. <cpu mode='host-model'><model fallback='allow'></model></cpu><sysinfo type='smbios'>
  47. <system>
  48. <entry name='manufacturer'>Apache Software Foundation</entry>
  49. <entry name='product'>CloudStack KVM Hypervisor</entry>
  50. <entry name='uuid'>fca5714e-cc36-4301-a3c6-ea2a1040bdcb</entry>
  51. </system>
  52. </sysinfo>
  53. <os>
  54. <type arch='x86_64' machine='pc'>hvm</type>
  55. <boot dev='cdrom'/>
  56. <boot dev='hd'/>
  57. <smbios mode='sysinfo'/>
  58. </os>
  59. <on_reboot>restart</on_reboot>
  60. <on_poweroff>destroy</on_poweroff>
  61. <on_crash>destroy</on_crash>
  62. <memory>262144</memory>
  63. <currentMemory>104448</currentMemory>
  64. <devices>
  65. <memballoon model='virtio'/>
  66. </devices>
  67. <vcpu>1</vcpu>
  68. <features>
  69. <pae/>
  70. <apic/>
  71. <acpi/>
  72. </features>
  73. <cputune>
  74. <shares>200</shares>
  75. </cputune>
  76. <clock offset='utc'>
  77. <timer name='kvmclock' >
  78. </timer>
  79. </clock>
  80. <devices>
  81. <emulator></emulator>
  82. <watchdog model='i6300esb' action='none'/>
  83. <console type='pty'>
  84. <target port='0'/>
  85. </console>
  86. <disk device='disk' type='file'>
  87. <driver name='qemu' type='qcow2' cache='none' />
  88. <source file='/var/lib/libvirt/images/eafb2607-51dd-4b8f-abfd-97b9c9742224'/>
  89. <target dev='vda' bus='virtio'/>
  90. <serial>eafb260751dd4b8fabfd</serial></disk>
  91. <disk device='cdrom' type='file'>
  92. <driver name='qemu' type='raw' />
  93. <source file='/usr/share/cloudstack-common/vms/systemvm.iso'/>
  94. <target dev='hdc' bus='ide'/>
  95. </disk>
  96. <serial type='pty'>
  97. <target port='0'/>
  98. </serial>
  99. <graphics type='vnc' autoport='yes' listen='10.100.22.10' passwd='J9veIbSH24GBS4laDpcQcQ'/>
  100. <channel type='unix'>
  101. <source mode='bind' path='/var/lib/libvirt/qemu/r-4092-VM.org.qemu.guest_agent.0'/>
  102. <address type='virtio-serial'/>
  103. <target type='virtio' name='org.qemu.guest_agent.0'/>
  104. </channel>
  105. <input type='tablet' bus='usb'/>
  106. <interface type='bridge'>
  107. <source bridge='cloud0'/>
  108. <mac address='0e:00:a9:fe:34:ea'/>
  109. <model type='virtio'/>
  110. <rom bar='off' file=''/><link state='up'/>
  111. </interface>
  112. </devices>
  113. </domain>
  114.  
  115. 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.
  116. 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.
  117. 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.
  118. 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.
  119. 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
  120. 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
  121. 2021-09-13 11:35:55,498 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Executing while with timeout : 300000
  122. 2021-09-13 11:36:02,490 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null) (logid:42d715f2) Execution is successful.
  123. 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
  124. 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
  125. 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
  126. 2021-09-13 11:36:06,691 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-2:null) (logid:) Executing while with timeout : 1800000
  127. 2021-09-13 11:36:06,769 DEBUG [kvm.resource.LibvirtComputingResource] (UgentTask-2:null) (logid:) Execution is successful.
  128. 2021-09-13 11:36:06,769 DEBUG [kvm.resource.LibvirtConnection] (UgentTask-2:null) (logid:) Looking for libvirtd connection at: qemu:///system
  129. 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"}}] }
  130. 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"}}] }
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136.  
Advertisement
Add Comment
Please, Sign In to add comment