Commit Graph
10211 Commits
Author SHA1 Message Date
sp98 ba91dec40f osd: replace existing OSDs to use new store
This follow up the #12507
- fixes replacing of encrypted OSDs.
- Updates OSD status at the end of reconcile

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 11b8d10a5a)
2023-09-05 14:58:43 +00:00
Travis Nielsen a4114f1292 Merge pull request #12830 from rook/mergify/bp/release-1.12/pr-12487
csi: enable csi-addons-side when crds are deployed (backport #12487)
2023-09-05 08:33:34 -06:00
mergify[bot] f48756c535 Merge pull request #12836 from rook/mergify/bp/release-1.12/pr-12825
monitoring: set port for servicemonitor for ceph-exporter (backport #12825)
2023-09-01 18:53:56 +00:00
Divyansh Kamboj b17df46f5e monitoring: set port for servicemonitor for ceph-exporter
ceph-exporter's ServiceMonitor and Service CRD contain different port
name, which results in no metrics being collected by prometheus.

this commit makes GetCephMonitor configurable, which we use to set
consistent port names in ServiceMonitor and Service for ceph-exporter.

Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
(cherry picked from commit 708dd29a97)
2023-09-01 17:59:33 +00:00
subhamkrai 0ad92bd4b8 csi: enable csi-addons-side when crds are deployed
when deploying csi, we'll check if csi-addons crds
are deployed we'll enable csi-addons sidecar by default.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a755ec156a)
2023-09-01 13:24:40 +00:00
Travis Nielsen ef5e71c164 Merge pull request #12828 from travisn/release-1.12.3
build: Update release version to v1.12.3
v1.12.3
2023-08-31 16:29:36 -06:00
travisn 715ea7730a build: update release version to v1.12.3
For the patch release update the examples and documents to
v1.12.3.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-08-31 15:51:40 -06:00
Travis Nielsen 5b4235635a Merge pull request #12827 from rook/mergify/bp/release-1.12/pr-12804
object: avoid creating same bucket for two different OBC (backport #12804)
2023-08-31 15:50:09 -06:00
Travis Nielsen a95c612530 Merge pull request #12823 from rook/mergify/bp/release-1.12/pr-12811
external: change cluster_name to k8s_cluster_name (backport #12811)
2023-08-31 15:38:14 -06:00
Jiffin Tony Thottan b1e2826708 object: avoid creating same bucket for two different OBC
If bucket exists for Provision(), then check whether user in the OBC and
owner of bucket are same.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit b39e813290)
2023-08-31 21:10:53 +00:00
parth-gr 63d9f8f41a external: change cluster_name to k8s_cluster_name
it was confusing if we are calling a ceph cluster name
or k8s cluster name, so re-named

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 98c4567219)
2023-08-31 14:14:25 +00:00
Travis Nielsen 16c6d1f2a7 Merge pull request #12807 from rook/mergify/bp/release-1.12/pr-12748
ci: upgrade the kubernetes versions for ci (backport #12748)
2023-08-31 07:56:46 -06:00
Travis Nielsen 2a74bdfd24 Merge pull request #12810 from rook/mergify/bp/release-1.12/pr-12808
mon: typo in json tag of struct MonMap (backport #12808)
2023-08-30 08:54:03 -06:00
go-bai 808cdf9c57 mon: typo in json tag of struct MonMap
The json tag in struct MonMap had a spelling error where "json" was incorrectly splled as "josn". This commit corrects the spelling to "json".

Signed-off-by: go-bai <599500688@qq.com>
(cherry picked from commit f4cfa95768)
2023-08-29 14:07:52 +00:00
Travis Nielsen 00128c0cec Merge pull request #12806 from rook/mergify/bp/release-1.12/pr-12797
ceph: return valid CIDR ip (backport #12797)
2023-08-29 08:02:32 -06:00
subhamkrai 9858f214e9 ci: upgrade the kubernetes versions for ci
since, kubernetes v1.28.0 release upgrading the
latest k8s version to v.1.28.0 excepth objectSuite
tes.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 90d81e11b6)
2023-08-28 16:06:27 +00:00
mergify[bot] f742ee86bf Merge pull request #12805 from rook/mergify/bp/release-1.12/pr-12784
ci: enable tmate when in debug mode (backport #12784)
2023-08-28 15:30:57 +00:00
Madhu Rajanna c71d5714f3 core: return valid CIDR ip
we need to return a valid CIDR IP
to get it fenced properly, the previously
returned one was like `10.63.0.5:0/32` which
is not a valid CIDR, removing `:0` to look like
proper IP CIDR.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit eb304a5073)
2023-08-28 14:35:32 +00:00
subhamkrai ddcb9efa9a ci: enable tmate when in debug mode
we don't want to wait for extra 10min once the ci passed,
so we'll add a check if `debug-ci` label is added or debug runner
is triggered from UI then only start tmate. Also, updaing the
development doc and rook test doc.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a223b6777b)
2023-08-28 14:32:18 +00:00
Travis Nielsen 71c151cca4 Merge pull request #12769 from rook/mergify/bp/release-1.12/pr-12724
csi: set ceph cluster as ControllerRef for holder ds (backport #12724)
2023-08-28 08:29:07 -06:00
Travis Nielsen 19ab9ff504 Merge pull request #12792 from rook/mergify/bp/release-1.12/pr-12788
build: update go version to 1.21 from 1.20 (backport #12788)
2023-08-28 08:28:24 -06:00
Travis Nielsen 03d0d47ee3 Merge pull request #12793 from rook/mergify/bp/release-1.12/pr-12790
ci: use local tag instead master image (backport #12790)
2023-08-28 08:28:10 -06:00
Travis Nielsen 038f1a615d Merge pull request #12795 from rook/mergify/bp/release-1.12/pr-12730
object: Allow creating an object user in different namespace (backport #12730)
2023-08-28 08:27:56 -06:00
Travis Nielsen 7f20e84eea Merge pull request #12796 from rook/mergify/bp/release-1.12/pr-12598
docs: correct some libcephsqlite statements (backport #12598)
2023-08-25 14:21:18 -06:00
Patrick Donnelly 8025a868d0 docs: correct some libcephsqlite statements
Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
(cherry picked from commit d09a90f69f)
2023-08-25 20:10:55 +00:00
travisn 3876561a44 object: allow creating an object user in different namespace
The object user was previously required to be created in the
same namespace as the object store and the cluster. Now,
the object user can be reconciled even in a different namespace
from the cluster and object store. The namespace would be specified
in the object user CR.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 2b1cc4c7b8)
2023-08-25 19:01:44 +00:00
Blaine Gardner e4853666ca Merge pull request #12794 from rook/mergify/bp/release-1.12/pr-12774
Multus validation job automated update (backport #12774)
2023-08-25 12:11:37 -06:00
Michael Adam 06bc7ebe40 multus: commit updated validation job manifest from make docs
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 8a6b7786e0)
2023-08-25 17:52:23 +00:00
Michael Adam 1d6da86be0 ci: update the docs check workflow to run make docs instead of make helm-docs
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 585c9a51fc)
2023-08-25 17:52:22 +00:00
Michael Adam beb7163af2 multus: auto-update the validation job manifest file with help text
Signed-off-by: Michael Adam <obnox@samba.org>

this change  introduces a new 'make target 'docs'that generates part of the documentation

It particular, it runs the `helm-docs` target.

Additionally, `make docs`  updates the  multus validation job manifest
by inserting the output of `rook multus validation run --help` between
two newly introduced markers.

The result of running `make docs` is intended to be committed to git after running

Fixes: #12706

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Blaine Gardner <b.blaine.gardner@gmail.com>
Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
Co-authored-by: Michael Adam <obnox@samba.org>

Update build/deploy/generate-deploy-examples.sh

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 22882c5358)
2023-08-25 17:52:22 +00:00
subhamkrai dd0451117f ci: use local tag instead master image
using `rook/ceph:master` tags take longer time
to pull and also, we should be using `rook/ceph:local-build`
tag for our ci. This will help canary raw test to be more stable.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit ad50c8e780)
2023-08-25 15:10:22 +00:00
subhamkrai 42adedbefe build: update go version to 1.21 from 1.20
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit e9cc7ed7b9)
2023-08-25 14:43:01 +00:00
mergify[bot] 59e66edf92 Merge pull request #12779 from rook/mergify/bp/release-1.12/pr-12663
build: update go modules (backport #12663)
2023-08-23 00:29:13 +00:00
Blaine Gardner 945c08c6e5 build: update go modules
Update go modules. The primary goal is to remove the goproxy import
which has security warnings. The library is not used directly or
indirectly by any called Rook code, only dependency modules. Therefore,
exclude it from the build.

At the same time, portworx deps are starting to complicate the module
update again. Rook also doesn't directly or indirectly use the portworx
code, so exclude it also.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 87fc55200f)
2023-08-22 23:24:40 +00:00
Travis Nielsen b75daead63 Merge pull request #12777 from rook/mergify/bp/release-1.12/pr-12764
build: Remove go modules under apis directory (backport #12764)
2023-08-22 17:23:20 -06:00
travisn 4ad2d1fe1a build: update the go modules to the latest
Run make go.mod.update to update the go modules to
the latest references.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 138624a3b0)
2023-08-22 15:19:20 -06:00
travisn 17e3e68576 build: remove go modules under apis directory
The go package dependencies (go.mod and go.sum) were created
under the pkg/apis directory to simplify the dependencies for
other projects referencing the rook repo. The downside is that
the dependabot can no longer open a working and valid PR since
the bot is not aware of the go.mod and go.sum in the apis directory.

Since the reduction of dependencies for vault in #12455,
the list of extra dependencies is not quite so extensive.
We are putting effort into shrinking the dependency list instead
of using the modules files in the apis subdirectory.

Note that #12419 updated the dependencies for the latest controller
runtime which also increased the size of the modules
list in the pkgs subdirectory, which means the difference
in dependencies in the pkgs subdirectory is no longer
signficant anyway.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 1a4917de78)

# Conflicts:
#	.github/workflows/update_dependabot_bundler_pr.yml
2023-08-22 19:51:31 +00:00
Madhu Rajanna 8ce7c719d6 csi: set ceph cluster as ControllerRef for holder
Setting ceph cluster as the ControllerRef
for the holder daemonset set so that when
a ceph cluster is deleted the holder daemoset
will also gets deleted.

fixes: #12645

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d7a4f0038c)
2023-08-22 13:42:03 +00:00
Travis Nielsen 010e5ac648 Merge pull request #12762 from rook/mergify/bp/release-1.12/pr-12734
helm: improvement in docs (backport #12734)
2023-08-21 14:47:10 -06:00
Travis Nielsen 3a05759a50 Merge pull request #12755 from rook/mergify/bp/release-1.12/pr-12747
helm: replaced broken documentation references (backport #12747)
2023-08-21 14:46:54 -06:00
Travis Nielsen 77d398cb3e Merge pull request #12752 from rook/mergify/bp/release-1.12/pr-12507
Replace OSD to use new backend store (backport #12507)
2023-08-21 14:46:28 -06:00
parth-gr 626070be62 helm: update the default version tag to master
updating this to ease the local testing
using helm for master branch repo

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 67f294b623)
2023-08-21 16:18:29 +00:00
parth-gr 83f240eb87 helm: improvement in docs
values.overide isn't used for cephcluster
we use values.yaml so updated the doc with the
change

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 41aa70aedf)
2023-08-21 16:18:28 +00:00
Rowan Ruseler 9e7e6e4125 helm: replaced broken documentation references
Noticed that since the release of 1.9, the values.yaml file has some
old documentation references. Replaced them with the new locations.

Adjusted the link as requested by travisn
Placed extra line eof back as requested by path-gr

Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com>
(cherry picked from commit 8f8f46dbd6)
2023-08-18 14:13:26 +00:00
Travis Nielsen bfd86edb08 Merge pull request #12753 from rook/mergify/bp/release-1.12/pr-12751
build: Update crds gen for new descriptions (backport #12751)
2023-08-17 12:48:36 -06:00
travisn a7225a9a57 build: update crds gen for new descriptions
The CRDs were not generated for the latest since #12384
was merged without rebasing, and other updates with a newer
dependency required the newer descriptions.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 438b61721f)
2023-08-17 18:45:52 +00:00
Travis Nielsen ff55acf477 Merge pull request #12750 from rook/mergify/bp/release-1.12/pr-12384
mon: add mon storage class support (backport #12384)
2023-08-17 12:44:53 -06:00
sp98 84b7b68582 osd: replace osd to use new backend store
If osd store is updated in the ceph cluster, then
delete OSDs one by one, cleanup disks and provision a new OSD on
the same disk

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 886bb357ef)
2023-08-17 18:42:52 +00:00
Deepika Upadhyay c174df9665 docs: amend for clarity on failureDomainLabel and VolumeClaimTemplate
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit 427c53786b)
2023-08-17 17:53:35 +00:00
Deepika Upadhyay 632bf12743 mon: update mon deployment
* fixes mon zonal deployment of 2 per zone to 1 if zones field is
  specified.
* adds zones field doc to CRDs Documentation.
* add code for picking up failureDomainLabel if specified for zones
  field in mon deployment

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit b67bf2d6f0)
2023-08-17 17:53:34 +00:00