[OVSDB-362] Add cli flag to use virtual environment Created: 18/Aug/16  Updated: 19/Oct/17  Resolved: 31/Aug/16

Status: Resolved
Project: ovsdb
Component/s: CSIT
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Victor Pickard Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6467
Priority: High

 Description   

Netvirt IT uses DockerOvs() in ovsdb.it-utils. DockerOvs uses docker-compose.

In Jenkins, docker-compose is installed in a virtual environment. So, when running DockerOvs on jenkins, we need to switch to a virtual environment (venv) to get access to docker-compose.

New flag, -DuseVenv=true, will trigger DockerOvs to make system call to switch to virtual environment.



 Comments   
Comment by Anil Vishnoi [ 22/Aug/16 ]

master :
https://git.opendaylight.org/gerrit/44414
https://git.opendaylight.org/gerrit/#/c/44420/

Comment by Victor Pickard [ 29/Aug/16 ]

(In reply to Victor Pickard from comment #0)
> Netvirt IT uses DockerOvs() in ovsdb.it-utils. DockerOvs uses
> docker-compose.
>
> In Jenkins, docker-compose is installed in a virtual environment. So, when
> running DockerOvs on jenkins, we need to switch to a virtual environment
> (venv) to get access to docker-compose.
>
> New flag, -DuseVenv=true, will trigger DockerOvs to make system call to
> switch to virtual environment.

New flag was changed to -Ddocker.vEnvWs=$WORKSPACE

Comment by Victor Pickard [ 29/Aug/16 ]

(In reply to Victor Pickard from comment #0)
> Netvirt IT uses DockerOvs() in ovsdb.it-utils. DockerOvs uses
> docker-compose.
>
> In Jenkins, docker-compose is installed in a virtual environment. So, when
> running DockerOvs on jenkins, we need to switch to a virtual environment
> (venv) to get access to docker-compose.
>
> New flag, -DuseVenv=true, will trigger DockerOvs to make system call to
> switch to virtual environment.

New flag was changed to -Ddocker.vEnvWs=$WORKSPACE

Comment by Anil Vishnoi [ 31/Aug/16 ]

stable/boron : https://git.opendaylight.org/gerrit/#/c/44801/1
https://git.opendaylight.org/gerrit/#/c/44800/1

Generated at Wed Feb 07 20:36:12 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.