Commit Graph
13292 Commits
Author SHA1 Message Date
Blaine Gardner 2eb5a9a3f6 test: add CI e2e test for multus validation test
Add a CI e2e test for the multus validation routine that runs whenever
the multus validation test is modified and on master/releases.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-26 12:19:54 -06:00
Jiffin Tony Thottan ad0c000e6a object: add missing caps for object store user
Lot of new caps added to rgw users, reflecting same changes on the
object store user CRD.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2023-05-26 17:36:00 +05:30
Blaine Gardner 4af3f3784b Merge pull request #12259 from BlaineEXE/tmate-pod
test: add tmate pod manifest
2023-05-25 00:20:13 +02:00
Blaine Gardner eb54bf5aa2 Merge pull request #12231 from iPraveenParihar/custom-nginx-image-multus-test
test: allow specifying custom nginx image for multus validation
2023-05-24 20:55:33 +02:00
iPraveenParihar 78d6528153 test: allow specifying custom nginx image for multus validation
Allow overriding the nginx server image used for the web server and clients from CLI with --nginx-image flag.
Set default image in flag as 'nginxinc/nginx-unprivileged:stable-alpine'

Signed-off-by: iPraveenParihar <praveenparihar68@gmail.com>
2023-05-24 21:04:24 +05:30
Travis Nielsen 372f0a662d Merge pull request #12268 from travisn/service-monitor-selector
monitoring: Service monitor should not use mgr_role label
2023-05-22 15:18:13 -06:00
travisn 754f073aa5 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>
2023-05-22 14:20:19 -06:00
travisn fa5b758f9e docs: update the integration test guide
The integration test guide is updated to be more accurate
and provide more hints that the CI is the recommended
place to troubleshoot the integration tests

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-22 12:10:15 -06:00
Blaine Gardner e58b09c01c test: add tmate pod manifest
Add a tmate manifest that can be added to CI tests to allow manually
debugging them in real-time while the test is ongoing.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-19 16:59:23 -06:00
Blaine Gardner 943128dce4 Merge pull request #12211 from BlaineEXE/pull-image-to-all-nodes-before-multus-validate
operator: pull multus validation test images before test
2023-05-19 22:39:31 +02:00
Blaine Gardner 73c39ca5b4 Merge pull request #11598 from opencmit/fix-11592
nfs: adding RGW section in ganesha.conf
2023-05-18 21:46:51 +02:00
Travis Nielsen 6cdf60a41d Merge pull request #12247 from travisn/rbd-reconcile-retry
rbdmirror: Retry reconcile if cluster not initialized
2023-05-17 17:25:54 -06:00
travisn 2877523137 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>
2023-05-17 15:47:17 -06:00
Travis Nielsen 9b99ab209c Merge pull request #12224 from travisn/dev-guide-review
docs: Dev guide review updates
2023-05-17 14:29:20 -06:00
Travis Nielsen ffa3e16986 Merge pull request #12204 from thotz/update-external-rgw-server-documentation
docs: update the documentation for external rgw servers
2023-05-17 11:28:39 -06:00
Jiffin Tony Thottan 2a96967ed0 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>
2023-05-17 14:17:30 +05:30
Travis Nielsen 8e6e1959b3 Merge pull request #12164 from cybozu-go/osd-support-expand-lvm-osd-on-pvc
osd: Support expanding lvm osd on pvc
2023-05-16 11:03:05 -06:00
Travis Nielsen d0900baea5 Merge pull request #12238 from parth-gr/multisite-external-bug
external: fix rgw check if no multisite flag is passed
2023-05-16 09:58:00 -06:00
parth-gr ec2681f82b 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>
2023-05-16 20:10:29 +05:30
Satoru Takeuchi 13e4464fed 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>
2023-05-16 00:23:09 +00:00
Satoru Takeuchi b201a2b61b Merge pull request #12235 from rook/dependabot/github_actions/actions/github-script-6.4.1
build(deps): bump actions/github-script from 3.1.0 to 6.4.1
2023-05-16 07:52:03 +09:00
Travis Nielsen 84c3ac71bf Merge pull request #12234 from rook/dependabot/github_actions/actions/upload-artifact-3
build(deps): bump actions/upload-artifact from 2 to 3
2023-05-15 12:53:26 -06:00
dependabot[bot] 455c69ff8c build(deps): bump actions/github-script from 3.1.0 to 6.4.1
Bumps [actions/github-script](https://github.com/actions/github-script) from 3.1.0 to 6.4.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3.1.0...v6.4.1)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 12:59:20 +00:00
dependabot[bot] d1a62f4cf9 build(deps): bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 12:59:16 +00:00
Blaine Gardner 3a27cb60b3 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>
2023-05-11 16:00:33 -06:00
travisn 9f2ecedf7b 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>
2023-05-11 12:20:46 -06:00
travisn 0f6b099403 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>
2023-05-11 11:45:04 -06:00
Travis Nielsen 27504b0a25 Merge pull request #12190 from parth-gr/doc-update-rulenamespace
docs: update ruleNamesapce to rulesNamespaceOverride
2023-05-11 11:02:22 -06:00
parth-gr 060bd00281 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>
2023-05-11 17:26:04 +05:30
Travis Nielsen fd935f19a7 Merge pull request #12216 from travisn/no-service-mon-default
monitoring: Skip creating the service monitor for the exporter if monitoring is not enabled
2023-05-10 09:56:23 -06:00
Travis Nielsen 739efd29ba Merge pull request #12215 from avanthakkar/exporter-add-termination-grace-period
core: add termination grace period for exporter pods
2023-05-10 07:58:00 -06:00
travisn 1b80767877 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>
2023-05-09 14:52:40 -06:00
avanthakkar 8a8eb863d0 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>
2023-05-10 02:16:12 +05:30
Travis Nielsen db2402365a Merge pull request #12200 from travisn/roadmap-1.12
docs: Update the roadmap for v1.12
2023-05-09 12:40:15 -06:00
travisn 7f3fb51f97 docs: update the roadmap for v1.12
Update the roadmap for the 1.12 release in the July timeframe.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-08 14:34:09 -06:00
Travis Nielsen 0d455dd007 Merge pull request #12185 from s3rj1k/deps
build: run Golang module sync on dependabot PR
2023-05-08 12:15:57 -06:00
Travis Nielsen 87cab9a9f0 Merge pull request #12170 from jouve/svcmon
servicemonitor for rook-ceph csi drivers
2023-05-08 11:38:25 -06:00
Travis Nielsen dce20126df Merge pull request #12193 from travisn/prometheus-module-cfg
monitoring: Configurable option to disable prometheus metrics
2023-05-08 11:03:43 -06:00
Alexander Trost ae0823e52a Merge pull request #12202 from Sheetalpamecha/correct_link 2023-05-08 13:27:39 +02:00
Sheetal Pamecha 422b037cab docs: correct link for helm.sh file
Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
2023-05-08 09:58:48 +05:30
Cyril Jouve 6b0a8cadfc 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>
2023-05-06 12:16:10 +02:00
travisn 92a0ab37e3 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>
2023-05-05 16:04:51 -06:00
Travis Nielsen c79f1000f6 Merge pull request #12194 from Madhu-1/fix-metrics-port
core: disable controller runtime metrics server
2023-05-05 11:45:15 -06:00
Blaine Gardner 3a16953a29 Merge pull request #12192 from BlaineEXE/internal-external-client
operator: use KUBECONFIG context for cli if present
2023-05-05 18:38:30 +02:00
Blaine Gardner b72761c1a1 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>
2023-05-05 09:15:28 -06:00
Madhu Rajanna 6f30700f5e 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>
2023-05-05 11:02:47 +02:00
Blaine Gardner 7e9a2481f0 Merge pull request #12187 from BlaineEXE/multus-tester-require-one-of-networks-as-input
operator: validate multus validation networks in cli
2023-05-04 22:15:03 +02:00
Travis Nielsen 949ff26237 Merge pull request #12182 from parth-gr/multisite-check-fix
external: fix rgw multisite config check
2023-05-04 13:48:03 -06:00
parth-grandSergio Pérez Fernández c50c308abe 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>
2023-05-05 00:56:18 +05:30
Blaine Gardner 60bf33f39c 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>
2023-05-04 12:49:57 -06:00