Improve logging for attach/detach actions

Bug #1642571 reported by Ivan Kolodyazhny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Unassigned

Bug Description

We have logs for initialize/terminate connection and attach/detach only in debug mode. It means if something goes wrong, operators should change log level to DEBUG and restart c-vol service. For troubleshooting reasons let's change log level for such actions to INFO level

Michael Dovgal (mdovgal)
Changed in cinder:
assignee: nobody → Michael Dovgal (mdovgal)
Changed in cinder:
status: New → In Progress
Revision history for this message
Gorka Eguileor (gorka) wrote :

I don think we don't need to change them since we are going to implement an API to dynamically change the log levels.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/399003
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=55e3d5cf688aa452bb4dcb05ee15fe0566585866
Submitter: Jenkins
Branch: master

commit 55e3d5cf688aa452bb4dcb05ee15fe0566585866
Author: Michael Dovgal <email address hidden>
Date: Thu Nov 17 13:36:13 2016 +0200

    Log detailed attach/detach volumes info

    Change cinder-volume logs level from debug to info to have
    information about volume attach/detach usage.
    Need to change cinder.conf for usage 'resource' variable in log
    messages.

    Change-Id: I32257d8b80f5089d567af6d808e9d6d357dc70ff
    Partial-Bug: #1642571

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: Michael Dovgal (mdovgal) → nobody
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.