Horizon doesn't log novaclient and cinderclient activity

Bug #1593483 reported by Andrey Grebennikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Committed
Medium
Sergii Rizvan
7.0.x
Fix Released
Medium
Sergii Rizvan
8.0.x
Fix Released
Medium
Timur Sufiev
9.x
Fix Committed
Medium
Sergii Rizvan

Bug Description

MOS8 HA

I'm troubleshooting Horizon functionality and measure performance.
I set log level for all components in /etc/openstack-dashboard/local_settings.py as "DEBUG", they write to File handler.

I can see log messages from neutronclient, keystoneclient, openstack_auth, glanceclient, however novaclient and cinderclient don't log anything.

Revision history for this message
Roman Rufanov (rrufanov) wrote :

Customer found on MOS 8, need to fix asap. The logs are also not written before switching to DEBUG level.

tags: added: ct1 customer-found support
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Dina Belova (dbelova) wrote :

Due to customer-found tag we'll be working on this bug anyway and mis-horizon team will definitely try to fix it asap. Although it's not critical at all - several missing openstack services clients logs in the OpenStack Dashboard cannot be treated as critical. Setting to confirmed and medium for all milestones, MOS Horizon team will take a look on this today.

tags: added: area-horizon
tags: added: move-to-mu
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-novaclient (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/22441

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

First of all, one needs to set DEBUG = True to make both novaclient and cinderclient output http debug logs. For novaclient it is needed to apply the above fix as well.

Roman Rufanov (rrufanov)
tags: added: ct-patched-8.0
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/python-novaclient (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/22441
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: c65a295b7c3ec3cb6f7b3a510e125663345dbb7e
Author: Timur Sufiev <email address hidden>
Date: Wed Jun 22 16:39:06 2016

Propagate novaclient.client debug logs to novaclient logger

This will allow Horizon Django to see debug log messages from
novaclient.

Change-Id: I53d7a00e332be8e47374ab37d02e3153d12ee576
Closes-Bug: #1593483

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on MOS 8.0 + MU2 updates.

Actual results:
DEBUG messages from novaclient, cinderclient are present in /var/log/horizon/horizon.log.

tags: removed: on-verification
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-novaclient (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/22971

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Release Note: novaclient logging was fixed so that horizon.log now contains DEBUG messages from novaclient, in case DEBUG = True in openstack_dashboard settings.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/python-novaclient (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/22971
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: df637982f88ce7ca4915235f7766040c3a598051
Author: Timur Sufiev <email address hidden>
Date: Wed Jul 6 10:53:52 2016

Propagate novaclient.client debug logs to novaclient logger

This will allow Horizon Django to see debug log messages from
novaclient.

Change-Id: I53d7a00e332be8e47374ab37d02e3153d12ee576
Closes-Bug: #1593483
(cherry picked from commit c65a295b7c3ec3cb6f7b3a510e125663345dbb7e)

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on MOS 7.0 + MU5 updates.

Actual results:
DEBUG messages from novaclient are present in /var/log/horizon/horizon.log.

tags: removed: on-verification
Revision history for this message
Sergii Rizvan (srizvan) wrote :
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/python-novaclient (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/27269
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: fcbb428808562f2a7cafef1accc492363b6f784b
Author: Timur Sufiev <email address hidden>
Date: Fri Oct 7 11:24:03 2016

Propagate novaclient.client debug logs to novaclient logger

This will allow Horizon Django to see debug log messages from
novaclient.

Change-Id: I53d7a00e332be8e47374ab37d02e3153d12ee576
Closes-Bug: #1593483
(cherry picked from commit c65a295b7c3ec3cb6f7b3a510e125663345dbb7e)

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-novaclient (mcp/newton)

Fix proposed to branch: mcp/newton
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/33365

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-novaclient (11.0/ocata)

Fix proposed to branch: 11.0/ocata
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/33368

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/python-novaclient (11.0/ocata)

Change abandoned by Roman Podoliaka <email address hidden> on branch: 11.0/ocata
Review: https://review.fuel-infra.org/33368
Reason: HTTPClient code is not used since I5a0da970fd82c79db3d88f1b49279133bbdba639

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/python-novaclient (mcp/ocata)

Fix proposed to branch: mcp/ocata
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/34734

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/python-novaclient (mcp/ocata)

Change abandoned by Roman Podoliaka <email address hidden> on branch: mcp/ocata
Review: https://review.fuel-infra.org/34734
Reason: HTTPClient has been removed from the code, we no longer need this

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/python-novaclient (mcp/newton)

Reviewed: https://review.fuel-infra.org/33365
Submitter: Pkgs Jenkins <email address hidden>
Branch: mcp/newton

Commit: 86fbc5dce1bf899386c6d0aab51e2ab98882219a
Author: Timur Sufiev <email address hidden>
Date: Tue Apr 25 17:09:11 2017

Propagate novaclient.client debug logs to novaclient logger

This will allow Horizon Django to see debug log messages from
novaclient.

Closes-Bug: #1593483

(cherry picked from commit c65a295b7c3ec3cb6f7b3a510e125663345dbb7e)
Change-Id: I53d7a00e332be8e47374ab37d02e3153d12ee576

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.