master node doesn't collect mongo logs

Bug #1317080 reported by Ivan Berezovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Bogdan Dobrelya

Bug Description

{"build_id": "2014-05-07_01-00-26", "mirantis": "yes", "build_number": "184", "ostf_sha": "fe718434f88f2ab167779770828a195f06eb29f8", "nailgun_sha": "6b5e2797dae6a3b803b3ac7102ae3d9164a013cf", "production": "docker", "api": "1.0", "fuelmain_sha": "cb99264a1d5c5cd949f95a835f86ea1eb00c766f", "astute_sha": "9c83d3ecec69df03cd94620e2df92249ba4ec786", "release": "5.0", "fuellib_sha": "616a164132a6a195b756236923bc2f4345bc93f0"}

1. Simple mode
2. Ubuntu or Centos
3. Neutron or nova
4. Install Ceilometer
5. Controller + mongo and compute + cinder (cinder is optional)
6. Enable opesntack debug logging

Deploy is successful. Go to controller. mongo logs are present (there are log files in /var/log/mongodb).

Create diagnostic snapshot. Open it.

Expected result: mongo logs are present.

Actual result: There are no any mongo logs.

Go to /var/log/remote/<node-name> on master node: there are no mongo logs.

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :
Changed in fuel:
milestone: none → 5.0
assignee: nobody → Bogdan Dobrelya (bogdando)
importance: Undecided → High
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Please address the ceilometer issue as a separated bug.
Here is the patch for mongo https://review.openstack.org/#/c/92588/

Changed in fuel:
status: New → In Progress
description: updated
summary: - master node doesn't collect mongo and ceilometer logs
+ master node doesn't collect mongo logs
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/92588
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=45a7766ed8fd61cba0cbea9d1c984df2a3dadb71
Submitter: Jenkins
Branch: master

commit 45a7766ed8fd61cba0cbea9d1c984df2a3dadb71
Author: Bogdan Dobrelya <email address hidden>
Date: Wed May 7 16:53:53 2014 +0300

    Add syslog support, fix verbose for mongo

    * Fix verbose hardcode to be controlled by verbose global
    * Add support for syslog (controlled by use_syslog global)
      Syslog facility is default (user), hence the local logs
      will go to the /var/log/user.log.
      Remote logs will go to /var/log/remote/node*/mongo*.log

    Closes-bug: #1317080

    Change-Id: I79a32b18a1c601c40f695fb0266fab6ca2cc8906
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #214
"build_id": "2014-05-21_01-10-31",
"mirantis": "yes",
"build_number": "214",
"ostf_sha": "353f918197ec53a00127fd28b9151f248a2a2d30",
"nailgun_sha": "0b6e8eabaccad2aa29519561ce7cde9df9292964",
"production": "docker",
"api": "1.0",
"fuelmain_sha": "910f262f85e94bef08e0e9b9d6230ad890bf139e",
"astute_sha": "9a0d86918724c1153b5f70bdae008dea8572fd3e",
"release": "5.0",
"fuellib_sha": "3d92142a5643af82596f0450e39282550a45e5db"

Changed in fuel:
status: Fix Committed → Fix Released
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.