[kolla-ansible] custom configuration override issue.

Satish Patel satish.txt at gmail.com
Mon Feb 7 15:07:01 UTC 2022


Folks,

I have a working kolla-ansible environment and now I want to push out
some nova custom changes to specific compute nodes and I am trying the
following override but somehow it doesn't work for me.

Ansible inventory file multinode

[control]
192.168.75.141 ansible_ssh_private_key_file=/root/.ssh/nodes_ssh_key
192.168.75.142 ansible_ssh_private_key_file=/root/.ssh/nodes_ssh_key
192.168.75.143 ansible_ssh_private_key_file=/root/.ssh/nodes_ssh_key
[compute]
192.168.75.[144:175] ansible_ssh_private_key_file=/root/.ssh/nodes_ssh_key


I want to change some option on 192.168.75.199 compute server, I don't
have compute name in inventory so i am using IP address for override
but somehow that doesn't work

/etc/kolla/config/nova/192.168.75.199/nova.conf

I have tried the following to use hypervisor hostname but that doesn't
work. What am I doing wrong here?

/etc/kolla/config/nova/COMP01.local/nova.conf


Following works for me but they are for global not for specific nodes.
How do i override specific node file?

/etc/kolla/config/nova/nova-compute.conf



More information about the openstack-discuss mailing list