Need to be able to config proxy settings inside glance_api container

Bug #1775815 reported by Mark Duggan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned

Bug Description

Need to add the capability to configure settings for:

http_proxy
https_proxy
no_proxy

within the glance_api container

Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Hi,

During image build proxies can be configured as extended code block as defined in documentation https://docs.openstack.org/kolla/latest/admin/image-building.html#building-behind-a-proxy

or configure docker to add proxy settings https://docs.docker.com/network/proxy/#set-the-environment-variables-manually

or setting container_proxy to your docker_common_options https://github.com/openstack/kolla-ansible/blob/e88b9a7ad491e0c1b4575d1eb86d37e4e7cf55e7/ansible/group_vars/all.yml#L106

Revision history for this message
Mark Duggan (mark-duggan-t) wrote : Re: [Bug 1775815] Re: Need to be able to config proxy settings inside glance_api container

Hi Eduardo,

I'm wanting to re-implement a preferred method already used in Magnum.
See this review: https://review.openstack.org/#/c/509713/

We don't want to burn the proxy settings into the images and prefer to
use this method when importing images to glance

On 06/08/2018 12:24 PM, Eduardo Gonzalez wrote:
> Hi,
>
> During image build proxies can be configured as extended code block as
> defined in documentation https://docs.openstack.org/kolla/latest/admin
> /image-building.html#building-behind-a-proxy
>
> or configure docker to add proxy settings
> https://docs.docker.com/network/proxy/#set-the-environment-variables-
> manually
>
> or setting container_proxy to your docker_common_options
> https://github.com/openstack/kolla-
> ansible/blob/e88b9a7ad491e0c1b4575d1eb86d37e4e7cf55e7/ansible/group_vars/all.yml#L106
>

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/573667
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=87043bc918e39edbfce9069ca3a0def97b2b159a
Submitter: Zuul
Branch: master

commit 87043bc918e39edbfce9069ca3a0def97b2b159a
Author: Mark Duggan <email address hidden>
Date: Fri Jun 8 12:11:31 2018 +0100

    config proxy settings inside glance_api container

    Adding the capability to configure settings for http_proxy https_proxy
    and no_proxy inside glance_api container. This is required when import
    images from external http resources behind a proxy.

    Co-Authored-By: Paul Bourke <email address hidden>
    Closes-bug: #1775815
    Change-Id: I85661f04311d5671adecc84c470f2e4db07cfe1d

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.0.0.0b3

This issue was fixed in the openstack/kolla-ansible 7.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.