remove uncessary log.exception in api layer

Bug #1322410 reported by jichenjc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
jichenjc

Bug Description

There are some LOG.exception in api layer, which is not necessary , we should downgrade them

Tags: api
Revision history for this message
jichenjc (jichenjc) wrote :

Sorry, I have to mention I am talking about attach_interfaces.py
which log exception when attach can't find a resource

Changed in nova:
assignee: nobody → jichenjc (jichenjc)
tags: added: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/95061

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/95061
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1b46f86148c0366770065fc481984adc6bce5693
Submitter: Jenkins
Branch: master

commit 1b46f86148c0366770065fc481984adc6bce5693
Author: jichenjc <email address hidden>
Date: Fri May 16 05:59:45 2014 +0800

    Downgrade log when attach interface can't find resources

    Downgrade the log when a resource (e.g. instance is deleted concurrently)
    can't be found, no need to LOG.exception because an exception
    is already raised and no need to log again.

    Change-Id: I260e89c8deab11bc9707abbbbc7bb9a4f88640e3
    Closes-Bug: #1322410

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-1 → 2014.2
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.