Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1846508

Summary: [OSP13->OSP16.1 hackfest] Trying to pull repository stderr: error parsing HTTP 404 response body: invalid character
Product: Red Hat OpenStack Reporter: Chris Janiszewski <cjanisze>
Component: tripleo-ansibleAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Sasha Smolyak <ssmolyak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16.0 (Train)CC: aschultz, lbezdick, morazi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-15 13:25:57 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 Chris Janiszewski 2020-06-11 18:40:38 UTC
Description of problem:
Execution fails:  openstack overcloud upgrade run --stack chrisj --playbook upgrade_steps_playbook.yaml --tags nova_hybrid_state --limit all

Error:
fatal: [chrisj-hci-2]: FAILED! => {"changed": true, "cmd": "paunch apply --file /var/lib/tripleo-config/docker-container-startup-config-step_4.json --config-id tripleo_step4", "delta": "0:00:10.023444", "end": "2020-06-11 15
:30:57.045438", "msg": "non-zero return code", "rc": 1, "start": "2020-06-11 15:30:47.021994", "stderr": "", "stderr_lines": [], "stdout": "Error pulling chrisj-undercloud.ctlplane.hextupleo.lab:8787/rh-osbs/rhosp16-openstac
k-nova-compute:16.1_20200515.3. [1]\n\nstdout: Trying to pull repository chrisj-undercloud.ctlplane.hextupleo.lab:8787/rh-osbs/rhosp16-openstack-nova-compute ... \n\nstderr: error parsing HTTP 404 response body: invalid char
acter '<' looking for beginning of value: \"<!DOCTYPE HTML PUBLIC \\\"-//IETF//DTD HTML 2.0//EN\\\">\\n<html><head>\\n<title>404 Not Found</title>\\n</head><body>\\n<h1>Not Found</h1>\\n<p>The requested URL /v2/rh-osbs/rhosp
16-openstack-nova-compute/manifests/16.1_20200515.3 was not found on this server.</p>\\n</body></html>\\n\"", "stdout_lines": ["Error pulling chrisj-undercloud.ctlplane.hextupleo.lab:8787/rh-osbs/rhosp16-openstack-nova-compu
te:16.1_20200515.3. [1]", "", "stdout: Trying to pull repository chrisj-undercloud.ctlplane.hextupleo.lab:8787/rh-osbs/rhosp16-openstack-nova-compute ... ", "", "stderr: error parsing HTTP 404 response body: invalid characte
r '<' looking for beginning of value: \"<!DOCTYPE HTML PUBLIC \\\"-//IETF//DTD HTML 2.0//EN\\\">\\n<html><head>\\n<title>404 Not Found</title>\\n</head><body>\\n<h1>Not Found</h1>\\n<p>The requested URL /v2/rh-osbs/rhosp16-o
penstack-nova-compute/manifests/16.1_20200515.3 was not found on this server.</p>\\n</body></html>\\n\""]}

Investigation shows that container has not been uploaded to undercloud in one of the previous steps. 

The workaround is to execute the upload manually and try again
(undercloud) [stack@chrisj-undercloud ~]$ sudo tripleo-container-image-prepare --environment-file containers-prepare-parameter.yaml -r templates/roles_data.yaml

Issue might be related to using custom stack name.


Version-Release number of selected component (if applicable):
OSP13->OSP16.1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
sosreport - http://chrisj.cloud/sosreport-chrisj-undercloud-2020-06-11-pbiupze.tar.xz

Comment 1 Lukas Bezdicka 2020-06-15 13:25:57 UTC
I wonder if we could add validation here? This was user error where the templates setting DockerInsecureRegistries was overridden in next template.