OSP 16.1 Overcloud Deployment failing py error TypeError: inet_pton()

Solution Verified - Updated -

Issue

  • overcloud deploy is failing with the below exception:
Exception occured while running the command
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run
    super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 1125, in take_action
    self._deploy_postconfig(stack, parsed_args)
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", 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/overcloud_deploy.py", line 573, in <listcomp>
    [x for x in no_proxy_list if x is not None])
  File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", 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

Environment

  • Red Hat OpenStack Platform 16.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content