← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1593522] Re: Error logging in compute manager _try_deallocate_network should include actual error

 

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

commit e825ef7bd9d9a6833c99d4f445efab5db8bc8f82
Author: Matt Riedemann <mriedem@xxxxxxxxxx>
Date:   Thu Jun 16 22:09:05 2016 -0400

    Include exception in _try_deallocate_network error log
    
    While debugging this error in the n-cpu logs from a tempest
    run it would be useful to have the actual exception
    logged with the error message for context.
    
    Change-Id: I5adb05890501bde2c51fc6c35d4bc120bf57ea0d
    Closes-Bug: #1593522


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1593522

Title:
  Error logging in compute manager _try_deallocate_network should
  include actual error

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  I hit this while trying to debug a tempest failure:

  http://logs.openstack.org/01/327901/1/check/gate-tempest-dsvm-neutron-
  full/8337f93/logs/screen-n-cpu.txt.gz#_2016-06-17_00_33_10_307

  2016-06-17 00:33:10.307 24536 ERROR nova.compute.manager [req-f0f3cd57
  -64ec-4c10-be5a-ae675278891a tempest-AutoAllocateNetworkTest-681217639
  tempest-AutoAllocateNetworkTest-681217639] [instance:
  13cb9234-1bc0-4e91-bd78-fd8b3c053ff7] Failed to deallocate network for
  instance.

  Which logs just this:

                  LOG.error(_LE('Failed to deallocate network for instance.'),
                            instance=instance)

  We should actually log the exception here for context.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1593522/+subscriptions


References