~~~~~~~~~
If you try and use a hostname for undercloud_admin_host or undercloud_public_host in undercloud.conf it fails with:
[stack@tripleo-08 ~]$ openstack undercloud install
/usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.24.1) or chardet (2.2.1) doesn't match a supported version!
RequestsDependencyWarning)
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 30, in run
super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
return_code = self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud.py", line 128, in take_action
dry_run=parsed_args.dry_run)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_config.py", line 392, in prepare_undercloud_deploy
_process_network_args(env_data)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_config.py", line 336, in _process_network_args
'AllocationPools': _calculate_allocation_pools(s)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_config.py", line 310, in _calculate_allocation_pools
ip_set.remove(netaddr.IPNetwork(CONF.undercloud_public_host))
File "/usr/lib/python2.7/site-packages/netaddr/ip/__init__.py", line 938, in __init__
raise AddrFormatError('invalid IPNetwork %s' % addr)
AddrFormatError: invalid IPNetwork tripleo-08-undercloud
invalid IPNetwork tripleo-08-undercloud
Many (most?) customers use hostnames for these values, especially when using SSL.
~~~~~~~~~
I'm recycling this bug as we still can't use a hostname for undercloud_*_host parameters.
See Jame's bz: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1702814
~~~~~~~~~ admin_host or undercloud_ public_ host in undercloud.conf it fails with:
If you try and use a hostname for undercloud_
[stack@tripleo-08 ~]$ openstack undercloud install python2. 7/site- packages/ requests/ __init_ _.py:91: RequestsDepende ncyWarning: urllib3 (1.24.1) or chardet (2.2.1) doesn't match a supported version! dencyWarning) python2. 7/site- packages/ tripleoclient/ command. py", line 30, in run parsed_ args) python2. 7/site- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) python2. 7/site- packages/ cliff/command. py", line 184, in run action( parsed_ args) or 0 python2. 7/site- packages/ tripleoclient/ v1/undercloud. py", line 128, in take_action run=parsed_ args.dry_ run) python2. 7/site- packages/ tripleoclient/ v1/undercloud_ config. py", line 392, in prepare_ undercloud_ deploy network_ args(env_ data) python2. 7/site- packages/ tripleoclient/ v1/undercloud_ config. py", line 336, in _process_ network_ args Pools': _calculate_ allocation_ pools(s) python2. 7/site- packages/ tripleoclient/ v1/undercloud_ config. py", line 310, in _calculate_ allocation_ pools set.remove( netaddr. IPNetwork( CONF.undercloud _public_ host)) python2. 7/site- packages/ netaddr/ ip/__init_ _.py", line 938, in __init__ ('invalid IPNetwork %s' % addr) 08-undercloud 08-undercloud
/usr/lib/
RequestsDepen
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
dry_
File "/usr/lib/
_process_
File "/usr/lib/
'Allocation
File "/usr/lib/
ip_
File "/usr/lib/
raise AddrFormatError
AddrFormatError: invalid IPNetwork tripleo-
invalid IPNetwork tripleo-
Many (most?) customers use hostnames for these values, especially when using SSL.
~~~~~~~~~