Commit Graph
10173 Commits
Author SHA1 Message Date
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
subhamkrai b4e94f75cd ci: fix golangCI lint remove k8s.io/utils/pointer
golangci linter was throughing error `k8s.io/utils/pointer`
package is deprecated. So, I have removed that.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a25071ac29)
2023-08-16 17:12:02 +00:00
subhamkrai 00b941be28 build: update vault and other indirect imports
update vault and other indirect imports. Also,
updating k8s package to `v0.28.0-rc.0` since with
v0.27.4 it was through build error.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit ab3763767f)
2023-08-16 17:12:01 +00:00
subhamkrai 835048a38d operator: log op. config cm setting when changed
earlier, we're always logging when `GetValue` method is
called to get operator config  values which somettime
spamming the logs for example `ROOK_WATCH_FOR_NODE_FAILURE`
keep logging every time 5 min.

Now, we'll store the settings in the map and log only when
map key value is changed.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 733be02577)
2023-08-16 17:10:36 +00:00
parth-gr 523664e095 helm: install rook in openshift cluster
The sccs were missing in the helm installation,
added it

Closes: https://github.com/rook/rook/issues/12280

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 62e3ffb2ba)
2023-08-16 17:07:02 +00:00
subhamkrai 382d2722af ci: create toolbox-operator early in ci
moving the toolbox-operator creation early in
ci, so that by the time we wait for others pods
to come up, toolbox-operator will be ready or
will wait for 180s.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit bffa766b4f)
2023-08-16 16:42:44 +00:00
Travis Nielsen 0d11f5a906 Merge pull request #12729 from rook/mergify/bp/release-1.12/pr-12643
ci: Disable tmate for build actions (backport #12643)
2023-08-15 15:45:31 -06:00
travisn d4215f25b0 ci: disable tmate for build actions
The build and release actions will rarely ever need to be
debugged. To make them more efficient and reduce their
runtime, we remove the tmate action so it won't add 10
unnecessary minutes to the end of the action.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 90a95ce57d)
2023-08-15 21:07:35 +00:00
Travis Nielsen 86f26fa119 Merge pull request #12728 from travisn/release-1.12.2
build: Update patch version to v1.12.2
v1.12.2
2023-08-15 14:10:18 -06:00
travisn e81bc1b5b6 build: update patch version to v1.12.2
For the patch release the examples and the docs are updated
to v1.12.2.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-08-15 13:18:48 -06:00
Travis Nielsen 3de55e23f5 Merge pull request #12727 from rook/mergify/bp/release-1.12/pr-12725
file: ignore exit code 22 when addding datapool (backport #12725)
2023-08-15 13:14:45 -06:00
Madhu Rajanna 9260f4fe9f file: ignore exit code 22 when adding datapool
Ignore the exit code 22 when adding the
datapool to a filesystem.

updates: #12673

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit bd9b42d221)
2023-08-15 17:23:21 +00:00
Blaine Gardner bcd2fe8bd6 Merge pull request #12707 from rook/mergify/bp/release-1.12/pr-12698
nfs: run dbus-daemon sidecar as dbus user instead of root (backport #12698)
2023-08-11 17:41:43 -06:00
Blaine Gardner 660d43c94e Merge pull request #12705 from rook/mergify/bp/release-1.12/pr-12495
multus: Add sample job manifest for multus config validation (backport #12495)
2023-08-11 17:41:06 -06:00
Niels de Vos 6afe22a2f8 nfs: run dbus-daemon sidecar as dbus user instead of root
When the dbus-daemon in the sidecar is started as "root" user, it fails
with the following log entry:

Failed to start message bus: Failed to drop capabilities: Operation not permitted

By starting the sidecar as "dbus" user (uid=81), the executable does not
try to drop capabilities, and starts successfully.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 320b112cc6)
2023-08-11 19:43:14 +00:00
Nikhil-Ladha afff610a06 multus: add sample job manifest for multus config validation
added a sample job manifest named `multus-validation` that
validates the multus configuration in the cluster.

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
(cherry picked from commit 9fea9cd865)
2023-08-11 19:29:11 +00:00
Travis Nielsen a011151822 Merge pull request #12699 from rook/mergify/bp/release-1.12/pr-12659
ci: add free disk action to release/master ci (backport #12659)
2023-08-10 14:37:14 -06:00
subhamkrai f1f27ed70e ci: add free disk action to release/master ci
I missed adding the action which free some disk space
which may help with low resource issues.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 2eee0c7e1e)
2023-08-10 19:39:43 +00:00
Travis Nielsen dab1b06b00 Merge pull request #12696 from rook/mergify/bp/release-1.12/pr-12694
ci: update the objectsuite test timeout to 40m (backport #12694)
2023-08-09 12:00:39 -06:00
parth-gr 6d480aad0f ci: update the objectsuite test timeout to 40m
While running object test we need some more time
to run the cosi test completely so increasing the timeout

Also update timeout of ntegration-tests-on-release.yaml

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 8617e2e924)
2023-08-09 17:45:41 +00:00
Travis Nielsen 17ad5fb962 Merge pull request #12685 from rook/mergify/bp/release-1.12/pr-12681
csi: add mode csi pods to the list to force delete pod (backport #12681)
2023-08-09 10:24:51 -06:00
Travis Nielsen 2bdefcf80f Merge pull request #12686 from rook/mergify/bp/release-1.12/pr-12678
csi: add maxUnavailable for cephfs csi daemonset (backport #12678)
2023-08-09 10:24:27 -06:00
Travis Nielsen 95f0084bbd Merge pull request #12690 from rook/mergify/bp/release-1.12/pr-12677
ci: improve the canary toolbox operator pod check (backport #12677)
2023-08-09 10:24:09 -06:00
mergify[bot] cae026e1f2 Merge pull request #12692 from rook/mergify/bp/release-1.12/pr-12600
ci: fix testobjectsuite ci (backport #12600)
2023-08-09 16:09:08 +00:00
parth-gr eae3643ece ci: fix testobjectsuite ci
Current reason for failure
clients: "cephbuckettopic" "my-topic" exist, but ARN was not set

Added some more re-try as it might take some more time to
update the ARN in status

OBC bound status was failing and going into
race condition adding a seprate timeout
makes recover it from that state

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 715bd31a0a)
2023-08-09 15:05:56 +00:00
parth-gr f995cd1efa ci: improve the canary toolbox operator pod check
the wait command is provided by kubernetes so
instead of using manually shell hack using the wait
command

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 64d3df4fcd)
2023-08-09 14:20:47 +00:00