quantum meta agent is using quantum client

Bug #1092043 reported by yong sheng gong
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Oleg Bondarev

Bug Description

After l3 rpc BP got in, we can use RPC to call quantum server instead of quantum client:
class MetadataProxyHandler(object):
    OPTS = [
        cfg.StrOpt('admin_user'),
        cfg.StrOpt('admin_password'),
        cfg.StrOpt('admin_tenant_name'),
        cfg.StrOpt('auth_url'),
        cfg.StrOpt('auth_strategy', default='keystone'),
        cfg.StrOpt('auth_region'),
        cfg.StrOpt('nova_metadata_ip', default='127.0.0.1',
                   help="IP address used by Nova metadata server."),
        cfg.IntOpt('nova_metadata_port',
                   default=8775,
                   help="TCP Port used by Nova metadata server."),
        cfg.StrOpt('metadata_proxy_shared_secret',
                   default='',
                   help='Shared secret to sign instance-id request')
    ]

Tags: l3-ipam-dhcp
Changed in quantum:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: l3-ipam-dhcp
Changed in quantum:
assignee: nobody → Anton Frolov (anton0)
status: Confirmed → In Progress
Anton Frolov (anton0)
Changed in neutron:
assignee: Anton Frolov (anton0) → nobody
status: In Progress → Confirmed
Lawrance (jing)
Changed in neutron:
assignee: nobody → Lawrance (jing)
status: Confirmed → In Progress
Revision history for this message
Oleg Bondarev (obondarev) wrote :

Hi Lawrance, are you working on this? If not, I'd like to take it

Changed in neutron:
assignee: Lawrance (jing) → Oleg Bondarev (obondarev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/121782

Maru Newby (maru)
Changed in neutron:
importance: Wishlist → Medium
milestone: none → kilo-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/121782
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a19ec4a7320dead0ea138697b8785638c6dd4307
Submitter: Jenkins
Branch: master

commit a19ec4a7320dead0ea138697b8785638c6dd4307
Author: Oleg Bondarev <email address hidden>
Date: Wed Aug 27 15:19:18 2014 +0400

    Use RPC instead of neutron client in metadata agent

    RPC is a standard way of interacting between Neutron server and agents
    Using neutron client is also inefficient as it results in unneeded
    keystone load and may become a bottleneck at scale

    DocImpact
    When upgrading, one should upgrade neutron server first,
    then metadata agent. However there is a fallback in case
    metadata agent fails to get info from server by rpc -
    it will return to using neutron client.

    Closes-Bug: #1092043

    Change-Id: Ib75568643e6062543c0ff8cf80fba1b40b4fe82f

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.