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

CASMPET-7270: Remove RPM dependency on requests-retry-session #626

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

mharding-hpe
Copy link
Contributor

The upgrade to CSM 1.6.1 failed because it could not install csm-testing in prerequisites.sh. The install failure was because a required RPM (for requests-retry-session) could not be found. That required RPM is present in the CSM tarball, but the logic used in prerequisites.sh assumes that all dependencies are already installed on the node -- it does not handle the case where it has to pull in additional RPMs from the CSM tarball.

Long term we should fix that, but it's slightly tricky, and for this specific issue, it's not a problem just to move the requests-retry-session into the csm-testing virtual environment. That way the csm-testing RPM does not need to be dependent on the requests-retry-session RPM, because the content it needs is built into it.

So this PR does exactly that -- installs the requests-retry-session Python module into the virtual environment, and remove it as a dependency of the RPM.

I got onto vex (the vshasta system which hit this problem) and verified that these changes allow the RPMs to install (and I also checked and verified that goss-servers started successfully).

@mharding-hpe mharding-hpe merged commit c02bfc5 into release/1.6 Nov 8, 2024
3 checks passed
@mharding-hpe mharding-hpe deleted the casmpet-7270 branch November 8, 2024 16:35
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.

2 participants