[Bug 1704138] [NEW] Client queries event types on wrong url

Martin Kulhavy 1704138 at bugs.launchpad.net
Thu Jul 13 13:46:14 UTC 2017


Public bug reported:

When communicating with the Ceilometer service API and querying the
event types, an error is reported:

    HTTPBadRequest (HTTP 400) {u'error_message': {u'debuginfo': None,
u'faultcode': u'Client', u'faultstring': u'Missing argument:
"event_type"'}}

This is due to the trailing slash in the URL in
/ceilometerclient/v2/event_types.py:30:

    /v2/event_types/

The service expects an ID after the slash to show the event type - for
proper listing, URL without the trailing slash works ok.

** Affects: python-ceilometerclient (Ubuntu)
     Importance: Undecided
     Assignee: Martin Kulhavy (czechnology)
         Status: New


** Tags: api

** Changed in: python-ceilometerclient (Ubuntu)
     Assignee: (unassigned) => Martin Kulhavy (czechnology)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-ceilometerclient in Ubuntu.
https://bugs.launchpad.net/bugs/1704138

Title:
  Client queries event types on wrong url

Status in python-ceilometerclient package in Ubuntu:
  New

Bug description:
  When communicating with the Ceilometer service API and querying the
  event types, an error is reported:

      HTTPBadRequest (HTTP 400) {u'error_message': {u'debuginfo': None,
  u'faultcode': u'Client', u'faultstring': u'Missing argument:
  "event_type"'}}

  This is due to the trailing slash in the URL in
  /ceilometerclient/v2/event_types.py:30:

      /v2/event_types/

  The service expects an ID after the slash to show the event type - for
  proper listing, URL without the trailing slash works ok.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-ceilometerclient/+bug/1704138/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list