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

commit e5ad765484e546b9f857a91c0fea41ebfd87adab
Author: Hong Hui Xiao <[email protected]>
Date:   Tue Dec 13 16:29:08 2016 +0800

    Retrieve fresh network DB data before getting it in ml2
    
    The DB objects that have join relationship with network, will be
    acquired once during a DB transaction.
    However, if they are updated after the first acquisition, the network
    DB model object maintains the older value, and doesnt update it.
    
    After cd7d63bde92e47a4b7bd4212b2e6c45f08c03143, the updated network
    is retrieved from the db causing this bug.
    This patch retrieves the latest data for these DB objects so that
    updated information can be used.
    
    Change-Id: Ic8935008515bed687ad3abd00c8ccaf656a30452
    Closes-Bug: #1649503


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1649503

Title:
  Mechanism driver getting stale QoS data on network update

Status in neutron:
  Fix Released

Bug description:
  When disassociate qos with network, the ml2 mechanism drivers will
  still be notified that the network has the stale qos policy.

  This bug can be observed after
  cd7d63bde92e47a4b7bd4212b2e6c45f08c03143

  The same issue will not happen for port.

  neutron --debug net-update private --no-qos-policy

  DEBUG: keystoneauth.session REQ: curl -g -i -X PUT 
http://192.168.31.90:9696/v2.0/networks/60e7627a-1722-439d-90d4-975fd431df7c.json
 -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H 
"Accept: application/json" -H "X-Auth-Token: 
{SHA1}db3122bb702d9094793c5235c47f7b1e544315b2" -d '{"network": 
{"qos_policy_id": null}}'
  DEBUG: keystoneauth.session RESP: [200] Content-Type: application/json 
Content-Length: 802 X-Openstack-Request-Id: 
req-7b551082-c2d3-452c-b58a-da9884b24d42 Date: Tue, 13 Dec 2016 08:05:35 GMT 
Connection: keep-alive 
  RESP BODY: {"network": {"provider:physical_network": null, 
"ipv6_address_scope": null, "revision_number": 11, "port_security_enabled": 
true, "mtu": 1450, "id": "60e7627a-1722-439d-90d4-975fd431df7c", 
"router:external": false, "availability_zone_hints": [], "availability_zones": 
[], "provider:segmentation_id": 77, "ipv4_address_scope": null, "shared": 
false, "project_id": "e33a0ae9e47e49e8b2b6d65efee75b43", "status": "ACTIVE", 
"subnets": ["230bcb4f-8c2b-4db2-a9aa-325351cd6064", 
"09aa4e9c-fe6b-42d5-b5ca-76443a6c380a"], "description": "", "tags": [], 
"updated_at": "2016-12-13T08:05:34Z", "qos_policy_id": 
"6cd40fa9-092f-43bb-8214-ed79e5174c4f", "name": "private", "admin_state_up": 
true, "tenant_id": "e33a0ae9e47e49e8b2b6d65efee75b43", "created_at": 
"2016-12-13T01:36:43Z", "provider:network_type": "vxlan"}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1649503/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to