Comment 1 for bug 1956517

Revision history for this message
John Fulton (jfulton-org) wrote : Re: openstack overcloud ceph deploy --network-data not parsing valid network_data_v2.yaml file

This is not a bug. Invalid input was provided.

The network_data_v2.yaml is missing the 'ipv6' key which must be provided when using IPv6. As per Harald Jensås in a review of the code in question [1]

"""
When creating networks/subnets as IPv6 the 'ipv6' key for the network must be set to true, see:
https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/ansible_plugins/modules/tripleo_composable_network.py#L437

i.e you can determine which version to use from the network-data provided. If ipv6 != true you pick the IPv4 keys, else pick the ipv6 keys. See: https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/ansible_plugins/modules/tripleo_composable_network.py#L270-L305
"""

I updated the network_data_v2.yaml file to make it valid and confirmed I no longer get the error message which was reported.

[1] https://review.opendev.org/c/openstack/python-tripleoclient/+/817131/6/tripleoclient/v2/overcloud_ceph.py#103