Comment 1 for bug 2070174

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote (last edit ):

Hey

So for PyPi mirrors, I'm not sure if we have a definitive list of packages that are used. But, I think upper-constraints.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 /
openstack_opendev_base_url or override path for each <service>_git_repo

Regarding apt repositories, I think we tried to mention most of them in the doc. So except default OS repos you'd also need:
* UCA for ubuntu, RDO for EL, ospbo for debian (ie for ubuntu placed here: https://opendev.org/openstack/openstack-ansible-openstack_hosts/src/branch/master/vars/ubuntu-22.04.yml#L82-L93)
* MariaDB: https://opendev.org/openstack/openstack-ansible-galera_server/src/branch/master/vars/debian.yml#L78-L84
* RabbitMQ: https://opendev.org/openstack/openstack-ansible-rabbitmq_server/src/branch/master/vars/debian.yml#L25-L36
* Ceph (if used): https://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/master/vars/debian.yml#L49-L52

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:
* roles: https://opendev.org/openstack/openstack-ansible/src/branch/master/ansible-role-requirements.yml
* collections: https://opendev.org/openstack/openstack-ansible/src/branch/master/ansible-collection-requirements.yml

Just in case, you can create /etc/openstack_deploy/user-(collection|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/