Update git submodules

* Update python-tripleoclient from branch 'master'
  - Merge "undercloud: resolve undercloud_*_host"
  - undercloud: resolve undercloud_*_host
    
    The problem we're solving here is that our operators using SSL + FQDN
    based endpoints will have failures during the deployment because we
    don't lookup the FQDN into IP addresses, needed later in the deployment
    for proper binding.
    
    This patch transforms undercloud_*_host parameters into IP addresses:
    
    - We raise if lookup returns nothing.
    - We raise if lookup returns more than one IP.
    - We support both IPv4 and IPv6.
    - We raise if the IP is a loopback.
    - We raise if the returned IP is invalid.
    
    Utils changes:
    
    * Introduce utils.is_valid_ip.
      Return True if the IP is either v4 or v6. Return False otherwise.
    
    * Introduce utils.is_loopback.
      Return True if the given host is a loopback. Return False otherwise.
    
    * Introduce utils.get_host_ips.
      Returns a list of IPs for a host to lookup.
    
    * Introduce utils.get_single_ip.
      Translate an hostname or FQDN into an IP address if it is valid IP.
      Return it unchanged if it is an IPv4 or IPv6 address.
      If the host is not reachable, it'll raise an exception.
      By default it excludes the loopbacks but it can be allowed by setting
      allow_loopback = True.
    
    * Use utils.get_single_ip to translate undercloud_admin_host and
      undercloud_public_host to IP addresses.
    
    Related-Bug: #1763776
    Change-Id: Ic008cc758493aa95e8aa237d23c2f66c0a930509
This commit is contained in:
Zuul 2019-05-09 18:29:24 +00:00 committed by Gerrit Code Review
parent fb5203dba3
commit aef15df87a
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit 0228a39e157ee5fa8fbdfa057c713783cf502fc6
Subproject commit 48ddd368450cdd38c6114efafefeaeb07d4e9651