[fuel-menu] Impossible to configure no_proxy addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Fedor Zhadaev | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel Sustaining | ||
Newton |
Fix Committed
|
High
|
Fedor Zhadaev |
Bug Description
It's possible to configure proxy for repositories, but there are no possibility to configure no_proxy addresses.
For example we have to repositories:
1. name: ubuntu
section: "main universe multiverse"
uri: "http://
priority:
suite: trusty
type: deb
2. name: mos
section: "main restricted"
uri: "http://
priority: 1050
suite: mos8.0
type: deb
For the first one proxy should be used, for the second one proxy should be bypassed.
Workaround is to skip bootstrap building and use fuel-bootstrap CLI tool with /etc/fuel-
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "417"
build_id: "417"
fuel-nailgun_sha: "9ebbaa0473effa
python-
fuel-agent_sha: "df16d41cd7a944
fuel-
astute_sha: "c7ca63a4921674
fuel-library_sha: "7ef751bdc0e460
fuel-ostf_sha: "214e794835acc7
fuel-mirror_sha: "b62f3cce5321fd
fuelmenu_sha: "2a0def56276f0f
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "cfeadd34d8d048
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: feature |
tags: | added: customer-found |
no longer affects: | fuel/newton |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Fedor Zhadaev (fzhadaev) |
milestone: | 10.0 → 11.0 |
As quickfix you can use this something like this:
diff --git a/fuelclient/ client. py b/fuelclient/ client. py client. py client. py
"""Provides HTTP proxy configuration for requests module.""" utils.should_ bypass_ proxies( self.root) :
index 2c10538..32ddd0c 100644
--- a/fuelclient/
+++ b/fuelclient/
@@ -79,6 +79,8 @@ class APIClient(object):
if self._http_proxy is None:
return None
+ if requests.
+ return None
return {'http': self._http_proxy,
'https' : self._http_proxy}