| Summary: | malformed request when connecting to ceilometer on a Juno openstack instance | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Felix Dewaleyne <fdewaley> |
| Component: | openstack-ceilometer | Assignee: | Mehdi ABAAKOUK <mabaakou> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yurii Prokulevych <yprokule> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 (Juno) | CC: | dajohnso, fdewaley, jfrey, jhardy, jruzicka, mabaakou, obarenbo, srevivo |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-28 13:03:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Nothing have been implemented behind '/' that's why you got 406 (I agree the return code is a bit confusing). In your case, you should use '/v2' to ping the Ceilometer API. Since OSP7, the '/' have been implemented to return versions and links information of the Ceilometer API. |
Description of problem: when connecting to ceilometer on the customer's Juno instance, cfme 5.6.1.2 receives a 406 error, complaining the client malformed the message Version-Release number of selected component (if applicable): 5.6.1.2 How reproducible: all the time in customer environemnt Steps to Reproduce: 1. add openstack instance to cfme-5.6.1.2 2. 3. Actual results: [----] E, [2016-09-12T04:50:59.226125 #2697:c7b988] ERROR -- : <Fog> excon.error #<Excon::Error::NotAcceptable: Expected([200, 204, 300]) <=> Actual(406 Not Acceptable) excon.error.response :body => "{\"error_message\": \"406 Not Acceptable\\n\\nThe server could not comply with the request since it is either malformed or otherwise incorrect.\\n\\n \"}" :cookies => [ ] :headers => { "Content-Length" => "147" "Content-Type" => "application/json" "Date" => "Sun, 11 Sep 2016 20:51:25 GMT" "Server" => "WSGIServer/0.1 Python/2.7.5" } Expected results: connection is successful Additional info: this is being raised by several of the customer's environments.