Ceilometer swift pollsters aren't working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Denis Egorenko | ||
Mirantis OpenStack |
Fix Released
|
Medium
|
MOS Ceilometer | ||
5.0.x |
Won't Fix
|
Medium
|
Dina Belova | ||
5.1.x |
Won't Fix
|
Medium
|
Dina Belova | ||
6.0.x |
Fix Released
|
Medium
|
Dina Belova |
Bug Description
{"build_id": "2014-08-
Env:
virt_type=kvm
config_
release_
net_provider=
net_segment_
debug=true
auto_assign_
nova_quota=true
settings:
"volumes_lvm": false
"volumes_ceph": true
"images_ceph": true
"ephemeral_
"objects_ceph": true
"osd_pool_size": 1
"sahara": true
"murano": false
"ceilometer": true
nodes:
"node_
"node_
"node_
Swift pollsters(http://
log file in controller /var/log/
http://
Changed in fuel: | |
assignee: | nobody → Denis Egorenko (degorenko) |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
importance: | Undecided → High |
milestone: | none → 5.1 |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
importance: | High → Medium |
Changed in mos: | |
assignee: | nobody → Dina Belova (dbelova) |
importance: | Undecided → Medium |
status: | New → In Progress |
milestone: | none → 5.1 |
Changed in fuel: | |
milestone: | 5.1 → 6.0 |
Changed in mos: | |
milestone: | 5.1 → 6.0 |
tags: | added: release-notes |
tags: | added: docs |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
summary: |
- Ceilometer swift pollsters does not working + Ceilometer swift pollsters aren't working |
Verified on ISO 425, bug is reproduced.
The reason is wrong URL for polling pollsters: /github. com/openstack/ ceilometer/ blob/stable/ icehouse/ ceilometer/ objectstore/ swift.py# L83
https:/
So, if we try to use curl: Token:2c6179171 af243f3b88681c8 dcde6ee6 http:// 172.16. 0.4:6780/ v1/AUTH_ 56c73c5a792844b 797d06aa9a812b2 4f
# curl -I -H X-Auth-
HTTP/1.1 400 Bad Request
Date: Tue, 12 Aug 2014 14:52:27 GMT
Server: Apache/2.2.15 (CentOS)
Accept-Ranges: bytes
Content-Length: 83
Connection: close
Content-Type: application/xml
The same problem will be when we use URL from 'master': /github. com/openstack/ ceilometer/ blob/master/ ceilometer/ objectstore/ swift.py# L81
https:/
# curl -I -H X-Auth- Token:2c6179171 af243f3b88681c8 dcde6ee6 http:// 172.16. 0.4:6780/ swift/v1/ AUTH_56c73c5a79 2844b797d06aa9a 812b24f
HTTP/1.1 404 Not Found
Date: Tue, 12 Aug 2014 14:51:44 GMT
Server: Apache/2.2.15 (CentOS)
Accept-Ranges: bytes
Content-Length: 12
Connection: close
Content-Type: text/plain; charset=utf-8
But, i found URL which works: Token:2c6179171 af243f3b88681c8 dcde6ee6 http:// 172.16. 0.4:6780/ swift/v1/ Container- Count: 2 Object- Count: 4 Bytes-Used: 253258037 Bytes-Used- Actual: 253259776
# curl -I -H X-Auth-
HTTP/1.1 204 No Content
Date: Tue, 12 Aug 2014 14:51:48 GMT
Server: Apache/2.2.15 (CentOS)
X-Account-
X-Account-
X-Account-
X-Account-
Connection: close
Content-Type: text/plain; charset=utf-8
Then, i replaced source code (with my URL) and result: ------- ------- ------- -+----- --+---- ------- +------ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+ ------- ------- ------- -+----- --+---- ------- +------ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+ 797d06aa9a812b2 4f | None | 56c73c5a792844b 797d06aa9a812b2 4f | fb72ce1f2df4b01 7f | None | 82bfef509df14db fb72ce1f2df4b01 7f | objects. containers | gauge | container | 56c73c5a792844b 797d06aa9a812b2 4f | None | 56c73c5a792844b 797d06aa9a812b2 4f | objects. containers | gauge | container | 82bfef509df14db fb72ce1f2df4b01 7f | None | 82bfef509df14db fb72ce1f2df4b01 7f | objects. size | gauge | B | 56c73c5a792844b 797d06aa9a812b2 4f | None | 56c73c5a792844b 797d06aa9a812b2 4f | objects. size | gauge | B | 82bfef509df14db fb72ce1f2df4b01 7f | None | 82bfef509df14db fb72ce1f2df4b01 7f |
# ceilometer meter-list
+------
| Name | Type | Unit | Resource ID | User ID | Project ID |
+------
| storage.objects | gauge | object | 56c73c5a792844b
| storage.objects | gauge | object | 82bfef509df14db
| storage.
| storage.
| storage.
| storage.
So, there are two possible ways:
1) Bug in source code for ceilometer stable/icehouse (i will test it on multi-node HA additionally);
2) This URL is particularity for RadosGW. As a result, we need different settings for this mode.