[rdo-users] Error creating network isolation file

wodel youchi wodel.youchi at gmail.com
Wed Aug 11 12:41:50 UTC 2021


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.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le mer. 11 août 2021 à 05:25, Wan, Sam <Sam.Wan at 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 at dell.com <sam.wan at dell.com>*
>
> *E-LAB*
>
> *Dell **EMC** | Technical Operations IEO*
>
> *Phone: **+86 (28) 82966713*
>
>
>
> *From:* Wan, Sam
> *Sent:* 2021年8月11日 12:23
> *To:* 'wodel youchi'; users at 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¶
> <https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/network_isolation.html#create-and-edit-network-data-yaml-definition-file>
>
> Use the network-data-samples
> <https://opendev.org/openstack/tripleo-heat-templates/network-data-samples>
> (broken) in tripleo-heat-templates
> <https://opendev.org/openstack/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 at dell.com <sam.wan at dell.com>*
>
> *E-LAB*
>
> *Dell **EMC** | Technical Operations IEO*
>
> *Phone: **+86 (28) 82966713*
>
>
>
> *From:* users <users-bounces at lists.rdoproject.org> *On Behalf Of *wodel
> youchi
> *Sent:* 2021年8月5日 0:22
> *To:* users at 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 *
>
> I am following this documentation : https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/network_isolation.html
> [docs.openstack.org]
> <https://urldefense.com/v3/__https:/docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/network_isolation.html__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDo-ssQW6s$>
>
>
>
> 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]
> <https://urldefense.com/v3/__http:/10.0.1.0/24__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDoLdX87P4$>',
> '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]
> <https://urldefense.com/v3/__http:/10.0.1.0/24__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDoLdX87P4$>",
> "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]
> <https://urldefense.com/v3/__http:/10.100.7.0/24__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDo19NKNJI$>
> '
>   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]
> <https://urldefense.com/v3/__http:/10.100.8.0/24__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDokDoJOtI$>
> '
>   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]
> <https://urldefense.com/v3/__http:/10.100.5.0/24__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDoIFOPzzM$>
> '
>   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]
> <https://urldefense.com/v3/__http:/10.100.6.0/24__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDoCzXKWlQ$>
> '
>   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]
> <https://urldefense.com/v3/__http:/10.0.1.0/24__;!!LpKI!xc4qNPJ0garbZ7l0yI6qpDEAABzfeM0X6sDwSZT0QNTcENQ9AcDoLdX87P4$>
> '
>   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.
>

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210811/a70b3a87/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 18391 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210811/a70b3a87/attachment-0001.png>


More information about the users mailing list