AIO-SX: overrides for vcpu_pin_set not updated after Platform cpu assignment update and unlock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Won't Fix
|
Low
|
Jim Gauld |
Bug Description
Brief Description
-----------------
overrides for vcpu_pin_set not updated after Platform cpu assignment update and unlock
Severity
--------
standard
Steps to Reproduce
------------------
1. Instance created launch (single host system) with flavor that has 4 vcpus, dedicated cpu policy.
2. Lock host
3. Update cpu allocation increasing the platform cpus
4. Unlock the host and confirm instance does not overlap platform cpu allocation
Expected Behavior
------------------
Shouldn't nova be aware of the change to the cpu assignment and follow the new application cpu allocation (override vcpu_pin_set)
Actual Behavior
----------------
The host unlocked successfully.
2019-04-16 20:02:50.381 922 INFO sysinv.
...
2019-04-16 20:19:02.186 908 INFO sysinv.
System inventory reports the platform cpu updated as expected as follows.
However, nova ignores the change to vcpu_pin_set (and the instance starts up appearing to ignore this update)
/opt/platform/
overrides:
hosts:
- conf:
nova:
[wrsroot@
vcpu_pin_set = "4-7,12-15"
system inventory reports this after unlock:
Platform Processor 0 : 0-4,8-12
vSwitch Processor 0 : 5-6,13-14
Applications Processor 0 : 7,15
$ sudo virsh dumpxml instance-00000014
<cputune>
<shares>
<vcpupin vcpu='0' cpuset='14'/>
<vcpupin vcpu='1' cpuset='6'/>
<vcpupin vcpu='2' cpuset='5'/>
<vcpupin vcpu='3' cpuset='13'/>
<emulatorpin cpuset=
</cputune>
Reproducibility
---------------
yes
System Configuration
-------
simplex
(Lab: sm-2)
Branch/Pull Time/Commit
-------
BUILD_ID=
Job: STX_build_
description: | updated |
Changed in starlingx: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Jim Gauld (jgauld) |
tags: | added: stx.2.0 stx.containers stx.retestneeded |
Marking as release gating; high priority - related to new container capability to pin pods to cpus