rhtyd commented on issue #3876: server: use host record related to a ssvm/cpvm URL: https://github.com/apache/cloudstack/pull/3876#issuecomment-583971147 API response on fresh zone deployment when VMs are not up: ``` { "created": "2020-02-10T11:36:11+0530", "dns1": "8.8.8.8", "gateway": "172.20.0.1", "hostid": "5735265e-cc04-4b97-8e9f-9a78e6d99855", "hostname": "monkeybox-centos7-kvm1", "hypervisor": "KVM", "id": "2e7293a0-d168-46f3-bc29-262ddbf22474", "linklocalip": "169.254.58.140", "linklocalmacaddress": "0e:00:a9:fe:3a:8c", "linklocalnetmask": "255.255.0.0", "name": "s-2-VM", "podid": "c630a58b-6aa4-4a37-84a0-6cc8d711138b", "privateip": "172.20.25.120", "privatemacaddress": "1e:00:03:00:00:6f", "privatenetmask": "255.255.0.0", "publicip": "172.20.20.199", "publicmacaddress": "1e:00:81:00:01:7d", "publicnetmask": "255.255.0.0", "state": "Starting", "systemvmtype": "secondarystoragevm", "templateid": "d46f0da6-4bca-11ea-bb57-f4d1082409e6", "zoneid": "03a01cbf-aea2-4ea9-b2ff-c7c6394fad53", "zonename": "KVM-advzone" } ``` On/after connected: ``` { "agentstate": "Up", "created": "2020-02-10T11:36:11+0530", "dns1": "8.8.8.8", "gateway": "172.20.0.1", "hostid": "5735265e-cc04-4b97-8e9f-9a78e6d99855", "hostname": "monkeybox-centos7-kvm1", "hypervisor": "KVM", "id": "2e7293a0-d168-46f3-bc29-262ddbf22474", "linklocalip": "169.254.58.140", "linklocalmacaddress": "0e:00:a9:fe:3a:8c", "linklocalnetmask": "255.255.0.0", "name": "s-2-VM", "podid": "c630a58b-6aa4-4a37-84a0-6cc8d711138b", "privateip": "172.20.25.120", "privatemacaddress": "1e:00:03:00:00:6f", "privatenetmask": "255.255.0.0", "publicip": "172.20.20.199", "publicmacaddress": "1e:00:81:00:01:7d", "publicnetmask": "255.255.0.0", "state": "Running", "systemvmtype": "secondarystoragevm", "templateid": "d46f0da6-4bca-11ea-bb57-f4d1082409e6", "version": "4.13.1.0-SNAPSHOT", "zoneid": "03a01cbf-aea2-4ea9-b2ff-c7c6394fad53", "zonename": "KVM-advzone" } ``` Since, this is purely API response change with manual testing, Travis smoketests should be enough.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
