Unable to set Controller and ComputeIHA Parameters
Issue
- We have been trying to set the following in code, but they don't get reflected to correct cinder.conf and nova.conf files :
parameter_defaults:
ControllerOpenstackAndNetworkerParameters:
cinder::rpc_response_timeout: 1800 (defaults to 60 after overcloud deploy)
ComputeIHAParameters:
nova::block_device_allocate_retries: 1800 (this will be removed after overcloud deploy)
nova::block_device_allocate_retries_interval: 3 (this will be removed after overcloud deploy)
ComputeExtraConfig:
nova::compute::cpu_allocation_ratio: 1.0 (defaults to 16 after overcloud deploy)
nova::compute::ram_allocation_ratio: 1.0 (this one works, probably 1.0 is the default)
- We can see the rpc_response_timeout value was left unchanged:
(undercloud) [stack@director ~]$ ansible -i ~/overcloud-deploy/${STACKNAME}/tripleo-ansible-inventory.yaml ControllerOpenstackAndNetworker -m shell -b -a 'crudini --get /var/lib/config-data/puppet-generated/cinder/etc/cinder/cinder.conf DEFAULT rpc_response_timeout'
overcloud-controller-01 | CHANGED | rc=0 >>
60
overcloud-controller-03 | CHANGED | rc=0 >>
60
overcloud-controller-02 | CHANGED | rc=0 >>
60
Environment
- Red Hat OpenStack Platform 17.1 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.