Guest User

Untitled

a guest
Dec 17th, 2015
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.36 KB | None | 0 0
  1. [root@mgmt1 ~]# grep Sending /var/log/cloudstack/management/management-server.log | grep "5e510ece-0afe-44a3-9cbc-9d4c587a0dce" | head -n1 | cut -d " " -f 11- | cut -d " " -f 13- | sed 's/}$//' | python -mjson.tool
  2. [
  3. {
  4. "com.cloud.agent.api.StartCommand": {
  5. "executeInSequence": false,
  6. "hostIp": "10.4.4.2",
  7. "vm": {
  8. "arch": "x86_64",
  9. "bootArgs": " template=domP name=r-8-VM eth2ip=66.194.167.142 eth2mask=255.255.255.0 gateway=66.194.167.1 eth0ip=10.1.1.1 eth0mask=255.255.255.0 domain=cs2cloud.internal cidrsize=24 dhcprange=10.1.1.1 eth1ip=169.254.2.250 eth1mask=255.255.0.0 type=router disable_rp_filter=true dns1=66.194.167.3 dns2=66.194.167.4",
  10. "cpus": 1,
  11. "disks": [
  12. {
  13. "_details": {
  14. "managed": "false",
  15. "storageHost": "nfs1.centex.qa.cs.rsitex.com",
  16. "storagePort": "2049",
  17. "volumeSize": "312990208"
  18. },
  19. "data": {
  20. "org.apache.cloudstack.storage.to.VolumeObjectTO": {
  21. "accountId": 2,
  22. "dataStore": {
  23. "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
  24. "host": "nfs1.centex.qa.cs.rsitex.com",
  25. "id": 1,
  26. "path": "/data/cloudstack-ps",
  27. "poolType": "NetworkFilesystem",
  28. "port": 2049,
  29. "url": "NetworkFilesystem://nfs1.centex.qa.cs.rsitex.com/data/cloudstack-ps/?ROLE=Primary&STOREUUID=2661281b-a1aa-3fb8-9ce1-f9313b2158e5",
  30. "uuid": "2661281b-a1aa-3fb8-9ce1-f9313b2158e5"
  31. }
  32. },
  33. "deviceId": 0,
  34. "format": "QCOW2",
  35. "hypervisorType": "KVM",
  36. "id": 8,
  37. "name": "ROOT-8",
  38. "path": "7087cd8f-c9aa-46ef-99c3-d3d7418e3c2e",
  39. "provisioningType": "THIN",
  40. "size": 312990208,
  41. "uuid": "7087cd8f-c9aa-46ef-99c3-d3d7418e3c2e",
  42. "vmName": "r-8-VM",
  43. "volumeId": 8,
  44. "volumeType": "ROOT"
  45. }
  46. },
  47. "diskSeq": 0,
  48. "path": "7087cd8f-c9aa-46ef-99c3-d3d7418e3c2e",
  49. "type": "ROOT"
  50. }
  51. ],
  52. "enableDynamicallyScaleVm": false,
  53. "enableHA": true,
  54. "id": 8,
  55. "limitCpuUse": false,
  56. "maxRam": 268435456,
  57. "maxSpeed": 500,
  58. "minRam": 268435456,
  59. "minSpeed": 500,
  60. "name": "r-8-VM",
  61. "nics": [
  62. {
  63. "broadcastType": "Vlan",
  64. "broadcastUri": "vlan://901",
  65. "defaultNic": true,
  66. "deviceId": 2,
  67. "dns1": "66.194.167.3",
  68. "dns2": "66.194.167.4",
  69. "gateway": "66.194.167.1",
  70. "ip": "66.194.167.142",
  71. "isSecurityGroupEnabled": false,
  72. "isolationUri": "vlan://901",
  73. "mac": "06:c4:e6:00:00:18",
  74. "name": "cloudbr0",
  75. "netmask": "255.255.255.0",
  76. "networkRateMbps": 200,
  77. "nicUuid": "843263cf-d69d-496f-84fd-b6bfbf55dbf9",
  78. "pxeDisable": true,
  79. "type": "Public",
  80. "uuid": "47b26175-781e-47d8-8d37-577f6d1e1213"
  81. },
  82. {
  83. "broadcastType": "Vxlan",
  84. "broadcastUri": "vxlan://1712",
  85. "defaultNic": false,
  86. "deviceId": 0,
  87. "dns1": "66.194.167.3",
  88. "dns2": "66.194.167.4",
  89. "ip": "10.1.1.1",
  90. "isSecurityGroupEnabled": false,
  91. "isolationUri": "vxlan://1712",
  92. "mac": "02:00:01:47:00:02",
  93. "name": "cloudbr1",
  94. "netmask": "255.255.255.0",
  95. "networkRateMbps": 200,
  96. "nicUuid": "be7d02f5-2ef4-464d-8713-9823b3ae8bb7",
  97. "pxeDisable": true,
  98. "type": "Guest",
  99. "uuid": "5e510ece-0afe-44a3-9cbc-9d4c587a0dce"
  100. },
  101. {
  102. "broadcastType": "LinkLocal",
  103. "defaultNic": false,
  104. "deviceId": 1,
  105. "gateway": "169.254.0.1",
  106. "ip": "169.254.2.250",
  107. "isSecurityGroupEnabled": false,
  108. "mac": "0e:00:a9:fe:02:fa",
  109. "netmask": "255.255.0.0",
  110. "networkRateMbps": -1,
  111. "nicUuid": "269431ed-c997-472c-95da-2ac26e129335",
  112. "pxeDisable": true,
  113. "type": "Control",
  114. "uuid": "05975418-d018-449c-af0e-8948243aa76d"
  115. }
  116. ],
  117. "os": "Debian GNU/Linux 5.0 (64-bit)",
  118. "params": {},
  119. "platformEmulator": "Debian GNU/Linux 5",
  120. "type": "DomainRouter",
  121. "uuid": "521c31e4-0883-4407-927d-200ca39dd13a",
  122. "vncPassword": "CDuwXcemmZMQ7NoAafTttA"
  123. },
  124. "wait": 0
  125. }
  126. },
  127. {
  128. "com.cloud.agent.api.check.CheckSshCommand": {
  129. "interval": 6,
  130. "ip": "169.254.2.250",
  131. "name": "r-8-VM",
  132. "port": 3922,
  133. "retries": 100,
  134. "wait": 0
  135. }
  136. },
  137. {
  138. "com.cloud.agent.api.GetDomRVersionCmd": {
  139. "accessDetails": {
  140. "router.ip": "169.254.2.250",
  141. "router.name": "r-8-VM"
  142. },
  143. "wait": 0
  144. }
  145. },
  146. {},
  147. {
  148. "com.cloud.agent.api.routing.AggregationControlCommand": {
  149. "accessDetails": {
  150. "router.guest.ip": "10.1.1.1",
  151. "router.ip": "169.254.2.250",
  152. "router.name": "r-8-VM"
  153. },
  154. "action": "Start",
  155. "wait": 0
  156. }
  157. },
  158. {
  159. "com.cloud.agent.api.routing.IpAssocCommand": {
  160. "accessDetails": {
  161. "router.guest.ip": "10.1.1.1",
  162. "router.ip": "169.254.2.250",
  163. "router.name": "r-8-VM",
  164. "zone.network.type": "Advanced"
  165. },
  166. "ipAddresses": [
  167. {
  168. "accountId": 2,
  169. "add": true,
  170. "broadcastUri": "vlan://901",
  171. "firstIP": true,
  172. "networkName": "cloudbr0",
  173. "networkRate": 200,
  174. "newNic": false,
  175. "oneToOneNat": false,
  176. "publicIp": "66.194.167.142",
  177. "sourceNat": true,
  178. "trafficType": "Public",
  179. "vifMacAddress": "06:dd:9c:00:00:18",
  180. "vlanGateway": "66.194.167.1",
  181. "vlanNetmask": "255.255.255.0"
  182. }
  183. ],
  184. "wait": 0
  185. }
  186. },
  187. {
  188. "com.cloud.agent.api.routing.SetMonitorServiceCommand": {
  189. "accessDetails": {
  190. "router.guest.ip": "10.1.1.1",
  191. "router.ip": "169.254.2.250",
  192. "router.name": "r-8-VM"
  193. },
  194. "services": [
  195. {
  196. "id": 0,
  197. "isDefault": false,
  198. "pidFile": "/var/run/dnsmasq/dnsmasq.pid",
  199. "processname": "dnsmasq",
  200. "service": "dhcp",
  201. "serviceName": "dnsmasq",
  202. "servicePath": "/var/run/dnsmasq/dnsmasq.pid"
  203. },
  204. {
  205. "id": 0,
  206. "isDefault": false,
  207. "pidFile": "/var/run/haproxy.pid",
  208. "processname": "haproxy",
  209. "service": "loadbalancing",
  210. "serviceName": "haproxy",
  211. "servicePath": "/var/run/haproxy.pid"
  212. },
  213. {
  214. "id": 0,
  215. "isDefault": true,
  216. "pidFile": "/var/run/sshd.pid",
  217. "processname": "sshd",
  218. "service": "ssh",
  219. "serviceName": "ssh",
  220. "servicePath": "/var/run/sshd.pid"
  221. },
  222. {
  223. "id": 0,
  224. "isDefault": true,
  225. "pidFile": "/var/run/apache2.pid",
  226. "processname": "apache2",
  227. "service": "webserver",
  228. "serviceName": "apache2",
  229. "servicePath": "/var/run/apache2.pid"
  230. }
  231. ],
  232. "wait": 0
  233. }
  234. },
  235. {
  236. "com.cloud.agent.api.routing.AggregationControlCommand": {
  237. "accessDetails": {
  238. "router.guest.ip": "10.1.1.1",
  239. "router.ip": "169.254.2.250",
  240. "router.name": "r-8-VM"
  241. },
  242. "action": "Finish",
  243. "wait": 0
  244. }
  245. }
  246. ]
Add Comment
Please, Sign In to add comment