Need some help to understand "Baremetal Provision Configuration" file

wodel youchi wodel.youchi at gmail.com
Wed Aug 25 12:38:08 UTC 2021


Hi and thanks

I disabled the hide variable, and executed the command again, and this is
the result :

2021-08-25 13:27:21.834140 | 52540075-9baf-e9c1-3396-0000000000a0 |
>  FATAL | Render network_config from template | computehci-1 | error={
>
>     "changed": false,
>
>
>    * "msg": "AnsibleUndefinedVariable: 'bond_interface_ovs_options' is
> undefined" *
>
> }
>

I understand that this is a variable, but I don't see where it is being
loaded from.
I have a *network-environment-overrides.yaml* file which contains this :

parameter_defaults:
>   ControllerNetworkConfigTemplate:
> '/home/stack/templates/nic-configs/bonds_vlans.j2'
>   CephStorageNetworkConfigTemplate:
> '/home/stack/templates/nic-configs/bonds_vlans.j2'
>   ComputeNetworkConfigTemplate:
> '/home/stack/templates/nic-configs/bonds_vlans.j2'
>
>   NeutronNetworkVLANRanges: 'datacentre:1:100,provider:400:1000'
>   NeutronExternalNetworkBridge: "''"
>   NeutronNetworkType: 'vlan,flat'
>   *BondInterfaceOvsOptions: "bond_mode=active-backup"*
>

But I don't see how to connect them?


Regards.

Le mer. 25 août 2021 à 09:08, Harald Jensas <hjensas at redhat.com> a écrit :

> On 8/24/21 7:07 PM, wodel youchi wrote:
> >     *2021-08-24 18:01:18.371725 | 52540075-9baf-8232-d4fa-0000000000a0 |
> >           FATAL | Render network_config from template | computehci-1 |
> >     error={
> >          "censored": "the output has been hidden due to the fact that
> >     'no_log: true' was specified for this result",
> >          "changed": false
> >     }
>
> This looks like a problem with your nic config template,
> /home/stack/templates/nic-configs/bonds_vlans.j2. To debug disable
> "hideing" of sensitive logs.
>
> sudo sed -i 's/tripleo_network_config_hide_sensitive_logs:
> true/tripleo_network_config_hide_sensitive_logs: false/g'
> /usr/share/ansible/roles/tripleo-network-config/defaults/main.yml
>
>
> --
> Harald
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210825/cf375876/attachment.html>


More information about the openstack-discuss mailing list