nova-placement api glance and cinder logs not showing in kibana

Bug #1673002 reported by kamal saurabh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
High
Satya Sanjibani Routray
Ocata
Fix Released
Undecided
Unassigned

Bug Description

I am not able to discover logs in kibana with the following programname
cinder-volume
cinder-api
cinder-backup
cinder-scheduler
cinder-volume

I looked at elasticsearch documents also, cinder* related documents are not there. So i am guessing fluentd
is not publishing to elastic search.

Found these recent changes, to add filter, I added entries related to cinder in this file,

 https://github.com/openstack/kolla-ansible/tree/master/ansible/roles/common/templates/conf/filter

like so,
rewriterule14 programname ^(cinder-api|cinder-backup|cinder-scheduler|cinder-volume).* openstack_python

I see the following message appear in docker logs fluentd

2017-03-14 14:27:38 +0000 [info]: #0 adding rewrite_tag_filter rule: rewriterule14 ["programname", /^(cinder-api|cinder-backup|cinder-scheduler|cinder-volume).*/, "", "openstack_python"]
    rewriterule14 programname ^(cinder-api|cinder-backup|cinder-scheduler|cinder-volume).* openstack_python
2017-03-14 14:27:38 +0000 [info]: #0 following tail of /var/log/kolla/cinder/cinder-manage.log
2017-03-14 14:27:38 +0000 [info]: #0 following tail of /var/log/kolla/cinder/cinder-api.log
2017-03-14 14:27:38 +0000 [info]: #0 following tail of /var/log/kolla/cinder/cinder-scheduler.log
2017-03-14 14:27:38 +0000 [info]: #0 following tail of /var/log/kolla/cinder/cinder-volume.log
2017-03-14 14:27:38 +0000 [info]: #0 following tail of /var/log/kolla/cinder/cinder-backup.log

BUT still no documents being pushed to elastic search and consequently logs not showing up in kibana

description: updated
description: updated
Changed in kolla-ansible:
assignee: nobody → Satya Sanjibani Routray (satroutr)
description: updated
Changed in kolla-ansible:
milestone: none → pike-1
Changed in kolla-ansible:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Satya Sanjibani Routray (satroutr) wrote :

currentlu glance and nova placement api logs are also missing

Revision history for this message
Satya Sanjibani Routray (satroutr) wrote :

currentlu -> currently

summary: - cinder logs not showing in kibana ocata master
+ nova-placement api glance and cinder logs not showing in kibana
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

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

Changed in kolla-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/446078
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=b586f41967232ce28d2e7d20260abb2a097a4061
Submitter: Jenkins
Branch: master

commit b586f41967232ce28d2e7d20260abb2a097a4061
Author: satya <email address hidden>
Date: Wed Mar 15 22:45:54 2017 +0530

    Implement Cinder, Nova Placement and mistral logs for kibana

    Nova placement api, cinder api, volume logs along with mistral logs
    are missing from the filter which will allow elastic search to fetch it
    from the fluentd

    Fixes the issue

    Change-Id: I7899ce6e010bfc6534a88f0a2117dc0a9e60c7c7
    Closes-Bug: #1673002

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/461937
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=2fb737385f0c86ca7ec8b84cc9bc7615979a927a
Submitter: Jenkins
Branch: stable/ocata

commit 2fb737385f0c86ca7ec8b84cc9bc7615979a927a
Author: satya <email address hidden>
Date: Wed Mar 15 22:45:54 2017 +0530

    Implement Cinder, Nova Placement and mistral logs for kibana

    Nova placement api, cinder api, volume logs along with mistral logs
    are missing from the filter which will allow elastic search to fetch it
    from the fluentd

    Fixes the issue

    Change-Id: I7899ce6e010bfc6534a88f0a2117dc0a9e60c7c7
    Closes-Bug: #1673002
    (cherry picked from commit b586f41967232ce28d2e7d20260abb2a097a4061)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.2

This issue was fixed in the openstack/kolla-ansible 4.0.2 release.

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.