Skip to content

Conversation

@abuccts
Copy link
Member

@abuccts abuccts commented Jan 29, 2026

Fix kubespray deployment on bare metal when cffi package is installed by package manager.

Fix kubespray deployment on bare metal when cffi package is installed by
package manager.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Kubespray bootstrap script to avoid conflicts between distro-packaged Python crypto dependencies and the pip-installed dependencies needed for deployment on bare metal.

Changes:

  • Pin and install cffi via pip in the Kubespray helper script requirements.
  • Remove python3-cffi (in addition to python3-cryptography) from the OS package set to prevent pip/apt conflicts during Kubespray dependency installation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
contrib/kubespray/script/requirements.txt Adds a pinned cffi dependency so the script environment reliably uses the pip-managed version.
contrib/kubespray/script/environment.sh Removes python3-cffi alongside python3-cryptography before installing Kubespray requirements to avoid package-manager conflicts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@abuccts abuccts deployed to auto-test January 29, 2026 00:27 — with GitHub Actions Active
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