Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [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
- [
- {
- "com.cloud.agent.api.StartCommand": {
- "executeInSequence": false,
- "hostIp": "10.4.4.2",
- "vm": {
- "arch": "x86_64",
- "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",
- "cpus": 1,
- "disks": [
- {
- "_details": {
- "managed": "false",
- "storageHost": "nfs1.centex.qa.cs.rsitex.com",
- "storagePort": "2049",
- "volumeSize": "312990208"
- },
- "data": {
- "org.apache.cloudstack.storage.to.VolumeObjectTO": {
- "accountId": 2,
- "dataStore": {
- "org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
- "host": "nfs1.centex.qa.cs.rsitex.com",
- "id": 1,
- "path": "/data/cloudstack-ps",
- "poolType": "NetworkFilesystem",
- "port": 2049,
- "url": "NetworkFilesystem://nfs1.centex.qa.cs.rsitex.com/data/cloudstack-ps/?ROLE=Primary&STOREUUID=2661281b-a1aa-3fb8-9ce1-f9313b2158e5",
- "uuid": "2661281b-a1aa-3fb8-9ce1-f9313b2158e5"
- }
- },
- "deviceId": 0,
- "format": "QCOW2",
- "hypervisorType": "KVM",
- "id": 8,
- "name": "ROOT-8",
- "path": "7087cd8f-c9aa-46ef-99c3-d3d7418e3c2e",
- "provisioningType": "THIN",
- "size": 312990208,
- "uuid": "7087cd8f-c9aa-46ef-99c3-d3d7418e3c2e",
- "vmName": "r-8-VM",
- "volumeId": 8,
- "volumeType": "ROOT"
- }
- },
- "diskSeq": 0,
- "path": "7087cd8f-c9aa-46ef-99c3-d3d7418e3c2e",
- "type": "ROOT"
- }
- ],
- "enableDynamicallyScaleVm": false,
- "enableHA": true,
- "id": 8,
- "limitCpuUse": false,
- "maxRam": 268435456,
- "maxSpeed": 500,
- "minRam": 268435456,
- "minSpeed": 500,
- "name": "r-8-VM",
- "nics": [
- {
- "broadcastType": "Vlan",
- "broadcastUri": "vlan://901",
- "defaultNic": true,
- "deviceId": 2,
- "dns1": "66.194.167.3",
- "dns2": "66.194.167.4",
- "gateway": "66.194.167.1",
- "ip": "66.194.167.142",
- "isSecurityGroupEnabled": false,
- "isolationUri": "vlan://901",
- "mac": "06:c4:e6:00:00:18",
- "name": "cloudbr0",
- "netmask": "255.255.255.0",
- "networkRateMbps": 200,
- "nicUuid": "843263cf-d69d-496f-84fd-b6bfbf55dbf9",
- "pxeDisable": true,
- "type": "Public",
- "uuid": "47b26175-781e-47d8-8d37-577f6d1e1213"
- },
- {
- "broadcastType": "Vxlan",
- "broadcastUri": "vxlan://1712",
- "defaultNic": false,
- "deviceId": 0,
- "dns1": "66.194.167.3",
- "dns2": "66.194.167.4",
- "ip": "10.1.1.1",
- "isSecurityGroupEnabled": false,
- "isolationUri": "vxlan://1712",
- "mac": "02:00:01:47:00:02",
- "name": "cloudbr1",
- "netmask": "255.255.255.0",
- "networkRateMbps": 200,
- "nicUuid": "be7d02f5-2ef4-464d-8713-9823b3ae8bb7",
- "pxeDisable": true,
- "type": "Guest",
- "uuid": "5e510ece-0afe-44a3-9cbc-9d4c587a0dce"
- },
- {
- "broadcastType": "LinkLocal",
- "defaultNic": false,
- "deviceId": 1,
- "gateway": "169.254.0.1",
- "ip": "169.254.2.250",
- "isSecurityGroupEnabled": false,
- "mac": "0e:00:a9:fe:02:fa",
- "netmask": "255.255.0.0",
- "networkRateMbps": -1,
- "nicUuid": "269431ed-c997-472c-95da-2ac26e129335",
- "pxeDisable": true,
- "type": "Control",
- "uuid": "05975418-d018-449c-af0e-8948243aa76d"
- }
- ],
- "os": "Debian GNU/Linux 5.0 (64-bit)",
- "params": {},
- "platformEmulator": "Debian GNU/Linux 5",
- "type": "DomainRouter",
- "uuid": "521c31e4-0883-4407-927d-200ca39dd13a",
- "vncPassword": "CDuwXcemmZMQ7NoAafTttA"
- },
- "wait": 0
- }
- },
- {
- "com.cloud.agent.api.check.CheckSshCommand": {
- "interval": 6,
- "ip": "169.254.2.250",
- "name": "r-8-VM",
- "port": 3922,
- "retries": 100,
- "wait": 0
- }
- },
- {
- "com.cloud.agent.api.GetDomRVersionCmd": {
- "accessDetails": {
- "router.ip": "169.254.2.250",
- "router.name": "r-8-VM"
- },
- "wait": 0
- }
- },
- {},
- {
- "com.cloud.agent.api.routing.AggregationControlCommand": {
- "accessDetails": {
- "router.guest.ip": "10.1.1.1",
- "router.ip": "169.254.2.250",
- "router.name": "r-8-VM"
- },
- "action": "Start",
- "wait": 0
- }
- },
- {
- "com.cloud.agent.api.routing.IpAssocCommand": {
- "accessDetails": {
- "router.guest.ip": "10.1.1.1",
- "router.ip": "169.254.2.250",
- "router.name": "r-8-VM",
- "zone.network.type": "Advanced"
- },
- "ipAddresses": [
- {
- "accountId": 2,
- "add": true,
- "broadcastUri": "vlan://901",
- "firstIP": true,
- "networkName": "cloudbr0",
- "networkRate": 200,
- "newNic": false,
- "oneToOneNat": false,
- "publicIp": "66.194.167.142",
- "sourceNat": true,
- "trafficType": "Public",
- "vifMacAddress": "06:dd:9c:00:00:18",
- "vlanGateway": "66.194.167.1",
- "vlanNetmask": "255.255.255.0"
- }
- ],
- "wait": 0
- }
- },
- {
- "com.cloud.agent.api.routing.SetMonitorServiceCommand": {
- "accessDetails": {
- "router.guest.ip": "10.1.1.1",
- "router.ip": "169.254.2.250",
- "router.name": "r-8-VM"
- },
- "services": [
- {
- "id": 0,
- "isDefault": false,
- "pidFile": "/var/run/dnsmasq/dnsmasq.pid",
- "processname": "dnsmasq",
- "service": "dhcp",
- "serviceName": "dnsmasq",
- "servicePath": "/var/run/dnsmasq/dnsmasq.pid"
- },
- {
- "id": 0,
- "isDefault": false,
- "pidFile": "/var/run/haproxy.pid",
- "processname": "haproxy",
- "service": "loadbalancing",
- "serviceName": "haproxy",
- "servicePath": "/var/run/haproxy.pid"
- },
- {
- "id": 0,
- "isDefault": true,
- "pidFile": "/var/run/sshd.pid",
- "processname": "sshd",
- "service": "ssh",
- "serviceName": "ssh",
- "servicePath": "/var/run/sshd.pid"
- },
- {
- "id": 0,
- "isDefault": true,
- "pidFile": "/var/run/apache2.pid",
- "processname": "apache2",
- "service": "webserver",
- "serviceName": "apache2",
- "servicePath": "/var/run/apache2.pid"
- }
- ],
- "wait": 0
- }
- },
- {
- "com.cloud.agent.api.routing.AggregationControlCommand": {
- "accessDetails": {
- "router.guest.ip": "10.1.1.1",
- "router.ip": "169.254.2.250",
- "router.name": "r-8-VM"
- },
- "action": "Finish",
- "wait": 0
- }
- }
- ]
Add Comment
Please, Sign In to add comment