Bug 1762303
Summary: | Undercloud registry relative redirect follow | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Attila Fazekas <afazekas> |
Component: | openstack-tripleo-common | Assignee: | Harald Jensås <hjensas> |
Status: | CLOSED ERRATA | QA Contact: | Sasha Smolyak <ssmolyak> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 16.0 (Train) | CC: | bfournie, hbrock, jschluet, jslagle, mburns, michele, ramishra, slinaber |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | 16.0 (Train on RHEL 8.1) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-tripleo-common-tests-tempest-0.0.1-0.20191108205902.b692955.el8ost openstack-tripleo-common-11.3.2-0.20191126040433.7cebd8b.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-06 14:42:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Attila Fazekas
2019-10-16 13:10:32 UTC
Moved to POST, https://review.opendev.org/689068 merged upstream. This is a py2 vs py3 issue. Python 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> import socket >>> >>> ctlplane_hostname = '.'.join([socket.gethostname().split('.')[0], 'ctlplane']) >>> cmd = ['getent', 'hosts', ctlplane_hostname] >>> process = subprocess.Popen(cmd, stdout=subprocess.PIPE) >>> out, err = process.communicate() >>> address = out.split()[1] >>> type(address) <type 'str'> Python 3.6.8 (default, Jun 7 2019, 12:46:56) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> import socket >>> >>> ctlplane_hostname = '.'.join([socket.gethostname().split('.')[0], 'ctlplane']) >>> cmd = ['getent', 'hosts', ctlplane_hostname] >>> process = subprocess.Popen(cmd, stdout=subprocess.PIPE) >>> out, err = process.communicate() >>> address = out.split()[1] >>> type(address) <class 'bytes'> Per the Trello card, this has been verified - https://trello.com/c/kIidTGbi/1185-cixbz1762303ospphase1osp16tripleo-commondfimage-upload-failed and is no longer being seen in CI. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:0283 |