Closed gravityscout closed 7 months ago
Variables defined in environments/kolla are available to the playbooks from Kolla. The network playbook is a generic playbook, it uses the variables from environments/generic.
The parameters from environments/configuration.yml are also available to all playbooks. Same for the parameters defined in the inventory.
Please note that the osism-generic (and similar commands) are no longer supported and will be removed in the future.
Alright, thank you! That makes a lot of sense, obviously.
I suspect, in our case we would have to go with something like osism-kolla reconfigure <someparameter> -l network,control
then?
osism-kolla
also tells me about being deprecated, however.
Could you hint the current approach to provide nodes from openstack compute service list
with an updated network_mtu?
Either with environments/configuration.yaml or environments/kolla/configuration.yaml.
Where does the network_mtu parameter come from? At least it is not used by our roles and nowhere in Kolla either. If you want to change the MTU of a network interface, you have to change the network configuration of the respective nodes in the inventory/host_vars. This is documented here: https://osism.tech/docs/guides/configuration-guide/commons/network. Guide for the netplan configuration is here: https://netplan.readthedocs.io/en/stable/netplan-yaml/
You can change the network configuration with osism apply network
. Afterwards change the generated network configuration in /etc/netplan/01-osism.yml
and apply the network configuration with sudo netplan apply
.
Hello there,
We were running
osism-generic network -l network,control
in order to provide the compute nodes with an updated MTU value. The MTU value is defined via $network_mtu in/opt/configuration/environments/kolla/configuration.yml
along with many other variables.Now
osism-generic
would fail with the following:We set $network_mtu additionally in
/opt/configuration/inventory/group_vars/generic.yml
, otherwise it wouldn't be available toosism-generic network
. However, now it just remarks the next variable, in our case $ceph_private_network as being undefined.In conclusion: Why aren't variables from configuration.yaml available to
osism-generic network -l network,control
?Kind regards