Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sonic-package-manager] Increate timeout for sonic-package-manager migrate #2973

Merged

Conversation

yaqiangz
Copy link
Contributor

@yaqiangz yaqiangz commented Sep 7, 2023

MSFT work item numbr: 24905913

What I did

When we migrate package via sonic-package-manager in some low-performance device, getting docker image from old image via docker socket may timeout by default timeout setting (60s) client.py. This PR is to increase timeout to 120s.

How I did it

Increase docker client timeout from 60s to 120s.

How to verify it

  1. ut passed.
  2. Build image with INCLUDE_MACSEC, and install it, macsec image was not include. And the build image with this PR, install it. Migrate package successfully.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@yaqiangz yaqiangz requested a review from Blueve September 7, 2023 04:03
@yaqiangz yaqiangz marked this pull request as ready for review September 7, 2023 04:55
@yaqiangz yaqiangz force-pushed the master_extend_timeout_package_manager branch 4 times, most recently from 5a9a545 to 45adb5a Compare September 7, 2023 09:04
@yaqiangz yaqiangz force-pushed the master_extend_timeout_package_manager branch from 45adb5a to 0fec5ea Compare September 7, 2023 09:06
@yaqiangz yaqiangz merged commit b1ac2ef into sonic-net:master Sep 11, 2023
4 checks passed
@yaqiangz
Copy link
Contributor Author

@yxieca Could you pls help to backport this PR to 202205? MSFT work item number is 24905913

@yaqiangz
Copy link
Contributor Author

@StormLiangMS Could you pls help to backport this bug fix PR to 202305? MSFT work item number is 24905913

yxieca pushed a commit that referenced this pull request Sep 26, 2023
…grate (#2973)

What I did
When we migrate package via sonic-package-manager in some low-performance device, getting docker image from old image via docker socket may timeout by default timeout setting (60s) client.py. This PR is to increase timeout to 120s.

How I did it
Increase docker client timeout from 60s to 120s.

How to verify it
ut passed.
Build image with INCLUDE_MACSEC, and install it, macsec image was not include. And the build image with this PR, install it. Migrate package successfully.

Signed-off-by: Yaqiang Zhu <yaqiangzhu@microsoft.com>
JunhongMao pushed a commit to JunhongMao/sonic-utilities that referenced this pull request Oct 4, 2023
…grate (sonic-net#2973)

What I did
When we migrate package via sonic-package-manager in some low-performance device, getting docker image from old image via docker socket may timeout by default timeout setting (60s) client.py. This PR is to increase timeout to 120s.

How I did it
Increase docker client timeout from 60s to 120s.

How to verify it
ut passed.
Build image with INCLUDE_MACSEC, and install it, macsec image was not include. And the build image with this PR, install it. Migrate package successfully.

Signed-off-by: Yaqiang Zhu <yaqiangzhu@microsoft.com>
StormLiangMS pushed a commit that referenced this pull request Oct 7, 2023
…grate (#2973)

What I did
When we migrate package via sonic-package-manager in some low-performance device, getting docker image from old image via docker socket may timeout by default timeout setting (60s) client.py. This PR is to increase timeout to 120s.

How I did it
Increase docker client timeout from 60s to 120s.

How to verify it
ut passed.
Build image with INCLUDE_MACSEC, and install it, macsec image was not include. And the build image with this PR, install it. Migrate package successfully.

Signed-off-by: Yaqiang Zhu <yaqiangzhu@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants