Commit Graph
9738 Commits
Author SHA1 Message Date
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
Travis Nielsen 6ea0722bdc Merge pull request #12067 from rook/mergify/bp/release-1.11/pr-12064
MCS: use cluster ID for ns lookup on exported service. (backport #12064)
2023-04-11 11:39:16 -06:00
sp98 578045291a core: use clusterID for service nslookup
use ClusterID of the k8s cluster while doing nslookup of the
exported mon or osd service IP

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 9e8e85d68b)
2023-04-11 16:50:03 +00:00
sp98 45288d9f26 core: add clusterID to MCS spec
ClusterID uniquely identifies a cluster. It is used as a prefix to
nslookup exported services.
For example: <clusterid>.<svc>.<ns>.svc.clusterset.local

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit aefe0054c4)
2023-04-11 16:50:02 +00:00
Mathieu Parent 439d45db82 helm: drop snapshot.storage.k8s.io/v1beta1
v1 exists since k8s v1.20

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
(cherry picked from commit 1578d55b4d)
2023-04-10 19:41:10 +00:00
TomHellier fdfc38158a helm: add option to scale down rook operator
Some administrative actions require the user to scale down the rook operator to zero replicas to stop any potential conflicts where the operator is attempting to do something contrary to the current goals of the administrator.

closes: https://github.com/rook/rook/issues/11927
Signed-off-by: TomHellier <me@tomhellier.com>
(cherry picked from commit 13b1585ac2)
2023-04-10 17:12:23 +00:00
Travis Nielsen f307da4bfa Merge pull request #12044 from rook/mergify/bp/release-1.11/pr-11789
test: check rgw pod is running for canary github workflow (backport #11789)
2023-04-07 09:00:13 -06:00
Travis Nielsen a9e8d21ab6 Merge pull request #12047 from rook/mergify/bp/release-1.11/pr-11895
docs: an update to disaster recovery with new scenario (backport #11895)
2023-04-07 08:59:39 -06:00
Ben Gao 09dfecc7e1 docs: an update to disaster recovery with new scenario
add recovering steps when rook crs and ceph daemons are all deleted.

Signed-off-by: Ben Gao <bengao168@msn.com>
(cherry picked from commit 19cb58bf5e)
2023-04-07 14:12:25 +00:00
Jiffin Tony Thottan 8b44256a35 test: check rgw pod is running for canary github workflow
For the RGW daemon validation please check whether pod is Running than
the exisitng checks

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 715c89bcd8)
2023-04-06 16:56:39 +00:00
Travis Nielsen 2b8b2c019a Merge pull request #12041 from rook/mergify/bp/release-1.11/pr-11932
mgr: failed to update the port of dashboard (backport #11932)
2023-04-06 09:03:24 -06:00
parth-gr 0b636126f3 external: do not enforce rbd, cephfs and rgw flags for the external cluster
there might be a user who only wants to use rbd, so don't enforce them
to to create all the pools and pass the flags

Closes: https://github.com/rook/rook/issues/11846
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit e734911532)
2023-04-06 14:53:05 +00:00
zc 1c58c90177 mgr: failed to update the port of mgr's dashboard
if port was used by other daemon,the dashboard will start failed and the status of the ceph will be err,then we update the port to a unused port,the operator can not deal with it

Signed-off-by: zc <zc@zcdeMacBook-Pro.local>
(cherry picked from commit caf7b8c753)
2023-04-06 13:59:53 +00:00
Travis Nielsen 39c3affa05 Merge pull request #12040 from travisn/release-1.11.3
build: Update release version to v1.11.3
v1.11.3
2023-04-05 14:04:53 -06:00
travisn 82e9b43855 build: update release version to v1.11.3
For the patch release update the examples and docs to
v1.11.3.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-05 13:25:35 -06:00
Travis Nielsen b4bfdf39e9 Merge pull request #12039 from rook/mergify/bp/release-1.11/pr-12036
external: name correction of validate_rgw_metadata_ec_pool_name function (backport #12036)
2023-04-05 13:23:36 -06:00
parth-gr 055a4ca711 external: name correction of validate_rgw_metadata_ec_pool_name function
The function is used for rbd so it should be name to validate_rbd_metadata_ec_pool_name

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 626d1c44ff)
2023-04-05 18:20:56 +00:00
Travis Nielsen 695f377ec5 Merge pull request #12031 from rook/mergify/bp/release-1.11/pr-11573
docs: debug and test ceph manager modules (backport #11573)
2023-04-04 14:49:38 -06:00
Juan Miguel Olmo Martínez 37d169f872 docs: debug and test ceph manager modules
testing changes and debugging issues in Ceph manager modules

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit b21f71f177)
2023-04-04 20:35:53 +00:00
Travis Nielsen 519b02398e Merge pull request #11959 from rook/mergify/bp/release-1.11/pr-11899
csi: make AttachRequired as configurable (backport #11899)
2023-04-04 14:28:55 -06:00
Travis Nielsen 9c469570f8 Merge pull request #12029 from rook/mergify/bp/release-1.11/pr-12007
nfs: add support for nfs-ganesha metrics monitoring (backport #12007)
2023-04-04 10:29:06 -06:00
Shachar Sharon 55e36b66f8 nfs: add support for nfs-ganesha metrics monitoring
NFS-Ganesha (as of V5-dev.2 [1]) supports Prometheus monitoring from
within the NFS server itself. It provides metrics for both connected
clients and active exports, via TCP port 9587. Expose those metrics via
existing nfs k8s-service.

[1] https://github.com/nfs-ganesha/nfs-ganesha/commit/b6c59df5a0b8a3ae5b2a87446f8906cb321ee026

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
(cherry picked from commit 7b28f1de05)
2023-04-04 15:37:56 +00:00
Travis Nielsen 4f9b1e835e Merge pull request #12014 from rook/mergify/bp/release-1.11/pr-11980
mgr: disable the prometheus module by crds (backport #11980)
2023-04-03 16:49:53 -06:00