Ask Your Question

tripleo behind proxy cannot download from

asked 2018-12-18 03:51:57 -0500

BiG_NoBoDy gravatar image

hi all, I have an environment, with a internet access only via proxy. I cannot make skopeo download docker, even I have my proxy set in env, in /etc/profile.d/, OR systemd edit docker...

here is an output I get:

Exception: Error inspecting image: docker://
time="2018-12-14T14:06:14+01:00" level=fatal msg="pinging docker registry returned: Get dial tcp i/o timeout" 

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/", line 1060, in _standalone_deploy
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/", line 678, in _deploy_tripleo_heat_templates
    self._prepare_container_images(env, parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/", line 656, in _prepare_container_images
    env, roles_data, dry_run=True)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/", line 167, in container_images_prepare_multi
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/", line 268, in container_images_prepare
    images, tag_from_label)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/", line 452, in discover_image_tags
  File "/usr/lib/python2.7/site-packages/concurrent/futures/", line 605, in result_iterator
    yield future.result()
  File "/usr/lib/python2.7/site-packages/concurrent/futures/", line 429, in result
    return self.__get_result()
  File "/usr/lib/python2.7/site-packages/concurrent/futures/", line 62, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/", line 556, in discover_tag_from_inspect
    i = DockerImageUploader._inspect(image_url.geturl(), insecure)
  File "/usr/lib/python2.7/site-packages/tenacity/", line 241, in wrapped_f
    return, *args, **kw)
  File "/usr/lib/python2.7/site-packages/tenacity/", line 330, in call
  File "/usr/lib/python2.7/site-packages/tenacity/", line 297, in iter
    raise retry_exc.reraise()
  File "/usr/lib/python2.7/site-packages/tenacity/", line 136, in reraise
    raise self.last_attempt.result()
  File "/usr/lib/python2.7/site-packages/concurrent/futures/", line 422, in result
    return self.__get_result()
  File "/usr/lib/python2.7/site-packages/tenacity/", line 333, in call
    result = fn(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/tripleo_common/image/", line 383, in _inspect
    (image, err))
ImageUploaderException: Error inspecting image: docker://
time="2018-12-14T14:06:14+01:00" level=fatal msg="pinging docker registry returned: Get dial tcp i/o timeout" 

Preserving deployment artifacts
Install artifact is located at /home/stack/undercloud-install-20181214130614.tar.bzip2


Deployment Failed!

ERROR: Heat log files: /var/log/heat-launcher/undercloud_deploy-g1hlP0


Deployment failed.

Here is my undercloud.conf:

$ egrep -v "^$|^#" undercloud.conf 
undercloud_hostname =
local_ip =
undercloud_public_host =
undercloud_admin_host =
undercloud_nameservers =,
undercloud_ntp_servers =,
overcloud_domain_name =
generate_service_certificate = true
local_interface = eth1
local_mtu = 1500 ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-12-20 03:14:33 -0500

BiG_NoBoDy gravatar image

updated 2019-01-02 11:03:12 -0500

What I did, I still didn't use containers in Rocky, but at least all other components are fresh :)

undercloud# yum install -y centos-release-openstack-rocky.noarch
undercloud# yum update -y
undercloud# yum install -y python-tripleoclient ceph-ansible
undercloud# sync ; sync ; reboot
stack@undercloud$ openstack undercloud install --use-heat=False
stack@undercloud$ cp -ar /etc/yum.repos.d repos
stack@undercloud$ sed -i 's/gpgcheck=1/gpgcheck=0/g' repos/*repo
stack@undercloud$ export DIB_YUM_REPO_CONF="$(ls /home/stack/repos/*repo)"
stack@undercloud$ export STABLE_RELEASE="rocky"
stack@undercloud$ export no_proxy="localhost,,`hostname -f`"
stack@undercloud$ sudo mkdir /var/lib/ironic/httpboot/
stack@undercloud$ sudo chown -R ironic:ironic /var/lib/ironic
stack@undercloud$ sudo sed -i '/disable-nouveau/d' /usr/share/openstack-tripleo-common/image-yaml/overcloud-images.yaml
stack@undercloud$ openstack overcloud image build
stack@undercloud$ source stackrc
stack@undercloud$ openstack overcloud image upload

Do not think it is a good solution, but that at least helped me to move forward...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-12-18 03:51:57 -0500

Seen: 884 times

Last updated: Jan 02 '19