[kolla-ansible] custom configuration override issue.
satish.txt at gmail.com
Tue Feb 8 15:19:01 UTC 2022
Thank you mark, i think you found my typo :) that was it.
How do i group nodes and pass configuration to specific group like.
for example i have GPU and IB compute nodes. i want to group them so i
can push out to config to GPU group related GPU and IB (infiniband)
related IB config
Can i apply config like following for group related? what is the best
way to handle groups in kolla-ansible?
On Tue, Feb 8, 2022 at 4:28 AM Mark Goddard <mark at stackhpc.com> wrote:
> On Mon, 7 Feb 2022 at 15:11, Satish Patel <satish.txt at gmail.com> wrote:
> > 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
> FYI you can use hostnames but still use IPs to connect:
> myhost ansible_host=18.104.22.168
> > 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
> That is the correct path, when using the default config location.
> Sanity check: .199 isn't in the above inventory.
> > 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
> We use inventory_hostname to determine the path, so it will be
> whatever you use as the name in your inventory. In your example it's
> > 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