Improve logging for attach/detach actions

Bug #1642571 reported by Ivan Kolodyazhny on 2016-11-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
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) on 2016-11-17
Changed in cinder:
assignee: nobody → Michael Dovgal (mdovgal)
Changed in cinder:
status: New → In Progress
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.

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

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  Edit
Everyone can see this information.

Other bug subscribers