Commit Graph
9785 Commits
Author SHA1 Message Date
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
Javier 2ab562c918 docs: auto-generate the documentation for CRDs
add generate-crd-docs.sh tool for auto-generate the documentation for CRDs automatically

Closes: #1873
Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 661e476969)
2023-05-02 20:48:46 +00:00
Travis Nielsen d4381f7408 Merge pull request #12150 from rook/mergify/bp/release-1.11/pr-12146
docs: Update core getting started docs for clarity (backport #12146)
2023-05-02 14:38:59 -06:00
Travis Nielsen 2c12f4ef7c Merge pull request #12171 from rook/mergify/bp/release-1.11/pr-12155
nfs: pare down config file volume sources (backport #12155)
2023-05-02 14:37:27 -06:00
Travis Nielsen c4e8015339 Merge pull request #12158 from rook/mergify/bp/release-1.11/pr-12151
ci: disable multi-cluster-mirroring (backport #12151)
2023-05-02 14:27:50 -06:00
Travis Nielsen d8bd4fa6d3 Merge pull request #12169 from rook/mergify/bp/release-1.11/pr-12069
test: add multus validation test routine to rook binary (backport #12069)
2023-05-02 13:55:45 -06:00
Blaine Gardner 52eb79c3bf nfs: pare down config file volume sources
Pare down the available volume sources for NFS config files so that the
CRD isn't unnecessarily huge. This allows us to recommend
`kubectl apply` again in the upgrade doc.

Size of the NFS CRD is reduced by approximately 60%.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 6500c11d57)
2023-05-02 13:53:55 -06:00
Travis Nielsen bd9874d408 Merge pull request #12168 from rook/mergify/bp/release-1.11/pr-12161
core: update k8s module to latest version (backport #12161)
2023-05-02 13:31:15 -06:00
subhamkrai 549ab54adf core: update k8s module to lastet version
updating k8s dependencies like clien-go and
others to v0.26.4

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit ad068d966a)
2023-05-02 12:25:28 -06:00
Blaine Gardner 8bb189c5c8 test: add multus validation test routine to rook binary
Add a more involved multus validation test to the Rook binary. Because
this is intended to be end-user runnable, make sure operator-only
commands are hidden.

Build this into the rook binary instead of creating a separate binary
for ease, and because any binary built with the kube api becomes 40+
megabytes. We save quite a bit of space by including this in the Rook
binary, which is good for keeping container layers as small as possible.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 0f6e7ee921)
2023-05-02 17:38:10 +00:00
Travis Nielsen 6eaa445a82 Merge pull request #12167 from rook/mergify/bp/release-1.11/pr-12149
mgr: fix ceph dashboard login issue (backport #12149)
2023-05-02 11:11:18 -06:00
parth-gr 9bc7debca5 mgr: fix ceph dashboard login issue
Dashboard ac-user-create cmd was taking more time
then the usual ceph command to run,
So increased the timeout to run the cmd, and
now dashboard admin user is sucessfully created

Closes: https://github.com/rook/rook/issues/12113
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit ed61d25fc3)
2023-05-02 16:29:40 +00:00
parth-gr a0a9d75ee5 ci: disable multi-cluster-mirroring
till we didn't resolve the multi-cluster-mirroring ci issue
lets keep it disable

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 423ad93fc0)
2023-05-01 07:35:46 -06:00
travisn ba00d251c6 docs: clarify docs for wording or obsolete info
Update the getting started guide, prereqs, architecture,
and other basic docs with more concise wording and removed
some obsolete information. Some links are removed so they
don't distract the user from reading the critical information
that we are conveying in the rook docs.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit ecdeb7aa9f)
2023-04-28 16:27:28 +00:00
Travis Nielsen abe5cd7d59 Merge pull request #12141 from rook/mergify/bp/release-1.11/pr-12132
external: check for pool and cluster name is provided (backport #12132)
2023-04-25 08:57:09 -06:00
parth-gr 67d4bc4998 external: check for pool and cluster name is provided
While adding the support for dot and special rbd pools
the check for pool and cluster name check was removed,
Adding it back as it is needed
https://github.com/rook/rook/pull/12056

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit e02942ab77)
2023-04-25 14:02:55 +00:00
mergify[bot] ff6cc553ae Merge pull request #12136 from rook/mergify/bp/release-1.11/pr-12075
core: Skip OBC controllers based on env variable (backport #12075)
2023-04-24 23:17:59 +00:00
mergify[bot] 7e9b89aa69 Merge pull request #12134 from rook/mergify/bp/release-1.11/pr-12109
add an ingress for ceph-objectores (backport #12109)
2023-04-24 23:07:23 +00:00
sp98 6cb4dab7d2 core: skip OBC and Notification controllers
Skip running Object Bucket and Object bucket notification
controllers based on env variable.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit e87338fbc4)
2023-04-24 16:28:26 +00:00