Invalid CPUPinning when evacuate

asked 2019-05-24 05:04:33 -0500

whywaita gravatar image

Enviroment

  • OpenStack Queens
  • nova: 17.0.5
  • configure CPUPinning

Steps to reproduce

  • break host
  • call evacuate API

$ nova evacuate <instance uuid>

  • occurred many CPUPinningInvalid exception and few CPUUnpinningInvalid exception in nova-compute

Note

  • don't occurred when instance create as far as I can see

investigated in myself:

  • https://github.com/openstack/nova/blob/stable/queens/nova/virt/hardware.py#L780 (This usable_cpus) is maybe not updated every once in a while.
    • So, vcpus_pinning is same if using same flavor.
edit retag flag offensive close merge delete