Commit Graph
8663 Commits
Author SHA1 Message Date
Sébastien Han 4cead01d96 csi: do not block the reconcile if all clusters are not ready
If some clusters don't have their monitors up and running, we don't have
a clusterInfo (internal detail struct). We don't want to block the csi
controller reconcile if all the clusters are not ready. So let's proceed
with the elements that are ready and reconcile again to see if others
have made progress.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 95b2e60679)
2022-06-06 07:25:09 +00:00
Travis Nielsen 43cb1b46bf Merge pull request #10379 from rook/mergify/bp/release-1.9/pr-10309
rgw: make fqdn rgw converted to ip everywhere (backport #10309)
2022-06-03 09:19:03 -06:00
Travis Nielsen daed68f502 Merge pull request #10369 from rook/mergify/bp/release-1.9/pr-10362
pool: Delete ceph pool when blockpool cr is deleted (backport #10362)
2022-06-03 09:18:35 -06:00
mergify[bot] e135f8a707 Merge pull request #10387 from rook/mergify/bp/release-1.9/pr-10386
ci: add new cni flag in minikube start (backport #10386)
2022-06-03 15:04:59 +00:00
subhamkrai 96cdfc9e90 ci: add new cni flag in minikube start
adding cni flag in minikube start command
since it is required for multus ci.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 6c3f3438a2)
2022-06-03 14:35:17 +00:00
Travis Nielsen de73d40bae Merge pull request #10367 from rook/mergify/bp/release-1.9/pr-10345
docs: add prepareosd to placement (backport #10345)
2022-06-03 08:34:03 -06:00
Travis Nielsen 6c347e1348 pool: delete ceph pool when blockpool cr is deleted
During deletion of a CephBlockPool CR, the underlying ceph
pool was not being deleted. During the deletion sequence
this is due to the spec being refreshed upon a call to
check for dependents in ReportDeletionNotBlockedDueToDependents().
The pool name was then coming up blank during the deletion
request and rook of course then wasn't finding the pool
to delete.

Now Rook properly sets the pool name in the named spec
every time it is converted internally from a CephBlockPool
type to a NamedPoolSpec.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit e3ca5bfbcc)
2022-06-03 14:33:42 +00:00
Satoru Takeuchi 5cc01173d9 Merge pull request #10384 from rook/mergify/bp/release-1.9/pr-10382
build: Flannel flag to minikube is causing test failures (backport #10382)
2022-06-03 12:44:35 +09:00
Travis Nielsen c4ae450681 build: flannel flag to minikube is causing test failures
The minikube node is staying in NotReady state and preventing
the operator from even starting in the canary and other suites
that use the setup-cluster-resources action.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7a938090a1)
2022-06-02 23:29:33 +00:00
Travis Nielsen 33bdcb84ce Merge pull request #10378 from parth-gr/update-release1.9-ceph
doc: update ceph-cluster-crd.md with new version ceph v16.2.9
2022-06-02 09:10:05 -06:00
parth-gr aa6cbf2ea2 rgw: make fqdn rgw converted to ip everywhere
During the recent addtions of rgw validation
changes there are too many places where we use
rgwendpoint, so making fqdn to ip conversion globally

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit fed91ddb81)
2022-06-02 15:09:12 +00:00
parth-gr 10759f636c docs: update ceph-cluster-crd.md with new version ceph v16.2.9
ceph-cluster-crd.md was missed to update with the
other changes for updation

Signed-off-by: parth-gr <paarora@redhat.com>
2022-06-02 20:35:21 +05:30
Travis Nielsen 111a17a4ca Merge pull request #10368 from rook/mergify/bp/release-1.9/pr-10349
docs: update doc path according to new doc change (backport #10349)
2022-06-01 10:31:40 -06:00
subhamkrai 84ffff5da1 docs: update doc path according to new doc change
we need to update the referred doc path
according to our latest doc change.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 49a35a9311)
2022-06-01 15:26:26 +00:00
Kim Minjong 707e7c51a7 docs: add prepareosd to placement
Add prepareosd entry to cluster.yaml docs.
Add prepareosd as an example of placement (commented out)

Signed-off-by: Kim Minjong <make.dirty.code@gmail.com>
(cherry picked from commit 8f713e22dc)
2022-06-01 14:30:19 +00:00
mergify[bot] e79ff5c3fe Merge pull request #10359 from rook/mergify/bp/release-1.9/pr-10348
docs: updated links to CRD objects in helm chart  (backport #10348)
2022-05-31 15:02:10 +00:00
Denis O b19835ed62 helm: updated links to CRD objects documentation
Signed-off-by: Denis O <denis.o@linux.com>
(cherry picked from commit b143be1ede)
2022-05-31 14:30:28 +00:00
mergify[bot] 5eb6c1840d Merge pull request #10357 from rook/mergify/bp/release-1.9/pr-10346
csi: add --extra-create-metadata arg to csi sidecars (backport #10346)
2022-05-31 14:27:14 +00:00
Prasanna Kumar Kalever d98c6962bc csi: add --extra-create-metadata arg to csi sidecars
This argument in csi-provisioner and csi-snapshotter sidecar allows us
to receive additional metadata in the CreateVolume and CreateSnapshot()
request.

For ex:
as part of CreateVolume request:
csi.storage.k8s.io/pvc/name
csi.storage.k8s.io/pvc/namespace
csi.storage.k8s.io/pv/name

and
as part of CreateSnapshot request:
csi.storage.k8s.io/volumesnapshot/name
csi.storage.k8s.io/volumesnapshot/namespace
csi.storage.k8s.io/volumesnapshotcontent/name

This is useful information which can be used depend on the use case we have
at our csi driver level. The features like adding metadata to CephFS subvolume,
RBD image or snapshot can consume this based on the need.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit 1666ce2d9c)
2022-05-31 13:59:42 +00:00
Travis Nielsen f8ad0e276d Merge pull request #10337 from travisn/release-1.9.4
build: Update release version to v1.9.4
v1.9.4
2022-05-26 14:38:46 -06:00
mergify[bot] 9fca998d69 Merge pull request #10336 from rook/mergify/bp/release-1.9/pr-10335
Improve Upgrade Health verification page (backport #10335)
2022-05-26 20:25:00 +00:00
Travis Nielsen fef689a506 build: update release version to v1.9.4
For the patch release the example manifests and docs are updated
to v1.9.4

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-05-26 14:04:46 -06:00
Timoses a102d05896 docs: improve Upgrade Health verification page
* Make "Status Output" command directly usable on a copy-and-paste basis
* Link to 'Rook toolbox' which can be helpful if somebody does not have a toolbox running

Signed-off-by: Timoses <timoses@tutanota.com>
(cherry picked from commit fdc2aecddb)
2022-05-26 19:55:43 +00:00
mergify[bot] 0bb230ff58 Merge pull request #10330 from rook/mergify/bp/release-1.9/pr-10286
test: add canary integration test for osd with metadata device (backport #10286)
2022-05-26 01:43:23 +00:00
Satoru Takeuchi 1197e47d35 test: add canary integration test for osd with metadata device
"metadataDevice" field in host based cluster is not tested yet.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 5b3633bfd6)
2022-05-26 00:03:02 +00:00
Travis Nielsen b84b9537f4 Merge pull request #10275 from parth-gr/ceph-v16.2.8
build: update examples and base image to use ceph v16.2.9
2022-05-25 11:20:45 -06:00
parth-gr 31987b9c47 build: update examples and base image to use ceph v16.2.9
In release 1.9, the operator base image has been changed to
ceph v16.2.9

Signed-off-by: parth-gr <paarora@redhat.com>
2022-05-25 22:14:35 +05:30
mergify[bot] ae73dd187c Merge pull request #10328 from rook/mergify/bp/release-1.9/pr-10325
csi: update cephfs osd caps (backport #10325)
2022-05-25 14:53:37 +00:00
parth-gr 6a3b953949 csi: update cephfs osd caps
Currently cephfs caps are data=filesystemname,
which only have write access, but not the read access
changing it to *=filesystemname so we can read data also

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit cbda9f2f7d)
2022-05-25 14:22:25 +00:00
mergify[bot] 88d97ee9e4 Merge pull request #10326 from rook/mergify/bp/release-1.9/pr-10308
docs: add missing spec in ceph-fs-mirror example (backport #10308)
2022-05-25 14:18:32 +00:00
Benjamin Gentil 9e971db3b1 docs: add missing spec in ceph-fs-mirror example
`spec` is a required field for the CephFilesystemMirror CRD

Signed-off-by: Benjamin Gentil <benjamin.gentil@infomaniak.com>
(cherry picked from commit 37d610185e)
2022-05-25 13:52:53 +00:00
Alexander Trost ec5d2b2e86 Merge pull request #10321 from travisn/backport-new-docs
Backport the new doc framework with mkdocs and related build changes
2022-05-25 10:05:07 +02:00
Alexander Trost dc0b866eb0 build: remove extraheader from git config
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit de5777cde0)
2022-05-24 15:32:16 -06:00
Alexander Trost 70a6e4350c build: install python3 version of pygit2 package for docs publish
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit c149d871c8)
2022-05-24 15:32:04 -06:00
Alexander Trost 5155246178 docs: use apt-get to install docs deps and configure git user
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 548f723f1b)
2022-05-24 15:31:52 -06:00
Alexander Trost e9afbdae10 docs: build docs from repo root
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 46fa71c720)
2022-05-24 15:31:39 -06:00
Alexander Trost 7d97f2edc4 docs: don't cd during docs publish
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 2f75104238)
2022-05-24 15:31:27 -06:00
Alexander Trost d3499eacdf docs: fix docs_dir build issue
Resolves #10282

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit a156dc3ae7)
2022-05-24 15:31:13 -06:00
Travis Nielsen f1d790d9aa build: add setup tools package for docs publish
The setup tools package and libgit2 are required on
ubuntu 18.04 in order to install the mkdocs framework
and publish the docs. After we move to ubuntu 20.04
this should no longer be necessary.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 2404fe1274)
2022-05-24 15:30:58 -06:00
Travis Nielsen 7842d69989 build: correct architecture for the release build
The push image build CI action is mistakenly running on
arm64 instead of amd64, which is failing the build since
it only expects amd64.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5793582a78)
2022-05-24 15:30:44 -06:00
Gaurav Sitlani d2784badbc docs: added cpu requirements
Signed-off-by: Gaurav Sitlani <gaurav@koor.tech>
(cherry picked from commit 84c53d1444)
2022-05-24 15:30:32 -06:00
Travis Nielsen d585cf3b18 ci: mkdocs.yml must be in the release build folder
The docs failed to publish with the mkdocs.yml in the root
folder instead of where the docs are being built.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c375bbd6f4)
2022-05-24 15:30:20 -06:00
Travis Nielsen 88d18938bb ci: fix the doc build generation script
The doc build generation script is failing to install
the needed dependencies for mkddocs.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 03a091e741)
2022-05-24 15:30:08 -06:00
Alexander Trost add2672ab1 docs: fix docs publish repo target
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 0d815c0ffc)
2022-05-24 15:29:55 -06:00
Alexander Trost 04fa6c9904 docs: fix latest release banner url
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit a17575f9d7)
2022-05-24 15:29:37 -06:00
Travis Nielsen f716958b47 build: move the help doc requirements to release folder
The requirements_docs.txt is expected by the build.docs
build target in build/release. Since the txt file was at
the root of the repo, the build was failing to be pubished
when it didn't find the file in build/release.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 557feb2f49)
2022-05-24 15:29:15 -06:00
Travis Nielsen 4a647bd963 docs: factor out ceph upgrade from rook upgrade
The ceph upgrade guide is factored out into a separate document
to help simplify the flow and make the different types of
upgrades more easily discoverable.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 3e0f26ae0e)
2022-05-24 15:28:48 -06:00
Travis Nielsen 15a3d60340 docs: factor out the csi custom image from upgrade doc
Deploying a custom CSI image is more of a standalone topic
under the CSI configuration docs. There is no need for the
upgrade guide to have the details about CSI images.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b6c2b99067)
2022-05-24 15:26:40 -06:00
Alexander Trost a0c1731cb7 docs: use mkdocs and restructure docs
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 74431443e3)
2022-05-24 15:24:22 -06:00
mergify[bot] 2e7f356da9 Merge pull request #10302 from rook/mergify/bp/release-1.9/pr-10254
docs: add ceph telemetry design doc (backport #10254)
2022-05-23 18:58:40 +00:00