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

How to run the automation in a disconnected environment #89

Open
bpradipt opened this issue Aug 7, 2020 · 5 comments
Open

How to run the automation in a disconnected environment #89

bpradipt opened this issue Aug 7, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@bpradipt
Copy link
Contributor

bpradipt commented Aug 7, 2020

The current code pulls the following dependencies as part of execution - ocp4-helpernode, ocp4-playbooks.
Can there be a way to download the dependencies in advance and using it ?

@bpradipt bpradipt added the enhancement New feature or request label Aug 7, 2020
@bpradipt
Copy link
Contributor Author

bpradipt commented Aug 7, 2020

@yussufsh @Prajyot-Parab

@Prajyot-Parab
Copy link
Collaborator

@bpradipt If the bastion has a public network access the present approach won't be a issue. If not, then I believe there will be additional things to be taken care of specifically with helpernode playbook. ocp4-playbook doesn't have any hard dependencies on the public network so it should be fine in my opinion.

@arcprabh Did you try something similar on PVC? (for your last disconnected setup)

@bpradipt
Copy link
Contributor Author

bpradipt commented Aug 7, 2020

@Prajyot-Parab yeah, the assumption is bastion also doesn't have internet access (either direct or via proxy).

@yussufsh
Copy link
Contributor

yussufsh commented Aug 7, 2020

Full experience in isolated network is possible using an external proxy server. That is completed and tested.

On disconnected install where proxy server is not used yes these playbooks could be the problem. There can be 2 ways to solve this:

  1. Download the tarballs and place it on bastion (may be a file hosted on internal HTTP server or file copied on the TF machine)
  2. Run the ansible playbooks right from the TF machine. Running the playbooks from a remote machine is not tested, some tasks might not work and would need proper testing.

Assumption is that there is an enterprise registry in place with ocp images mirrored which the cluster nodes or bastion has access to.

@arcprabh
Copy link
Contributor

arcprabh commented Aug 7, 2020

@bpradipt If the bastion has a public network access the present approach won't be a issue. If not, then I believe there will be additional things to be taken care of specifically with helpernode playbook. ocp4-playbook doesn't have any hard dependencies on the public network so it should be fine in my opinion.

@arcprabh Did you try something similar on PVC? (for your last disconnected setup)

@Prajyot-Parab - In my previous attempt with disconnected env, bastion had public and private ip configured and the rest of the VMs were only on private network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants