Add more logging in nova.virt.libvirt.driver

Bug #1992451 reported by Jorge San Emeterio
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Jorge San Emeterio

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.

Changed in nova:
assignee: nobody → Jorge San Emeterio (jsanemet)
Elod Illes (elod-illes)
Changed in nova:
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/861146

tags: added: vgpu
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/nova/+/871413

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/nova/+/871414

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/nova/+/871415

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/nova/+/871416

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/nova/+/871417

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/nova/+/871419

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/c/openstack/nova/+/871444

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/train)

Change abandoned by "Amit Uniyal <email address hidden>" on branch: stable/train
Review: https://review.opendev.org/c/openstack/nova/+/871444

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/ussuri)

Change abandoned by "Amit Uniyal <email address hidden>" on branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/nova/+/871419

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/victoria)

Change abandoned by "Amit Uniyal <email address hidden>" on branch: stable/victoria
Review: https://review.opendev.org/c/openstack/nova/+/871417

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/nova/+/871413
Committed: https://opendev.org/openstack/nova/commit/03374cf4a2ff98c938691a209d6a3fb14a06d3a0
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 03374cf4a2ff98c938691a209d6a3fb14a06d3a0
Author: Jorge San Emeterio <email address hidden>
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
    (cherry picked from commit 6feb3350b048606297068841e3feba110bb0b0ab)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/nova/+/871414
Committed: https://opendev.org/openstack/nova/commit/9f6ca77a184379e90e10d6705fbd78208debb612
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 9f6ca77a184379e90e10d6705fbd78208debb612
Author: Jorge San Emeterio <email address hidden>
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
    (cherry picked from commit 6feb3350b048606297068841e3feba110bb0b0ab)
    (cherry picked from commit 03374cf4a2ff98c938691a209d6a3fb14a06d3a0)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/nova/+/871415
Committed: https://opendev.org/openstack/nova/commit/e099571d0f0120e481d966337388fdd563edbaff
Submitter: "Zuul (22348)"
Branch: stable/xena

commit e099571d0f0120e481d966337388fdd563edbaff
Author: Jorge San Emeterio <email address hidden>
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
    (cherry picked from commit 6feb3350b048606297068841e3feba110bb0b0ab)
    (cherry picked from commit 03374cf4a2ff98c938691a209d6a3fb14a06d3a0)
    (cherry picked from commit 9f6ca77a184379e90e10d6705fbd78208debb612)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 27.0.0.0rc1

This issue was fixed in the openstack/nova 27.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/nova/+/871416
Committed: https://opendev.org/openstack/nova/commit/b5ea5f1902ea1976fcc8485c21e7a8ec4896ae36
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b5ea5f1902ea1976fcc8485c21e7a8ec4896ae36
Author: Jorge San Emeterio <email address hidden>
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
    (cherry picked from commit 6feb3350b048606297068841e3feba110bb0b0ab)
    (cherry picked from commit 03374cf4a2ff98c938691a209d6a3fb14a06d3a0)
    (cherry picked from commit 9f6ca77a184379e90e10d6705fbd78208debb612)
    (cherry picked from commit e099571d0f0120e481d966337388fdd563edbaff)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 24.2.1

This issue was fixed in the openstack/nova 24.2.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 25.1.1

This issue was fixed in the openstack/nova 25.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 26.1.1

This issue was fixed in the openstack/nova 26.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova wallaby-eom

This issue was fixed in the openstack/nova wallaby-eom release.

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.