[Antelope][Offline] - Offline Installation help
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am Planning to install OSA Antelope with limited connectivity or no access of internet on the cloud.
I wanted to build the offline repository, But the information on the page [1] is not helping.
* First I am trying to build the pip repo, but I am not able to find out all the pip requirement that is needed, so I can just download all that at one place using pip freez and download
* Second I am able to mirror all the apt repo
* Third ansible-
Can you please help me to redirect to the page or list of all repo require to build offline repo.
[1]
~~~
https:/
~~~
Hey
So for PyPi mirrors, I'm not sure if we have a definitive list of packages that are used. But, I think upper-constrain ts.yml should cover >90% at very least: https:/ /releases. openstack. org/constraints /upper/ 2023.1
Then, repos for service projects are expected to be forked repositories rater then part of PyPi. Since Antelope they're stored in a group_vars in files named source_git.yml, ie: https:/ /opendev. org/openstack/ openstack- ansible/ src/branch/ stable/ 2023.1/ inventory/ group_vars/ nova_all/ source_ git.yml
You can either override openstack_ github_ base_url / opendev_ base_url or override path for each <service>_git_repo
openstack_
Regarding apt repositories, I think we tried to mention most of them in the doc. So except default OS repos you'd also need: /opendev. org/openstack/ openstack- ansible- openstack_ hosts/src/ branch/ master/ vars/ubuntu- 22.04.yml# L82-L93) /opendev. org/openstack/ openstack- ansible- galera_ server/ src/branch/ master/ vars/debian. yml#L78- L84 /opendev. org/openstack/ openstack- ansible- rabbitmq_ server/ src/branch/ master/ vars/debian. yml#L25- L36 /opendev. org/openstack/ openstack- ansible- ceph_client/ src/branch/ master/ vars/debian. yml#L49- L52
* UCA for ubuntu, RDO for EL, ospbo for debian (ie for ubuntu placed here: https:/
* MariaDB: https:/
* RabbitMQ: https:/
* Ceph (if used): https:/
Regarding collection/roles - as of today we install all of them from git directly rather then ansible-galaxy. And these are spread over 2 files: /opendev. org/openstack/ openstack- ansible/ src/branch/ master/ ansible- role-requiremen ts.yml /opendev. org/openstack/ openstack- ansible/ src/branch/ master/ ansible- collection- requirements. yml
* roles: https:/
* collections: https:/
Just in case, you can create /etc/openstack_ deploy/ user-(collectio n|role) -requirements. yml as well to extend/override content of these.
PS: We're using PULP quite sucessfully to mirror apt/pypi here internally together with OpenStack-Ansible: https:/ /pulpproject. org/user/