Hi,

After re-reading the documentation, I found another document that explains that there were new modifications in Wallaby (https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/network_v2.html).
The document points to other links like this one (https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/custom_networks.html#custom-networks), it's really hard to follow and understand the documentation.


Regards.

Virus-free. www.avast.com

Le mer. 11 août 2021 à 05:25, Wan, Sam <Sam.Wan@dell.com> a écrit :

Sorry I see you’ve paste the content of your network_data.yaml.

Please make changes to your network_data.yaml following the sample.

 

Thanks and regards

 

===============================

sam.wan@dell.com

E-LAB

Dell EMC | Technical Operations IEO

Phone: +86 (28) 82966713

 

From: Wan, Sam
Sent: 2021
811 12:23
To: 'wodel youchi'; users@lists.rdoproject.org
Subject: RE: [rdo-users] Error creating network isolation file

 

Hi Wodel Youchi,

 

The error is obvious.

Additional properties are not allowed ('ip_subnet', 'enabled', 'allocation_pools', 'gateway_ip', 'vlan', 'ipv6_subnet', 'ipv6_allocation_pools', 'gateway_ipv6' were unexpected) \n\nFailed schema validation at :\n    'subnets' is a required property"

 

Seems you’ve specified an unexpected ‘gateway_ipv6’ in ‘Management' network

Could you please share your ‘network_data.yaml' File?

 

There’s a link to network-data samples in the documentation you gave however it’s broken.

Create and Edit network data YAML definition file

Use the network-data-samples (broken) in tripleo-heat-templates as a reference and customize the networks, IP addressing, VLANs, etc., as per the cluster requirements.

 

 

But you can still find a sample in the source: https://opendev.org/openstack/tripleo-heat-templates/src/branch/stable/wallaby/network-data-samples/legacy-routed-networks-ipv6.yaml

And there’s an example with gateway_ipv6, it should be in the subnets property.

 

You might need to change your network-data.yaml following this sample.

 

Thanks and regards

 

===============================

sam.wan@dell.com

E-LAB

Dell EMC | Technical Operations IEO

Phone: +86 (28) 82966713

 

From: users <users-bounces@lists.rdoproject.org> On Behalf Of wodel youchi
Sent: 2021
85 0:22
To: users@lists.rdoproject.org
Subject: [rdo-users] Error creating network isolation file

 

[EXTERNAL EMAIL]

Hi,

A newbie in Openstack, I am deploying an overcloud using the Wallaby version.

I am using "container-tools      3.0 [e]"

 

I am trying to create the networks-deployed-environment.yaml file using :

openstack overcloud network provision -o /home/stack/templates/networks-deployed-environment.yaml /home/stack/templates/network_data.yaml

 

But I am getting these errors on all networks defined in network_data.yaml:

2021-08-04 17:13:54.071521 | 52540075-9baf-e063-4b37-00000000000e |      FATAL | Create/Update composable networks | localhost | item={'name': 'Management', 'enabled': True, 'vip': False, 'name_lower': 'management', 'vlan': 60, 'ip_subnet': '10.0.1.0/24 [10.0.1.0]', 'allocation_pools': [{'start': '10.0.1.4', 'end': '10.0.1.250'}], 'gateway_ip': '10.0.1.1', 'gateway_ipv6': 'fd00:fd00:fd00:6000::1', 'ipv6_subnet': 'fd00:fd00:fd00:6000::/64', 'ipv6_allocation_pools': [{'start': 'fd00:fd00:fd00:6000::10', 'end': 'fd00:fd00:fd00:6000:ffff:ffff:ffff:fffe'}], 'mtu': 1500} | error={"ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 5, "item": {"allocation_pools": [{"end": "10.0.1.250", "start": "10.0.1.4"}], "enabled": true, "gateway_ip": "10.0.1.1", "gateway_ipv6": "fd00:fd00:fd00:6000::1", "ip_subnet": "10.0.1.0/24 [10.0.1.0]", "ipv6_allocation_pools": [{"end": "fd00:fd00:fd00:6000:ffff:ffff:ffff:fffe", "start": "fd00:fd00:fd00:6000::10"}], "ipv6_subnet": "fd00:fd00:fd00:6000::/64", "mtu": 1500, "name": "Management", "name_lower": "management", "vip": false, "vlan": 60}, "msg": "Failed schema validation at :\n    Additional properties are not allowed ('ip_subnet', 'enabled', 'allocation_pools', 'gateway_ip', 'vlan', 'ipv6_subnet', 'ipv6_allocation_pools', 'gateway_ipv6' were unexpected)\n\nFailed schema validation at :\n    'subnets' is a required property"}
......

 

 

 

Here is my network_data.yaml :

- name: Storage
  vip: true
  vlan: 1107
  name_lower: storage
  ip_subnet: '10.100.7.0/24 [10.100.7.0]'
  allocation_pools: [{'start': '10.100.7.150', 'end': '10.100.7.250'}]
  mtu: 1500
- name: StorageMgmt
  name_lower: storage_mgmt
  vip: true
  vlan: 1108
  ip_subnet: '10.100.8.0/24 [10.100.8.0]'
  allocation_pools: [{'start': '10.100.8.150', 'end': '10.100.8.250'}]
  mtu: 1500
- name: InternalApi
  name_lower: internal_api
  vip: true
  vlan: 1105
  ip_subnet: '10.100.5.0/24 [10.100.5.0]'
  allocation_pools: [{'start': '10.100.5.150', 'end': '10.100.5.250'}]
  mtu: 1500
- name: Tenant
  vip: false  # Tenant network does not use VIPs
  name_lower: tenant
  vlan: 1106
  ip_subnet: '10.100.6.0/24 [10.100.6.0]'
  allocation_pools: [{'start': '10.100.6.150', 'end': '10.100.6.250'}]
  mtu: 1500
- name: External
  vip: true
  name_lower: external
  vlan: 2100
  ip_subnet: '10.0.1.0/24 [10.0.1.0]'
  allocation_pools: [{'start': '10.0.1.4', 'end': '10.0.1.250'}]
  gateway_ip: '10.0.1.1'
  mtu: 1500

 

What I am missing.

Regards.


Virus-free. www.avast.com