[Starlingx-discuss] [Containers]Problems setting proxy via config_file

Perez Carranza, Jose jose.perez.carranza at intel.com
Tue Feb 5 22:24:54 UTC 2019


Done

https://bugs.launchpad.net/starlingx/+bug/1814833 

Regards,
José


> -----Original Message-----
> From: Wensley, Barton [mailto:Barton.Wensley at windriver.com]
> Sent: Tuesday, February 5, 2019 3:38 PM
> To: Perez Carranza, Jose <jose.perez.carranza at intel.com>; starlingx-
> discuss at lists.starlingx.io
> Cc: Miller, Frank <Frank.Miller at windriver.com>
> Subject: RE: [Containers]Problems setting proxy via config_file
> 
> José,
> 
> You have uncovered a bug in the configuration file processing for the
> DOCKER_PROXY section. This was introduced in the original commit for the
> docker proxy:
> https://git.openstack.org/cgit/openstack/stx-
> config/commit/?id=3a30da9a88920fef4d6b185708bd5013bb8dd95c
> 
> Please raise a bug for this. For now, your only option is to run config_controller
> interactively (without the config file).
> 
> Bart
> 
> -----Original Message-----
> From: Perez Carranza, Jose [mailto:jose.perez.carranza at intel.com]
> Sent: February 5, 2019 3:48 PM
> To: starlingx-discuss at lists.starlingx.io
> Cc: Miller, Frank; Wensley, Barton
> Subject: [Containers]Problems setting proxy via config_file
> 
> Hi
> 
> I'm doing a configuring a controller using a configuration file  `sudo
> config_controller --kubernetes --confi-file my-file.ini`. I modified my
> configuration file to add my proxies but this is causing errors [1], seems like
> when parsing the configuration file the NO_PROXY variable is set as python list
> format and hence not recognized by http library.
> 
> 1. http://paste.openstack.org/show/744593/
> 
> Do you if there is a special way to assign multiple values to a variable on
> configuration file?
> 
>  Below is the example of my configuration file settings:
> 
> =======================================================
> [DOCKER_PROXY]
> DOCKER_HTTP_PROXY = http://<IP>:PORT
> DOCKER_HTTPS_PROXY = http://<IP>:PORT
> DOCKER_NO_PROXY =
> localhost,127.0.0.1,192.168.204.2,192.168.204.3,192.168.204.4,10.10.10.3
> ========================================================
> 
> Regards,
> José




More information about the Starlingx-discuss mailing list