← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1649503] [NEW] Mechanism driver can't be notified with updated network

 

Public bug reported:

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"}}

** Affects: neutron
     Importance: Undecided
     Assignee: Hong Hui Xiao (xiaohhui)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Hong Hui Xiao (xiaohhui)

-- 
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 can't be notified with updated network

Status in neutron:
  New

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


Follow ups