Setting Role specific parameters in RHOSP 11

Posted on

Hi,

I'm trying to set different values for NovaVcpuPinSet for different type of compute nodes I have in my cluster.

I have custom role "Computesriov" defined as shown below and I set the NovaVcpuPinset as following in the network-environment.yaml file

parameter_defaults:
...
NovaVcpuPinSet: ['2-23','26-47']
ComputesriovParameters:
NovaVcpuPinSet: ['2-23']

After deployment I checked /etc/nova/nova.conf and vcpu_pin_set = "2-23,26-47"

Any idea why it's setting the specific value?

Regards,
Samuel

  • name: Computesriov
    CountDefault: 1
    HostnameFormatDefault: 'compute-sriov-%index%'
    disable_upgrade_deployment: True
    ServicesDefault:
    • OS::TripleO::Services::CACerts
    • OS::TripleO::Services::CephClient
    • OS::TripleO::Services::CephExternal
    • OS::TripleO::Services::Timezone
    • OS::TripleO::Services::Ntp
    • OS::TripleO::Services::Snmp
    • OS::TripleO::Services::Sshd
    • OS::TripleO::Services::NovaCompute
    • OS::TripleO::Services::NovaLibvirt
    • OS::TripleO::Services::Kernel
    • OS::TripleO::Services::ComputeNeutronCorePlugin
    • OS::TripleO::Services::ComputeNeutronOvsAgent
    • OS::TripleO::Services::ComputeCeilometerAgent
    • OS::TripleO::Services::ComputeNeutronL3Agent
    • OS::TripleO::Services::ComputeNeutronMetadataAgent
    • OS::TripleO::Services::TripleoPackages
    • OS::TripleO::Services::TripleoFirewall
    • OS::TripleO::Services::NeutronSriovAgent
    • OS::TripleO::Services::OpenDaylightOvs
    • OS::TripleO::Services::SensuClient
    • OS::TripleO::Services::FluentdClient
    • OS::TripleO::Services::AuditD
    • OS::TripleO::Services::Collectd

Responses