Comment 4 for bug 1265032

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to horizon (stable/havana)

Reviewed: https://review.openstack.org/87728
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f3557786e2a9f026a16d2fd3b8fa9243bc4c70a9
Submitter: Jenkins
Branch: stable/havana

commit f3557786e2a9f026a16d2fd3b8fa9243bc4c70a9
Author: Assaf Muller <email address hidden>
Date: Sun Dec 29 16:44:46 2013 +0200

    Get instance networking information from Neutron

    project/instances, admin/instances and the instance details page
    all get networking information from Nova. However, with Neutron
    enabled, floating IP associations are done direcly with Neutron,
    meaning that Nova's DB will fall out of sync and thus the GUI
    won't reflect successful floating IP associations until Nova
    polls Neutron again and updates its DB. The polling can take
    up to several minutes to complete for consecutive floating IP
    operations.

    The solution is to update instances' networking information from
    Neutron immediately after the call to list Nova instances.

    Conflicts:
     openstack_dashboard/dashboards/project/instances/tests.py
     openstack_dashboard/dashboards/project/instances/views.py

    Closes-Bug: #1265032
    Change-Id: I0382fa9a4a9fff21e7b4d05cd3b76783f826735f
    (cherry picked from commit 715d6b822838009530b7792cd7749164ae3fc663)