Bug 1866161

Summary: VM resize via heat-stack fails with 'CPU set to unpin [3, 37, 38, 9, 10, 31] must be a subset of pinned CPU set [32, 35, 36, 4, 39, 7, 8, 41, 11, 13]'
Product: Red Hat OpenStack Reporter: Dan Macpherson <dmacpher>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.1 (Train)CC: brault, cgaynor, dasmith, eglynn, igallagh, jhakimra, kchamart, kecarter, leijia.gao, mburns, mwitt, nova-maint, sbaker, sbauza, schhabdi, sgordon, shardy, smooney, stephenfin, vkoul, vromanso
Target Milestone: z2Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1850400 Environment:
Last Closed: 2021-07-08 13:59:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1850400, 1862396, 2074195    
Bug Blocks:    

Comment 1 Dan Macpherson 2020-08-05 03:05:32 UTC
Discussed this with Sean Mooney and targeting for 16.1.2

The general process to document is:

1. You upgrade the overcloud all the way up to running "openstack overcloud upgrade converge"
2. You correct your VMs thread policy (either by migration or resizing)
3. You convert from vcpu_pin_set to cpu_dedicated_set occurs


In addition, Sean said:

  yes although there are more subtelties i.e. you should not convert form  vcpu_pin_set to cpu_dedicated_set 
  if vms are on a host unless the value set for vcpu_pin_set will be reused exactly the same for cpu_dedicated_set

  if you are going to adjust which cpus are defiend in the set for any reason the host should not have vms running on it.
  so that shoudl be called out in the doc but at a high level the ordering you have is correct.

  we expect new deployment of 16.1 to start with cpu_dedicated_set but for upgrades they should
  continue to use vcpu_pin_set untill the upgrade is fully complete and only chage the config option afterwards.

The plan is to add a new section on updating compute pinning functionality here:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index#concluding_the_overcloud_upgrade

Will work with Sean to document the main process and any additional nuances.

Comment 3 Stephen Finucane 2020-08-21 17:50:14 UTC
*** Bug 1868234 has been marked as a duplicate of this bug. ***