When host network is enabled, the operator needs to set the
dns policy to ClusterFirstWithHostNet so the request to the
rgw endpoint will resolve properly.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit fe70248a13)
Add missing commands to clean up devices. Without cleaning up these portions, Ceph detects these devices as belonging to another cluster.
Signed-off-by: Vilius Puškunalis <47086537+puskunalis@users.noreply.github.com>
(cherry picked from commit 84820093c5)
Fixes an example of setting specific pool properties where all values must be of type string. Also fixes the parameters key name.
Signed-off-by: Vilius Puškunalis <47086537+puskunalis@users.noreply.github.com>
(cherry picked from commit a7f338505c)
Adds the missing exporter container port to enable
proper Prometheus scraping and filtering.
Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
(cherry picked from commit fda1189dbf)
The development guide mentioned that commit messages
should be lengthy which has a negative connotation
of meaning long-winded.
This change rewords the corresponding part to sound more positive.
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 1d3f8c58fb)
currently rook images are only available in docker,
let's start pushing rook images to quay.io and ghcr.io as well.
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit df3c757141)
currently push-build runner is having python version 3.9
and some of the dependencies are failing when trying to install
with pip upgrading to 3.13(latest) fixed the issue.
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 3f1d0b192a)
There is a race condition in ceph v19 at startup of a
stretch cluster where if the .mgr pool is created by
the mgr pod after stretch mode is entered, the
devicehealth mgr module will crash and cause a
ceph HEALTH_ERR. The error then causes rook reconcile
of all CRs to be skipped because Rook is assuming
admin intervention is needed to continue. The fix
is to wait until the .mgr pool is created by the mgr
pod before entering stretch mode.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 8429affc79)
Some ceph health errors should not block the reconcile
of the cluster. Mgr modules do not have cause to block
the reconcile, as the cluster can usually work even
if a module is failing.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 3bd5881fe5)
ubuntu 20.04 is going to unsupported by April 1 and there
are planned brownouts planned from March 4th. so let's
upgrade to version 22.04.
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 1f4d2bb29b)
- Introduced a detailed markdown document outlining
procedures for safe cluster shutdown and restart
as per https://github.com/rook/rook/issues/14995
- Document includes steps to scale down applications,
set Ceph flags, and orderly shutdown of Ceph
components (operator, RGW, CSI, OSD, MON, MGR).
- Provides command examples for both scaling
down and scaling up deployments.
- Adds additional Q&A and best practices to help
cluster administrators manage maintenance with
minimal downtime.
Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
(cherry picked from commit 20f2af02ee)
The operator settings loaded from the configmap have proven
inefficient for load time and frequently checking the configmap.
To avoid this ineffenciency, the configmap is only loaded once
each time it is created or updated. The values in the configmap
are applied as environment variables, which then are very efficient
to query throughout the various controllers, without needing
to be concerned about loading the configmap again.
Co-authored-by: Dmitry Mishin <dmitry.mishin@gmail.com>
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit d109dc9029)
Kubernetes permits wildcards as leading members of this field, but if it is not quoted, then there will be a YAML parsing error.
Signed-off-by: Fabian Ponce <me@fabianponce.com>
(cherry picked from commit 7467f19c23)