Commit Graph
8270 Commits
Author SHA1 Message Date
Travis Nielsen 83a10127fc helm: remove obsolete setting for enabling multiple filesystems
The multiple filesystem support was added in Pacific and no
need for a setting that allows the support. The setting was
already removed other places from rook in a previous change
https://github.com/rook/rook/pull/8350.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 8383d9ab87)
2022-03-07 23:13:44 +00:00
mergify[bot] b21e5ccb25 Merge pull request #9849 from rook/mergify/bp/release-1.8/pr-9842
osd: disable raw mode for specific disk configs (backport #9842)
2022-03-07 20:43:57 +00:00
Blaine Gardner cd5b5a8f49 osd: disable raw mode for specific disk configs
If a specific disk is configured to have more than one OSD per device,
or if it has a metadata device specified, exclude it from raw mode on an
individual basis.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 27ea49b9cd)
2022-03-07 17:39:58 +00:00
mergify[bot] c047fc8f5c Merge pull request #9848 from rook/mergify/bp/release-1.8/pr-9838
helm: add cephFileSystems storageClass.pool (backport #9838)
2022-03-07 15:38:34 +00:00
mtt0 20c2ccd006 helm: add cephFileSystems storageClass.pool
CephFileSystem StorageClass created by helm chart should use the specified pool
in values.yaml rather than hardcode 'data0'

Closes: #9826
Signed-off-by: mtt0 <retmain@foxmail.com>
(cherry picked from commit fd4cdc589f)
2022-03-07 15:09:54 +00:00
mergify[bot] 745f3606c5 Merge pull request #9833 from rook/mergify/bp/release-1.8/pr-9829
Documentation/ceph-teardown.md: fix typo (backport #9829)
2022-03-07 14:05:18 +00:00
Sébastien Han 678cc7dafc Merge pull request #9830 from rook/mergify/bp/release-1.8/pr-9821
operator: Document that the `rook-ceph-operator-config` ConfigMap is … (backport #9821)
2022-03-07 15:01:34 +01:00
mergify[bot] ffc2c1acf6 Merge pull request #9836 from rook/mergify/bp/release-1.8/pr-9834
core: Disruption controller log ceph errors in debug level (backport #9834)
2022-03-04 01:34:48 +00:00
Travis Nielsen a6f342b6a0 core: disruption controller log ceph errors in debug level
The controller for disruption budgets is verbose at cluster creation
when the cluster is not yet created, which generates a lot of noise
in the log that makes the cluster look unhealthy. This is an expected
condition, so we can change this logging to debug level.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit bc6381169e)
2022-03-04 01:07:41 +00:00
Brian_P 1c146fd55c docs: teardown typo
Fix typo in teardown documentation
demsetup -> dmsetup

Signed-off-by: spdfnet <32593931+spdfnet@users.noreply.github.com>
(cherry picked from commit 577f96efb1)
2022-03-03 17:39:12 +00:00
Matthias Rampke 2ed933a7ca operator: document that the rook-ceph-operator-config ConfigMap is needed
We discovered the hard way that configuration through the environment
does not work if this ConfigMap is not present altogether. Document this
as a common issue.

Closes #9806.

Signed-off-by: Matthias Rampke <matthias@rampke.de>
(cherry picked from commit 57d0fada7b)
2022-03-03 14:43:46 +00:00
Travis Nielsen 9d044e6619 Merge pull request #9818 from rook/mergify/bp/release-1.8/pr-9816
docs: correct ceph toolbox path (backport #9816)
2022-03-01 13:50:19 -07:00
Junyoung, Sung c892897e99 docs: correct ceph toolbox path
Signed-off-by: Junyoung, Sung <wnsdud1861@gmail.com>
(cherry picked from commit 8c19e5b260)
2022-03-01 15:59:24 +00:00
mergify[bot] 30003849a3 Merge pull request #9815 from rook/mergify/bp/release-1.8/pr-9814
build: Update ceph base image to v16.2.7-20220216 (backport #9814)
2022-02-28 21:58:20 +00:00
Travis Nielsen bde6d64308 build: update ceph base image to v16.2.7-20220216
The latest ceph image should be used for the base of
the rook image to pick up the latest security releases.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit a98678585a)
2022-02-28 21:27:17 +00:00
mergify[bot] bc83a7b694 Merge pull request #9813 from rook/mergify/bp/release-1.8/pr-9804
osd: Purge job will remove all pvcs for the osd (backport #9804)
2022-02-28 18:39:06 +00:00
Travis Nielsen 9285c2dd84 osd: purge job will remove all pvcs for the osd
The purge job is intended to clean up all the resources
related to an OSD that is to be removed. An OSD with
a metadata, wal, and data PVC was only cleaning up the
data PVC. Now the metadata and wal PVCs will also be
cleaned up.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b3ca0f1b87)
2022-02-28 18:09:03 +00:00
mergify[bot] 380fa7c223 Merge pull request #9812 from rook/mergify/bp/release-1.8/pr-9729
csi: default to ReadWriteOnceWithFSType for cephfs (backport #9729)
2022-02-28 15:31:18 +00:00
Humble Chirammal e324059a0d csi: default to ReadWriteOnceWithFSType for cephfs
```
ReadWriteOnceWithFSType: Indicates that volumes will be examined
to determine if volume ownership and permissions should be modified
to match the pod's security policy. Changes will only occur if the
fsType is defined and the persistent volume's accessModes contains
ReadWriteOnce.
```

In between considering we are giving 0777 permission on nodestage
of cephfs shares, we defaulted to NONE. However giving worldwide
permission to the volume is not the right thing and it has been
fixed in cephfs via https://github.com/ceph/ceph-csi/pull/2847

This commit brings it back to the value which is also in parity
with RBD driver.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 6561bdaf53)
2022-02-28 15:05:15 +00:00
Satoru Takeuchi 2035def1a4 Merge pull request #9811 from rook/mergify/bp/release-1.8/pr-9807
osd: Remove osd with purge instead of destroy (backport #9807)
2022-02-28 17:05:50 +09:00
Travis Nielsen bb6b90a4a7 osd: remove osd with purge instead of destroy
The osd destroy command leaves the osd id in use instead
of fully purging the osd id. If the osd id is not also
removed, it gives the impression that there is still
something that needs to be cleaned up from the old osd.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 879bde4416)
2022-02-27 23:13:46 +00:00
Travis Nielsen 0f71201bf3 Merge pull request #9805 from travisn/release-1.8.6
build: Update release version to v1.8.6
v1.8.6
2022-02-24 14:23:49 -07:00
Travis Nielsen d15cd5e300 build: update release version to v1.8.6
With the patch release we update the examples and docs to v1.8.6.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-02-24 13:48:17 -07:00
mergify[bot] de5a459076 Merge pull request #9803 from rook/mergify/bp/release-1.8/pr-9799
file: Allow filesystem removal even with failures (backport #9799)
2022-02-24 17:43:50 +00:00
Travis Nielsen 2dc4fb2759 file: allow filesystem removal even with failures
If the filesystem is in a bad state such as never being
created successfully in the first place, the filesystem
removal will continuously fail and prevent the CR from
being removed. Thus, we treat the filesystem removal
as a best effort and log the issue instead of failing
the uninstall reconcile.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1f8f71b396)
2022-02-24 17:16:27 +00:00
Satoru Takeuchi cbb690e371 Merge pull request #9780 from rook/mergify/bp/release-1.8/pr-9701
osd: re-enable raw mode on disk (backport #9701)
2022-02-24 20:34:39 +09:00
Satoru Takeuchi 143e0828c8 osd: re-enable raw mode on disk
We can re-enable raw mode OSD on disk if Ceph version is at least v16.2.6.

https://github.com/ceph/ceph/pull/42469

Closes: https://github.com/rook/rook/issues/9659

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-02-24 09:41:27 +00:00
mergify[bot] 7225f5c4c8 Merge pull request #9801 from rook/mergify/bp/release-1.8/pr-9682
core: eliminate unnecessary code (backport #9682)
2022-02-24 09:35:47 +00:00
Satoru Takeuchi 5b1e6763c7 core: eliminate unnecessary code
We can eliminate the OSD creation code for Ceph < v15.2.0 because Nautilus(v14.2.z)
is no longer supported. In other words, we can now expect that all newly-created
OSDs on PVC are raw mode.

Please note that the existing lvm mode OSDs on PVCs still be supported after this change.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 2d8f9b67c6)
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-02-24 08:42:15 +00:00
mergify[bot] ec8c949d7e Merge pull request #9798 from rook/mergify/bp/release-1.8/pr-9790
helm: Allow setting priority class on operator and toolbox (backport #9790)
2022-02-24 02:29:36 +00:00
Travis Nielsen 6655b82965 helm: allow setting priority class on operator and toolbox
The operator and toolbox pods were not configurable for
their priority class in the helm chart. Now the settings
are exposed in the values.yaml.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1d1de69f3e)
2022-02-23 21:35:35 +00:00
mergify[bot] 26bc14521b Merge pull request #9796 from rook/mergify/bp/release-1.8/pr-9794
monitoring: making alert firing timeout and the doc timeout same (backport #9794)
2022-02-23 17:05:49 +00:00
Arun Kumar Mohan 1296a28f34 monitoring: making alert firing timeout and the doc timeout same
Signed-off-by: Arun Kumar Mohan <amohan@redhat.com>
(cherry picked from commit 054d009af6)
2022-02-23 16:39:11 +00:00
mergify[bot] d0648e79f9 Merge pull request #9795 from rook/mergify/bp/release-1.8/pr-9781
test: collect fuller logs for CI tests (backport #9781)
2022-02-23 16:25:02 +00:00
Blaine Gardner da7b04ba1a test: fix helm suite conflicting artifact
Two test jobs were collecting artifacts to the same artifact name, which
can cause race conditions and failures to upload artifacts.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 7a7d278ab4)
2022-02-23 15:59:19 +00:00
Blaine Gardner f8247c9cad test: collect fuller logs for CI tests
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 9a5d43761d)
2022-02-23 15:59:18 +00:00
mergify[bot] 54eb1b2e29 Merge pull request #9793 from rook/mergify/bp/release-1.8/pr-9791
docs: Correct VAULT_BACKEND_PATH (backport #9791)
2022-02-23 13:34:09 +00:00
parth-gr e72c6d664c docs: correct vault backend path
Based on my testing with the guide above,
the original value in the sample code here:
`VAULT_BACKEND_PATH: rook/ver1`
...did not work and resulted in
a Vault path error when Rook attempted
to provision the OSD filesystem.
When I simplified it to:
`VAULT_BACKEND_PATH: rook`
... then it worked.

I also took the opportunity to add
a comment/clarification about the `VAULT_ADDR` URL.

Co-authored-by: Shahak Nagiel <snagiel@yahoo.com>
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit cbc9bbff32)
2022-02-23 13:06:04 +00:00
mergify[bot] f9d6dd522a Merge pull request #9785 from rook/mergify/bp/release-1.8/pr-9773
docs: fix broken links in ceph-object-multisite.md (backport #9773)
2022-02-22 18:15:45 +00:00
Jiffin Tony Thottan 21856633b9 docs: fix broken links in ceph-object-multisite.md
The docs have links pointing /design directory in the codebase which
hidden in https://rook.io so change them to rook github repo links.

Fixes: #9768
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
(cherry picked from commit 1f13938bdc)
2022-02-22 17:47:15 +00:00
Sébastien Han 93ea67d6e4 Merge pull request #9779 from rook/mergify/bp/release-1.8/pr-9777
docs: Warn in quickstart guide about using a vm (backport #9777)
2022-02-22 09:13:45 +01:00
mergify[bot] f897ba7a0f Merge pull request #9783 from rook/mergify/bp/release-1.8/pr-9645
helm: fix csiAddons enabled flag (backport #9645)
2022-02-22 05:46:03 +00:00
Shinya Hayashi bb9b3a1998 helm: fix csiAddons enabled flag
We should use csiAddons.enabled to check whether csiAddons is used.

Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
(cherry picked from commit c82099c107)
2022-02-22 05:20:53 +00:00
Travis Nielsen 8dbac95324 docs: warn in quickstart about using a vm
If Rook is run on a developer machine, devices may accidentally
be consumed by rook and cause data loss.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit eb4ac1d6c9)
2022-02-21 21:44:01 +00:00
Blaine Gardner 9b21dba035 Merge pull request #9775 from rook/mergify/bp/release-1.8/pr-9765
docs: clarify teardown disk zap section (backport #9765)
2022-02-21 08:39:50 -07:00
Blaine Gardner 7d24a86b9b docs: clarify teardown disk zap section
Users have reported some problems understanding the teardown
"Zapping Devices" section. Break the section in to per-disk and
all-disks-on-host parts, and clarify that they are not one-size-fits-all
scripts.

Resolves #9542
Resolves #9764

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 325eda655c)
2022-02-21 15:15:47 +00:00
mergify[bot] 123bd6e51a Merge pull request #9761 from rook/mergify/bp/release-1.8/pr-9746
osd: Return error if fail to list osds in prepare job (backport #9746)
2022-02-17 17:47:49 +00:00
Travis Nielsen bf2222da0c osd: return error if fail to list osds in prepare job
The OSD prepare job was succeeding even if the OSDs failed to be listed
by ceph-volume. These errors should be returned and fail the job, resulting
in a retry to retrieve the OSDs. Otherwise, the failure is masked and
the admin needs to dig through logs to find why the OSDs were not configured
on that node.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit d4b8fa19b2)
2022-02-17 10:22:18 -07:00
mergify[bot] 1eb1042164 Merge pull request #9763 from rook/mergify/bp/release-1.8/pr-9760
core: various external mode enhancements (backport #9760)
2022-02-17 16:09:27 +00:00
Sébastien Han 6722d697f8 core: remove unnecessary secret validation
We don't need to validate the name of Ceph-CSI secret, simply because
the names can be different. The default example have default names but
since the secret can be created by the administrator we should not
assume anything. This check will fail if the secret names are different
for whatever reason. This is especially true for external mode. In
converged mode Rook creates the secrets on its own if needed to ease the
integration with the default StorageClass examples.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 0143a8f8ee)
2022-02-17 15:44:57 +00:00