45d5ee522d
This patch refactors the ceph_client role to add support for multiple operating system distros and multiple sources for Ceph packages. The support of multiple sources for the Ceph packages is important to organizations that must get packages from Canonical for service and support. The current Ceph repo setup goes to upstream ceph.com repositories and does not work with the UCA. The use of UCA is also important when running OpenStack on the ppc64le architecture because ceph.com does not have Debian packages available for this architecture and the default trusty and trusty-updates repos only have Ceph Giant, whereas the user can get later releases such as Ceph Jewel from UCA. The multiple operating system support for Trusty and Xenial also plays into this since Xenial has Ceph Jewel by default. For Xenial OSA deployments users may want to use the modern ceph client already available for the distro. The choice of which Ceph source to use is simple for deployers. They simply set it with the ceph_pkg_source variable but have additional variables they can tweak to pick specific Ceph versions from the sources: The ceph_pkg_source variable controls the install source for the Ceph packages. Valid values include: * ceph This option installs Ceph from a ceph.com repo. Additional variables to adjust items such as Ceph release and regional download mirror can be found in vars/*.yml * uca This option installs Ceph from the Ubuntu Cloud Archive. Additional variables to adjust items such as the OpenStack/Ceph release can be found in vars/*.yml. * distro This options installs Ceph from the operating system's default repository and unlike the other options does not attempt to manage package keys or add additional package repositories. Change-Id: Ib21b3f76ccf4556548180c8694786d43fa0a024f |
||
---|---|---|
doc | ||
etc | ||
playbooks | ||
releasenotes | ||
scripts | ||
tests | ||
.gitignore | ||
.gitreview | ||
ansible-role-requirements.yml | ||
ansible-role-requirements.yml.example | ||
global-requirement-pins.txt | ||
LICENSE.txt | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
OpenStack-Ansible
OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.
For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.
For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.
For more detailed Installation and Operator documentation, please see the Install Guide.
If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.
Developers wishing to work on the OpenStack-Ansible project should always base their work on the latest code, available from the master GIT repository at Source.
If you have some questions, or would like some assistance with
achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists
(particularly openstack-operators or openstack-dev) or on IRC in
#openstack-ansible
on the freenode network.