Enabling debug logs in openstack doesn't enable debug in Savanna

Bug #1288475 reported by Andrew Lazarev on 2014-03-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
Bogdan Dobrelya

Bug Description

Steps to repro:
1. Enable OpenStack debug logs in Fuel UI
2. Enable Savanna installation in Fuel UI
3. Deploy cluster

Expected result: savanna writes debug logs

Observed result: savanna writes log in INFO level

Fuel: 4.1

Andrew Lazarev (alazarev) wrote :

Workaround for the issue:

Add the following line to [DEFAULT] section of '/etc/savanna/savanna.conf':

debug=True

Changed in fuel:
milestone: none → 4.1.1
importance: Undecided → Medium
tags: added: library low-hanging-fruit
Andrew Lazarev (alazarev) wrote :

This is not a dupe of bug #1285766.

Matthew Mosesohn (raytrac3r) wrote :

Bogdan, can you confirm this bug and report if it's fixable for 4.1.1?

Changed in fuel:
assignee: nobody → Bogdan Dobrelya (bogdando)
Bogdan Dobrelya (bogdando) wrote :

I can confirm the patch addressed for bug #1285766 fixes this issue as well.
(The both issues is related to debug & verbose parameters were missed by the puppet config provider for savanna , that is why I've decided this is a dupe)
See https://review.openstack.org/#/c/77548/3/deployment/puppet/savanna/manifests/api.pp lines 76-77 (for master branch)
and the same for 4.1.1 https://review.openstack.org/#/c/80233/1/deployment/puppet/savanna/manifests/api.pp

Bogdan Dobrelya (bogdando) wrote :
Changed in fuel:
status: New → In Progress

Reviewed: https://review.openstack.org/80233
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=a9c07424c2f6abf6e2c59499da25a0d71ca3517e
Submitter: Jenkins
Branch: stable/4.1

commit a9c07424c2f6abf6e2c59499da25a0d71ca3517e
Author: iberezovskiy <email address hidden>
Date: Mon Mar 3 14:07:12 2014 +0400

    Fix Savanna manifests to configure logging

    4.1.1 (stable/4.1) targeted

    Closes-bug: #1285766
    Closes-bug: #1288475

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

Changed in fuel:
status: In Progress → Fix Committed
tags: added: backports-4.1.1
tags: added: in low-hang progressing-fruit
removed: low-hanging-fruit
tags: added: low-hanging-fruit
removed: in low-hang progressing-fruit
Nastya Urlapova (aurlapova) wrote :

2014-04-03T18:35:41.058882+00:00 debug: 2014-04-03 18:35:33.160 24495 DEBUG savanna.openstack.common.lockutils [-] Got semaphore "dbapi_backend" lock /usr/lib/python2.6/site-packages/savanna/openstack/common/lockutils.py:167
2014-04-03T18:35:41.058882+00:00 debug: 2014-04-03 18:35:33.164 24495 DEBUG savanna.openstack.common.lockutils [-] Got semaphore / lock "__get_backend" inner /usr/lib/python2.6/site-packages/savanna/openstack/common/lockutils.py:246
2014-04-03T18:35:41.058882+00:00 debug: 2014-04-03 18:35:34.836 24495 DEBUG savanna.plugins.base [-] List of requested plugins: ['vanilla', 'hdp', 'idh'] _load_all_plugins /usr/lib/python2.6/site-packages/savanna/plugins/base.py:114

Nastya Urlapova (aurlapova) wrote :

{
build_id: "2014-04-03_04-17-26",
mirantis: "yes",
build_number: "266",
nailgun_sha: "7a05e365240ab27c492b20585ef8ac8557102cc0",
ostf_sha: "de0222fed646525d248dc6892eeceab139d5c469",
fuelmain_sha: "16637e2ea0ae6fe9a773aceb9d76c6e3a75f6c3b",
astute_sha: "5bcacc84cdaee3b31f1178d92a1c0681dc6ce520",
release: "4.1",
fuellib_sha: "52e7f57695f33bafa5d84d524d77f1bc3a2289b2"
}

Changed in fuel:
status: Fix Committed → Fix Released
Meg McRoberts (dreidellhasa) wrote :

Marked as "Resolved" in 5.0 Release Notes

Meg McRoberts (dreidellhasa) wrote :

Marked as "Resolved" in 4.1.1 Release Notes

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers