← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1173284] Re: quantum remote-router-interface should not return a 'null' body

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

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

Title:
  quantum remote-router-interface should not return a 'null' body

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  According to the Quantum API doc regarding the remove_router_interface
  API, the Normal Response code is 200 and the request "does not return
  a response body."

  However, a successful execute of the "quantum router-interface-delete
  <router> <subnet>" command results in a response that have the string
  'null' in it.

  stack@ubuntu-2:/tmp$ QUANTUMCLIENT_DEBUG=1 quantum router-interface-delete t1-router t1-sub
  	.
  	.
  	.
  REQ: curl -i http://10.133.10.219:9696/v2.0/routers/8bf5fbad-18d7-43c2-9a87-1819cca6ebe4/remove_router_interface.json -X PUT -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIILhAYJKoZIhvcNAQcCoIILdTCCC3ECAQExCTAHBgUrDgMCGjCCCl0GCSqGSIb3DQEHAaCCCk4EggpKeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNC0yNlQxNjozNjoxNi4yNzEwODIiLCAiZXhwaXJlcyI6ICIyMDEzLTA0LTI3VDE2OjM2OjE2WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNTAyNTZkYTRkMDFhNDY2ODgyMTdhYzY4YjY0YTU5MTciLCAibmFtZSI6ICJ0ZW5hbnQtMSJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjEzMy4xMC4yMTk6ODc3NC92Mi81MDI1NmRhNGQwMWE0NjY4ODIxN2FjNjhiNjRhNT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GjANBgkqhkiG9w0BAQEFAASBgFrti+qiwY25JAYyB98DqE1b0LLTvheQRnQr7wk7X38VRALTed5vVsf+HfvRUK-ymK+F6+c2PqSMaxZpIrB029JUQQ0yDoRCw0kNsxZJyPBNNsMTyUbV9dYt-pPOHnDnq3JRjvCNmd1lZBQedHZJtmIkyiCP2fdtYq8O8Ynzm6ju" -d '{"subnet_id": "f5259d72-f534-46d1-a9a7-319dcb45d837"}'

  RESP:{'date': 'Fri, 26 Apr 2013 16:36:16 GMT', 'status': '200',
  'content-length': '4', 'content-type': 'application/json;
  charset=UTF-8'} null

  Removed interface from router t1-router
  stack@ubuntu-2:/tmp$

  Note: before executing the command: both router "t1-router" and the subnet "t1-sub" exists.
  Should the normal response code for remove_router_interface be 204?

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