Commit Graph
7961 Commits
Author SHA1 Message Date
Blaine Gardner e7ac118dd4 build: add missing junit line to go.sum
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-12-04 13:30:14 -07:00
Blaine Gardner 744e18c3bc Merge pull request #6773 from BlaineEXE/revert-lib-bucket-prov-fix
Revert "ceph: update object bucket provisioner library"
2020-12-04 11:11:39 -07:00
Blaine Gardner 3fe61c115e ceph: add a missed cleanup item in obc provisioner
Add a cleanup item to remove user if it fails on S3 agent creation.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-12-04 10:47:32 -07:00
Blaine Gardner e6ba1b469d ceph: add objectBucketName to OBC CRD manifests
If this property is present, this should fix some of the
first-time-creation issues with OBCs reported in bug #6751.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-12-04 10:42:36 -07:00
Sébastien Han 44305085df Merge pull request #6759 from travisn/aggregate-affinity
ceph: Merge placement node affinity for stretch clusters
2020-12-04 18:12:08 +01:00
Blaine Gardner 22cd1bf0f2 Revert "ceph: update object bucket provisioner library"
This reverts commit 3b4ee6c8e3.

Revert the fix that introduces the following bug on upgrade:
https://github.com/rook/rook/issues/6767

This fix as well as a fix for the upgrade case will follow in days to
come.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-12-04 10:04:34 -07:00
Travis Nielsen c083711c3d ceph: merge required node affinity for stretch clusters
Stretch clusters require certain node affinity for the mons and
must also be merged with the required node affinity in the placement
of the cluster CR. All conditions, both requested and generated must
be met, rather than one overriding the other.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-04 09:20:34 -07:00
Travis Nielsen 156774c459 ceph: remove obsolete topology comments and fix comment typo
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-04 09:10:52 -07:00
Travis Nielsen 6fb3c522bb Merge pull request #6768 from shaas/master
ceph: fix #6214 New node is not provisioned when useAllNodes: true
2020-12-04 08:57:49 -07:00
Sébastien Han 3b9dad94c9 Merge pull request #6714 from leseb/mgr-port-config-external-simple
ceph: ability to set external services ports
2020-12-04 16:18:43 +01:00
Stefan Haas a6ee5657ae ceph: fix #6214 New node is not provisioned when useAllNodes: true
Signed-off-by: Stefan Haas <shaas@suse.com>
2020-12-04 15:05:58 +01:00
Sébastien Han 6aab4f79d2 Merge pull request #6757 from Aisuko/fix-doc-broken-address
docs: Replace the broken addresses of the document
2020-12-04 11:54:09 +01:00
Sébastien Han 1cc4c22e6c Merge pull request #6763 from leseb/fix-6762
ceph: fix cluster.yaml example
2020-12-04 10:39:22 +01:00
Sébastien Han f2bfb094f9 ceph: fix cluster.yaml example
Uncomment the `cleanupPolicy:` so that the file can be injected.

Closes: https://github.com/rook/rook/issues/6762
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-12-04 10:18:08 +01:00
aisuko 5ccde7691c docs: replace the broken addresses of the doc
Replace the old links which were broken.

Signed-off-by: aisuko <urakiny@gmail.com>
2020-12-04 17:14:36 +08:00
Sébastien Han 8aaff235bb ceph: ability to set external services ports
When the cluster is external we want to expose manager service port
along with the endpoints.
This allows us to connect but Rook will keep on using 9283 as a facing
port for Prometheus and more.

```
monitoring:
  enabled: true
  ...
  ...
  externalMgrPrometheusPort: 9283
```

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-12-04 09:52:09 +01:00
Travis Nielsen c10bf1c044 Merge pull request #6758 from subhamkrai/helm-it
ci: helm integration test is failing on pre-k8s-1.16
2020-12-04 00:06:21 -07:00
subhamkrai c22590e2cb ci: helm integration test is failing on pre-k8s-1.16
testCephHelmSuite is failing in pre-k8s v1.16
due to invalid schema. v1beta1 doesn't support
null value so returning quotes instead of an empty
string.

Signed-off-by: subhamkrai <srai@redhat.com>
2020-12-04 10:52:32 +05:30
Blaine Gardner bc08f51f65 Merge pull request #6699 from BlaineEXE/update-lib-bucket-provisioner
ceph: update object bucket provisioner library
2020-12-03 14:47:44 -07:00
Blaine Gardner 3b4ee6c8e3 ceph: update object bucket provisioner library
The library for object bucket provisioning is updated to fix errors
during provisioning.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-12-03 09:43:12 -07:00
Sébastien Han ada6d6a59a Merge pull request #6687 from leseb/fix-6659
ceph: include csi by default in the csv
2020-12-03 09:56:42 +01:00
Sébastien Han f27b954963 Merge pull request #6742 from travisn/rgw-service-selector
ceph: RGW service selector should not change during upgrade
2020-12-03 09:30:18 +01:00
Travis Nielsen 8913a14ce4 ceph: rgw service selector should not change
If the selector changes on the rgw service, during upgrade the
clients will briefly not be able to connect to the rgw pods.
After all the pods are updated with any new labels, the connections
would be restored, but we want to avoid that temporary outage.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-02 16:45:02 -07:00
Blaine Gardner a31f5a7265 Merge pull request #6657 from BlaineEXE/obc-add-more-debugging
ceph: add more debug logging to obj bucket claims
2020-12-02 10:13:10 -07:00
Sébastien Han 8170fa2326 Merge pull request #6731 from thotz/minorupdatesforkmsdoc
docs: update vault kms integration doc
2020-12-02 14:35:49 +01:00
Jiffin Tony Thottan a92a58e23e docs: update vault kms integration doc
correct the name policy mentioned

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2020-12-02 11:52:07 +05:30
Travis Nielsen 75af038309 Merge pull request #6726 from travisn/ceph-15.2.7
ceph: Update examples and base image to v15.2.7
2020-12-01 14:05:37 -07:00
Blaine Gardner e75dcac8a3 ceph: add more debug logging to obj bucket claims
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-12-01 14:01:33 -07:00
Travis Nielsen 94d6357b12 Merge pull request #6723 from travisn/clear-release-notes
docs: Clear the pending release notes for 1.6
2020-12-01 12:36:07 -07:00
Blaine Gardner 87ee8dce29 Merge pull request #6679 from leseb/add-log-collector
ceph: add log collector
2020-12-01 12:08:50 -07:00
Travis Nielsen 0a35a08f2f ceph: update examples and base image to v15.2.7
With the release of the latest octopus v15.2.7 we update the base
of the operator image and set the examples to use the same release
to pick up the security and other bug fixes.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-01 12:05:39 -07:00
Travis Nielsen c36868eb0a Merge pull request #6720 from cloudical-io/fix_label_merge
core: fix label merge
2020-12-01 11:56:52 -07:00
Travis Nielsen 6b8315c53c docs: clear the pending release notes for 1.6
The pending release notes were for v1.5, now cleared for adding
v1.6 features.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-01 11:10:15 -07:00
Travis Nielsen 5b72a3f866 Merge pull request #6719 from sp98/ignore-pending-daemons-on-cleanup
ceph: cleanup should ignore ceph daemon pods that are not scheduled on any node.
2020-12-01 10:37:46 -07:00
Santosh Pillai 753bdb3526 ceph: ignore unscheduled ceph daemons while cleaning up
Before cleaning up the cluster, we wait for all the daemon pods to be cleaned up. This fails when
a daemon is in pending state and has no NodeName. This PR ignores daemon pods that are not scheduled on any node.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2020-12-01 22:44:32 +05:30
Sébastien Han c6a87203ca ceph: add log collector
We can now collect logs directly into a side-car container.
A new CRD spec has been added:

spec:
  logCollector:
    enabled: true
    periodicity: 24h

Every 24h we will rotate log files for each Ceph daemon.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-12-01 16:30:17 +01:00
Alexander Trost 48d21947c2 core: fix label merge
This makes it so the label merging function returns a new Labels object
with the merged content instead of modifying the existing one, which
would cause previously merged labels to be returned for a different set
of input labels.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-12-01 15:11:21 +01:00
Blaine Gardner d5435e8092 Merge pull request #6717 from BlaineEXE/blaine-update-owners-md
docs: update Blaine's email in OWNERS.md
2020-11-30 16:50:51 -07:00
Blaine Gardner e529e72364 docs: update Blaine's email in OWNERS.md
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-11-30 15:44:36 -07:00
Satoru Takeuchi 859e86929f Merge pull request #6713 from kanekoh/doc_typo
test: Fixed a wrong test suite name
2020-11-27 23:46:51 +09:00
Hiroyuki Kaneko 862edaf371 test: fixed a wrong test suite name
A test suite name is not existing in the integration test suites.
Replace the wrong name "TestRookClusterInstallation_SmokeTest" with "TestARookClusterInstallation_SmokeTest"

Signed-off-by: Hiroyuki Kaneko <hkaneko@redhat.com>
2020-11-27 23:25:15 +09:00
Satoru Takeuchi a17cec45a6 Merge pull request #6709 from leseb/fix-6708
ceph: fix RBAC for cron cash pruner
2020-11-27 15:18:36 +09:00
Sébastien Han 6cede4574d Merge pull request #6710 from synarete/minikube-script-fixes
Minikube script fixes
2020-11-26 17:52:12 +01:00
Shachar Sharon 0786b72752 test: avoid minikube deprecated option
Minikube deprecates '--vm-driver' option. When user starts new minkube
run with '--driver=xxx', the test will fail and cause him to use the wrong
default value of 'virtualbox'.

Tested with minikube=v1.15.1, driver=kvm2 on Fedora32.

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
2020-11-26 18:16:49 +02:00
Shachar Sharon 72791c7151 test: use proper shell variable in minikube script
Users may prefer to use docker alternatives, by setting DOCKERCMD
variable, which is set by 'common.sh'. Use it in 'copy_image_to_cluster'
instead of plain 'docker'.

Tested with DOCKERCMD=podman (podman-2.1.1).

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
2020-11-26 18:16:42 +02:00
Sébastien Han 13da4a1521 ceph: fix RBAC for cron cash pruner
The rook-ceph-system service account was lacking delete permission and
the operator was complaining.

Closes: https://github.com/rook/rook/issues/6708
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-11-26 11:29:47 +01:00
Sébastien Han aca5a8cc53 ceph: use debug message for snap schedule
We don't need to print this every 60s in the operator log.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-11-26 09:12:11 +01:00
Satoru Takeuchi c953de538b Merge pull request #6702 from cloudical-io/fix_ceph_csi_pod_labels
ceph: fix pod labels set on csi components
2020-11-26 13:24:55 +09:00
Satoru Takeuchi d3ebaedc32 Merge pull request #6696 from leseb/fix-6685
ceph: fix metadata device passed by-id
2020-11-26 07:57:04 +09:00
Sébastien Han 78f22fcf6a Merge pull request #6693 from leseb/abort-reconcile-simple
ceph: ability to abort orchestration
2020-11-25 16:23:01 +01:00