Commit Graph
7961 Commits
Author SHA1 Message Date
Sébastien Han a760b6d5ae doc: ceph fix rgw links
links were pointing to dead pages.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-13 17:16:49 +02:00
Sébastien Han ba58e2cdce Merge pull request #5476 from leseb/sc-script
script: add 2 new SC
2020-05-13 17:07:39 +02:00
Sébastien Han 362086d16c script: add 2 new SC
* Clarify the helper for the run-as-user argument
* Add 2 new storage class and put the data so we stick with the same
pattern as the Secret and ConfigMap

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-13 16:27:33 +02:00
Sébastien Han 812f1bd4bb ceph: revert "objectstore: Add ceph group as FsGroup"
This reverts commit 68fc50686a since it
now conflict with OCP environments with the other scc in place.

Closes: https://github.com/rook/rook/issues/5468
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-13 15:58:10 +02:00
Sébastien Han c95ae22e88 Merge pull request #5474 from leseb/csv-add-rbd-mirror
csv: add rbd mirror
2020-05-13 14:33:57 +02:00
Sébastien Han 52aa010f6c csv: add missing rbd mirror
Add rbd mirror to the CSV

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-13 13:53:18 +02:00
Satoru Takeuchi abdac2b412 tests: remove the unused fields of a struct
There are the unused fields in `struct CommandArgs`. These can be removed.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-05-13 20:52:54 +09:00
Sébastien Han f51c1b9309 Merge pull request #5473 from leseb/csv-fixes
csv: add missing CephFilesystem
2020-05-13 13:52:36 +02:00
Sébastien Han 954b4e77df csv: add missing CephFilesystem
Somehow the CephFilesystem was not present so adding it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-13 11:54:47 +02:00
Sébastien Han ec388ed3aa Merge pull request #5465 from leseb/obc-deletion-fixes
ceph: obc relax error handling and user deletion
2020-05-12 17:40:16 +02:00
Sébastien Han 58577a3537 ceph: obc relax error handling and user deletion
When a user or a bucket does not exist anymore, let's stop the reconcile
loop instead of waiting forever.
Also, unlink the user before deleting it otherwise the deletion fails.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-12 16:28:47 +02:00
Sébastien Han b4d9161a3a Merge pull request #5421 from leseb/csv-script
csv: add external cluster script
2020-05-12 11:25:32 +02:00
Sébastien Han eeaac6d0da Merge pull request #5459 from leseb/ocp-op-settings
ceph: add missing op option for ocp
2020-05-12 11:24:17 +02:00
Sébastien Han 8a55006365 ceph: add missing op option for ocp
Resync with operator.yaml

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-12 11:18:32 +02:00
Sébastien Han a1c6fdd29b Merge pull request #5458 from cybozu-go/ceph-add-multipath-support-to-release-note
ceph: write down the multipath support in the documents
2020-05-12 10:24:56 +02:00
Satoru Takeuchi 75f0b0f159 ceph: write down the multipath support in the documents
OSD on PVC supports multipath thanks to the following commit.

ceph: add support for multipath devices
32730123ea

However, it's not documented yet.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-05-12 17:11:02 +09:00
Sébastien Han c4c873c27e csv: add external cluster script
We now include the newly created script for external cluster in the CSV.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-12 09:18:42 +02:00
Travis Nielsen 516520ff47 Merge pull request #5450 from leseb/external-workload-secret
ceph: create missing secret on external cluster
2020-05-11 14:19:27 -06:00
Sébastien Han 1b44cf2f30 Merge pull request #5388 from aruniiird/externalClusterResourcesJSONOutputPython
Python script to generate needed external cluster resources in JSON format
2020-05-11 19:52:15 +02:00
Sébastien Han 1fef75bc6a ceph: create missing secret on external cluster
When Rook-Ceph is connected to an external cluster and the admin tries
to create resources such as CephFilesystem or CephObjectStore, we must
create the rook-ceph-config secret so that the daemons can get their mon
information.

Closes: https://github.com/rook/rook/issues/5439
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-11 18:51:44 +02:00
Travis Nielsen b95b89f838 Merge pull request #4913 from jmolmo/mgr_integration_tests
Ceph: manager integration tests
2020-05-11 09:19:29 -06:00
Arun Kumar Mohan 23d2191147 ceph: Python script to generate needed external cluster resources in JSON format
This script will generate JSON format of all the needed resources.
Script can also generate the output in Shell script format.

Signed-off-by: Arun Kumar Mohan <arun.iiird@gmail.com>
2020-05-11 20:39:10 +05:30
Sébastien Han da6de881c8 Merge pull request #5445 from binoue/update-upgrade-doc
Doc: update ceph-upgrade.md for handling a known issue
2020-05-11 12:10:33 +02:00
Sébastien Han 9141208068 Merge pull request #5408 from HaichaoLii/arm64
tests: Kubeadm add the makeTestImages tag of arm64
2020-05-11 11:51:15 +02:00
Sébastien Han 9f42e35331 Merge pull request #5429 from travisn/tini-update
Update tini version to v0.19.0
2020-05-11 11:26:45 +02:00
Sébastien Han 63eac54152 Merge pull request #5447 from leseb/import-script-csi
ceph: fix import script csi details
2020-05-11 11:04:50 +02:00
Sébastien Han 36985defd9 ceph: fix import script csi details
The cephfs csi driver expects both adminID and adminKey instead of
userID and userKey which are only specific to rbd.

Closes: https://github.com/rook/rook/issues/5432
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-11 10:57:04 +02:00
Sébastien Han 1a87d484de Merge pull request #5428 from travisn/test-pool-default-size
Set test default pool size to one
2020-05-11 09:47:25 +02:00
binoue ff2ba9c890 ceph: update ceph-upgrade.md for handling a known issue
Because of the ClusterRole api version change, #5341 may occur
when upgrading the rook chart to the latest version.
This pull request updates `ceph-upgrade.md` for handling the issue.

Signed-off-by: binoue <banji-inoue@cybozu.co.jp>
2020-05-11 03:22:55 +09:00
Travis Nielsen c7f06b4656 Merge pull request #5443 from Madhu-1/fix-prio
CSI: fix typo in operator.yaml and operator-openshift.yaml
2020-05-09 23:00:55 -06:00
Madhu Rajanna e8a999daea CSI: fix typo in operator.yaml and operator-openshift.yaml
there was a typo in operator.yaml and operator.openshift.yaml
file for priorityclass , This PR fixes the typo.

Resolves #5442

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-05-09 08:46:21 +05:30
Travis Nielsen 9ddd6aa5c6 Merge pull request #5438 from travisn/osd-lv-activate
Remove invalid verbose params from lv activate
2020-05-08 15:16:14 -06:00
Travis Nielsen af54349a5e ceph: remove invalid verbose params from lv activate
The activation of the lvs for OSDs had an invalid
argument to vgchange. The invalid argument is now reverted
to enable the OSDs in this scenario again.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-08 11:19:42 -06:00
Haichao Li 063558d2c3 tests: Kubeadm add the makeTestImages tag of arm64
Kubeadm add the makeTestImages tag of arm64

Signed-off-by: Haichao Li <haichao.li@arm.com>
2020-05-08 09:50:19 +08:00
Travis Nielsen 830a858049 build: update tini version to v0.19.0
The version of tini being used is getting rather stale,
time to update.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-07 16:46:59 -06:00
Travis Nielsen dc7802e369 ceph: set test default pool size to one
In test environments there may only be a single node, so we set
the default pool size in the test example to one.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-07 16:26:30 -06:00
Travis Nielsen 25fd0df893 Merge pull request #5420 from travisn/osd-node-name
OSD on PVC node assignment should be the node selector rather than nodeName
2020-05-07 12:25:04 -06:00
Travis Nielsen f1b084daa9 Merge pull request #5386 from travisn/multipath-support
Multipath support for OSD on PVC
2020-05-07 11:45:16 -06:00
Travis Nielsen 65377cbe63 ceph: osd on pvc node assignment is node selector
An OSD on a PVC when portable=false is assigned to a node
with a node selector. The same node assignment is expected
for the lifetime of the cluster. On subsequent reconciles,
the operator was looking up the node assignment from the
nodeName on the pod spec, which is not set if the pod is down.
The operator needs to retrieve the assignment from the
deployment spec node selector.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-07 10:51:46 -06:00
Sébastien Han 2e5d6c749e Merge pull request #5362 from thotz/ssl_regression_rgw
objectstore: Add ceph group to FsGroup
2020-05-07 17:18:49 +02:00
Jiffin Tony Thottan 68fc50686a objectstore: Add ceph group as FsGroup
ceph gid (167) provided as supplymentary group, so that all the mounts can
be accessed by the same. This is required for ssl certificate consumed by
the rgw server from ceph octopus onwards.

Closes: https://github.com/rook/rook/issues/5265
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-05-07 18:37:36 +05:30
Sébastien Han 228041902b Merge pull request #5406 from cybozu-go/ceph-cleanup-osd-on-pvc
ceph: judge whether an OSD is on PVC or not by function
2020-05-07 09:13:39 +02:00
Travis Nielsen 1e50ca374b Merge pull request #5414 from travisn/force-osd-delete-if-not-out
Delete terminating osd pods even if not out
2020-05-06 17:53:45 -06:00
Travis Nielsen 5f57b6fd3a ceph: skip ceph-volume inventory for PVs
For multipath devices, ceph-volume inventory is failing
to detect that the device is available, complaining about
insufficient space. Instead of relying on c-v inventory
to determine if the device is available, just call
c-v raw list to determine if there is already an osd
configured on the pv. Otherwise, just attempt to configure
the OSD.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-06 17:12:25 -06:00
Travis Nielsen 32730123ea ceph: add support for multipath devices
Add mpath to the list of supported device types,
although it will only work for OSDs on PVCs.
OSDs on a raw device without PVCs have not
yet been tested.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-06 17:12:25 -06:00
Travis Nielsen 3f356d6a8c Merge pull request #5413 from travisn/operator-base-14.2.9
Set v14.2.9 as base image for the operator
2020-05-06 16:25:59 -06:00
Travis Nielsen 3c6bae56b7 ceph: delete terminating osd pods even if not out
When an OSD pod is stuck in terminating state, there is no need
to check if the OSD is marked as out before force deleting.
As long as the osd is down we will force delete the pod.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-06 15:43:04 -06:00
Travis Nielsen dda2e6e0ae Merge pull request #5412 from travisn/allow-unsupported-csi-version
Allow csi driver version to be undetected if unsupported flag is set
2020-05-06 15:27:54 -06:00
Travis Nielsen b5c9d4a02f ceph: set v14.2.9 as base image for the operator
The v14.2.9 release and updated base image have security fixes
that the operator needs to pick up.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-06 12:51:37 -06:00
Travis Nielsen b375e81c37 ceph: allow csi driver version to be undetected
If ROOK_CSI_ALLOW_UNSUPPORTED_VERSION=false and the csi canary image
is set to quay.io/cephcsi/cephcsi:canary, the csi driver fails
to load as expected since it is not supported. But if the
flag is set to true, it is expected to allow the canary image
which isn't versioned. The supported version check was requiring
that the version be detected in the image.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-05-06 12:36:10 -06:00