Nova-compute raise exception when vcpu_pin_set is set to None or"".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Davanum Srinivas (DIMS) | ||
Newton |
Fix Committed
|
Medium
|
Lee Yarwood |
Bug Description
Description
===========
In Mitaka, Nova-compute raise exception when vcpu_pin_set is set to None or"".And nova-compute fails to start.
Steps to reproduce
==================
Edit vcpu_pin_set=None or vcpu_pin_set=""
then restart nova-compute service
Expected result
===============
Get_vcpu_total returns total_pcpus, and nova-compute service starts successfully.
Actual result
=============
When set vcpu_pin_set to None, raise following exception and nova-compute service fails to start:
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
2016-05-10 09:00:02.835 TRACE nova.compute.
When set vcpu_pin_set to "", raise following exception and nova-compute service fails to start:
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
2016-05-10 08:55:18.558 TRACE nova.compute.
Environment
===========
Mitaka version and KVM driver
Changed in nova: | |
importance: | Undecided → Medium |
liuxiuli, I can only recreate the problem with vcpu_pin_set is set to "". when vcpu_pin_set is set to None it works fine. I'll upload a review, please try that and let me know.
Thanks,
Dims