Commit Graph

9 Commits

Author SHA1 Message Date
Ashley Rodriguez b663a9fb83 Remote Ceph with cephadm
Add podman ceph-common and jq as part of preinstall dependency.
Add REMOTE_CEPH capabilities to CEPHADM deployment.
Removed set_min_client only if cinder is enabled, this should be set
in any case.
Get FSID from ceph.conf in /etc/ceph to avoid unnecessary override.

Part of an effort to test multinode deployments with cephadm.

Needed-By: I5162815b66d3f3e8cf8c1e246b61b0ea06c1a270
Change-Id: I84249ae268dfe00a112c67e5170b679acb318a25
2023-09-12 20:51:41 +00:00
Victoria Martinez de la Cruz bba01bdd2f
Deploy with cephadm
Add the option to deploy the Ceph cluster
with the cephadm tool.

Depends-On: I799521f008123b8e42b2021c1c11d374b834bec3
Co-Authored-By: Francesco Pantano <fpantano@redhat.com>

Change-Id: Id2a704b136b9e47b7b88ef586282cb5d0f754cf1
2022-06-27 18:54:15 +02:00
Walter A. Boring IV 10104ab995 Update override-defaults to support ceph_iscsi
This patch updates the override-defaults to support
setting the CINDER_DRIVER, CINDER_ENABLED_BACKENDS
and CINDER_ISCSI_HELPER env vars for devstack to
ceph_iscsi if and only if ENABLE_CEPH_ISCSI is True.
This is needed by devstack lib/cinder to automatically
configure and enable ceph_iscsi as a backend.

Depends-On: https://review.opendev.org/#/c/662829/
Change-Id: I3447554343edfb5ec84ea65a521168e6d2831dfa
2020-10-15 22:16:23 +00:00
Goutham Pacha Ravi 6e70fbcf81 Always enable manila if manila is available
The Manila driver is not WIP, it's used in many
production deployments since the Liberty release.

Set the option ENABLE_CEPH_MANILA to True in case,
so that the manila related setup will occur automatically
if manila is enabled in devstack.

Change-Id: Iec66b201fd775125505fd229963f2d0a5e64c8cb
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-05-07 10:52:19 -07:00
Patrick East a7c81797a0 Don't always override CINDER_* env variables
We just want to set new defaults, not force the
variables. This way we can mix ceph and other
backends with like:

CINDER_ENABLED_BACKENDS=lvm:lvm-driver,ceph:ceph-driver

Change-Id: I99cc047bce2f584c2b54196a9c84267d2c686231
2016-07-29 23:02:21 -07:00
Sébastien Han 592c7d5711 Add radosgw (aka rgw) support
This patch enables the plugin to setup ceph radosgw and configures
it as a swift-compatible endpoint with keystone integration.

ENABLE_CEPH_RGW is the new variable introduced, which is False
by default, and can be set to True in localrc if radosgw needs
to be setup.

Fixed couple of other (related) things ...
1) Created rgw specific functions
2) Checking for radosgw & swift co-existence, erroring out early enough

NOTE: Tested on ubuntu trusty only

TODOs ...
1) Not tested on Fedora (F22), radosgw startup has some issues there.

Co-Authored-By: Deepak C Shetty <deepakcs@redhat.com>
Change-Id: I21db4168eb69d107599f6b6ab1668b02b764b2c6
2016-01-20 12:47:57 +00:00
Ramana Raja 530f20c38d Add Manila support for Ubuntu
Let the plugin setup and configure CephFS as the storage backend for
Manila. This is not done by default. Refer the README to do so.

Add 'pre_test_hook' and 'post_test_hook' scripts that would be needed
to configure Manila-Ceph CI jobs.

The following changes are also made:

* Install a development version of Ceph that is compatible with Manila's
  CephFSNative driver.

* The development version is a version greater than Infernalis. And
  from Infernalis onwards, the ceph daemons are run as user "ceph".
  So allow the daemons to run as user "ceph" for such versions.

* Enhance get_ceph_version to check Ceph version  even when the
  ceph mon daemon is not up, by checking the CLI version.

Co-Authored-By: John Spray <john.spray@redhat.com>
Change-Id: I74314bfcc6b52d524bb84f2232a988f275b9afbf
2016-01-06 15:16:57 +05:30
Ramana Raja dacdc8df02 Allow storage backend to be configurable
Add configurables so that one need not have Ceph be the storage
backend for Cinder, Cinder-backup, Glance and Nova.

Let Ceph be the default storage backend for Cinder, Cinder backup,
Glance, and Nova. Allow the default setting to be overriden when the
global config, ENABLE_CEPH_{CINDER,C_BAK,GLANCE,NOVA} is set to
False in the local.conf/localrc file.

Closes Bug: #1521278

Change-Id: I3afe7c57d5d56f15fe533ad5b1dbe36ccd369e6b
2015-12-16 18:17:56 +05:30
Sébastien Han 27d28f3101 Initial commit
Co-Authored-By: Deepak C Shetty <deepakcs@redhat.com>
Change-Id: I124b54b5068fbcd46e278281da12ea27f0034d1f
2015-11-27 19:43:03 +00:00