Commit Graph
10265 Commits
Author SHA1 Message Date
Travis Nielsen a64f9bccf7 Merge pull request #12872 from mjnagel/docs-fixes-reef-support
helm: update docs/comments to reflect reef support
2023-09-08 12:50:43 -06:00
Micah Nagel 0ff224d453 helm: update docs to reflect reef support
some helm comments incorrectly indicate ceph v18 is not supported

Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>
2023-09-08 12:11:58 -06:00
Travis Nielsen 0eb1a6f200 Merge pull request #12867 from rook/dependabot/go_modules/github.com/hashicorp/vault/api-1.10.0
build(deps): bump github.com/hashicorp/vault/api from 1.9.2 to 1.10.0
2023-09-07 14:42:45 -06:00
Travis Nielsen 00ce3269a3 Merge pull request #12868 from rook/dependabot/go_modules/github.com/aws/aws-sdk-go-1.45.5
build(deps): bump github.com/aws/aws-sdk-go from 1.45.2 to 1.45.5
2023-09-07 14:42:15 -06:00
Travis Nielsen ccd961bda9 Merge pull request #12829 from subhamkrai/group-dependent
ci: use dependabot group feature
2023-09-07 13:55:49 -06:00
dependabot[bot] 160b0908c2 build(deps): bump github.com/aws/aws-sdk-go from 1.45.2 to 1.45.5
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.45.2 to 1.45.5.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.45.2...v1.45.5)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 19:50:05 +00:00
dependabot[bot] 3800df84a6 build(deps): bump github.com/hashicorp/vault/api from 1.9.2 to 1.10.0
Bumps [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/hashicorp/vault/releases)
- [Changelog](https://github.com/hashicorp/vault/blob/v1.10.0/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/vault/compare/v1.9.2...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/vault/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 19:48:47 +00:00
Blaine Gardner 17f0072d9d Merge pull request #12778 from BlaineEXE/multus-allow-cidr-spec
multus: allow using NADs without inspectable CIDRs
2023-09-07 13:42:41 -06:00
Blaine Gardner 3c43268d0a multus: detect network CIDRs via canary
Change how Rook detects network CIDRs for Multus networks. The IPAM
configuration is only defined as an arbitrary string JSON blob with a
"type" field and nothing more. Rook's detection of CIDRs for whereabouts
had already grown out of date since the initial implementation.
Additionally, Rook did not support DHCP IPAM, which is a reasonable
choice for users. And more, Rook did not support CNI plugin chaining,
which further complicates NADs. Based on the CNI spec, network chaning
can result in any changes to network CIDRs from the first-given plugin.

All these problems make it more and more difficult for Rook to support
Multus by inspecting the NAD itself to predict network CIDRs. Instead,
it is better for Rook to treat the CNI process as a black box. To
preserve legacy functionality of auto-detecting networks and to make
that as robust as possible, change to a canary-style architecture like
that used for Ceph mons, from which Rook will detect the network CIDRs
if possible.

Also allow users to specify overrides for CIDR ranges. This allows Rook
to still support esoteric and unexpected NAD or network configurations
where a CIDR range is not detectable or where the range detected would
be incomplete. Because it may be impossible for Rook to understand the
network CIDRs wholistically while residing only on a portion of the
network, this feature should have been present from Multus's inception.

Improving CIDR auto-detection and allowing users to specify overrides
for auto-detected CIDRs rounds out Rook's Multus support for CephCluster
(core/RADOS) installations. No further architectural changes should be
needed for CephClusters as regards application of public/cluster network
CIDRs for Multus networks.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2023-09-07 10:12:55 -06:00
Travis Nielsen 7fbb4cc349 Merge pull request #12844 from lbailleul/fix_discover
Fix discover daemonset default value for discovery interval
2023-09-07 08:10:00 -06:00
Louis Bailleul e56122cbce operator: config default interval value for discovery daemon
Correctly set discoveryInterval default value by passing defaultDiscoverInterval to k8sutil.GetValue
Allow to set ROOK_DISCOVER_DEVICES_INTERVAL env var through discoveryDaemonInterval helm value

Signed-off-by: Louis Bailleul <louis.bailleul@pgs.com>
2023-09-07 10:28:13 +01:00
Travis Nielsen bf2211b22e Merge pull request #12861 from subhamkrai/add-check-crd-csv
build: add check to validate crd in csv
2023-09-06 10:32:30 -06:00
subhamkrai 1b652f8176 build: add check to validate crd in csv
In the past we had few cases where the new crd
was missed adding in metadata-common.yaml file.
So, now we'll check if crds.yaml and metadata-common.yaml
crd name are matching.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-09-06 19:37:25 +05:30
Travis Nielsen 3e248bf9a3 Merge pull request #12840 from smuth4/fix/discovery-cm
helm: move discovery daemon settings into the configmap
2023-09-05 17:18:57 -06:00
Travis Nielsen e3c2b6449f Merge pull request #12846 from rook/dependabot/go_modules/github.com/aws/aws-sdk-go-1.45.2
build(deps): bump github.com/aws/aws-sdk-go from 1.44.329 to 1.45.2
2023-09-05 11:46:44 -06:00
Travis Nielsen 8b9faac1aa Merge pull request #12849 from rook/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
2023-09-05 11:38:57 -06:00
Travis Nielsen 3cf2388b42 Merge pull request #12847 from rook/dependabot/go_modules/k8s.io/cli-runtime-0.28.1
build(deps): bump k8s.io/cli-runtime from 0.28.0 to 0.28.1
2023-09-05 11:37:54 -06:00
Travis Nielsen 0ae3800929 Merge pull request #12770 from sp98/osd-migration-part2
osd: replace existing OSDs to use new store
2023-09-05 08:57:20 -06:00
dependabot[bot] 14f0a9e772 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 12:33:02 +00:00
dependabot[bot] 7db40eb300 build(deps): bump k8s.io/cli-runtime from 0.28.0 to 0.28.1
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) from 0.28.0 to 0.28.1.
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.28.0...v0.28.1)

---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 12:26:15 +00:00
dependabot[bot] 53839de365 build(deps): bump github.com/aws/aws-sdk-go from 1.44.329 to 1.45.2
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.329 to 1.45.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.329...v1.45.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 12:25:49 +00:00
Stephen Muth 37d8de0993 helm: move discovery daemon settings into configmap
This allows the rook mgr module to check if the discovery daemon is enabled. The udev blacklist setting was also moved just to keep similar settings in the same place.

Signed-off-by: Stephen Muth <smuth4@gmail.com>
2023-09-02 19:27:38 -04:00
Travis Nielsen ded675e758 Merge pull request #12825 from weirdwiz/service-monitor-port
monitoring: set port for servicemonitor for ceph-exporter
2023-09-01 11:58:41 -06:00
Travis Nielsen 3468a4a43f Merge pull request #12816 from obnoxxx/simplify-workflow
Simplify docs-check workflow by extracting functionality
2023-09-01 11:32:00 -06:00
Michael AdamandTravis Nielsen c8c97bb8a1 docs: mention make check-helm-docs and make docs in the contributing guide
Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: : Michael Adam <obnox@samba.org>
signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
2023-09-01 18:17:02 +02:00
Michael Adam 04670d3f76 ci: simplify the docs-check workflow by extracting functionality
This simplifies the docs-check workflow definition by extracting  functionality
directly coded into the workflow file into new make targets 'check-docs'
and 'check-helm-docs' and replacing the code in the workflow file by the simple invocation of
new make targets. As a side effect, it makes it easily possible for a
developer to check locally if they forgot to commit any autogenerated
docs.

Signed-off-by: Michael Adam <obnox@samba.org>
2023-09-01 18:17:02 +02:00
sp98 11b8d10a5a osd: replace existing OSDs to use new store
This follow up the #12507
- fixes replacing of encrypted OSDs.
- Updates OSD status at the end of reconcile

Signed-off-by: sp98 <sapillai@redhat.com>
2023-09-01 21:07:38 +05:30
Travis Nielsen 3f67a7861f Merge pull request #12791 from subhamkrai/restart-ceph-pods
core: restart ceph daemons when network updated
2023-09-01 08:42:08 -06:00
Travis Nielsen dadf2e5b84 Merge pull request #12487 from subhamkrai/enable-addons-sidecar
csi: enable csi-addons-side when crds are deployed
2023-09-01 07:23:41 -06:00
subhamkrai 3ce3ea53ff ci: use dependabot group feature
This commit enables dependabot to raise PR in groups to
reduce PR and save CI resources.
This uses the  beta groups feature of dependabot
More details here
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups

Signed-off-by: subhamkrai <srai@redhat.com>
2023-09-01 17:31:51 +05:30
Divyansh Kamboj 708dd29a97 monitoring: set port for servicemonitor for ceph-exporter
ceph-exporter's ServiceMonitor and Service CRD contain different port
name, which results in no metrics being collected by prometheus.

this commit makes GetCephMonitor configurable, which we use to set
consistent port names in ServiceMonitor and Service for ceph-exporter.

Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
2023-09-01 12:56:53 +05:30
subhamkrai 29d2b6a071 core: restart ceph daemons when network updated
We need to restart all the ceph daemons whenever
cephCluster network settings are modified like
requiremsgr2, encryption and compression. This
required for Ceph to consider the new settings
it require new ceph daemons all over.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-09-01 11:30:48 +05:30
Travis Nielsen 2fc513afce Merge pull request #12802 from rook/dependabot/go_modules/k8s.io/cloud-provider-0.28.1
build(deps): bump k8s.io/cloud-provider from 0.28.0 to 0.28.1
2023-08-31 15:38:46 -06:00
Travis Nielsen 35a86d4373 Merge pull request #12804 from thotz/check-owner-bucket-exist-grant
object: avoid creating same bucket for two different OBC
2023-08-31 15:09:46 -06:00
Travis Nielsen a06fd8a54d Merge pull request #12811 from parth-gr/external-name
external: change cluster_name to k8s_cluster_name
2023-08-31 08:14:00 -06:00
Travis Nielsen 0a680153f2 Merge pull request #12821 from subhamkrai/update-mergify
ci: update mergify to have latest k8s version
2023-08-31 07:55:42 -06:00
subhamkrai a755ec156a csi: enable csi-addons-side when crds are deployed
when deploying csi, we'll check if csi-addons crds
are deployed we'll enable csi-addons sidecar by default.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-08-31 11:28:49 +05:30
subhamkrai 62fa21063c ci: update mergify to have latest k8s version
updating .mergify backport for 1.12 branch
to include latest version of k8s v1.28.0 and
latest golang version v1.21.0

Signed-off-by: subhamkrai <srai@redhat.com>
2023-08-31 10:01:37 +05:30
Travis Nielsen 7b942b455c Merge pull request #12814 from anthonyeleven/anthonyeleven/tweak-osd-migration
cleanup of the OSD migration design document
2023-08-30 10:18:10 -06:00
parth-gr 98c4567219 external: change cluster_name to k8s_cluster_name
it was confusing if we are calling a ceph cluster name
or k8s cluster name, so re-named

Signed-off-by: parth-gr <paarora@redhat.com>
2023-08-30 14:07:58 +05:30
Anthony D'Atri ebb8d4f043 doc: cleanup of the OSD migration design document
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2023-08-30 00:37:58 -04:00
Travis Nielsen 163f0d3ccc Merge pull request #12808 from go-bai/fix_json_typo
mon: typo in json tag of struct MonMap
2023-08-29 08:05:47 -06:00
go-bai f4cfa95768 mon: typo in json tag of struct MonMap
The json tag in struct MonMap had a spelling error where "json" was incorrectly splled as "josn". This commit corrects the spelling to "json".

Signed-off-by: go-bai <599500688@qq.com>
2023-08-29 12:31:54 +08:00
Travis Nielsen 3ea9db4e3c Merge pull request #12748 from subhamkrai/upgrade-k8s-to-1.28.0
ci: upgrade the kubernetes versions for ci
2023-08-28 10:05:26 -06:00
Travis Nielsen f352aac746 Merge pull request #12797 from Madhu-1/fix-watcherip
ceph: return valid CIDR ip
2023-08-28 08:34:54 -06:00
Travis Nielsen 833731aea3 Merge pull request #12784 from subhamkrai/skip-10min-tmate
ci: enable tmate when in debug mode
2023-08-28 08:31:39 -06:00
Travis Nielsen 8bf2b2e24a Merge pull request #12799 from rook/dependabot/go_modules/github.com/IBM/keyprotect-go-client-0.12.2
build(deps): bump github.com/IBM/keyprotect-go-client from 0.10.0 to 0.12.2
2023-08-28 08:27:18 -06:00
Travis Nielsen 29ec29d37c Merge pull request #12798 from rook/dependabot/github_actions/aws-actions/configure-aws-credentials-3
build(deps): bump aws-actions/configure-aws-credentials from 2 to 3
2023-08-28 08:26:56 -06:00
dependabot[bot] 5ceef25f72 build(deps): bump k8s.io/cloud-provider from 0.28.0 to 0.28.1
Bumps [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider) from 0.28.0 to 0.28.1.
- [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.28.0...v0.28.1)

---
updated-dependencies:
- dependency-name: k8s.io/cloud-provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 14:01:08 +00:00
Travis Nielsen 6a32daa4bb Merge pull request #12803 from rook/dependabot/go_modules/k8s.io/apiextensions-apiserver-0.28.1
build(deps): bump k8s.io/apiextensions-apiserver from 0.28.0 to 0.28.1
2023-08-28 07:59:08 -06:00