[TripleO] External network on compute node

Reza Bakhshayeshi reza.b2008 at gmail.com
Tue May 5 18:55:09 UTC 2020


 Hi all.
The default way of compute node for accessing Internet if through
undercloud.
I'm going to assign an IP from External network to each compute node with
default route.
But the deployment can't assign an IP to br-ex and fails with:

                "    raise AddrFormatError('invalid IPNetwork %s' % addr)",
                "netaddr.core.AddrFormatError: invalid IPNetwork ",

Actually 'ip_netmask': '' is empty during deployment for compute nodes.
I've added external network to compute node role:
    External:
      subnet: external_subnet

and for network interface:
              - type: ovs_bridge
                name: bridge_name
                mtu:
                  get_param: ExternalMtu
                dns_servers:
                  get_param: DnsServers
                use_dhcp: false
                addresses:
                - ip_netmask:
                    get_param: ExternalIpSubnet
                routes:
                  list_concat_unique:
                    - get_param: ExternalInterfaceRoutes
                    - - default: true
                        next_hop:
                          get_param: ExternalInterfaceDefaultRoute
                members:
                - type: interface
                  name: nic3
                  mtu:
                    get_param: ExternalMtu
                  use_dhcp: false
                  primary: true

Any suggestion would be grateful.
Regards,
Reza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200505/c3bb8cf1/attachment.html>


More information about the openstack-discuss mailing list