← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1173277] Re: Wrong Response code for deleting-floatingip

 

** Changed in: quantum
       Status: New => Invalid

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

Title:
  Wrong Response code for deleting-floatingip

Status in OpenStack Quantum (virtual network service):
  Invalid

Bug description:
  According to the Quantum API doc, the "Normal Response Code" for a
  delete floating IP operation is 200.   However, after a successful
  "quantum floatingip-delete <fip_uuid>" operation, the observed
  response code is 204.  So either the code behavior is wrong or the
  documantation is wrong.

  API documentation on floatingip-delete:

  http://docs.openstack.org/api/openstack-
  network/2.0/content/floatingip_delete.html#d6e2127

  Below is the trace produced by python-quantumclient with debug turned
  on:

  stack@Ubuntu-31:~/159-test$ QUANTUMCLIENT_DEBUG=1 quantum  floatingip-
  delete 4adc6b61-f23b-416f-9f25-51026c186f60


  REQ: curl -i http://10.133.9.194:9696/v2.0/floatingips/4adc6b61-f23b-416f-9f25-51026c186f60.json -X DELETE -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: MIILbwYJKoZIhvcNAQcCoIILYDCCC1wCAQExCTAHBgUrDgMCGjCCCkgGCSqGSIb3DQEHAaCCCjkEggo1eyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNC0yNlQxNTo0MDoyMC4xODg0MjUiLCAiZXhwaXJlcyI6ICIyMDEzLTA0LTI3VDE1OjQwOjIwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiZDR
        .
       .
      .
  MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgH9zMf-ctrL9ZIlxZN7+Z-Kn1ZkK72St93zmH1+ar2r0KLz51DVsgnDAA1AAVbHR3-SmFWyqclYvLhUBO1pPV15xb6WZHfjt79slMrLYrddw5gqY7iIb9znXS8f7tsD1l+givNwq2N9BR1q+BciBnCZUSIPAXm+-O5ht4mEi-TUT"

  RESP:{'date': 'Fri, 26 Apr 2013 15:40:20 GMT', 'status': '204',
  'content-length': '0'}

  Deleted floatingip: 4adc6b61-f23b-416f-9f25-51026c186f60
  stack@Ubuntu-31:~/159-test$ ^C

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