Commit Graph
9777 Commits
Author SHA1 Message Date
Travis Nielsen 6103cb93dd Merge pull request #12061 from neoaggelos/feat/external
external: do not enforce need for monitoring endpoint
2023-04-12 16:08:54 -06:00
Travis Nielsen 7ad51a0ed0 Merge pull request #12077 from avanthakkar/disable-exporter-17.2.6
core: disable exporter  for Ceph v17.2.6
2023-04-12 16:08:08 -06:00
avanthakkar 3e46522423 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>
2023-04-13 02:15:36 +05:30
Angelos Kolaitis 9e4a6ddee5 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>
2023-04-12 21:04:48 +03:00
Travis Nielsen 9e55bbcc7c Merge pull request #12056 from parth-gr/external-restricted-dotpool
external: add alias rbd pool name to support . pools name
2023-04-12 09:42:52 -06:00
parth-gr 6c3dabcf5f 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>
2023-04-12 19:26:20 +05:30
Satoru Takeuchi 6870e0ea34 Merge pull request #12068 from travisn/ceph-17.2.6
core: Update default image to Ceph v17.2.6
2023-04-12 15:15:09 +09:00
travisn 609ac91cb1 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>
2023-04-11 14:07:11 -06:00
Travis Nielsen 85088e79ea Merge pull request #12064 from sp98/use-cluster-id
MCS: use cluster ID for ns lookup on exported service.
2023-04-11 10:49:49 -06:00
sp98 9e8e85d68b 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>
2023-04-11 15:24:08 +05:30
sp98 aefe0054c4 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>
2023-04-11 15:17:21 +05:30
Travis Nielsen 85d7920b2a Merge pull request #12051 from sathieu/drop-snapshot-beta1
helm: drop snapshot.storage.k8s.io/v1beta1
2023-04-10 13:40:40 -06:00
Travis Nielsen a02b8285ef Merge pull request #12048 from TomHellier/master
helm: add option to scale down rook operator
2023-04-10 11:11:50 -06:00
Travis Nielsen ae3487dd25 Merge pull request #12055 from rook/dependabot/go_modules/github.com/IBM/keyprotect-go-client-0.10.0
build(deps): bump github.com/IBM/keyprotect-go-client from 0.9.2 to 0.10.0
2023-04-10 10:51:31 -06:00
dependabot[bot] 7fc066fb35 build(deps): bump github.com/IBM/keyprotect-go-client
Bumps [github.com/IBM/keyprotect-go-client](https://github.com/IBM/keyprotect-go-client) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/IBM/keyprotect-go-client/releases)
- [Changelog](https://github.com/IBM/keyprotect-go-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/IBM/keyprotect-go-client/compare/v0.9.2...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/IBM/keyprotect-go-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 13:01:06 +00:00
Mathieu Parent 1578d55b4d helm: drop snapshot.storage.k8s.io/v1beta1
v1 exists since k8s v1.20

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
2023-04-08 21:18:35 +02:00
TomHellier 13b1585ac2 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>
2023-04-07 19:45:49 +00:00
Travis Nielsen e72616e712 Merge pull request #11895 from opencmit/docs-update-recovery
docs: an update to disaster recovery with new scenario
2023-04-07 08:11:48 -06:00
Ben Gao 19cb58bf5e 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>
2023-04-07 22:05:00 +08:00
Travis Nielsen 8ea26a72ed Merge pull request #11789 from thotz/test-failure-encryption-pvc-kms-vault-token
test: check rgw pod is running for canary github workflow
2023-04-06 10:55:55 -06:00
Travis Nielsen 36138fcebe Merge pull request #12028 from parth-gr/external-enforce
external: do not enforce rbd, cephfs and rgw flags for the external cluster
2023-04-06 08:52:44 -06:00
Travis Nielsen 9f6923adfe Merge pull request #11932 from zhucan/fix-11931
mgr: failed to update the port of dashboard
2023-04-06 07:59:24 -06:00
Jiffin Tony Thottan 715c89bcd8 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>
2023-04-06 16:28:10 +05:30
zc caf7b8c753 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>
2023-04-06 14:35:39 +08:00
Travis Nielsen 2388cecc70 Merge pull request #12036 from parth-gr/external-correction
external: name correction of validate_rgw_metadata_ec_pool_name function
2023-04-05 12:20:29 -06:00
parth-gr 626d1c44ff 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>
2023-04-05 20:54:13 +05:30
parth-gr e734911532 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>
2023-04-05 17:21:04 +05:30
Travis Nielsen 805f1b1a8f Merge pull request #11573 from jmolmo/mgr_development
docs: debug and test ceph manager modules
2023-04-04 14:35:20 -06:00
Travis Nielsen 9078bcd847 Merge pull request #12030 from koor-tech/fix_master_release
build: fix publish docs step
2023-04-04 11:01:03 -06:00
Alexander Trost 99f5c9c713 build: fix publish docs step
The `DOCS_GIT_REPO` var needs to be exported when not set through a `.env`
file, as otherwise it is not propagated to commands run in the
`build-release.sh` script.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2023-04-04 18:50:02 +02:00
Alexander Trost 76ddb32025 Merge pull request #11968 from koor-tech/feature/ksd-124 2023-04-04 17:48:06 +02:00
Blaine Gardner 822c56f1b5 Merge pull request #12007 from synarete/nfs-metrics
nfs: add support for nfs-ganesha metrics monitoring
2023-04-04 09:37:18 -06:00
Travis Nielsen 6d28938b1c Merge pull request #12022 from rook/dependabot/go_modules/github.com/prometheus-operator/prometheus-operator/pkg/client-0.64.0
build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/client from 0.63.0 to 0.64.0
2023-04-03 16:18:56 -06:00
Travis Nielsen 1931c113e6 Merge pull request #12025 from travisn/ci-wait-for-mgr
ci: Canary test should enable prometheus module for the external cluster test
2023-04-03 15:58:18 -06:00
travisn 558732d0ae ci: canary test should enable the prometheus module
The canary test is waiting for the prometheus module,
which is now disabled by default. For the canary test,
we need to enable the prometheus module for the external
cluster test.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-03 15:32:11 -06:00
dependabot[bot] 5be1cd234e build(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/client
Bumps [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator) from 0.63.0 to 0.64.0.
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.63.0...v0.64.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 12:59:14 +00:00
Shachar Sharon 7b28f1de05 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>
2023-04-02 17:57:30 +03:00
Travis Nielsen e85ef37de9 Merge pull request #11975 from thotz/bucket-notification-use-obc-from-rook
object: check obc provisioner for bucket notification
2023-03-31 15:14:24 -06:00
Travis Nielsen 12badbe4c3 Merge pull request #11947 from parth-gr/external-seprate-rgw
external: make rgw call separate from cephfs and rbd
2023-03-31 09:35:26 -06:00
Alexander Trost ecb6ba7383 build: allow overriding variables from a dot env file
This helps forks build custom rook releases more easily by allowing
certain Makefile vars to be overwriten using a `.env` file.
In addition this introduces the `DOCKERCMD` var to the
`build/release/Makefile`.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
2023-03-31 11:34:07 -04:00
Travis Nielsen 87e836424e Merge pull request #11980 from thenamehasbeentake/support_disable_prometheus_module
mgr: disable the prometheus module by crds
2023-03-31 08:16:49 -06:00
xiaobaowen e7254c2a1b mgr: disable the prometheus module by crds
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
2023-03-31 20:49:22 +08:00
Jiffin Tony Thottan 01a3dd0baf object: check obc provisioner for bucket notification
obc-label-controller needs to check only obc provisioned by Rook operator.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2023-03-31 14:56:18 +05:30
Travis Nielsen 0d909d9458 Merge pull request #12006 from subhamkrai/update-vault-master
build: update vault to 1.13.1
2023-03-30 14:51:30 -06:00
Travis Nielsen 2f8f7cf56c Merge pull request #11981 from rook/dependabot/github_actions/actions/stale-8
build(deps): bump actions/stale from 7 to 8
2023-03-30 10:52:34 -06:00
Travis Nielsen bf3cb9d4c5 Merge pull request #11982 from rook/dependabot/github_actions/helm/chart-testing-action-2.4.0
build(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0
2023-03-30 10:52:01 -06:00
parth-gr e44df84687 external: make rgw call separate from cephfs and rbd
if the rge endint is not reachable don't block the creation
of rbd and cephfs sc, just print the error instead of raising exception

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-30 19:54:33 +05:30
Travis Nielsen 68fa240a1e Merge pull request #11993 from heliochronix/ipv6-msgr2-mon-config
core: fix config format for msgr2 ipv6 monitors
2023-03-30 08:04:38 -06:00
subhamkrai 433c6bcee0 build: update vault to 1.13.1
Signed-off-by: subhamkrai <srai@redhat.com>
2023-03-30 13:42:27 +05:30
xiaobaowen 963f6d3303 docs: design doc for ceph cluster crds with monitoring
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
2023-03-30 12:59:54 +08:00