Commit Graph
10198 Commits
Author SHA1 Message Date
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
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
Deepika Upadhyay 0e63059eb7 mon: fix some of the zonal storageclass support failures
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit 0d86588620)
2023-08-17 17:53:34 +00:00
Deepika Upadhyay c4ed09c3e6 mon: add failure domain label for zonal topology
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit 764f6597c0)
2023-08-17 17:53:33 +00:00
Deepika Upadhyay 385855e17d docs: update crds for mon zonal support
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit fa7162504e)
2023-08-17 17:53:33 +00:00
Deepika Upadhyay 46f29e7135 mon: add mon storage class support
if zones field is specified, deploy the mon based on the zone specified,
this will help with higher mon availability.

See also: https://github.com/rook/rook/pull/11407/

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit 2231d73259)
2023-08-17 17:53:32 +00:00
Travis Nielsen edc838022d Merge pull request #12749 from rook/mergify/bp/release-1.12/pr-12743
tests: Start toolbox earlier in tests (backport #12743)
2023-08-17 11:52:36 -06:00
travisn 4fdee4b7d7 tests: use same ceph version for toolbox in multicluster
The multicluster test was using a different ceph image for the
toolbox than from the original cluster. For efficiency of
pulling images in the test, the toolbox of the external cluster
will now use the same ceph image as the internal cluster.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 0bd7d4ac84)
2023-08-17 14:38:34 +00:00
travisn f9e419329d tests: start toolbox earlier in tests
The toolbox sometimes times out when the tests are waiting
for it to start. Now we create the toolbox spec sooner in
the tests so we won't need to wait so long for it to start
or increase the wait timeout in the tests.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 90d06a862b)
2023-08-17 14:38:34 +00:00
Travis Nielsen 7081f1a386 Merge pull request #12742 from rook/mergify/bp/release-1.12/pr-12731
monitoring: add "for" to CephOSDDownHigh alert (backport #12731)
2023-08-16 16:49:53 -06:00
Chris Jones 76aaca4285 monitoring: add "for" to CephOSDDownHigh alert
As part of a normal restart, an OSD can go down just as prometheus tries
to scrape it, causing this alert to fire. Alerts shouldn't fire as part
of normal operations. This change requires the OSD to be down for 5
consecutive minutes before the alert will fire.

Signed-off-by: Chris Jones <chris@cjones.org>
(cherry picked from commit 9f1e5ec4ee)
2023-08-16 20:12:25 +00:00
Travis Nielsen 0b80329518 Merge pull request #12739 from rook/mergify/bp/release-1.12/pr-12679
operator: log op. config cm setting when changed (backport #12679)
2023-08-16 13:52:09 -06:00
Travis Nielsen af2b375c6c Merge pull request #12740 from rook/mergify/bp/release-1.12/pr-12672
build: update vault and other indirect imports (backport #12672)
2023-08-16 13:51:58 -06:00
Travis Nielsen 6e7822dcec Merge pull request #12737 from rook/mergify/bp/release-1.12/pr-12736
ci: create toolbox-operator early in ci (backport #12736)
2023-08-16 13:47:34 -06:00
Travis Nielsen a1947a053a Merge pull request #12738 from rook/mergify/bp/release-1.12/pr-12675
helm: install rook in openshift cluster (backport #12675)
2023-08-16 13:47:21 -06:00