Commit Graph
9803 Commits
Author SHA1 Message Date
travisn 056cd45fa2 monitoring: service monitor should not use mgr_role label
The service monitor selectors need to match the mgr service labels.
Since the mgr service labels don't use the mgr_role (only the mgr
service selectors use the mgr_role), the mgr_role should be removed
from the service monitor.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 754f073aa5)
2023-05-22 21:18:52 +00:00
Blaine Gardner aef34cc8b4 Merge pull request #12258 from rook/mergify/bp/release-1.11/pr-12211
operator: pull multus validation test images before test (backport #12211)
2023-05-20 00:23:14 +02:00
Blaine Gardner b0167660f5 operator: pull multus validation test images before test
Before starting multus validation test clients, pull the client image to
all nodes. This will ensure that variations in client readiness timing
will not be affected by variations in the time nodes take to pull the
image. This is intended to reduce the number of false reports of flaky
multus networks.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 3a27cb60b3)
2023-05-19 20:40:05 +00:00
Travis Nielsen 7de543bd27 Merge pull request #12248 from rook/mergify/bp/release-1.11/pr-12247
rbdmirror: Retry reconcile if cluster not initialized (backport #12247)
2023-05-18 08:48:53 -06:00
travisn c6eb3a33c6 rbdmirror: retry reconcile if cluster not initialized
The rbd mirror reconcile was not re-queuing the reconcile
if the cephcluster was not initialized. All other controllers
waiting for the initialization are requeuing the event,
just not the rbd mirror controller.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 2877523137)
2023-05-17 23:26:33 +00:00
Travis Nielsen d28192dc03 Merge pull request #12246 from rook/mergify/bp/release-1.11/pr-12224
docs: Dev guide review updates (backport #12224)
2023-05-17 15:30:15 -06:00
travisn f339ef1629 docs: dev guide review updates
The dev guide had some outdated info that is now updated,
as well as some rewording for consistency and improved
writing.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 9f2ecedf7b)
2023-05-17 20:30:00 +00:00
travisn d361b4ca1b docs: remove obsolete comments about old versions
Remove old mentions of rook or ceph versions that
are no longer relevant.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 0f6b099403)
2023-05-17 20:30:00 +00:00
Travis Nielsen 55ca7198d8 Merge pull request #12245 from rook/mergify/bp/release-1.11/pr-12204
docs: update the documentation for external rgw servers (backport #12204)
2023-05-17 14:28:52 -06:00
Jiffin Tony Thottan 81bcbf9b4d docs: update the documentation for external rgw servers
The StorageConfiguration docs for external needs to update with Rook
design

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 2a96967ed0)
2023-05-17 17:29:09 +00:00
Travis Nielsen dd581ad49a Merge pull request #12241 from travisn/release-1.11.6
build: Update release version to v1.11.6
v1.11.6
2023-05-16 15:41:36 -06:00
travisn abb948d8c9 build: update release version to v1.11.6
For the patch release update the docs and example manifests
to v1.11.6

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-16 14:57:19 -06:00
Travis Nielsen 18667fa45e Merge pull request #12240 from rook/mergify/bp/release-1.11/pr-12164
osd: Support expanding lvm osd on pvc (backport #12164)
2023-05-16 14:13:55 -06:00
Satoru Takeuchi 4c0c67df1a osd: supoprt expand lvm osd on pvc
The expansion of OSD on PVC is only supported in raw mode OSD.
It's nice to support lvm mode osd too.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 13e4464fed)
2023-05-16 17:03:24 +00:00
Travis Nielsen 75c9efa443 Merge pull request #12239 from rook/mergify/bp/release-1.11/pr-12238
external: fix rgw check if no multisite flag is passed (backport #12238)
2023-05-16 10:38:59 -06:00
parth-gr 66a48dea6d external: fix rgw check if no multisite flag is passed
if there is no multisite config pass, it will still checks for
the zones and zones group and not able to query anything

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit ec2681f82b)
2023-05-16 15:58:33 +00:00
Travis Nielsen b57fbf2ab2 Merge pull request #12226 from rook/mergify/bp/release-1.11/pr-12190
docs: update ruleNamesapce to rulesNamespaceOverride (backport #12190)
2023-05-15 09:59:35 -06:00
parth-gr 3fce0e443e docs: update ruleNamesapce to rulesNamespaceOverride
there were some places where rulenamesapce was present updated to rulesNamespaceOverride

Closes: rook#12163
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 060bd00281)
2023-05-11 17:02:50 +00:00
Travis Nielsen 6bcb53749d Merge pull request #12222 from rook/mergify/bp/release-1.11/pr-12216
monitoring: Skip creating the service monitor for the exporter if monitoring is not enabled (backport #12216)
2023-05-10 15:49:45 -06:00
Travis Nielsen 21c50bc423 Merge pull request #12221 from rook/mergify/bp/release-1.11/pr-12215
core: add termination grace period for exporter pods (backport #12215)
2023-05-10 12:55:50 -06:00
travisn eac19b36d3 monitoring: no service monitor by default for exporter
The exporter is enabled by default, but the service monitor
can only be enabled if prometheus CRDs are available. The
monitoring.enabled must be set to true as the flag that
prometheus is available and the service monitor should
be created.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 1b80767877)
2023-05-10 15:57:06 +00:00
avanthakkar 262597b2c2 core: add termination grace period for exporter pods
Shorten the termination time for exporter pod before it
gets deleted to avoid crashing of pod.
Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 8a8eb863d0)
2023-05-10 13:58:27 +00:00
Travis Nielsen cdfcb9b994 Merge pull request #12210 from rook/mergify/bp/release-1.11/pr-12170
servicemonitor for rook-ceph csi drivers (backport #12170)
2023-05-08 12:28:09 -06:00
Travis Nielsen 065fa8f7b5 Merge pull request #12209 from rook/mergify/bp/release-1.11/pr-12193
monitoring: Configurable option to disable prometheus metrics (backport #12193)
2023-05-08 11:44:10 -06:00
Cyril Jouve c73591860b helm: servicemonitor for rook-ceph csi drivers
the ServiceMonitor depends on:
* monitoring.enabled (availability of prometheus-operator)
* csi.serviceMonitor.enabled, to create the ServiceMonitor
* csi.enableGrpcMetrics and csi.enableLiveness to enable their
  respective endpoints in the ServiceMonitor

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit 6b0a8cadfc)
2023-05-08 17:38:53 +00:00
travisn 6cbf660e00 monitoring: configurable option to disable prometheus metrics
The prometheus mgr module and ceph exporter can now be optionally
disabled by the monitoring.metricsDisabled setting in the
CephCluster CR. These will not be disabled by default, rather
than the mgr module being disabled by default from v1.11.4.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 92a0ab37e3)
2023-05-08 17:04:32 +00:00
Travis Nielsen b7827a74e4 Merge pull request #12199 from rook/mergify/bp/release-1.11/pr-12137
mgr: Default to active mgr label (backport #12137)
2023-05-08 07:23:41 -06:00
travisn 28edc07c5b mgr: default to active mgr label
The active and standby labels are updated on the mgr pods
by the mgr sidecar. In the case of a single mgr, there is
not sidecar, so the dashboard and other mgr services were
not available when there was a single mgr. Now the mgr
pod will default to the active mgr status label so that
the single mgr case will succeed. In the case of two mgrs,
the sidecar will immediately update the standby mgr to
remove the active status label.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 1fa3c5ae18)
2023-05-05 20:52:56 +00:00
Travis Nielsen 317be1d4fa Merge pull request #12135 from rook/mergify/bp/release-1.11/pr-11976
osd: allow scanning devices with filter (backport #11976)
2023-05-05 14:51:50 -06:00
Travis Nielsen 96c629d539 Merge pull request #12197 from rook/mergify/bp/release-1.11/pr-12194
core: disable controller runtime metrics server (backport #12194)
2023-05-05 14:51:22 -06:00
Travis Nielsen f741d5cb79 Merge pull request #12198 from rook/mergify/bp/release-1.11/pr-11845
mgr: use mgr_role dynamic label to tag the active ceph manager (backport #11845)
2023-05-05 14:50:58 -06:00
Travis Nielsen 7d2461325f Merge pull request #12196 from rook/mergify/bp/release-1.11/pr-12192
operator: use KUBECONFIG context for cli if present (backport #12192)
2023-05-05 11:52:29 -06:00
Redouane Kachach 5395d17a55 mgr: using dynamic mgr_role label to implement mgr HA
Closes: https://github.com/rook/rook/issues/11844

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit f00bd790a8)
2023-05-05 17:52:23 +00:00
Madhu Rajanna c7cb7c0588 core: disable controller runtime metrics server
As we are not using the controller runtime
metrics we dont even need to start the server
as its just uses extra resouces and its not
much useful.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6f30700f5e)
2023-05-05 17:45:24 +00:00
Blaine Gardner 2673c466d2 operator: use KUBECONFIG context for cli if present
Use contents of KUBECONFIG var for creating Kubernetes client interface
if its present. This allows running rook CLI commands locally for
quicker development iteration.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit b72761c1a1)
2023-05-05 16:39:11 +00:00
Javier f39fd30756 test: increase integration-test timeout
increase timeouts in order to allow to have ready all the resources and
avoid failures in some pipelines due timeout

Closes: #10340
Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit cd711414bb)
2023-05-05 10:28:27 -06:00
Javier 7e82ddc839 osd: allow to use filter device
this feature is to allow the use of filters using the deviceFilter flag
by skipping devices that do not match the filter

Closes: #10340
Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 884d5e9855)
2023-05-05 10:27:04 -06:00
Travis Nielsen 7ae45369d1 Merge pull request #12189 from rook/mergify/bp/release-1.11/pr-12182
external: fix rgw multisite config check (backport #12182)
2023-05-05 10:24:25 -06:00
Travis Nielsen 30cd9ee3c1 Merge pull request #12191 from rook/mergify/bp/release-1.11/pr-12187
operator: validate multus validation networks in cli (backport #12187)
2023-05-04 15:02:31 -06:00
Blaine Gardner 583ce2b774 operator: validate multus validation networks in cli
Even though this is validated in the validation process, validating in
the cli gives better user feedback and doesn't spam the user with
suggestions for the failure that aren't relevant.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 60bf33f39c)
2023-05-04 20:15:43 +00:00
Travis Nielsen 5adea62992 Merge pull request #12188 from rook/mergify/bp/release-1.11/pr-12186
operator: fix package logger name for rookcli (backport #12186)
2023-05-04 13:49:21 -06:00
Travis Nielsen f005bf38ea Merge pull request #12184 from rook/mergify/bp/release-1.11/pr-12179
docs: update documentation for CRDs (backport #12179)
2023-05-04 13:49:03 -06:00
parth-gr 95c356e5b9 external: fix rgw multisite config check
the check validate_rgw_multisite was always checking for realm
updated it to check the specific config

fixed validate_rgw_endpoint pool validation

added missing realm zonegroup and zone while interacting with user resources

Co-authored-by: Sergio Pérez Fernández <sergioperez794@gmail.com>
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit c50c308abe)
2023-05-04 19:48:35 +00:00
Blaine Gardner d69d6fe196 operator: fix package logger name for rookcli
Name was accidentally modified in PR #12069.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit d38d4d7d1e)
2023-05-04 18:34:55 +00:00
Travis Nielsen 85e3b39f28 Merge pull request #12183 from rook/mergify/bp/release-1.11/pr-12181
ceph: unset all the encryption configuration before setting (backport #12181)
2023-05-03 11:49:17 -06:00
Javier a30a227526 docs: update documentation for CRDs
update generation of documents for CRDs automatically

Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 4ef2c43b55)
2023-05-03 17:45:05 +00:00
Travis Nielsen a16346b9da Merge pull request #12178 from rook/mergify/bp/release-1.11/pr-12110
docs: add support for autogenerated docs for CRDs (backport #12110)
2023-05-03 11:43:47 -06:00
Madhu Rajanna b5584ce8a0 core: unset all encryption configuration before setting
if the configuration is already set in the ceph
database, using `ceph config assimilate-conf`
will add the key and value if its missing but
it wont update the value if the key is already
present, To fix this problem we can remove the
key and add all the configurations once again.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 1139cefc94)
2023-05-03 16:56:59 +00:00
Travis Nielsen 391e3e2c13 Merge pull request #12177 from travisn/release-1.11.5
build: Update patch version to v1.11.5
v1.11.5
2023-05-02 16:23:36 -06:00
travisn b70cc768f0 build: update patch version to v1.11.5
For the patch release the docs and examples are updated to
v1.11.5

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-02 14:50:00 -06:00