Commit Graph
9760 Commits
Author SHA1 Message Date
Travis Nielsen f005bf38ea Merge pull request #12184 from rook/mergify/bp/release-1.11/pr-12179
docs: update documentation for CRDs (backport #12179)
2023-05-04 13:49:03 -06:00
Travis Nielsen 85e3b39f28 Merge pull request #12183 from rook/mergify/bp/release-1.11/pr-12181
ceph: unset all the encryption configuration before setting (backport #12181)
2023-05-03 11:49:17 -06:00
Javier a30a227526 docs: update documentation for CRDs
update generation of documents for CRDs automatically

Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 4ef2c43b55)
2023-05-03 17:45:05 +00:00
Travis Nielsen a16346b9da Merge pull request #12178 from rook/mergify/bp/release-1.11/pr-12110
docs: add support for autogenerated docs for CRDs (backport #12110)
2023-05-03 11:43:47 -06:00
Madhu Rajanna b5584ce8a0 core: unset all encryption configuration before setting
if the configuration is already set in the ceph
database, using `ceph config assimilate-conf`
will add the key and value if its missing but
it wont update the value if the key is already
present, To fix this problem we can remove the
key and add all the configurations once again.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 1139cefc94)
2023-05-03 16:56:59 +00:00
Travis Nielsen 391e3e2c13 Merge pull request #12177 from travisn/release-1.11.5
build: Update patch version to v1.11.5
v1.11.5
2023-05-02 16:23:36 -06:00
travisn b70cc768f0 build: update patch version to v1.11.5
For the patch release the docs and examples are updated to
v1.11.5

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-02 14:50:00 -06:00
Javier 2ab562c918 docs: auto-generate the documentation for CRDs
add generate-crd-docs.sh tool for auto-generate the documentation for CRDs automatically

Closes: #1873
Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 661e476969)
2023-05-02 20:48:46 +00:00
Travis Nielsen d4381f7408 Merge pull request #12150 from rook/mergify/bp/release-1.11/pr-12146
docs: Update core getting started docs for clarity (backport #12146)
2023-05-02 14:38:59 -06:00
Travis Nielsen 2c12f4ef7c Merge pull request #12171 from rook/mergify/bp/release-1.11/pr-12155
nfs: pare down config file volume sources (backport #12155)
2023-05-02 14:37:27 -06:00
Travis Nielsen c4e8015339 Merge pull request #12158 from rook/mergify/bp/release-1.11/pr-12151
ci: disable multi-cluster-mirroring (backport #12151)
2023-05-02 14:27:50 -06:00
Travis Nielsen d8bd4fa6d3 Merge pull request #12169 from rook/mergify/bp/release-1.11/pr-12069
test: add multus validation test routine to rook binary (backport #12069)
2023-05-02 13:55:45 -06:00
Blaine Gardner 52eb79c3bf nfs: pare down config file volume sources
Pare down the available volume sources for NFS config files so that the
CRD isn't unnecessarily huge. This allows us to recommend
`kubectl apply` again in the upgrade doc.

Size of the NFS CRD is reduced by approximately 60%.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 6500c11d57)
2023-05-02 13:53:55 -06:00
Travis Nielsen bd9874d408 Merge pull request #12168 from rook/mergify/bp/release-1.11/pr-12161
core: update k8s module to latest version (backport #12161)
2023-05-02 13:31:15 -06:00
subhamkrai 549ab54adf core: update k8s module to lastet version
updating k8s dependencies like clien-go and
others to v0.26.4

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit ad068d966a)
2023-05-02 12:25:28 -06:00
Blaine Gardner 8bb189c5c8 test: add multus validation test routine to rook binary
Add a more involved multus validation test to the Rook binary. Because
this is intended to be end-user runnable, make sure operator-only
commands are hidden.

Build this into the rook binary instead of creating a separate binary
for ease, and because any binary built with the kube api becomes 40+
megabytes. We save quite a bit of space by including this in the Rook
binary, which is good for keeping container layers as small as possible.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 0f6e7ee921)
2023-05-02 17:38:10 +00:00
Travis Nielsen 6eaa445a82 Merge pull request #12167 from rook/mergify/bp/release-1.11/pr-12149
mgr: fix ceph dashboard login issue (backport #12149)
2023-05-02 11:11:18 -06:00
parth-gr 9bc7debca5 mgr: fix ceph dashboard login issue
Dashboard ac-user-create cmd was taking more time
then the usual ceph command to run,
So increased the timeout to run the cmd, and
now dashboard admin user is sucessfully created

Closes: https://github.com/rook/rook/issues/12113
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit ed61d25fc3)
2023-05-02 16:29:40 +00:00
parth-gr a0a9d75ee5 ci: disable multi-cluster-mirroring
till we didn't resolve the multi-cluster-mirroring ci issue
lets keep it disable

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 423ad93fc0)
2023-05-01 07:35:46 -06:00
travisn ba00d251c6 docs: clarify docs for wording or obsolete info
Update the getting started guide, prereqs, architecture,
and other basic docs with more concise wording and removed
some obsolete information. Some links are removed so they
don't distract the user from reading the critical information
that we are conveying in the rook docs.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit ecdeb7aa9f)
2023-04-28 16:27:28 +00:00
Travis Nielsen abe5cd7d59 Merge pull request #12141 from rook/mergify/bp/release-1.11/pr-12132
external: check for pool and cluster name is provided (backport #12132)
2023-04-25 08:57:09 -06:00
parth-gr 67d4bc4998 external: check for pool and cluster name is provided
While adding the support for dot and special rbd pools
the check for pool and cluster name check was removed,
Adding it back as it is needed
https://github.com/rook/rook/pull/12056

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit e02942ab77)
2023-04-25 14:02:55 +00:00
mergify[bot] ff6cc553ae Merge pull request #12136 from rook/mergify/bp/release-1.11/pr-12075
core: Skip OBC controllers based on env variable (backport #12075)
2023-04-24 23:17:59 +00:00
mergify[bot] 7e9b89aa69 Merge pull request #12134 from rook/mergify/bp/release-1.11/pr-12109
add an ingress for ceph-objectores (backport #12109)
2023-04-24 23:07:23 +00:00
sp98 6cb4dab7d2 core: skip OBC and Notification controllers
Skip running Object Bucket and Object bucket notification
controllers based on env variable.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit e87338fbc4)
2023-04-24 16:28:26 +00:00
Travis Nielsen 7c48dd6f6c Merge pull request #12128 from rook/mergify/bp/release-1.11/pr-12118
core: temporary disable exporter service (backport #12118)
2023-04-24 09:29:21 -06:00
Cyril Jouve bb649aa02c helm: add an ingress for ceph-objectores
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit 100f8c1320)
2023-04-24 14:27:17 +00:00
avanthakkar 7f4f2a4035 core: disable exporter service
Create the exporter service only if exporter pods are created.
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 32b2445ee4)
2023-04-21 23:54:02 +00:00
Alexander Trost 361d091556 Merge pull request #12119 from rook/mergify/bp/release-1.11/pr-10446 2023-04-20 17:30:22 +02:00
Jiffin Tony Thottan bce388ebbe docs: mention about reconciliation issue in hpa docs
During reconciliation of cephobjectstore, Rook operator resets the value
of replica count by the HPA and HPA brings back it up when it notices
the desired count for replica change.

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
(cherry picked from commit 823c06da44)
2023-04-20 13:24:38 +00:00
Blaine Gardner 445120e048 Merge pull request #12093 from rook/mergify/bp/release-1.11/pr-12086
CephNFS: Some fixes for mounting CephNFS using Kerberos auth (backport #12086)
2023-04-18 02:19:48 -06:00
Sachin Prabhu 2e2925b04c nfs: set nsswitch.conf to lookup local files
When using sssd, the /etc/nsswitch.conf should also include local files
for lookups. This is required when looking up uid 0 and the root user
which are not handled by ldap or other sources.

Closes: https://github.com/rook/rook/issues/11925
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
(cherry picked from commit d3636aaf3e)
2023-04-14 16:18:40 +00:00
Sachin Prabhu 06694b0eb0 nfs: do not restrict search domain to localhost
Adding the search domain localhost causes lookup failures.

Many DNS servers have a wildcard entry *.localhost which returns
127.0.0.1. Adding a "search localhost" to resolv.conf appends a
".localhost" for every host lookup for which the DNS server returns
127.0.0.1 which causes failures further down the execution path.

example: with localhost in the search domains
 # ping google.com
PING google.com.localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.071 ms

Closes: https://github.com/rook/rook/issues/11870
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
(cherry picked from commit 08d83a33cd)
2023-04-14 16:18:39 +00:00
Travis Nielsen 46ece6c2a8 Merge pull request #12088 from travisn/release-1.11.4
build: Update examples and docs to v1.11.4
v1.11.4
2023-04-13 14:12:46 -06:00
travisn 5ade3ea535 build: update examples and docs to v1.11.4
For the patch release update the examples and docs to
v1.11.4

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-13 12:22:28 -06:00
Travis Nielsen 2c1978fbf4 Merge pull request #12085 from rook/mergify/bp/release-1.11/pr-12037
external: add support for multisite in external cluster script (backport #12037)
2023-04-13 12:01:39 -06:00
Travis Nielsen d403e123be Merge pull request #12084 from rook/mergify/bp/release-1.11/pr-12083
docs: update krew link osd removal docs (backport #12083)
2023-04-13 12:01:19 -06:00
Travis Nielsen 278a50ba14 Merge pull request #12081 from rook/mergify/bp/release-1.11/pr-12061
external: do not enforce need for monitoring endpoint (backport #12061)
2023-04-13 12:01:10 -06:00
Travis Nielsen 4f83011982 Merge pull request #12080 from rook/mergify/bp/release-1.11/pr-12077
core: disable exporter  for Ceph v17.2.6 (backport #12077)
2023-04-13 12:00:53 -06:00
parth-gr 7fa4e5eac1 external: add support for multisite in external cluster
Add support for realm, zone and zonegroup

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b60da0b8c1)
2023-04-13 13:56:07 +00:00
subhamkrai 14f4748156 docs: update krew link osd removal docs
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit bb103f3a1b)
2023-04-13 13:33:58 +00:00
Angelos Kolaitis f02be9dd79 external: do not enforce need for monitoring endpoint
Add --skip-monitoring-endpoint to create-external-cluster-resources.py
to allow the script to work with Ceph clusters without an enabled
prometheus module.

Document the new flag in external-cluster.md and add relevant unit tests

Signed-off-by: Angelos Kolaitis <neoaggelos@gmail.com>
(cherry picked from commit 9e4a6ddee5)
2023-04-12 22:09:37 +00:00
avanthakkar 6969b459f7 core: disable exporter for Ceph v17.2.6
The expected ceph version for exporter is changed temporarily because
some regression was detected in Ceph version 17.2.6.
Thus, disabling ceph-exporter for now until all the regression are fixed.

Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 3e46522423)
2023-04-12 22:08:37 +00:00
Travis Nielsen c6d9caea16 Merge pull request #12074 from rook/mergify/bp/release-1.11/pr-12056
external: add alias rbd pool name to support . pools name (backport #12056)
2023-04-12 12:04:15 -06:00
parth-gr 44c44d637e external: add alias rbd pool name to support . pools name
if restricted permission was on the . was appended to k8s secret and
failed to create the secret so added a alias name is user wan't to suuport
pool with . in name

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 6c3dabcf5f)
2023-04-12 15:43:34 +00:00
mergify[bot] 63418a0050 Merge pull request #12071 from rook/mergify/bp/release-1.11/pr-12068
core: Update default image to Ceph v17.2.6 (backport #12068)
2023-04-12 07:09:12 +00:00
travisn e6e98074ea core: update default image to ceph v17.2.6
With the release of ceph v17.2.6, the examples and the base
image for the operator are updated to pick up the latest
and greatest.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 609ac91cb1)
2023-04-12 06:15:52 +00:00
Travis Nielsen c20b9bf74c Merge pull request #12043 from rook/mergify/bp/release-1.11/pr-12028
external: do not enforce rbd, cephfs and rgw flags for the external cluster (backport #12028)
2023-04-11 11:40:32 -06:00
Travis Nielsen 219d65afad Merge pull request #12058 from rook/mergify/bp/release-1.11/pr-12048
helm: add option to scale down rook operator (backport #12048)
2023-04-11 11:39:53 -06:00
Travis Nielsen c8b7570e50 Merge pull request #12060 from rook/mergify/bp/release-1.11/pr-12051
helm: drop snapshot.storage.k8s.io/v1beta1 (backport #12051)
2023-04-11 11:39:28 -06:00