[rdo-users] Error creating network isolation file
wodel youchi
wodel.youchi at gmail.com
Wed Aug 4 16:22:14 UTC 2021
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 *
I am following this documentation :
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/network_isolation.html
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 <http://10.0.1.0/24>',
> '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
> <http://10.0.1.0/24>", "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'
> 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'
> 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'
> 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'
> 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'
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210804/fcf13101/attachment.html>
More information about the users
mailing list