There are no logs after request to Ceilometer API

Bug #1418573 reported by Vitaly Gusev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
Medium
Vitaly Gusev
8.0.x
Won't Fix
Medium
Vitaly Gusev
9.x
Invalid
Medium
Igor Degtiarov

Bug Description

{"build_id": "2015-01-31_22-55-01", "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068", "build_number": "90", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-01-31_22-55-01", "ostf_sha": "c9100263140008abfcc2704732e98fbdfd644068", "build_number": "90", "api": "1.0", "nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b", "production": "docker", "python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358", "astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b", "production": "docker", "python-fuelclient_sha": "2ea7b3e91c1d2ff85110bf5abb161a6f4e537358", "astute_sha": "ed5270bf9c6c1234797e00bd7d4dd3213253a413", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "", "fuellib_sha": "c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e"}

Steps to reproduce:

1. Create env with parametres:
mode multinode
nodes: 1 controller + Mongo, 1 compute + Ceph
Ubuntu 12.04
enabled Ceilometer, Ceph for volumes, Ceph for images

2. ssh to controller node

3. use command: # . openrc && ceilometer alarm-create --name qwe -m cpu --threshold 10

Expected result: Logs after requests to Ceilometer API are existed.
Actual result: Logs after requests to Ceilometer API are not existed.

Vitaly Gusev (vgusev)
tags: added: ceilometer
Changed in fuel:
assignee: nobody → MOS Ceilometer (mos-ceilometer)
milestone: none → 6.1
importance: Undecided → Medium
Dmitry Ilyin (idv1985)
Changed in fuel:
status: New → Confirmed
Dina Belova (dbelova)
Changed in fuel:
assignee: MOS Ceilometer (mos-ceilometer) → Ivan Berezovskiy (iberezovskiy)
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

The same problem in HA mode too.

Logs like "192.168.0.1 - - [11/Feb/2015 12:43:42] "GET /v2/alarms?q.field=enabled&q.op=&q.type=&q.value=True HTTP/1.1" 200 2018" doesn't contain word "ceilometer", so syslog considers them as non-ceilometer logs and puts them into /var/log/messages.

affects: fuel → mos
Changed in mos:
milestone: 6.1 → none
Changed in mos:
milestone: none → 6.1
Changed in mos:
status: Confirmed → Triaged
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

We've tried to change format for openstack.common.log and direct configuration use_syslog_rfc_format=True. It seems like a problem could be not at ceilometer side. Possible problem could appear from https://bugs.launchpad.net/fuel/+bug/1284867. Anyway, logs are present in /var/log/messages, so they could be found. This issue need further research, but it has medium priority, so it should be fixed for next release.

Changed in mos:
milestone: 6.1 → 7.0
Changed in mos:
milestone: 7.0 → 8.0
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

Please, confirm that this issue also affects 8.0

Changed in mos:
status: Triaged → Incomplete
assignee: Ivan Berezovskiy (iberezovskiy) → Vitaly Gusev (vgusev)
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

No longer fixing Medium bugs in 8.0, thus closing as Won't Fix. Marked 9.0 as affected just in case, so that we don't forget about this.

tags: added: area-ceilometer
removed: ceilometer
Changed in mos:
status: Incomplete → Won't Fix
Revision history for this message
Igor Degtiarov (idegtiarov) wrote :

Check this bug on MOS 8.0 environment: logs after requests to Ceilometer API are obviously existed. On master in Ceilometer we also do not have such problem so will switch bug to Invalid state.

Do not hesitate to change status back if it appear to be valid for any reason.

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.