-
Notifications
You must be signed in to change notification settings - Fork 96
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
fix(manager): fix awscli installation on Ubuntu24 nodes #9154
fix(manager): fix awscli installation on Ubuntu24 nodes #9154
Conversation
a51c39b
to
9898124
Compare
mgmt_cli_test.py
Outdated
apt update | ||
apt install -y python3-pip | ||
pip install awscli==1.18.140 | ||
pip_break_system_packages = "--break-system-packages" if node.distro.is_ubuntu24 else "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more option is to use the environment variable for it, and you don't need a condition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, looks way better without this condition, fixed.
Retesting: https://jenkins.scylladb.com/job/scylla-staging/job/mikita/job/manager-master/job/ubuntu22-sanity-test/38/ (PASSED)
9898124
to
c9f2f5a
Compare
Changes: - break-system-packages allows pip to modify an externally-manager Python installation while installing package on Ubuntu24. - removed version specifying for the package since of compatibility issues with system-wide installation.
c9f2f5a
to
7ec15dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes scylladb/scylla-manager#4105
Changes:
Testing
PR pre-checks (self review)
backport
labels