CeilometerApiTests.test_list_meters failed with 410 error when tryed to get alarm list

Bug #1583554 reported by Egor Kotko on 2016-05-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Ivan Berezovskiy
Mitaka
High
Ivan Berezovskiy
Newton
High
Ivan Berezovskiy

Bug Description

CeilometerApiTests.test_list_meters failed with 410 error when tryed to get alarm list

Scenario:
            1. Create cluster
            2. Add 3 nodes with controller and ceph role
            3. Add 3 nodes with compute and ceph roles
            4. Add 3 nodes with mongo roles
            5. Verify network
            6. Deploy the cluster
            8. Verify smiles count
            9. Check networks and OSTF

Actual result:
http://paste.openstack.org/show/497686/

From OSTF log:
keystoneclient.auth.identity.v2: DEBUG: Making authentication request to https://10.109.8.3:5000/v2.0/tokens fuel_health.common.test_mixins: INFO: STEP:1, verify action: 'getting list of meters' fuel_health.common.test_mixins: INFO: STEP:2, verify action: 'getting list of alarms' ceilometerclient.openstack.common.apiclient.client: DEBUG: Request returned failure status: 410 fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/fuel_health/common/test_mixins.py", line 177, in verify result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/ceilometerclient/v2/alarms.py", line 83, in list return self._list(options.build_url(self._path(), q)) File "/usr/lib/python2.7/site-packages/ceilometerclient/common/base.py", line 63, in _list resp = self.api.get(url) File "/usr/lib/python2.7/site-packages/ceilometerclient/openstack/common/apiclient/client.py", line 355, in get return self.client_request("GET", url, **kwargs) File "/usr/lib/python2.7/site-packages/ceilometerclient/openstack/common/apiclient/client.py", line 345, in client_request self, method, url, **kwargs) File "/usr/lib/python2.7/site-packages/ceilometerclient/openstack/common/apiclient/client.py", line 261, in client_request method, self.concat_url(endpoint, url), **kwargs) File "/usr/lib/python2.7/site-packages/ceilometerclient/openstack/common/apiclient/client.py", line 201, in request raise exceptions.from_response(resp, method, url) Gone: Gone (HTTP 410) (Request-ID: req-da232653-5a13-49f8-8a95-b91478a20b83)

Manually from controller node:
root@node-3:~# ceilometer alarm-list
+----------+------+-------+----------+---------+------------+-----------------+------------------+
| Alarm ID | Name | State | Severity | Enabled | Continuous | Alarm condition | Time constraints |
+----------+------+-------+----------+---------+------------+-----------------+------------------+
+----------+------+-------+----------+---------+------------+-----------------+------------------+

root@node-3:~# ceilometer meter-list
+----------------------------------+-------+-----------------+--------------------------------------+---------------------------
-------+----------------------------------+
| Name | Type | Unit | Resource ID | User ID
       | Project ID |
+----------------------------------+-------+-----------------+--------------------------------------+---------------------------
-------+----------------------------------+
| identity.project.created | delta | project | 0d919545be304a7e872aecf4df41f6b2 | None | None |
| identity.project.created | delta | project | d826520383b14cafa33a1fc8ef51a94c | None | None |
| identity.project.created | delta | project | f2937e768b4546fa943ee05576490918 | None | None |
| identity.role.created | delta | role | 1c8b00a955074acea0554c02df3830f5 | None | None |
| identity.role.created | delta | role | 32bfb5a42f7448deb18f0cf768487c35 | 23e893dd2a834374bb60996d32568d25 | None |
| identity.role.created | delta | role | 9fe2ff9ee4384b1894a90878d3e92bab | None | None |
| identity.role.created | delta | role | b1a8987285594d86a25d4712c57e2095 | 23e893dd2a834374bb60996d32568d25 | None |
| identity.role_assignment.created | delta | role_assignment | 32bfb5a42f7448deb18f0cf768487c35 | 23e893dd2a834374bb60996d32568d25 | None |
| identity.role_assignment.created | delta | role_assignment | b1a8987285594d86a25d4712c57e2095 | 23e893dd2a834374bb60996d32568d25 | None |
| identity.user.created | delta | user | 23e893dd2a834374bb60996d32568d25 | None | None |
| identity.user.created | delta | user | 24aa4886c5be449db2e7787f054e7111 | None | None |
...

Seems it is connected with:
https://bugs.launchpad.net/fuel/+bug/1553189

9.0 mos iso #372

Egor Kotko (ykotko) wrote :

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Artem Minasyan (aminasyan) wrote :

This patch was merged https://review.openstack.org/#/c/316338/3 and it has option auth_plugin but this option is not define in service credentials.

Fix proposed to branch: master
Review: https://review.openstack.org/319226

Changed in fuel:
assignee: MOS Ceilometer (mos-ceilometer) → Ivan Berezovskiy (iberezovskiy)
status: Confirmed → In Progress
tags: added: swarm-blocker

Change abandoned by Ivan Berezovskiy (<email address hidden>) on branch: master
Review: https://review.openstack.org/319226

Ivan Berezovskiy (iberezovskiy) wrote :
Ivan Berezovskiy (iberezovskiy) wrote :

ETA for 10.0 - 27 May evening
ETA for 9.0 - 31 May evening

Reviewed: https://review.openstack.org/321046
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=ededd0aa35775cf997987b298b10c340486f0cf1
Submitter: Jenkins
Branch: master

commit ededd0aa35775cf997987b298b10c340486f0cf1
Author: iberezovskiy <email address hidden>
Date: Wed May 25 17:55:30 2016 +0300

    Set versionless auth_url for ceilometer

    Change-Id: Icc71136e0eda16cd7fdba1a448d750b1e6fe40a3
    Depends-on: d82c232b5e7c782803844826fde9f4242dd6437f
    Closes-bug: #1583554

Changed in fuel:
status: In Progress → Fix Committed

Ivan, we need backport to mitaka to fix it on SWARM.
Can You do it, please?

Alexandr, fix and ETA are here

Thanks!

Reviewed: https://review.openstack.org/322816
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=a481def6647dd8562890492a20e24a0c78cdfa7a
Submitter: Jenkins
Branch: stable/mitaka

commit a481def6647dd8562890492a20e24a0c78cdfa7a
Author: iberezovskiy <email address hidden>
Date: Wed May 25 17:55:30 2016 +0300

    Set versionless auth_url for ceilometer

    Change-Id: Icc71136e0eda16cd7fdba1a448d750b1e6fe40a3
    Depends-on: d82c232b5e7c782803844826fde9f4242dd6437f
    Closes-bug: #1583554
    (cherry picked from commit ededd0aa35775cf997987b298b10c340486f0cf1)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers