Offline Openstack Release:Train Deployment
Greetings openstack community members, It's regarding the deployment of openstack release: train on CentoOS 7.9 environment by using openstack-ansible tool. (Offline environment) We are facing challenges to download the packages, some package links are not accessible or somewhere PIP packages are not available as per the constraint requirement list. See: https://artifacts.ci.centos.org/sig-cloudinstance/centos-7-191001/x86-64/cen... For pip packages: https://opendev.org/openstack/requirements/raw/0cfc2ef6318b639bb4287fa051eae... During installation we are facing a lot of errors, and not sure what would be the best approach in such scenarios where packages are not available or need to be downloaded from random sites. We are in the mid of a mega deployment and appreciate it if you can guide us through. Awaiting your response, thank you. Kind Regards, Vineet Thakur
Hi there, Basically, for offline deployment, you still need to have local mirrors that you sync from time to time. Have you checked this doc: https://docs.openstack.org/openstack-ansible/latest/user/limited-connectivit... ? Despite it mostly covering Ubuntu deployment, there's a listing of things that you should mirror locally that are being used throughout deployment. Also I'm quite sure that openstack-ansible does not use docker anywhere, so referring docker package is somehow weird to me. Though we did a successful deployment on Ubuntu quite recently, so list of repositories that need to be mirrored are relevant. However, there might be some more challenges on Train, as this release is quite old and barely maintained at the moment. A lot of OpenStack projects have already EOLed Train, just in case. пт, 28 апр. 2023 г. в 16:31, Vineet Thakur <vineetthakur09@gmail.com>:
Greetings openstack community members,
It's regarding the deployment of openstack release: train on CentoOS 7.9 environment by using openstack-ansible tool. (Offline environment)
We are facing challenges to download the packages, some package links are not accessible or somewhere PIP packages are not available as per the constraint requirement list. See: https://artifacts.ci.centos.org/sig-cloudinstance/centos-7-191001/x86-64/cen...
For pip packages: https://opendev.org/openstack/requirements/raw/0cfc2ef6318b639bb4287fa051eae...
During installation we are facing a lot of errors, and not sure what would be the best approach in such scenarios where packages are not available or need to be downloaded from random sites. We are in the mid of a mega deployment and appreciate it if you can guide us through.
Awaiting your response, thank you.
Kind Regards, Vineet Thakur
On Sat, 29 Apr 2023 at 00:30, Vineet Thakur <vineetthakur09@gmail.com> wrote:
Greetings openstack community members,
It's regarding the deployment of openstack release: train on CentoOS 7.9 environment by using openstack-ansible tool. (Offline environment)
I'll say upfront that train is .... quite old and you should absolutely evaluate newer releases.
We are facing challenges to download the packages, some package links are not accessible or somewhere PIP packages are not available as per the constraint requirement list. See: https://artifacts.ci.centos.org/sig-cloudinstance/centos-7-191001/x86-64/cen...
You can generate this yourself by pulling centos:centos7.9.2009 from dockerhub, I can't see an old release like that on quay.io, and then using docker save.
For pip packages: https://opendev.org/openstack/requirements/raw/0cfc2ef6318b639bb4287fa051eae...
You can/should replace that URL with: https://releases.openstack.org/constraints/upper/train That will persist even after train has been marked end-of-life Using Ubuntu Bionic (as that's what I have easy access to) I was able to get a full mirror of all the wheels needed for the train release. It's been a very long time since I looked at integrating any of that in OSA Tony
Hi Tony, Thank you for your valuable inputs. We have used OSA for various recent releases were introduced post train, but didn't face any such package dependency issues. Due to limited time (delivery time), we have decided to go for *manual installation* and it's been tested that we have all the required packages available for that. Hope that would work for us. Once again, many thanks to you and other community members who shared their feedback. Kind Regards, Vineet On Mon, May 1, 2023 at 8:05 AM Tony Breeds <tony@bakeyournoodle.com> wrote:
On Sat, 29 Apr 2023 at 00:30, Vineet Thakur <vineetthakur09@gmail.com> wrote:
Greetings openstack community members,
It's regarding the deployment of openstack release: train on CentoOS 7.9
environment by using openstack-ansible tool. (Offline environment)
I'll say upfront that train is .... quite old and you should absolutely evaluate newer releases.
We are facing challenges to download the packages, some package links are not accessible or somewhere PIP packages are not available as per the constraint requirement list. See:
https://artifacts.ci.centos.org/sig-cloudinstance/centos-7-191001/x86-64/cen...
You can generate this yourself by pulling centos:centos7.9.2009 from dockerhub, I can't see an old release like that on quay.io, and then using docker save.
For pip packages:
https://opendev.org/openstack/requirements/raw/0cfc2ef6318b639bb4287fa051eae...
You can/should replace that URL with: https://releases.openstack.org/constraints/upper/train
That will persist even after train has been marked end-of-life
Using Ubuntu Bionic (as that's what I have easy access to) I was able to get a full mirror of all the wheels needed for the train release.
It's been a very long time since I looked at integrating any of that in OSA
Tony
-- Thanks & Regards, Vineet Thakur 886164765
participants (3)
-
Dmitriy Rabotyagov
-
Tony Breeds
-
Vineet Thakur