Skip to content

Support virtual environment for ansible 2.0.0.2#4325

Merged
lguohan merged 3 commits intosonic-net:masterfrom
xumia:xumia_f7
Mar 31, 2020
Merged

Support virtual environment for ansible 2.0.0.2#4325
lguohan merged 3 commits intosonic-net:masterfrom
xumia:xumia_f7

Conversation

@xumia
Copy link
Collaborator

@xumia xumia commented Mar 26, 2020

- What I did
Install virtual environment for ansible 2.0.0.2

- How I did it

- How to verify it
. env-201811/bin/activate
The ansible 2.0.0.2 will be used.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@lguohan
Copy link
Collaborator

lguohan commented Mar 26, 2020

how to use? example?


# Install Virtual Environment
RUN python -m virtualenv --system-site-packages env-201803
RUN env-201803/bin/pip install ansible==2.0.0.2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

201811?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, do we have 2.0.0.2-1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to 201811. I only find 2.0.0.2, there are no 2.0.0.2-1.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call the command ". env-201811/bin/activate" to initialize the environment. You will use ansible 2.0.0.2. The other python packages will use the same as system default ones. Only overwrite the ansible and its dependency packages.

@lguohan lguohan requested a review from yxieca March 26, 2020 20:28
@yxieca yxieca self-requested a review March 30, 2020 21:49
@lguohan lguohan merged commit 2c97321 into sonic-net:master Mar 31, 2020
rlhui pushed a commit that referenced this pull request Jul 7, 2020
. env-201811/bin/activate

The ansible 2.0.0.2 will be used.
praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request May 28, 2021
…net#4325)

. env-201811/bin/activate

The ansible 2.0.0.2 will be used.
mssonicbld added a commit that referenced this pull request Mar 12, 2026
…lly (#25996)

#### Why I did it
src/sonic-swss
```
* b25e4543 - (HEAD -> 202511, origin/202511) Temporarily moving the PORT_PHY_ATTR ERR messages to NOTICE level. (#4325) (42 minutes ago) [mssonicbld]
* b25c948d - [buffermgrd] Wait for lossless buffer profile to be applied to SAI (#4314) (25 hours ago) [mssonicbld]
* 56209d24 - [202511] Add PORT_PHY_ATTR flex counter support (#4214) (27 hours ago) [Dhanasekar Rathinavel]
* 1d6e0678 - Support checking capabilities of the mirror (#4137) (2 days ago) [mssonicbld]
* 512aa6ea - [RouteOrch] fix performance regression in ResponsePublisher (#4313) (2 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Mar 16, 2026
…atically (#26184)

#### Why I did it
src/sonic-utilities
```
* caf471a5 - (HEAD -> 202511, origin/202511) Wait for monit monitor <service> operation to complete during config (#4325) (52 minutes ago) [Hemanth Kumar Tirupati]
* 6a9dcc78 - Add alternate TH5 hwsku names to gcu (#4357) (2 days ago) [mssonicbld]
* 0017a8d4 - [fibshow]: Fix exception when blackhole routes are present (#4356) (2 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants