← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1992451] Re: Add more logging in nova.virt.libvirt.driver

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/861146
Committed: https://opendev.org/openstack/nova/commit/6feb3350b048606297068841e3feba110bb0b0ab
Submitter: "Zuul (22348)"
Branch:    master

commit 6feb3350b048606297068841e3feba110bb0b0ab
Author: Jorge San Emeterio <jsanemet@xxxxxxxxxx>
Date:   Tue Oct 11 13:14:12 2022 +0200

    Improving logging at '_allocate_mdevs'.
    
    Adding both 'info' and 'debug' messages with the intention of telling
    which mdevs are available, which get allocated and whether new ones
    are created.
    
    Closes-Bug: #1992451
    Change-Id: Ibd331df51fd4eaeed4831a98469f06a4ce0cd452


** 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/1992451

Title:
  Add more logging in nova.virt.libvirt.driver

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Description
  ===========
  Under the master branch, it is not possible to tell through logs the flow of code the '_allocate_mdevs' function has taken due to mdev availability. It would be helpful to have some LOG.debug or LOG.info that notifies whether an mdev has been taken or not. In case not, it would be good to have some more logging on '_get_existing_mdevs_not_assigned' and '_create_new_meditated_device' which are the two functions involved on that branch.

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



References