Red Hat OSP 16.1 IPv6 deployment failing

Latest response

Hello all! I'm working on my first Openstack deployment.

I was able to fully bring up the stack with IPv4 management on the ExternalAPI vlan.

I tore down that stack, since my directional architecture says we should be using IPv6 for the External API vlan.

However, when I try to deploy the stack on IPv6, it is failing with a python error shortly after the stack is successfully created

[2021/08/09 09:22:43]-TypeError: inet_pton() argument 2 must be str, not None
[2021/08/09 09:22:43]-inet_pton() argument 2 must be str, not None

I looked at the python script and it looks like the second argument for that function should be my IPv6 address. I'm not sure why it's not getting passed from my rendered environment files to the deployment script.

Here is what my networkData looks like that I used to render my environment files:

  • name: External
    vip: true
    name_lower: external
    vlan: 1234
    #ip_subnet: ''
    #allocation_pools: [{'start': '', 'end': ''}]
    #gateway_ip: ''
    ipv6: true
    ipv6_subnet: 'aaaa:bbbb:10:f5::/64'
    ipv6_allocation_pools: [{'start': 'aaaa:bbbb:10:f5:ce::111', 'end': 'aaaa:bbbb:10:f5:ce::150'}]
    gateway_ipv6: 'aaaa:bbbb:10:f5:ce:22::'
    mtu: 1500

Is there anything else I need to do in order to change the external API vlan to use IPv6 in a 16.1 deployment? I must be missing an environment file edit or have an error in my network_data.yaml, but I'm not sure where.


I am facing this error. Can you please provide me pointers / solution? Stack overcloud15/6e0db967-2d15-4dbc-8436-f3cf0f0e999e CREATE_COMPLETE

Waiting for messages on queue 'tripleo' with no timeout. Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/", line 32, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/osc_lib/command/", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/cliff/", line 185, in run return_code = self.take_action(parsed_args) or 0 File "/usr/lib/python3.6/site-packages/tripleoclient/v1/", line 1125, in take_action self._deploy_postconfig(stack, parsed_args) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/", line 573, in _deploy_postconfig [x for x in no_proxy_list if x is not None]) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/", line 573, in [x for x in no_proxy_list if x is not None]) File "/usr/lib/python3.6/site-packages/tripleoclient/", line 428, in bracket_ipv6 socket.inet_pton(socket.AF_INET6, address) TypeError: inet_pton() argument 2 must be str, not None inet_pton() argument 2 must be str, not None

The error message looks the same as reported for another upstream issue While OSP 16.1 has no the Heat Server Side Merging feature backported, the root cause could be similar - some stack output is coming as None.