19 Commits

Author SHA1 Message Date
Goutham Pacha Ravi
784716d949 Drop support for package based installation of Ceph
This mode of deployment isn't supported by the Ceph
community, and was always a chimera that we were
feeding/maintaining.

Ceph's tool of choice to bootstrap and install a ceph
cluster is by using the Ceph Orchestrator (via the
cephadm tool).

We're also cleaning up the old/unused and poorly tested
"CONTAINERIZED_CEPH". When using ceph orchestrator,
ceph daemons are run within podman containers on the
devstack host.

Change-Id: I5f75cb829383d7acd536e24c70cc4418d93c13bc
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024-09-12 14:05:38 +00:00
Goutham Pacha Ravi
ca2486efb4 Standalone nfs-ganesha with cephadm deployment
Manila supports using a standalone NFS-Ganesha server
as well as a ceph orchestrator deployed NFS-Ganesha cluster
("ceph nfs service"). We've only ever allowed using
ceph orch deployed NFS with ceph orch deployed clusters
through this devstack plugin. With this change,
the plugin can optionally deploy a standalone
NFS-Ganesha service with a ceph orch deployed
ceph cluster. This will greatly simplify testing when we sunset
the package based installation/deployment of ceph.

Depends-On: I2198eee3892b2bb0eb835ec66e21b708152b33a9
Change-Id: If983bb5d5a5fc0c16c1cead84b5fa30ea961d21b
Implements: bp/cephadm-deploy
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2024-07-30 22:34:03 +00:00
Zuul
19db7b46ab Merge "Set snapshot_support to true for cephfsnfstype" 2022-09-30 10:55:07 +00:00
Victoria Martinez de la Cruz
6b73342c9c Set snapshot_support to true for cephfsnfstype
CephFS driver supports snapshots, therefore the snapshot_support
extra spec for the cephfsnfstype we create should be True.

Change-Id: I97b58697f27824a97cfd31ed21d79916b9e270cc
2022-09-26 13:13:09 +00:00
Victoria Martinez de la Cruz
46186d062b Add cephfs_nfs_cluster_id option
As part of change I1826f2970528928a31b32a664013380e38bbd7c9
we added a configuration option to the manila cephfs nfs driver
when deployed using cephadm.

We also need this option set here to get the m-shr service
to pick the right helper when deploying with DevStack

Change-Id: If99714e07f4b75c76db29a660ad8d1e93f7055e5
2022-09-14 17:12:43 +00:00
Goutham Pacha Ravi
ed3c978f11 Set default value for MANILA_CEPH_GANESHA_RADOS_STORE
It's not a required configuration item; and its not required
with cephadm deployed NFS-Ganesha daemon/s.

Change-Id: I54380f1cb905dfa5ab287ba423561aa75bc1d2f4
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2022-07-19 01:16:52 +05:30
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
Victoria Martinez de la Cruz
adbc28ae1a Enable cephFS snapshots in manila
To use the snapshots capability that the cephfs drivers have
we need to set the share type extra spec enable_snapshot support
to True

Change-Id: I45dddd49578eaca81276bbf44a44701c80b8a8c4
2020-12-07 19:11:49 +00:00
Kevin Zhao
fd628e4530 Set Ceph ISCSI tempest storage protocol to "iSCSI"
We are using iSCSI protocol to operate the volume, instead of ceph
in that case. The storage protocol ceph is used as Ceph RBD.

Change-Id: I288b08279311991a79fdad25e43a51366de7876d
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
2020-07-27 14:55:22 +08:00
Goutham Pacha Ravi
5ca1f397ba Enable scenario tests with CEPHFS
Allow running api and scenario tests
together in the manila test jobs.

Change-Id: Ifbf998d7c8a27ad22a39f46547d1548c052614d0
2019-05-16 14:07:55 -07:00
Ramana Raja
6ed64665cb [manila] allow cephfs-nfs driver to store ganesha exports
... and export counter in RADOS pool.

Change-Id: I192a0aebdd7cad11c9aa2e8e6b3c4e814f55a12d
2017-12-04 21:28:26 +00:00
Ramana Raja
a53eaba747 Add support to setup CephFS NFS-Ganesha driver
... for Manila. Tested to work in Ubuntu Xenial
and CentOS 7 environments.

Co-Authored-By: Tom Barron <tpb@dyncloud.net>
Change-Id: Ib2e806fefdd0548b06ff6aadd4b6a8e62001ea33
2017-04-06 14:13:12 +05:30
ghanshyam
9763645b0c Fix *-ceph-* job for manage snapshot tests failure
There is no snapshot manage feature on ceph backend and
tests for the same should be skipped on ceph jobs.

There is devstack variable to do so.

Currently gate-tempest-dsvm-full-ceph-plugin-src-glance_store-ubuntu-xenial
is failing and blocking glance-store
Details:
http://lists.openstack.org/pipermail/openstack-dev/2017-January/110257.html

This commit sets TEMPEST_VOLUME_MANAGE_SNAPSHOT to False for ceph jobs.

Change-Id: Ie3eca6db5c76153d46e4dfbe9b552e4025347d31
2017-01-17 12:58:54 +05:30
Matt Riedemann
9293ac03ab Create backing disk using $VOLUME_BACKING_FILE_SIZE
The backing disk currently created is 8GB. devstack-gate
sets that to 24GB when running Tempest. We're seeing ceph
job failures due to NoValidHost in the cinder scheduler
because 8GB isn't enough capacity for Tempest runs. So this
change uses the same backing disk size for the ceph jobs as
we get in the default devstack setup, which uses LVM.

Depends-On: I71be308c8373e9ac429b901c374100c6b3c1e59d

Change-Id: I788eefa6c1d427bf51d2d3d40be4abe0336443e7
Closes-Bug: #1645530
2016-11-29 14:24:14 -05:00
John Spray
7b344bf77a Manila CI: update cephfs driver name
This was renamed from drivers.cephfs to
drivers.cephfs.cephfs_native at the
request of the Manila maintainers.

Change-Id: I7ac2299ad323229418761bb06ee7891a48d87877
2016-02-24 22:44:00 +05:30
Ramana Raja
1c46b28dde Set protocol for Manila with cephfs native driver
When Manila is enabled with cephfs native driver, the plugin fails to
enable protocol 'cephfs' in Manila's configuration file. Correct
this failure.

Change-Id: I145c5628f781a807231bcf1a77d5e3010a7185ca
Closes-Bug: #1536625
2016-01-21 19:09:35 +05:30
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
Deepak C Shetty
6c8db15670 Remove disable_service ceph hack
Now that DEVSTACK_GATE_CEPH is removed from the plugin job's
template definition [1], we no longer need this hack

[1]: https://review.openstack.org/251197

Change-Id: I92810ecc53af37b5c04db318bedf0fef571821e5
2015-12-02 14:29:17 +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