also, as a side comment dynamic DNS follows the DHCP lease lifecycle, not a server activity lifecycle. Just because the current implementation has tied these 2 concepts together does not justify the behavior.
Further, a floating IP assignment is essentially a static binding and should be valid for the lifetime of the association regardless of the VM activity. This stickiness is very important for clients that exist outside the virtual environment.
I think the response above is only valid when the VM had never been started. If the VM was ever made active it would have been assigned an IP.
As a client of DNS i should not be dependent on the VM run state. In fact, nova still reports the IP for the VM regardless of the state. for example:
root@gngsvm009d :/opt/contrail/ utils# nova show 0cb1d9ab- 573a-47a2- 9a15-80aa91f274 c5 ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ AZ:availability _zone | nova | SRV-ATTR: host | gngsvc018d | SRV-ATTR: hypervisor_ hostname | gngsvc018d | SRV-ATTR: instance_ name | instance-00000f25 | STS:power_ state | 4 | STS:task_ state | - | USG:launched_ at | 2014-12- 09T01:39: 26.000000 | USG:terminated_ at | - | 09T01:39: 13Z | d6ce-4c23- 9fce-4504816771 e4) | d1ecb5387856122 bb664d2b83a74c8 fea6c557d00 | 573a-47a2- 9a15-80aa91f274 c5 | fb6c-4a96- a700-f2a1de22f0 cd) | volumes: volumes_ attached | [{"id": "143fb12d- d624-4982- b427-7c51c169c7 42"}, {"id": "c7aa6705- 0e7b-430b- 9f27-b33b267dc7 89"}] | 89c64601f1bd218 ca | 25T04:41: 48Z | 9b706a66fed020d c1 | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | stopped |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2014-12-
| flavor | jbm-std (097059e7-
| hostId | 155ee1eb84b05b3
| id | 0cb1d9ab-
| image | JBM-Primary-Snap (416c6e33-
| key_name | - |
| metadata | {"delivered_to": "XXX"} |
| name | jbm-contrail-vm003 |
| os-extended-
| performance_net network | 192.168.1.8, 10.163.0.8 |
| security_groups | default |
| status | SHUTOFF |
| tenant_id | 2aeeb8624959442
| updated | 2015-01-
| user_id | 7bb36e4bf9ec400
+------
also, as a side comment dynamic DNS follows the DHCP lease lifecycle, not a server activity lifecycle. Just because the current implementation has tied these 2 concepts together does not justify the behavior.
Further, a floating IP assignment is essentially a static binding and should be valid for the lifetime of the association regardless of the VM activity. This stickiness is very important for clients that exist outside the virtual environment.