)]}'
{"specs/pike/approved/deprecate-floatingip-actions-proxy-api.rst":[{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"7882a5d5bf9ebbb422d63c6d230016f63c906a02","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"With neutron, the end user need to do as below::"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    neutron floatingip-create EXT_NET_ID"},{"line_number":34,"context_line":"    neutron floatingip-associate FLOATING_IP_ID VM_PORT_ID"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"The instance\u0027s floatingip info also expose in the Nova API. You can get"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bff0334d_b779dac8","line":33,"updated":"2017-04-11 15:18:20.000000000","message":"The better way is actually:\n\n  neutron floatingip-create EXT_NET_ID VM_PORT_ID\n\nwhich does not need a second associate step and is an atomic  action.","commit_id":"537b80980bc332ce9431a2250ca90d84f32002bd"},{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"7882a5d5bf9ebbb422d63c6d230016f63c906a02","unresolved":false,"context_lines":[{"line_number":40,"context_line":"floating to the instance\u0027s interface with Neutron API directly, Neutron will"},{"line_number":41,"context_line":"send `network-changed` event to the Nova, then Nova will update specific"},{"line_number":42,"context_line":"instance\u0027s network info cache. So there won\u0027t have stale floatingip info in the"},{"line_number":43,"context_line":"Nova."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Use Cases"},{"line_number":46,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bff0334d_b762fa08","line":43,"updated":"2017-04-11 15:18:20.000000000","message":"FWIW, the nova info still gets stale and at scale is not currently usable.","commit_id":"537b80980bc332ce9431a2250ca90d84f32002bd"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"b583e90b48f77af77589ecdcb70304e0242e56ad","unresolved":false,"context_lines":[{"line_number":40,"context_line":"floating to the instance\u0027s interface with Neutron API directly, Neutron will"},{"line_number":41,"context_line":"send `network-changed` event to the Nova, then Nova will update specific"},{"line_number":42,"context_line":"instance\u0027s network info cache. So there won\u0027t have stale floatingip info in the"},{"line_number":43,"context_line":"Nova."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Use Cases"},{"line_number":46,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bff0334d_3d65ab46","line":43,"in_reply_to":"bff0334d_a2107a4f","updated":"2017-04-11 15:58:42.000000000","message":"At scale you could lose the rpc notification that happens within neutron to tell it to send the network-changed event to nova which triggers the cache update. Nova does refresh the nw info cache for each instance in a periodic on the computes, but it\u0027s definitely not immediate since it does one instance on the compute per minute in a queue, so if you have 10 instances it could be 10 minutes before the nw info cache for the instance you care about is updated.\n\nAnyway, I\u0027m assuming that\u0027s related to what Monty is mentioning.\n\nBased on the conversation in IRC today and:\n\nhttps://etherpad.openstack.org/p/nova-os-interfaces\n\nIt\u0027s relatively apparent that the \u0027addresses\u0027 dict in the server response body is less than ideal, but I think cleaning that all up should happen separately in a different microversion since I\u0027m sure we\u0027ll bikeshed on what should actually go in that thing, or if it should be a subresource on the servers API, or something else.","commit_id":"537b80980bc332ce9431a2250ca90d84f32002bd"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"3a2453fb1486a9de344cf5877845ad7cfa0f2cab","unresolved":false,"context_lines":[{"line_number":40,"context_line":"floating to the instance\u0027s interface with Neutron API directly, Neutron will"},{"line_number":41,"context_line":"send `network-changed` event to the Nova, then Nova will update specific"},{"line_number":42,"context_line":"instance\u0027s network info cache. So there won\u0027t have stale floatingip info in the"},{"line_number":43,"context_line":"Nova."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Use Cases"},{"line_number":46,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"bff0334d_a2107a4f","line":43,"in_reply_to":"bff0334d_b762fa08","updated":"2017-04-11 15:20:13.000000000","message":"Are you using clouds that have correctly configured the above? Or do you mean generally clouds seem to have stale data there?","commit_id":"537b80980bc332ce9431a2250ca90d84f32002bd"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"1f9a92618ae9f49bf73c58af2e1f8d62d375b64e","unresolved":false,"context_lines":[{"line_number":123,"context_line":"Dependencies"},{"line_number":124,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"There is a bug https://bugs.launchpad.net/neutron/+bug/1633337 in the Neutron,"},{"line_number":127,"context_line":"which leads to the `network-changed` event won\u0027t be triggered when the"},{"line_number":128,"context_line":"floatingIP updated. The bug should be fixed firstly before we deprecate this"},{"line_number":129,"context_line":"API to ensure the network info cache updated correctly in the Nova API."}],"source_content_type":"text/x-rst","patch_set":4,"id":"bff0334d_7758f254","line":126,"updated":"2017-04-11 15:18:01.000000000","message":"Looks like that is a duplicate of this now fixed bug:\nhttps://bugs.launchpad.net/neutron/+bug/1642918","commit_id":"537b80980bc332ce9431a2250ca90d84f32002bd"}]}
