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

Bug 1652989

Summary: Overcloud deployment fails when containers images are pulled from remote satellite(not from undercloud)
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-commonAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Gurenko Alex <agurenko>
Severity: urgent Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: dbecker, emacchi, jcoufal, mburns, mcornea, morazi, sbaker, slinaber
Target Milestone: rcKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-9.4.1-0.20181012010880.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1653462 (view as bug list) Environment:
Last Closed: 2019-01-11 11:55:00 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:
Bug Depends On:    
Bug Blocks: 1653462    
Attachments:
Description Flags
/var/lib/mistral/overcloud none

Description Marius Cornea 2018-11-23 21:04:56 UTC
Description of problem:
Overcloud deployment fails when containers images are pulled from remote satellite(not from undercloud). 

The overcloud nodes do not get INSECURE_REGISTRY set in /etc/sysconfig/docker so pulling the docker images fails because:

Nov 23 16:00:48 controller-0 dockerd-current: time="2018-11-23T16:00:48.154066648-05:00" level=error msg="Attempting next endpoint for pull after error: Get https://rhos-compute-node-08.lab.eng.rdu2.redhat.com:5000/v1/_ping: x509: certificate signed by unknown authority"


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-9.0.1-0.20181013060890.el7ost.noarch
openstack-tripleo-common-9.4.1-0.20181012010878.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
openstack overcloud deploy \
--timeout 100 \
--templates /usr/share/openstack-tripleo-heat-templates \
--stack overcloud \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
-e /home/stack/virt/internal.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/virt/network/network-environment.yaml \
-e /home/stack/virt/enable-tls.yaml \
-e /home/stack/virt/inject-trust-anchor.yaml \
-e /home/stack/virt/public_vip.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml \
-e /home/stack/virt/hostnames.yml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
-e /home/stack/virt/debug.yaml \
-e /home/stack/virt/nodes_data.yaml \
--environment-file /usr/share/openstack-tripleo-heat-templates/environments/rhsm.yaml \
-e ~/containers-prepare-parameter.yaml \
-e /home/stack/virt/overcloud_satellite.yaml \
--log-file overcloud_deployment_76.log


Actual results:
Deployment fails because overcloud nodes are unable to pull images

Expected results:
Deployment succeeds.

Additional info:

Comment 2 Marius Cornea 2018-11-23 21:09:27 UTC
Created attachment 1508319 [details]
/var/lib/mistral/overcloud

Attaching /var/lib/mistral/overcloud

Comment 8 Steve Baker 2018-11-25 22:02:28 UTC
Assigning to docs for triage, we need to document when it is required to set a value for DockerInsecureRegistryAddress

Comment 23 errata-xmlrpc 2019-01-11 11:55:00 UTC
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