-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Standalone Ceph Ansible role repositories have been deleted #3508
Comments
Hey @dmsimard, Sorry about that, a couple of months ago I marked these repos as deprecated in the galaxy. Last day when doing some cleaning on the Ceph org I removed these repositories. However, everything is still present here: https://galaxy.ansible.com/ceph/ceph_ansible I believe you can recover from there. |
Is it still possible to install the ceph roles via the ansible-galaxy command? I'm not using mazer since it's tech-preview only at the moment. |
@robled I spent some time trying to make it work today, and it doesn't. Even if you provide the git source to ansible-galaxy, it does not just clone the repo - it modifies it, rendering an unusable role folder as a result. |
@odyssey4me did you try with |
mazer is a no-go for me, due to this:
Restoring ansible-galaxy support would help those who would like to use ceph-ansible in production. |
@leseb I did not. We now just |
@odyssey4me Could you please elaborate what repo you are cloning (assume https://github.com/ceph/ceph-ansible) and where you are making changes to the role paths? I'm stuck with deploying OS Ocata at this particular step (other repos have also slightly changed which I managed to fix myself) |
@seronline We use a playbook to clone down the ceph-ansible repo as specified in our ansible-role-requirements.yml file and then have the library path, action plugin path, callback plugin path, and role path set appropriately. Each of those can be set via env vars as we do, or in |
@odyssey4me thanks for the quick and detailed response. My fear is though that OS Ansible for Ocata requires cepth version 2.2.9, as configured in my ansible-role-requirements.yml. I created a new ceph-ansible repository on my private git with version 2.2.9 which was obtained via mazer first: ~/$ mazer install ceph.ceph_ansible,2.2.9 The repo can be found here https://github.com/seronline/ceph-ansible Going to go through the steps described in your comment and will report if it worked. If successful, I'll try to feed this back to the OpenStack Ansible group (given that Ocata is still stable and used by folks out there). |
@seronline OSA implemented changes to use the new repo correctly - if you just update your checkout, then you should be able to run a normal minor upgrade procedure for OSA. |
@odyssey4me When checking out OSA 15.1.28 this fix does not exist: https://github.com/openstack/openstack-ansible/blob/15.1.28/ansible-role-requirements.yml and the Ocata documentation mentions that this particular release is required for Ocata to run. So cloning the latest and reverting (not upgrading) back to 15.1.28 doesn't quite help. Anyway, I managed to overcome the issue thanks to your help! |
@seronline Yes, it won't be in the last release because Ocata is in extended maintenance - meaning that there are no more releases. You'll have to use the SHA or just use the head of the branch. I would recommend that you upgrade to pike ASAP - and, in fact, upgrade through Queens to Rocky too! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The OpenStack-Ansible project has been relying on standalone ceph Ansible role repositories for deployments on stable releases of OpenStack (< Queens) while newer releases have been using ceph-ansible exclusively.
See: https://github.com/openstack/openstack-ansible/blob/f4c7cd442cedf723792ec4c01dd64c041129c0f8/ansible-role-requirements.yml#L181-L204
Removing these repositories all of a sudden is impacting CI jobs and deployments.
Is it possible to bring those repositories back while we work out what's the right way forward ? Thanks.
cc @leseb @guits @alfredodeza
The text was updated successfully, but these errors were encountered: