← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1926149] [NEW] [OVN] Neutron server is filter by "subnet:segment_id", but not when OVS is used

 

Public bug reported:

When OVN backend is used, a manual HTTP request to retrieve the subnets
filtering by segment ID works fine: http://paste.openstack.org/

When OVS backend is used, this request returns:
{
    "NeutronError": {
        "type": "HTTPBadRequest",
        "message": "['segment_id'] is invalid attribute for filtering",
        "detail": ""
    }
}

OVN does not have, in the ML2 supported list extensions, the extension
"filter-validation".

** Affects: neutron
     Importance: Low
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: In Progress

** Changed in: neutron
   Importance: Undecided => Low

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

** Description changed:

  When OVN backend is used, a manual HTTP request to retrieve the subnets
- filtering by segment ID works fine:
- 
-   $ curl -s -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json" -X GET \
-     "https://overcloud.redhat.local:13696/v2.0/subnets?segment_id=2d0263b1-6e16-4f9f-94d1-e581c39e5d86";
+ filtering by segment ID works fine: http://paste.openstack.org/
  
  When OVS backend is used, this request returns:
  {
-     "NeutronError": {
-         "type": "HTTPBadRequest",
-         "message": "['segment_id'] is invalid attribute for filtering",
-         "detail": ""
-     }
+     "NeutronError": {
+         "type": "HTTPBadRequest",
+         "message": "['segment_id'] is invalid attribute for filtering",
+         "detail": ""
+     }
  }
  
- 
- OVN does not have, in the ML2 supported list extensions, the extension "filter-validation".
+ OVN does not have, in the ML2 supported list extensions, the extension
+ "filter-validation".

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

Title:
  [OVN] Neutron server is filter by "subnet:segment_id", but not when
  OVS is used

Status in neutron:
  In Progress

Bug description:
  When OVN backend is used, a manual HTTP request to retrieve the
  subnets filtering by segment ID works fine:
  http://paste.openstack.org/

  When OVS backend is used, this request returns:
  {
      "NeutronError": {
          "type": "HTTPBadRequest",
          "message": "['segment_id'] is invalid attribute for filtering",
          "detail": ""
      }
  }

  OVN does not have, in the ML2 supported list extensions, the extension
  "filter-validation".

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


Follow ups