Commit Graph
10714 Commits
Author SHA1 Message Date
Praveen M e596f31cf0 csi: fix NetNamespaceFilePath generation
Corrected the NetNamespaceFilePath generation in the
subvolumegroup & radosnamespace controller by replacing
the cephCluster.Name with cephCluster.Namespace.

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit 67ff924b57)
2024-02-01 16:33:34 +00:00
Travis Nielsen dd7e6e4b81 Merge pull request #13640 from rook/mergify/bp/release-1.13/pr-13622
csi: option to customize csi driver name prefix (backport #13622)
2024-01-31 16:38:07 -07:00
Travis Nielsen 42388d2971 Merge pull request #13661 from rook/mergify/bp/release-1.13/pr-13644
mgr: use the ac-user-set-password cmd to update the password (backport #13644)
2024-01-31 16:36:39 -07:00
Redouane Kachach 64e01267c6 mgr: use the ac-user-set-password cmd to update the password
previous code was calling the following command to create the
dashboard user:
> ceph dashboard ac-user-create <username> -i <password-file>
this works the first time when the user doesn't exist, however subsequent
calls for example when the password has changed or when the secret was
deleted from k8s, will not take place as this command will succeeded
because the user already exists but the password is not updated in
this case. The fix consists in adding an explicit call to the command:
> ceph dashboard ac-user-set-password <username> -i <password-file>
which ensures the password is updated correctly in the access control db

Fixes: https://github.com/rook/rook/issues/13594

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit cb028f3a28)
2024-01-31 15:48:00 +00:00
Travis Nielsen 1635d10635 Merge pull request #13660 from rook/mergify/bp/release-1.13/pr-13655
object: fix the default multisite zonegroup creation (backport #13655)
2024-01-31 08:46:46 -07:00
parth-gr 2cc5682a35 object: fix the deafult multisite zonegroup creation
there was a bug in the code which doesn't
sets realm if we try to get the zonegoup
so because of that 1.12 this backport pr
for original change was not working

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit a9c77280c6)
2024-01-31 14:57:45 +00:00
Travis Nielsen c46f1bdd3f Merge pull request #13650 from rook/mergify/bp/release-1.13/pr-13646
docs: clarify the k8s versioning in the doc (backport #13646)
2024-01-30 10:58:50 -07:00
parth-gr 38685a2278 docs: clarify the k8s versioning in the doc
we need to clarify what all version we do support

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit bad4e972ee)
2024-01-30 17:51:59 +00:00
mergify[bot] ad259eeadd Merge pull request #13649 from rook/mergify/bp/release-1.13/pr-13645
ci: reformat the python script (backport #13645)
2024-01-30 16:58:39 +00:00
Blaine Gardner 5e117fa652 Merge pull request #13647 from rook/mergify/bp/release-1.13/pr-13621
object: watch updates for cosidriver crd (backport #13621)
2024-01-30 09:48:28 -07:00
parth-gr 6812215dbd ci: reformat the python scripts
currently there is a new release of black
formatter so updating it with new release

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

Signe-off-by: parth-gr <partharora1010@gmail.com>
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 75fcffd08c)
2024-01-30 16:28:58 +00:00
Jiffin Tony Thottan 7b8a63817a object: watch updates for cosidriver crd
The changes made to cosi driver are reflected. Add the cosidriver crd to
predicate workflow.

Fixes: #12545
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 3da2331fa3)
2024-01-30 16:07:18 +00:00
Madhu Rajanna 61bab8d17a csi: option to customize csi driver name prefix
For now we are using the operator namespace name
as the prefix for the csi driver, This PR provides
an option for the users if someone wants to have
their own prefix for the csi driver, if someone tries
to change the prefix for existing csi driver rook
operator will fail to reconcile the csi driver.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit c35a8532aa)
2024-01-29 11:27:10 -07:00
Travis Nielsen f3fb3e5081 Merge pull request #13629 from rook/mergify/bp/release-1.13/pr-13604
mgr: fixing dashboard configuration handling (backport #13604)
2024-01-26 08:05:11 -07:00
Redouane Kachach 32ba155566 mgr: adding logic to keep retrying in case mgr config delete fails
we dont set removeMgrDaemonConfiguration to true unless all the
delete operations went successfull.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 39c06d2fa5)
2024-01-26 01:52:12 +00:00
Redouane Kachach 5baaf2da46 mgr: fixing dashboard configuration handling
previously, the dashboard parameters supported by Rook were stored in the
daemon configuration section (mgr.X, for example). This differs from
Cephadm-based deployments, where all configurations are stored in the
global mgr configuration section. This variance could result in
configuration mismatches between the active and standby dashboards.
Furthermore, all Ceph dashboard documentation exclusively points to
the global mgr configuration section and makes no use of individual
daemons sections.

Fixes: https://github.com/rook/rook/issues/13577

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 57e3937d40)
2024-01-26 01:52:12 +00:00
Travis Nielsen 54663a4333 Merge pull request #13628 from travisn/release-1.13.3
build: Update the release version to v1.13.3
v1.13.3
2024-01-25 17:04:51 -07:00
travisn 93de9be484 build: update release version to v1.13.3
For the patch release update the examples and docs
to v1.13.3

Signed-off-by: travisn <tnielsen@redhat.com>
2024-01-25 13:30:22 -07:00
mergify[bot] 7c97d13509 Merge pull request #13624 from rook/mergify/bp/release-1.13/pr-13619
operator: Increase resource limits to 1.5 CPU (backport #13619)
2024-01-25 18:45:34 +00:00
travisn e95be76a36 operator: increase cpu limits
The operator needs to burst significantly when reconciling,
then will quiet down and nearly not consume any cpu.
Therefore, we allow the operator to burst to more than
a full cpu instead of limiting it to a half cpu.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit ca28887403)
2024-01-25 18:15:52 +00:00
Travis Nielsen 0f72565d79 Merge pull request #13612 from rook/mergify/bp/release-1.13/pr-13609
helm: Remove duplicated toolbox keyring (backport #13609)
2024-01-23 11:46:06 -07:00
Erik Berg f456b66e2e helm: remove duplicate key for toolbox keyring
We set `ceph_secret=${ROOK_CEPH_SECRET}` just a couple lines above,
and this duplicate is probably just an oversight.

This duplicate key is not present in the similar scripts in
  examples/toolbox.yaml
  examples/toolbox-operator-image.yaml

Signed-off-by: Erik Berg <erikberg@usit.uio.no>
(cherry picked from commit 2a225ac718)
2024-01-23 17:48:09 +00:00
Erik Berg 7b334ad875 helm: fix indentation/whitespace
Removing whitespace for consistency and wrong indentation level.
There's one actual "oopsie-fix" in here for CSI_ENABLE_READ_AFFINITY

Signed-off-by: Erik Berg <erikberg@usit.uio.no>
(cherry picked from commit 9a2d8505e7)
2024-01-23 17:48:09 +00:00
Santosh Pillai 714cdd4360 Merge pull request #13608 from rook/mergify/bp/release-1.13/pr-13590
osd: fix operator reconcile during OSD migration (backport #13590)
2024-01-23 06:50:14 +05:30
sp98 d57584ed1a osd: wait for the pgs to be clean
If migration of the OSDs is enabled, operator should wait
for the pgs to be clean after the all the OSDs have reconciled.
This will help add the exponential backoff for the operator
restarts when OSD migration is needed but PGs are still rebalancing the
data after last OSD migration.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 43d3bf147a)
2024-01-23 00:42:50 +00:00
Travis Nielsen a72e01527f Merge pull request #13607 from rook/mergify/bp/release-1.13/pr-13597
exporter: Skip reconcile on exporter deletion (backport #13597)
2024-01-22 10:31:37 -07:00
travisn 1b171ee34b exporter: skip reconcile on exporter deletion
The exporter pod is ephemeral and frequently being deleted
and re-created when ceph daemons are created. Therefore,
we need to skip reconciling based on the deletion
of the exporter deployment.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 995a64fb3a)
2024-01-22 16:39:38 +00:00
Travis Nielsen 3d02a6ad79 Merge pull request #13596 from rook/mergify/bp/release-1.13/pr-13588
manifest: Remove pg_autoscaler from mgr modules examples (backport #13588)
2024-01-19 14:56:05 -07:00
travisn 10650084be manifest: remove pg_autoscaler from mgr modules examples
The pg_autoscaler mgr module is no longer possible to disable.
Ceph requires the module to always be enabled. Now the
autoscaling configuration is done with a per-pool setting.

Now the rook module is shown as an example to enable.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit f0c30e2edb)
2024-01-19 21:38:51 +00:00
mergify[bot] 9e95479384 Merge pull request #13587 from rook/mergify/bp/release-1.13/pr-13573
csi: make leader election flags configurable (backport #13573)
2024-01-18 19:34:49 +00:00
Travis Nielsen f8037bf282 Merge pull request #13583 from rook/mergify/bp/release-1.13/pr-13579
csi: update csi provisioner to 3.6.3 (backport #13579)
2024-01-18 11:57:38 -07:00
Madhu Rajanna d4dcecea65 csi: make leader election flags configurable
This commit adds the flexibility to configure
leader election flags as per the user
requirement and also keeps the existing values
as the default one.

resolve: #13475

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 9b418d24a1)
2024-01-18 18:56:20 +00:00
Madhu Rajanna 50d5d1ccd5 csi: update csi provisioner to 3.6.3
updating csi provisioner to 3.6.3 to
as we have a bug in 3.6.2

resolves: #13475

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 85b86efee1)
2024-01-17 19:47:12 +00:00
Travis Nielsen de61a618e5 Merge pull request #13576 from rook/mergify/bp/release-1.13/pr-13258
csi: update cmdline args as used by ceph-csi (backport #13258)
2024-01-16 16:05:49 -07:00
Praveen M d568fb75aa csi: update cmdline args as used by ceph-csi
This commit adds cmdline args to enable
1. RecoverVolumeExpansionFailure
2. PreventVolumeModeConversion
3. HonorPVReclaimPolicy

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit a80396df1b)
2024-01-16 19:30:36 +00:00
Travis Nielsen 2b61a4d8a2 Merge pull request #13563 from travisn/release-1.13.2
build: Update the release version to v1.13.2
v1.13.2
2024-01-11 14:32:33 -07:00
travisn 080a660556 build: update release version to v1.13.2
For the patch release update the exampls and docs
to v1.13.2

Signed-off-by: travisn <tnielsen@redhat.com>
2024-01-11 14:04:59 -07:00
Travis Nielsen 26306ea771 Merge pull request #13543 from rook/mergify/bp/release-1.13/pr-13540
external: honour support of cluster-name legacy flag (backport #13540)
2024-01-11 14:03:31 -07:00
mergify[bot] 7c11d51e9d Merge pull request #13562 from rook/mergify/bp/release-1.13/pr-13561
mds: Increase max limit of mds active daemons (backport #13561)
2024-01-11 20:42:29 +00:00
travisn 3c6d13996e mds: increase max limit of mds active daemons
The mds max daemons had been set arbitrarily to 10.
Allow more mds daemons for clusters that have a
scenario for large numbers of mds to manage the
filesystem metadata.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 98816ad79f)
2024-01-11 20:13:19 +00:00
Satoru Takeuchi f17f7fb2b5 Merge pull request #13538 from rook/mergify/bp/release-1.13/pr-13479
core: fix error handling on setting watcher (backport #13479)
2024-01-10 13:08:14 +09:00
parth-gr a201cda3da external: honour support of cluster-name legacy flag
we have changed the --cluster-name flag to --k8s-cluster-name
but to support automation while upgrade we should support
the legacy flag

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 8e4ec01cbb)
2024-01-09 11:42:15 -07:00
Satoru Takeuchi 4505a4f8e4 core: core: fix error handling on setting watcher
If `cmClient.Watch()` failed, `watcher.Stop()` causes null pointer
dereference.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit b1a81509a5)
2024-01-09 13:19:00 +00:00
Travis Nielsen f056208d4b Merge pull request #13533 from rook/mergify/bp/release-1.13/pr-13524
osd: create ceph conf and keyring files before osd migration (backport #13524)
2024-01-08 08:45:42 -07:00
sp98 1b09e3678f osd: create config before migration osd
create the ceph config and keyring file in the osd prepare pod
before starting the OSD migration. These files are needed to
run any ceph command.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 94953f3f7b)
2024-01-08 14:55:01 +00:00
Travis Nielsen 468ff4294e Merge pull request #13505 from rook/mergify/bp/release-1.13/pr-13452
doc: add that resizing `encryptedDevice` is not yet supported for host-based clusters (backport #13452)
2024-01-05 12:10:44 -07:00
Travis Nielsen 4aa21fb6ad Merge pull request #13517 from travisn/backport-crd-shorten
backport: Shorten CRD descriptions to 100 chars
2024-01-05 12:09:41 -07:00
Blaine Gardner 267a7ff89a Merge pull request #13515 from rook/mergify/bp/release-1.13/pr-13506
multus: use nginx-unprivileged image from quay (backport #13506)
2024-01-05 11:42:12 -07:00
travisn 208da4edb0 manifest: shorten crd descriptions to 100 chars
Long CRD descriptions were pushing the size of the CRDs manifest
over 1MB, which causes issues when creating the CRDs. To shorten
the manifest, the descriptions are now limited to 100 chars.
This still gives some ability for dev tools to show a brief
description if needed. The generated CRD docs still contain
the full descriptions for reference.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 3c1b0692e4)
2024-01-05 10:19:58 -07:00
Blaine Gardner fdf9c6f2f1 multus: use nginx-unprivileged image from quay
Use Quay as the source for the nginx-unprivileged image used for the
Multus validation tool because Quay does not rate limit image pulls,
which are a common complaint for users of the tool.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit cd253d0218)
2024-01-05 15:05:18 +00:00