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

Install cryptography pip package in airgapped network #1571

Open
lavalex opened this issue Apr 4, 2024 · 3 comments
Open

Install cryptography pip package in airgapped network #1571

lavalex opened this issue Apr 4, 2024 · 3 comments

Comments

@lavalex
Copy link

lavalex commented Apr 4, 2024

For Confluent Enterprise Support customers, we would strongly advise you to open a Support ticket which will be addressed within your Support contract SLA at https://support.confluent.io

Describe the issue
It's not clear how to install cryptograhy package through ansible in airgapped environment

To Reproduce
Follow the documentation step7, it doesn't work
https://docs.confluent.io/ansible/current/ansible-airgap.html

Expected behaviour
It's not clear where to copy downloaded directory, when running ansible on the remote host I get network issues (obviously).

Environment (please complete the following information):

Additional context

@sjoshid
Copy link

sjoshid commented Apr 16, 2024

Im stuck in this exact step.

My suggestions:

  • From an internet accessible machine run pip download cryptography -d <local directory on distribution server>. It downloads a bunch of .whl files called wheels. I have no clue what a "wheel" is. I have noticed, based on your exact linux version, it downloads different number of .whl files. So I suggest you run the command from another RHEL 9.3 machine.
  • Copy all the .whl files to your managed nodes and run pip install command for each .whl file. Eg., pip install crypto-blah-blah.whl.

We are running Rocky 8.9 and given an airgapped network, I cant find another rocky 8.9 to run the download command from.

Let me know how that goes. I'll do the same till someone from Confluent updated the docs.

All the best!

@sjoshid
Copy link

sjoshid commented Apr 16, 2024

Just found out that you can also download the crypto package from here. It lists different types based on your machine.

@marcelboldt
Copy link
Member

There is also python3-cryptography rpm package in the official RHEL baseos repository.

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

No branches or pull requests

3 participants