Bug 1610549
| Summary: | Undercloud installation fails when using a hostname different than 'undercloud' | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Emilien Macchi <emacchi> |
| Status: | CLOSED ERRATA | QA Contact: | Gurenko Alex <agurenko> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 14.0 (Rocky) | CC: | aschultz, dbecker, emacchi, jcoufal, mburns, morazi, sasha, sclewis, tvignaud |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 14.0 (Rocky) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-9.0.0-0.20180726103747.5fefd0b.el7ost python-tripleoclient-10.3.1-0.20180726104131.80ac3b9.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-11 11:51:11 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
Marius Cornea
2018-07-31 21:51:03 UTC
https://review.openstack.org/#/c/588075/ makes the external task run but it fails right after that with: TASK [Run openstack tripleo container image prepare] *************************** fatal: [undercloud-0]: FAILED! => {"changed": true, "cmd": ["openstack", "tripleo", "container", "image", "prepare", "--log-file", "../install-undercloud.log", "--roles-file", "/tmp/ansible.ZRx0XL-role-data", "--environment-file", "/tmp/ansible.xgQPU3-prepare-param", "--cleanup", "partial", "--verbose"], "delta": "0:00:38.172680", "end": "2018-08-01 17:50:48.616070", "msg": "non-zero return code", "rc": 1, "start": "2018-08-01 17:50:10.443390", "stderr": "START with options: [u'tripleo', u'container', u'image', u'prepare', u'--log-file', u'../install-undercloud.log', u'--roles-file', u'/tmp/ansible.ZRx0XL-role-data', u'--environment-file', u'/tmp/ansible.xgQPU3-prepare-param', u'--cleanup', u'partial', u'--verbose']\ncommand: tripleo container image prepare -> tripleoclient.v1.container_image.TripleOImagePrepare (auth=False)\nUsing config files: ['/tmp/tmp8I6_0V']\nimagename: docker-registry.engineering.redhat.com/rhosp14/openstack-tempest:2018-08-01.1\nRunning skopeo inspect --tls-verify=false docker://docker-registry.engineering.redhat.com/rhosp14/openstack-tempest:2018-08-01.1\nRunning skopeo inspect --tls-verify=false docker://192.168.24.1:8787/rhosp14/openstack-tempest:2018-08-01.1\nPulling docker-registry.engineering.redhat.com/rhosp14/openstack-tempest\nPushing 192.168.24.1:8787/rhosp14/openstack-tempest\ndocker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client\nPushing 192.168.24.1:8787/rhosp14/openstack-tempest\ndocker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client\nPushing 192.168.24.1:8787/rhosp14/openstack-tempest\ndocker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client\nPushing 192.168.24.1:8787/rhosp14/openstack-tempest\ndocker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client\nPushing 192.168.24.1:8787/rhosp14/openstack-tempest\ndocker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client\nCould not push image 192.168.24.1:8787/rhosp14/openstack-tempest\nEND return value: 1", "stderr_lines": ["START with options: [u'tripleo', u'container', u'image', u'prepare', u'--log-file', u'../install-undercloud.log', u'--roles-file', u'/tmp/ansible.ZRx0XL-role-data', u'--environment-file', u'/tmp/ansible.xgQPU3-prepare-param', u'--cleanup', u'partial', u'--verbose']", "command: tripleo container image prepare -> tripleoclient.v1.container_image.TripleOImagePrepare (auth=False)", "Using config files: ['/tmp/tmp8I6_0V']", "imagename: docker-registry.engineering.redhat.com/rhosp14/openstack-tempest:2018-08-01.1", "Running skopeo inspect --tls-verify=false docker://docker-registry.engineering.redhat.com/rhosp14/openstack-tempest:2018-08-01.1", "Running skopeo inspect --tls-verify=false docker://192.168.24.1:8787/rhosp14/openstack-tempest:2018-08-01.1", "Pulling docker-registry.engineering.redhat.com/rhosp14/openstack-tempest", "Pushing 192.168.24.1:8787/rhosp14/openstack-tempest", "docker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client", "Pushing 192.168.24.1:8787/rhosp14/openstack-tempest", "docker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client", "Pushing 192.168.24.1:8787/rhosp14/openstack-tempest", "docker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client", "Pushing 192.168.24.1:8787/rhosp14/openstack-tempest", "docker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client", "Pushing 192.168.24.1:8787/rhosp14/openstack-tempest", "docker push failed: Get https://192.168.24.1:8787/v1/_ping: http: server gave HTTP response to HTTPS client", "Could not push image 192.168.24.1:8787/rhosp14/openstack-tempest", "END return value: 1"], "stdout": "", "stdout_lines": []} It looks that the client is trying to do an https request to an http endpoint(192.168.24.1:8787): [stack@undercloud-0 ~]$ curl -I https://192.168.24.1:8787 curl: (35) SSL received a record that exceeded the maximum permissible length. [stack@undercloud-0 ~]$ curl -I http://192.168.24.1:8787 HTTP/1.1 200 OK Cache-Control: no-cache Date: Wed, 01 Aug 2018 22:04:45 GMT Content-Type: text/plain; charset=utf-8 yeah, we'll need https://review.openstack.org/588098 as well. 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-2019:0045 |