Comment 5 for bug 1746674

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

Reviewed: https://review.openstack.org/539865
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=24d9e06ec68dfd0ead9bc56ad186e7b4e0acd8fb
Submitter: Zuul
Branch: master

commit 24d9e06ec68dfd0ead9bc56ad186e7b4e0acd8fb
Author: Tetsuro Nakamura <email address hidden>
Date: Thu Feb 1 04:32:41 2018 +0900

    add check before adding cpus to cpuset_reserved

    There are some cases where None value is set to cpuset_reserved in
    InstanceNUMATopology at _numa_fit_instance_cell() function in
    hardware.py. However, libvirt driver treat cpuset_reserved value
    as an iterate object when it constructs xml configuration.

    To avoid a risk to get an error in libvirt driver, this patch adds
    a check to see if the value is not None before adding the cpus
    for emulator threads.

    Change-Id: Iab3d950c4f4138118ac6a9fd98407eaadcb24d9e
    Closes-Bug: #1746674