← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1333103] Re: wrong_info_is_displayed_during_no_probe_neutron_debug_probe_clear

 

** Changed in: neutron
       Status: Fix Committed => 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/1333103

Title:
  wrong_info_is_displayed_during_no_probe_neutron_debug_probe_clear

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

Bug description:
  Take a case, when there is no probe present. In this case if we try to
  clear probes using following CLI -

  #neutron-debug probe-clear

  it should ideally give a message like - "Nothing to delete/clear" or
  "No probe is present to clear"

  But when I tries above command following is traced -


  2014-06-23 11:48:43.924 12056 INFO neutron.common.config [-] Logging enabled!
  2014-06-23 11:48:43.925 12056 WARNING neutron.agent.common.config [-] Deprecated: DEFAULT.root_helper is deprecated! Please move root_helper configuration to [AGENT] section.
  2014-06-23 11:48:43.925 12056 WARNING neutron.agent.common.config [-] Deprecated: DEFAULT.root_helper is deprecated! Please move root_helper configuration to [AGENT] section.
  2014-06-23 11:48:43.927 12056 DEBUG neutron.debug.commands.ClearProbe [-] run(Namespace(request_format='json')) run /opt/stack/neutron/neutron/debug/commands.py:105
  2014-06-23 11:48:43.928 12056 DEBUG neutronclient.client [-] 
  REQ: curl -i http://10.0.9.40:9696/v2.0/ports.json?device_owner=network%3Aprobe&device_owner=compute%3Aprobe&device_id=openstack -X GET -H "X-Auth-Token: MIIWRAYJKoZIhvcNAQcCoIIWNTCCFjECAQExCTAHBgUrDgMCGjCCFJoGCSqGSIb3DQEHAaCCFIsEghSHeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNi0yM1QwNjoxODo0My44MzA5MDUiLCAiZXhwaXJlcyI6ICIyMDE0LTA2LTIzVDA3OjE4OjQzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cn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J9LCB7Im5hbWUiOiAiaGVhdF9zdGFja19vd25lciJ9LCB7Im5hbWUiOiAiYW5vdGhlcnJvbGUifSwgeyJuYW1lIjogIl9tZW1iZXJfIn1dLCAibmFtZSI6ICJkZW1vIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImY3OTA5MDQ0Y2M3ZjQzMTE5NzkwYWMwYjY0ZmYwYzNkIiwgIjg1NTBmNmZlNzQ0YTQwYzBiNzg4ODI5MWM0YzI1MjQ5IiwgIjEzNGJkZDI1ZGJhYzRiYWNiN2Q0MjAzNTAwYzVmY2M1IiwgIjlmZTJmZjllZTQzODRiMTg5NGE5MDg3OGQzZTkyYmFiIl19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAh9YbWf9-xM-dDkVpSvK15tuQ8nMxnOwa3dwqF5Gmql9A3icH7V1cjnNZfDDwNyvkzvQPoaX5A8gNxKKZ7+4y6LZO0hTc+ib1ikVAjLm--7VG13owGMD2Qd5r5+QJtpPmFujYQaqPIktTJQRFlILvoJlfu+Fo7eidwWDjvIViI0XmcWVBsAJBIzAIH8hmW9w-HYUc0H6E4wK+UXRXLpfCowgNYae30ZBYM4MeWeveXvduVh1iqFFSnWqcqCuKfbiz6RBqWbRWQbcuEw9pXfnQHGTfiQui020qxiuvfFMMiYRVs6-HHwaybUl13RwBEY5MK9FLk8CzqdZB16aHv85djA==" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
   http_log_req /opt/stack/python-neutronclient/neutronclient/common/utils.py:175
  2014-06-23 11:48:44.038 12056 DEBUG neutronclient.client [-] RESP:200 CaseInsensitiveDict({'date': 'Mon, 23 Jun 2014 06:18:44 GMT', 'content-length': '13', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-afbd1b2f-ab5e-4441-8477-bede40a652fe'}) {"ports": []}
   http_log_resp /opt/stack/python-neutronclient/neutronclient/common/utils.py:184
  2014-06-23 11:48:44.039 12056 INFO neutron.debug.commands.ClearProbe [-] All Probes deleted


  Concentrate in the last of traces --->   "ClearProbe [-] All Probes
  deleted"

  
  I dont think it should be like this. In my opinion information "All probe deleted" should be modified as per condition if probes are present or not.

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


References