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

Add support for install from Ubuntu Cloud Archive #747

Merged
merged 1 commit into from May 4, 2016

Conversation

smatzek
Copy link
Contributor

@smatzek smatzek commented May 2, 2016

This adds support to allow the install of Ceph from the
Ubuntu Cloud Archive. The Ubuntu Cloud Archive provides newer
release of Ceph than the normal Ubuntu distro repository.

Signed-off-by: Samuel Matzek smatzek@us.ibm.com

@leseb
Copy link
Member

leseb commented May 2, 2016

@smatzek I'm not strongly against this, however I'd like to read a bit more about your motivations with this one. Is the purpose to unify repos along with an OpenStack deployment?

@smatzek
Copy link
Contributor Author

smatzek commented May 2, 2016

@leseb
The motivation is two-fold:
First: Some shops may require the use of packages from Canonical for service contracts and support statements. They may also want newer versions of Ceph than are in their distro. If we take Ubuntu Trusty/14.04 as an example, the distro 'updates' apt repository contains Ceph Giant, whereas if you use the Ubuntu Cloud Archive you can get Ceph Hammer and Ceph Jewel.

Second: Ceph.com [1], does not contain debian packages compiled for ppc64le whereas the Ubuntu Cloud Archive does [2].

[1] http://download.ceph.com/debian-hammer/dists/trusty/
[2] http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/trusty-updates/mitaka/

@alfredodeza
Copy link
Contributor

test this please

@@ -38,3 +38,15 @@
state: present
changed_when: false
when: ceph_stable_ice

- name: add Ubuntu Cloud Archive key package
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove all the capitals :)

@leseb
Copy link
Member

leseb commented May 3, 2016

@alfredodeza thanks for fixing the CI!
@smatzek would you mind adding the following check?

If an user actives UCA on an OS other than Ubuntu we fail?

@smatzek
Copy link
Contributor Author

smatzek commented May 3, 2016

Thanks for the feedback. I've tested the latest check where a user activates UCA against a RHEL 7.2 target and an Ubuntu 14.04 target and it works as expected.

ceph_stable_uca: false
ceph_stable_repo_uca: "http://ubuntu-cloud.archive.canonical.com/ubuntu"
ceph_stable_openstack_release_uca: liberty
ceph_stable_release_uca: "{{ansible_lsb.codename}}-updates/{{ceph_stable_openstack_release_uca}}"
Copy link
Member

@leseb leseb May 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one should not be enabled. Otherwise it'll always try to install from Ubuntu.
So if someone wants to enable it they will have to uncomment it from group_vars/all.

See the error on the CI: https://jenkins.ceph.com/job/ceph-ansible-pull-requests/130/DIST=ceph_ansible_pr_trusty/console

This adds support to allow the install of Ceph from the
Ubuntu Cloud Archive.  The Ubuntu Cloud Archive provides newer
release of Ceph than the normal Ubuntu distro repository.

Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>
@leseb
Copy link
Member

leseb commented May 3, 2016

test this please

@leseb leseb merged commit 108e260 into ceph:master May 4, 2016
@smatzek smatzek deleted the add_ubuntu_cloud_archive branch May 24, 2016 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants