Ceilometer Agent Central has broken connection to object storage backend

Bug #1655146 reported by Fatih Nar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceilometer Charm
Triaged
Medium
Unassigned
ceilometer (Juju Charms Collection)
Invalid
Undecided
Unassigned

Bug Description

Openstack: Newton on Xenial

aodh version 3.0.0 Charm-Rev:4
ceilometer version 7.0.0 Charm-Rev: 240
ceilometer-agent version 7.0.0 Charm-Rev: 235

Both Ceilometer & Aodh deployed fine but on Horizon GUI Stats cannot be retrieved due access to object store.

Error Log:
ubuntu@juju-d29249-1-lxd-0:/var/log/ceilometer$ tail -f ceilometer-agent-central.log
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 190, in get_samples
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager cache, tenants):
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 84, in _iter_accounts
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager ksclient, tenants))
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift.py", line 96, in _get_account_info
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager keystone_client.get_auth_token(ksclient)))
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 753, in get_account
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager raise ClientException.from_response(resp, 'Account GET failed', body)
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager ClientException: Account GET failed: http://172.27.40.189:80/swift/v1/AUTH_49e4f76ff87d4db5a182b1ff82d664a9?format=json 404 Not Found [first 60 chars of response] {"Code":"NoSuchBucket","BucketName":"AUTH_49e4f76ff87d4db5a1
2017-01-09 19:30:51.650 25741 ERROR ceilometer.agent.manager

172.27.40.189 belongs to Ceph-RadosGW.

Please note that all charms taken as is from charm store with no modifications.

Revision history for this message
James Page (james-page) wrote :

The issue here is that the default support in ceilometer will assume that object-storage is swift, rather than a ceph-radosgw which behaves in a slightly different way in terms of URI's.

This is a missing feature in the ceilometer charm, probably best resolved using a relation between ceph-radosgw and ceilometer to allow discovery and configuration of the polling agent in ceilometer, and enablement of the required account and stats in radosgw.

Revision history for this message
Fatih Nar (fenar-e) wrote :

Is there any workaround to overcome this issue ?

James Page (james-page)
Changed in ceilometer (Juju Charms Collection):
status: New → Invalid
James Page (james-page)
Changed in charm-ceilometer:
milestone: none → 17.05
status: New → Triaged
importance: Undecided → Medium
James Page (james-page)
Changed in charm-ceilometer:
milestone: 17.05 → 17.08
James Page (james-page)
Changed in charm-ceilometer:
milestone: 17.08 → 17.11
James Page (james-page)
Changed in charm-ceilometer:
milestone: 17.11 → 18.02
Ryan Beisner (1chb1n)
Changed in charm-ceilometer:
milestone: 18.02 → 18.05
David Ames (thedac)
Changed in charm-ceilometer:
milestone: 18.05 → 18.08
James Page (james-page)
Changed in charm-ceilometer:
milestone: 18.08 → 18.11
David Ames (thedac)
Changed in charm-ceilometer:
milestone: 18.11 → 19.04
David Ames (thedac)
Changed in charm-ceilometer:
milestone: 19.04 → 19.07
David Ames (thedac)
Changed in charm-ceilometer:
milestone: 19.07 → 19.10
David Ames (thedac)
Changed in charm-ceilometer:
milestone: 19.10 → 20.01
James Page (james-page)
Changed in charm-ceilometer:
milestone: 20.01 → 20.05
David Ames (thedac)
Changed in charm-ceilometer:
milestone: 20.05 → 20.08
James Page (james-page)
Changed in charm-ceilometer:
milestone: 20.08 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.