Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronise 2023.1 with upstream #106

Merged
merged 3 commits into from
Sep 16, 2024
Merged

Commits on Aug 30, 2024

  1. libvirt: call get_capabilities() with all CPUs online

    While we do cache the hosts's capabilities in self._caps in the
    libvirt Host object, if we happen to fist call get_capabilities() with
    some of our dedicated CPUs offline, libvirt erroneously reports them
    as being on socket 0 regardless of their real socket. We would then
    cache that topology, thus breaking pretty much all of our NUMA
    accounting.
    
    To fix this, this patch makes sure to call get_capabilities()
    immediately upon host init, and to power up all our dedicated CPUs
    before doing so. That way, we cache their real socket ID.
    
    For testing, because we don't really want to implement a libvirt bug
    in our Python libvirt fixture, we make due with a simple unit tests
    that asserts that init_host() has powered on the correct CPUs.
    
    Closes-bug: 2077228
    Change-Id: I9a2a7614313297f11a55d99fb94916d3583a9504
    (cherry picked from commit 79d1f06)
    (cherry picked from commit 294444b)
    (cherry picked from commit 6448e38)
    notartom committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    010acce View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Skip snapshot test when missing qemu-img

    Since the commit the remove AMI snapshot format special casing
    has merged, we're now running the libvirt snapshot tests as expected.
    However, for those tests qemu-img binary needs to be installed.
    Because these tests have been silently and incorrectly skipped for so long,
    they didn't receive the same maintenance as other tests as the failures went unnoticed.
    
    Change-Id: Ia90eedbe35f4ab2b200bdc90e0e35e5a86cc2110
    Closes-bug: #2075178
    Signed-off-by: Julien Le Jeune <[email protected]>
    (cherry picked from commit 0809f75)
    (cherry picked from commit cd4e581)
    (cherry picked from commit f58e8df)
    jlejeune committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    9367b93 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Merge "libvirt: call get_capabilities() with all CPUs online" into st…

    …able/2023.1
    Zuul authored and openstack-gerrit committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    da40da6 View commit details
    Browse the repository at this point in the history