Commit Graph
8917 Commits
Author SHA1 Message Date
mergify[bot] 0ebb224fda Merge pull request #11442 from rook/mergify/bp/release-1.9/pr-11439
ci: upgrade minikube action to latest version (backport #11439)
2022-12-14 23:19:01 +00:00
subhamkrai a6005be97b ci: upgrade minikube action to latest version
upgrading minikube action to latest version which has
the fix of crictl, currently CI is failing due to this.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a877771748)
2022-12-14 09:51:38 -07:00
Travis Nielsen 4e808cb08f Merge pull request #11393 from rook/mergify/bp/release-1.9/pr-11024
rgw: remove rgw_rados_pool_pg_num_min for metadata pool creation (backport #11024)
2022-12-06 09:23:36 -07:00
Jiffin Tony Thottan 38a4770044 rgw: remove rgw_rados_pool_pg_num_min for metadata pool creation
rgw_rados_pool_pg_num_min is deprecated and no longer valid in qunicy
with https://github.com/ceph/ceph/pull/46234, remove that option from
cephobject-controller as well

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 5f1b443662)
2022-12-06 14:39:14 +00:00
mergify[bot] 266c91d1c7 Merge pull request #11378 from rook/mergify/bp/release-1.9/pr-11373
core: Set env var for ceph msgr to always use random nonce (backport #11373)
2022-12-02 17:13:15 +00:00
Travis Nielsen 16b5b02147 core: set env var for ceph msgr to use random nonce
Ceph will use a random nonce for the msgr daemons as long as
they are running as PID 1 or have the environment variable
CEPH_USE_RANDOM_NONCE set to indicate running in a containerized
environment. While the Ceph daemons in Rook are expected to
run in PID 1, there are some environments where the container
runtime may choose to run something else such as
/usr/bin/pod as PID 1. The side effect then is that ceph uses
the pid as the nonce and causes problems when the daemons
restart with the same PID.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 31a8fb1e6a)
2022-12-02 16:44:33 +00:00
Travis Nielsen 5b51b167df Merge pull request #11266 from travisn/release-1.9.13
build: Update release version to v1.9.13
v1.9.13
2022-11-03 15:05:17 -06:00
Travis Nielsen 2524ceafe0 build: update release version to v1.9.13
For the patch release the examples and docs are updated
to v1.9.13

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-03 14:27:13 -06:00
mergify[bot] 759f6a26a0 Merge pull request #11249 from rook/mergify/bp/release-1.9/pr-11219
security: Run the crash collector as ceph user (backport #11219)
2022-10-31 19:51:53 +00:00
Travis Nielsen 9db8cd1be0 security: run the crash collector as ceph user
The crash collector does not have the command line arguments
to run as ceph user id 167, so we set the security context
to run as the ceph user in the main crash collector
container.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit df6d7af355)
2022-10-31 13:20:07 -06:00
mergify[bot] 97d295952a Merge pull request #11239 from rook/mergify/bp/release-1.9/pr-11223
security: update "s5cmd" to "v2.0.0" (backport #11223)
2022-10-28 17:41:44 +00:00
Pratik Raj 34dd8ae4cd security: update "s5cmd" to "v2.0.0"
update "s5cmd" to "v2.0.0" as "1.4.0" was built using go v1.16 and has many vulnerabilities

Resolves #11176

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
(cherry picked from commit db9bd9f918)
2022-10-28 13:34:53 +00:00
Travis Nielsen 26149a5a28 Merge pull request #11133 from rook/mergify/bp/release-1.9/pr-11131
ci: update mon_data_avail_warn percentage  (backport #11131)
2022-10-10 15:32:24 -06:00
parth-gr 2aa84b2e70 ci: update mon_data_avail_warn percentage
I see the mon_data_avail_warn is set to 500M
but acording to ceph doc this should be in percentage
And by default this percentage is 30%,
So re assigned to 10% for the CI

Closes: https://github.com/rook/rook/issues/11130
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit d392129cdd)
2022-10-10 16:15:25 +00:00
Travis Nielsen fe541d0092 Merge pull request #11118 from travisn/release-1.9.12
build: Update the release version to v1.9.12
v1.9.12
2022-10-06 14:37:27 -06:00
Travis Nielsen 92efe8af44 build: update the release version to v1.9.12
For the patch release we update the docs and examples to
v1.9.12

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-06 14:00:46 -06:00
mergify[bot] 1e57b00607 Merge pull request #11112 from rook/mergify/bp/release-1.9/pr-11109
osd: Recommend removing memory limits from osd prepare job (backport #11109)
2022-10-05 23:14:30 +00:00
Travis Nielsen 6784473f95 osd: recommend removing memory limits from osd prepare job
The osd prepare job is not recommended to have memory limits since
it's a one-time operation depending on the size of the disk that must
be allowed to complete successfully.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4a86012ead)
2022-10-05 22:44:15 +00:00
Travis Nielsen 6621b0e0b5 Merge pull request #11107 from rook/mergify/bp/release-1.9/pr-11104
mgr: Set the public dashboard port differently from the target port (backport #11104)
2022-10-05 15:54:37 -06:00
Travis Nielsen 54d40fdfc2 Merge pull request #11106 from rook/mergify/bp/release-1.9/pr-11103
osd: Prepare job needs significant more memory for provisioning (backport #11103)
2022-10-05 15:48:12 -06:00
Travis Nielsen 0f3376d11e mgr: set the public dashboard port differently from the target port
If the port is greater than 1024, for backward compatibility the port and
targetPort should be the same value. If the port is less than 1024,
the internal port must use a higher port number. In that case, the internal
port will be the default port numbers and only the public port will be
the desired port in the cluster CR.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f79ff42e0c)
2022-10-05 21:20:45 +00:00
Travis Nielsen 473664008f osd: prepare job needs significant more memory for provisioning
The OSD creation may need to burst during OSD provisioning depending
on the size of the OSD or similar factors. If the OSD prepare job is
OOM killed it will cause OSD provisioning to fail and have various
side effects that are difficult to troubleshoot to get the OSD
to succeed. So we increase the recommendation significantly to avoid
the OOM kill.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 92c52c4a2e)
2022-10-05 19:47:36 +00:00
Travis Nielsen b2dd3f7a08 Merge pull request #11065 from travisn/release-1.9.11
build: Update the release version to 1.9.11
v1.9.11
2022-09-27 12:41:45 -06:00
Travis Nielsen d481e6ff0b build: update the release version to 1.9.11
For the patch release update the example manifests and docs
to v1.9.11

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-27 12:14:01 -06:00
mergify[bot] cd82b35b64 Merge pull request #11061 from rook/mergify/bp/release-1.9/pr-11048
osd: allow raw partitions to be picked up by discover daemon (backport #11048)
2022-09-27 14:46:45 +00:00
dkeven b5aa532f04 osd: allow raw partitions to be picked up by discover daemon
Signed-off-by: dkeven <dkvvven@gmail.com>
(cherry picked from commit dc95af5c33)
2022-09-27 14:20:17 +00:00
mergify[bot] 870c455bea Merge pull request #11019 from rook/mergify/bp/release-1.9/pr-11012
operator: silence 'cm is handled by another watcher' DEBUG messages (backport #11012)
2022-09-19 22:06:52 +00:00
Joshua Hoblitt 84e75ca2a0 operator: silence 'cm is handled by another watcher' DEBUG messages
I guesstimate that around 50% of the operator log volume when set to log
level `DEBUG` are messages about cm's which aren't relevant to rook.

E.g.:

```
2022-09-16 23:03:05.430839 D | ceph-cluster-controller: hot-plug cm watcher: only reconcile on hot plug cm changes, this "ingress-controller-leader" cm is handled by another watcher
2022-09-16 23:03:05.643255 D | ceph-cluster-controller: hot-plug cm watcher: only reconcile on hot plug cm changes, this "fleet-agent-lock" cm is handled by another watcher
2022-09-16 23:03:05.799526 D | ceph-cluster-controller: hot-plug cm watcher: only reconcile on hot plug cm changes, this "cattle-controllers" cm is handled by another watcher
```

Yes, it is `DEBUG` and noise is expected. However, there is no message
about checking the status of the cm's rook actually needs to watch and
these messages don't seem very useful. I have been resorting to piping
the operators logs through `| grep -v 'hot-plug cm watcher'` to cut down
the noise.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 0763f91f93)
2022-09-19 21:39:14 +00:00
mergify[bot] 2c8dbaed30 Merge pull request #11002 from rook/mergify/bp/release-1.9/pr-10991
build: Fix intermittent gen-rbac failure (backport #10991)
2022-09-15 20:35:19 +00:00
mergify[bot] 1b0ff1cab1 Merge pull request #11000 from rook/mergify/bp/release-1.9/pr-10990
ci: add mon_data_avail_warn to canary ci test (backport #10990)
2022-09-15 20:28:03 +00:00
Travis Nielsen 41922e38bf build: fix intermittent gen-rbac failure
The crds generation for the helm crds is intermittently hitting a build
error due to multiple builds generating the crds at the same time.
We avoid this race condition by first writing the crds to a temp file
then move the file to the helm crd resources file.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7863d3161c)
2022-09-15 16:14:09 +00:00
parth-gr a7ba7020ec ci: add mon_data_avail_warn to canary ci test
ceph cluster on ci mostly have health error
mon disk low on size,
so overriding the min aval capacity to 0 from 30% default so this
error can be removed

Closes: rook#10971

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit df8493d77b)
2022-09-15 16:10:13 +00:00
Satoru Takeuchi 326be2f07a Merge pull request #10996 from rook/mergify/bp/release-1.9/pr-10992
docs: add logical volume to storage options (backport #10992)
2022-09-15 23:26:16 +09:00
Satoru Takeuchi 0cabc1c295 docs: add logical volume to storage options
Rook supports osd on logical volume in host-based clusters. Let's add it
to the list of valid device types.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit b52e6a0da8)
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-09-15 14:16:20 +00:00
Satoru Takeuchi 5c3b9d9a1f Merge pull request #10998 from rook/mergify/bp/release-1.9/pr-10951
docs: Clarify storage prereqs in quickstart guide (backport #10951)
2022-09-15 22:20:29 +09:00
Travis Nielsen 7bf96fd39f docs: clarify storage prereqs in quickstart guide
The quickstart guide prerequisites have diverged from the storage
requirements on the prereqs doc page, now they are in sync again.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit d5f100def1)
2022-09-15 13:16:09 +00:00
Travis Nielsen cecbbfdecd Merge pull request #10981 from rook/mergify/bp/release-1.9/pr-10968
osd: disallow to create encrypted osd on partition (backport #10968)
2022-09-13 14:10:29 -06:00
mergify[bot] 12e08f9087 Merge pull request #10978 from rook/mergify/bp/release-1.9/pr-10969
ci:  disallow to create encrypted osd on lv and osd on lv with metadata device (backport #10969)
2022-09-13 20:04:40 +00:00
Satoru Takeuchi 176c2cb0fa osd: disallow to create encrypted osd on partition
Rook doesn't support encrypted osd on partition. So we should
skip partitions as candidates of the new encrypted osds.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 591fc5f68b)
2022-09-13 19:27:16 +00:00
mergify[bot] 6177720355 Merge pull request #10976 from rook/mergify/bp/release-1.9/pr-10700
monitoring: fix pool growth warning grouping (backport #10700)
2022-09-13 18:01:16 +00:00
Satoru Takeuchi eabb8dad50 ci: disallow to create osd on lv with metadata by accident
OSD on LV with metadata device is not supported. So we once we made
a fix to disallow this configuration. However, it's insuffucient
because we forgot to reset `matched` flag.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 39cc6059f1)
2022-09-13 17:36:47 +00:00
Satoru Takeuchi 06498701e3 ci: disallow to create encrypted osd on lv
Rook doesn't support encrypted OSD on LV. Without disallowing
this configuration, ceph-volume results in failure.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 7969450589)
2022-09-13 17:36:47 +00:00
Jamison Lofthouse 318f4c535b monitoring: fix pool growth warning grouping
Predict linear will continue to predict on exporter data from old pods.
We can take the max value for every hour in the 2 day window before we
linearly predict to get the most conservative estimate. This will only
affect the hour in which a new mgr pod is started.

Fixes #10691

Signed-off-by: Jamison Lofthouse <jamison.lofthouse@gmail.com>
(cherry picked from commit f553034351)
2022-09-13 17:32:19 +00:00
Travis Nielsen d284155647 Merge pull request #10959 from rook/mergify/bp/release-1.9/pr-10931
external: do not add info=read cap if ceph version doesn't support it (backport #10931)
2022-09-13 08:25:46 -06:00
parth-gr 32e4160971 external: do not add info=read cap if ceph version doesn't support it
The rgw ip validation feature was needing to update the rgw user
cap to add info=read permission, but this permission is only backported
till ceph pacific, so we added a check that only add this cap
when ceph version support it,
But this cap was also adding with the other caps, so removed it from there
Now it will only add this cap if ceph version support it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 54425803b6)
2022-09-12 21:16:28 +00:00
Travis Nielsen fd5e0d57e5 Merge pull request #10876 from subhamkrai/mergify/bp/release-1.9/pr-10699
ci: ubuntu 18.04 is deprecated upgrade to ubuntu 22.04
2022-09-08 11:56:42 -06:00
mergify[bot] 2dad6e5869 Merge pull request #10940 from rook/mergify/bp/release-1.9/pr-10871
docs: Update the latest-release docs to 1.10 (backport #10871)
2022-09-08 17:30:04 +00:00
Travis Nielsen af41e4b32c docs: update the latest-release docs to 1.10
With the v1.10.0 release out, the latest-release docs need
to point to the 1.10 release. With each release we will
update to the next release branch when we have shipped.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c4304e4b92)
2022-09-08 17:05:24 +00:00
Travis Nielsen e1495985fd Merge pull request #10920 from rook/mergify/bp/release-1.9/pr-10776
operator: improve ProbeHandler error message (backport #10776)
2022-09-07 15:30:57 -06:00
mergify[bot] 2e1514a048 Merge pull request #10922 from rook/mergify/bp/release-1.9/pr-10908
ci: improve the log on intermittent build failure (backport #10908)
2022-09-07 20:17:57 +00:00