(Queens) 192.168.24.1:8787 is missing from insecure registries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
Initially reported here: https:/
Description of problem:
Queens is failing during containers preparation while trying to push containers on the local registry:
clean_up UploadImage: Could not push image 192.168.
Traceback (most recent call last):
File "/usr/lib/
ret_val = super(OpenStack
File "/usr/lib/
result = self.run_
File "/usr/lib/
ret_value = super(OpenStack
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
uploader.
File "/usr/lib/
uploader.
File "/usr/lib/
result = self.upload_
File "/usr/lib/
DockerImage
File "/usr/lib/
return self.call(f, *args, **kw)
File "/usr/lib/
start_
File "/usr/lib/
raise RetryError(
File "/usr/lib/
raise self.last_
File "/usr/lib/
return self.__get_result()
File "/usr/lib/
result = fn(*args, **kwargs)
File "/usr/lib/
raise ImageUploaderEx
ImageUploaderEx
The command used to complete the action is:
openstack overcloud container image upload --debug --config-file /home/stack/
this command was used to generate overcloud_
openstack overcloud container image prepare \
--output-
--output-
-e /usr/share/
--namespace docker-
--tag $BUILD_ID \
--prefix "openstack" \
--suffix "" \
--set "ceph_namespace
--set "ceph_image=daemon" \
--set "ceph_tag=
--push-
The docker-
Version-Release number of selected component (if applicable):
Puddle 2018-10-02.1
How reproducible:
The failure is consistent.
Steps to Reproduce:
1. Just generate the overcloud_
Actual results:
Could not push any image.
Expected results:
All the images pushed correctly.
RCA:
192.168.24.1:8787 should also be an insecure registry in /etc/sysconfig/
To do this the undercloud.conf needs the following before the undercloud is installed:
docker_
In Rocky, we added 192.168.24.1:8787 automatically, but instack based Queens doesn't. We can do one of the following:
- Document that they must always manually add docker_
- Propose a fix to instack-undercloud to append local_ip:8787 DOCKER_
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
Changed in tripleo: | |
milestone: | stein-2 → stein-3 |
Changed in tripleo: | |
status: | In Progress → Fix Released |
Fix proposed to branch: master /review. openstack. org/613166
Review: https:/