assign NovaVcpuPinSet and IsolCpusList per overcloud profile

Solution In Progress - Updated -

Issue

  • Compute role has one set of grub kernel args and nova.conf vcpu_in_set values while compute-dl380g9 role has another.

  • We are trying to update our templates to apply NovaVcpuPinSet and KernelArgs more generally. We've inherited a set of templates that did not take advantage of composable roles and we are a bit unsure of what to do.

  • We have created a composable role called ComputeDL380G9 and we can successfully deploy and overcloud using that role but we do not know who to properly customize the above settings per role given the current structure of our templates.

  • Our deploy command is the following:

#!/bin/bash
CONTAINER_PARAMS=~/overcloud_images.yaml
STORAGE_ENV=/home/stack/templates/environments/private/storage-environment.yaml
source ~/stackrc
time openstack overcloud deploy  --timeout 70 --templates -r ~/templates/roles_data.yaml \
  -n ~/templates/network/network_data.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/network-environment.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-dns.yaml \
  -e ~/templates/cloud-scale.yaml \
  -e ~/templates/custom_hiera.yaml \
  -e ~/templates/environments/enable-tls.yaml \
  -e ~/templates/environments/inject-trust-anchor-hiera.yaml \
  -e ~/templates/environments/network-environment.yaml \
  -e ~/templates/environments/fixed-ip-vips.yaml \
  -e ~/templates/environments/storage-environment.yaml \
  -e ~/templates/environments/private/storage-environment.yaml \
  -e ~/templates/environments/passthrough-environment.yaml \
  -e ~/templates/ips-from-pool-all.yaml \
  -e ~/templates/ironic.yaml \
  -e ~/templates/ironic-inspector.yaml \
  -e "$CONTAINER_PARAMS" \
  --log-file overcloud_deployment.log
```
  • We know passthrough-environment.yaml is using first-boot.yaml and post-install.yaml to hardcode some values that we believe can now be handled by parameters in OSP 13.

  • The following role parameters are set:

  Compute-DL380G9ExtraConfig:
    NovaVcpuPinSet: ['0-1','11-12']

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In