Commit Graph
13292 Commits
Author SHA1 Message Date
Alexander Trost 911ce93832 Merge pull request #10446 from thotz/hpa-reconiliation-issue
docs: mention about reconciliation issue in hpa docs
2023-04-20 15:14:52 +02:00
Travis Nielsen 537c328c97 Merge pull request #12103 from rook/dependabot/go_modules/github.com/hashicorp/vault/sdk-0.9.0
build(deps): bump github.com/hashicorp/vault/sdk from 0.8.1 to 0.9.0
2023-04-17 22:58:46 +02:00
Travis Nielsen d51d9f70a5 Merge pull request #12105 from rook/dependabot/github_actions/wagoid/commitlint-github-action-5.4.1
build(deps): bump wagoid/commitlint-github-action from 5.3.1 to 5.4.1
2023-04-17 22:57:07 +02:00
dependabot[bot] f663154b42 build(deps): bump wagoid/commitlint-github-action from 5.3.1 to 5.4.1
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 5.3.1 to 5.4.1.
- [Release notes](https://github.com/wagoid/commitlint-github-action/releases)
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/v5.3.1...v5.4.1)

---
updated-dependencies:
- dependency-name: wagoid/commitlint-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 13:01:00 +00:00
dependabot[bot] 062e663958 build(deps): bump github.com/hashicorp/vault/sdk from 0.8.1 to 0.9.0
Bumps [github.com/hashicorp/vault/sdk](https://github.com/hashicorp/vault) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/hashicorp/vault/releases)
- [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/vault/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/vault/sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 12:59:35 +00:00
Blaine Gardner e6863481ff Merge pull request #12086 from spuiuk/krb5_fixes
CephNFS: Some fixes for mounting CephNFS using Kerberos auth
2023-04-14 10:17:53 -06:00
Sachin Prabhu d3636aaf3e 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>
2023-04-14 12:31:12 +01:00
Sachin Prabhu 08d83a33cd 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>
2023-04-14 12:31:12 +01:00
Travis Nielsen eaf3e3662d Merge pull request #12037 from parth-gr/external-multisite-zone
external: add support for multisite in external cluster script
2023-04-13 07:55:44 -06:00
Alexander Trost abafc61a6a Merge pull request #12083 from subhamkrai/fix-krew-doc-link
docs: update krew link osd removal docs
2023-04-13 13:05:48 +02:00
subhamkrai bb103f3a1b docs: update krew link osd removal docs
Signed-off-by: subhamkrai <srai@redhat.com>
2023-04-13 16:11:46 +05:30
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
parth-gr b60da0b8c1 external: add support for multisite in external cluster
Add support for realm, zone and zonegroup

Signed-off-by: parth-gr <paarora@redhat.com>
2023-04-10 20:03:16 +05:30
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