pass proxy env variable in tox env

Bug #1525115 reported by Ghanshyam Mann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Ghanshyam Mann

Bug Description

When a development environment is under a proxy, tox is failed even if environment variables of the proxy are set.

In tox.ini we should pass those proxy env variable so that those can be available in tox env.

Tags: area-python
Changed in fuel:
assignee: nobody → Ghanshyam Mann (ghanshyammann)
status: New → In Progress
Revision history for this message
Roman Prykhodchenko (romcheg) wrote :

Please clarify which component is this bug about?

Changed in fuel:
status: In Progress → Invalid
status: Invalid → Incomplete
importance: Undecided → Medium
milestone: none → 8.0
tags: added: area-python
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

@Roman, Thanks.

Its for all fuel component providing tox environment. Which is very helpful for env having proxy. I tried to run fuel using tox and faced the issue.

I am not sure do i need to add bug for all component, All patch are up for all component and attached those with this bug.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Moving to Confirmed, as patch proposed should clarify what this issue is about: https://review.openstack.org/#/c/256153/

Changed in fuel:
status: Incomplete → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-devops (master)

Reviewed: https://review.openstack.org/256143
Committed: https://git.openstack.org/cgit/openstack/fuel-devops/commit/?id=e15d35e022ba02bc8f8e550a35cacadbfdae47ca
Submitter: Jenkins
Branch: master

commit e15d35e022ba02bc8f8e550a35cacadbfdae47ca
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 08:55:59 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: I9a870f21a1eef9983f1988d10c32366085ff88c6

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/256153
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=78adbf7834d0018e631517bf59086adb78f6d72b
Submitter: Jenkins
Branch: master

commit 78adbf7834d0018e631517bf59086adb78f6d72b
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:08:23 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: I271ab2581af08ffe0a345b0b795f8ae733e6cc0a

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-stats (master)

Reviewed: https://review.openstack.org/256156
Committed: https://git.openstack.org/cgit/openstack/fuel-stats/commit/?id=e48ee5db8824a417fe8c00e250e9c9cb0366b452
Submitter: Jenkins
Branch: master

commit e48ee5db8824a417fe8c00e250e9c9cb0366b452
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:13:19 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: I5b47eff597f3a1a4da2dd8afba08c508d8ebeac9

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/256148
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=18cb17ee9c8afc0bc646ce020c8b3cd3a423c783
Submitter: Jenkins
Branch: master

commit 18cb17ee9c8afc0bc646ce020c8b3cd3a423c783
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:01:48 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: Ied98b2bc97c98600aa2d2abf924bfbecb5de9f93

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-menu (master)

Reviewed: https://review.openstack.org/256146
Committed: https://git.openstack.org/cgit/openstack/fuel-menu/commit/?id=266f60afb9a3652e9738690ba4da663c563cea55
Submitter: Jenkins
Branch: master

commit 266f60afb9a3652e9738690ba4da663c563cea55
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:01:16 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.

    Closes-Bug: #1525115

    Change-Id: I55df46e2359b7a71b0605e80cd0a6ca4edd95c0c

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-mirror (master)

Reviewed: https://review.openstack.org/256151
Committed: https://git.openstack.org/cgit/openstack/fuel-mirror/commit/?id=27a090ec31decc14322ad1945fc2a218f84e112f
Submitter: Jenkins
Branch: master

commit 27a090ec31decc14322ad1945fc2a218f84e112f
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:08:13 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: If08711d5dc98e40c97dd851ad15d01764828902a

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugins (master)

Reviewed: https://review.openstack.org/256152
Committed: https://git.openstack.org/cgit/openstack/fuel-plugins/commit/?id=04f17f635f111b0b5a9560f36614435585fd9304
Submitter: Jenkins
Branch: master

commit 04f17f635f111b0b5a9560f36614435585fd9304
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:08:16 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: I436e49ab6f87fa7d4bfeaaa915b4ab8e2af6d5b5

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/256157
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=adcd76d9a86aa38ec6ad90f218bdb10b80ce503d
Submitter: Jenkins
Branch: master

commit adcd76d9a86aa38ec6ad90f218bdb10b80ce503d
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:16:05 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: I461bd8167c5984e81d7579e05d6ba15eeef416f6

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-dev-tools (master)

Reviewed: https://review.openstack.org/256142
Committed: https://git.openstack.org/cgit/openstack/fuel-dev-tools/commit/?id=2d1513b64a79747392e891bc9a854368d6fd5a1e
Submitter: Jenkins
Branch: master

commit 2d1513b64a79747392e891bc9a854368d6fd5a1e
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 08:54:43 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.

    Closes-Bug: #1525115
    Change-Id: Iff6d29445cbb88c041c58e87720300ef8ec38265

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-specs (master)

Reviewed: https://review.openstack.org/256155
Committed: https://git.openstack.org/cgit/openstack/fuel-specs/commit/?id=de52d4de375761c6ac6b9d841ade2d34e56b1bbd
Submitter: Jenkins
Branch: master

commit de52d4de375761c6ac6b9d841ade2d34e56b1bbd
Author: Ghanshyam <email address hidden>
Date: Fri Dec 11 09:13:06 2015 +0900

    Pass environment variables of proxy to tox

    When a development environment is under a proxy, tox is failed even if
    environment variables of the proxy are set.

    This patch fixes this problem.
    Closes-Bug: #1525115

    Change-Id: I1a3b78eec40f3d7ae939f96c929720ca2ce0b9c7

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-upgrade (master)

Change abandoned by Ghanshyam Mann (<email address hidden>) on branch: master
Review: https://review.openstack.org/256154
Reason: If it does not look good in tox.ini then also fine. There are multiple way to do that.

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-docs (master)

Change abandoned by Ghanshyam Mann (<email address hidden>) on branch: master
Review: https://review.openstack.org/256145

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.