Commit Graph
7961 Commits
Author SHA1 Message Date
Christian Hüning f0699c40bf Added Liveness Probe to Ceph Mgr
This will configure a liveness probe for every ceph mgr deployment

Signed-off-by: Christian Hüning <christian.huening@figo.io>
2019-05-17 07:24:28 +02:00
Sébastien Han 0fc3775b99 deployment: OLM integration
Add necessary script to auto-generate a CSV file for OLM.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-05-16 22:53:30 +02:00
Kaushal M 24d7c3059b tests/scripts: Fix minikube script for libvirt
The minikube script now uses the proper disk path (vda) when minikube is
configured to run with the libvirt driver.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-16 21:30:02 +05:30
Travis Nielsen 0c23e1cd4b Merge pull request #3182 from sabbot/Edgefs-bugfix-3181
Edgefs: Prevents multiple targets deployment on the same node
2019-05-15 14:31:55 -06:00
Travis Nielsen 4f1e96bd23 Merge pull request #3146 from sp98/crushDeviceClass
added device class pool property
2019-05-15 12:49:08 -06:00
Anton Skriptsov a0edbf627f Edgefs:3181 prevents multiple targets deployment on the same node
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-05-15 11:45:59 -07:00
Santosh Pillai 7d5afa29b8 added device class pool property
- Updated code to use deviceClass property when a pool is created for both "replicated" and "erasure code".
- Updated "ceph crush rule create-..." command to use "create-replicated" instead of "create-simple"
- Updated unit tests
- Updated (ceph-pool-crd.md) documentation to reflect the changes.
- Updated pending release notes.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2019-05-15 16:45:39 +05:30
Travis Nielsen 0dacfd4a0c Merge pull request #3093 from jarrpa/node-labels
Read node labels for provider topology
2019-05-14 14:07:17 -06:00
Travis Nielsen d798a03f81 Merge pull request #3171 from sabbot/s3x-proxy-container
Edgefs: Add s3 proxy container to S3X pod
2019-05-14 13:03:17 -06:00
Alexander Trost c689d9c328 Merge pull request #3170 from galexrt/fix_3148
docs: added missing delete for new manifest structure
2019-05-14 21:00:17 +02:00
Jose A. Rivera f3a1512983 Read node labels for provider topology
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-05-14 13:18:00 -05:00
Anton Skriptsov 57d4bb28b4 Edgefs: Add s3 proxy container to S3X pod
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-05-14 09:25:57 -07:00
Alexander Trost 76708d1d52 docs: added missing delete for new manifest structure
This corrects the cleanup instructions to delete operator.yaml but also
common.yaml to remove the reamining objects in one go.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-05-14 18:14:39 +02:00
Travis Nielsen 5c5a62bd01 Merge pull request #3158 from smueller18/patch-1
Validate yaml by removing incorrect space
2019-05-13 12:46:42 -06:00
Travis Nielsen 2288d2425d Merge pull request #3145 from travisn/upgrade-guide-failover-mons
Ceph: Upgrade guide for failing over mons to new default port
2019-05-13 12:12:26 -06:00
travisn b09ca55f3c ceph: upgrade guide describes failing over mons for new port
The default mon port has changed from 6790 to 6789. With the msgr2 work in nautilus,
the mons need to be listening on the default ports. These instructions will
direct the users to failover the mons to the new default port.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-05-13 11:56:06 -06:00
Alexander Trost cbf2c11d0b helm: fix PSP use cluster role (#3159)
helm: fix PSP use cluster role
2019-05-13 17:39:15 +02:00
Travis Nielsen fe823f92c8 Merge pull request #3143 from travisn/preserve-mon-port-host-networking
Ceph: Preserve the non-default port during upgrade for hostnetworking
2019-05-13 09:34:54 -06:00
Mateusz Gozdek b50c141a73 helm: fix PSP use cluster role
1b21e42a90 introduced a regression, where
podsecuritypolicy resource has been changed from 'extensions' group to
'apps', when it should be changed to 'policy'.

This prevents rook operator from spawning on a cluster with PSP enabled.

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-05-13 01:03:52 +02:00
Stephan Müller f1d7e3118e fix space
Signed-off-by: Stephan Müller <mail@stephanmueller.eu>
2019-05-12 16:55:48 +02:00
travisn cb82f36eba ceph: no need for --public-bind-addr with host networking
The mons require the --public-bind-addr when host networking is not in use
since the pod ip will be different from the service ip that will be
advertised to clients. When host networking is enabled, there is no
need for this argument since the endpoints will be the same to bind
inside the pod as what is advertised to clients.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-05-10 15:07:46 -06:00
travisn dbe3da97a1 ceph: preserve the non-default port for hostnetworking
Clusters using host networking will not work if the non-default port is
being used by the mons. Previous to rook 1.0 the mons were all
using the non-default port 6790 and now they are using the default port
of 6789 from 1.0. Now host networking will preserve the non-default port
to allow upgrades to continue working.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-05-10 12:24:57 -06:00
Travis Nielsen 0a9b049e17 Merge pull request #3149 from mvollman/metadata-per-osd
ceph: provision OSDs with metadataDevice config
2019-05-10 14:21:03 -04:00
Travis Nielsen ae4c2764ca Merge pull request #3151 from rohan47/image_vuln
Updated ceph image from v14.2.0-20190319 to v14.2.1-20190430
2019-05-10 13:50:53 -04:00
Michael Vollman a839527421 ceph: provision OSDs with metadataDevice config
provision OSDs with ceph-volume when metadtaDevice is set (#3108)
always print ceph-volume report before executing ceph-volume.

Signed-off-by: Michael Vollman <michael.b.vollman@gmail.com>
2019-05-10 11:47:15 -04:00
Travis Nielsen ff431e9f88 Merge pull request #3150 from ejez/patch-1
Update ceph-filesystem.md
2019-05-10 11:36:52 -04:00
rohan47 d4a29735ff Updated ceph image from v14.2.0-20190319 to v14.2.1-20190430
ceph image v14.2.0-20190319 has 3 high vulnerabilities so
updated it to v14.2.1-20190430
Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-05-10 20:11:10 +05:30
ejez b21b5b3748 Correct typo in the doc related to ceph shared file system
Signed-off-by: Ejez <ejez@protonmail.ch>
2019-05-10 14:38:44 +03:00
Madhu Rajanna 64f063fb69 update code for cephfs-csi
add test cases to test cephfs csi
update ceph-csi document

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-05-09 20:04:06 +05:30
Madhu Rajanna d9a5dc81e7 deploy attacher container for cephfs csi
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-05-08 12:43:14 +05:30
Maksim Nabokikh cb3b8168a0 ceph: add metrics for flexvolume driver
This allows to export persistent volume metrics.

Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2019-05-07 18:11:42 +04:00
Travis Nielsen 05b0166e4d Merge pull request #3103 from noahdesu/exec
ceph: generate self-signed cert via a command that can timeout
2019-05-06 12:39:51 -06:00
Noah Watkins e33eb98047 ceph: run self-signed cert creation with timeout
fixes: #2784

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-05-06 10:10:05 -07:00
Noah Watkins c2dbb93096 ceph: simplify the ceph command execution interface
this adds a structure to hold various settings related to executing ceph
cli commands, and introduces a common interface for configuring and
running such commands.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-05-06 10:10:05 -07:00
Noah Watkins b29ba26b12 exec: add timeout variant of exec with output file
the existing exec interface with timeout is effectively the same as
ExecuteCommandWithOutput plus a timeout. this patch adds a variant of
ExecuteCommandWithOutputFile that uses a timeout.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-05-06 10:10:05 -07:00
Alexander Trost 5060a8992b ceph: Check before copying binaries in osd pods (#3099)
ceph: Check before copying binaries in osd pods
2019-05-04 23:09:25 +02:00
Travis Nielsen 2c1b402bd0 Merge pull request #3110 from travisn/clear-pending-release-notes
Clear the pending release notes for the next release
2019-05-03 09:56:14 -06:00
travisn 0617c49bdf clear the pending release notes for the next release
Signed-off-by: travisn <tnielsen@redhat.com>
2019-05-03 09:47:43 -06:00
Travis Nielsen 9af273e1b4 Merge pull request #3083 from sp98/all-CI-logs
Optionally collect all CI logs using [all logs] flag.
2019-05-03 09:43:55 -06:00
Alexander Trost ec09c78331 Added separator to enable creation of multiple SCC (#3105)
Added separator to enable creation of multiple SCC
2019-05-03 16:06:42 +02:00
Kaushal M f48f73300f ceph: Check before copying binaries in osd pods
Before performing the copy, the OSD init container now checks
destination path exists. If the destination exists, it skips the copy.

The OSD pods copy the rook and tini binaries into a shared volume using
an init container. In restarting pods, this copy could fail with 'text
file busy'(ETXTBUSY), because the destination file in the shared volume
could be under execution. The restarting pods will enter a
'Init:CrashLoopBackOff' state after this, leaving the ceph cluster
degraded. Skipping the copy will allow the init containers to complete
successfully, allowing the pod to restart.

Fixes #2674.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-03 13:08:46 +05:30
Santosh Pillai d6f63166a0 Optionally collect all CI logs using [all logs] flag
Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2019-05-03 12:46:18 +05:30
Santosh Pillai fd81dd11a0 reverted commit - 1859096041
Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2019-05-03 12:46:17 +05:30
Umanga Chapagain 32057646cc Added separator to enable creation of multiple SCC
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-05-03 11:38:17 +05:30
Travis Nielsen 242e0328ec Merge pull request #3100 from travisn/doc-cleanup
Update for docs for consistency
v1.0.0
2019-05-02 13:32:23 -06:00
travisn 5098fc71ad docs: update for consistency after reviewing for release
Signed-off-by: travisn <tnielsen@redhat.com>
2019-05-02 13:28:11 -06:00
Alexander Trost 485c3c4e27 ceph-op: Remove taint check in "is node scheduable" func (#3063)
ceph-op: Remove taint check in "is node scheduable" func
2019-05-02 19:55:10 +02:00
Alexander Trost a15c9efb06 Add K8S_NAMESPACE env to EdgeFS containers (#3098)
Add K8S_NAMESPACE env to EdgeFS containers
2019-05-02 19:42:30 +02:00
Anton Skriptsov 3d88547068 Add K8S_NAMESPACE env to EdgeFS containers
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-05-02 09:07:28 -07:00
Alexander Trost 7cf8e99a8c ceph-op: Remove taint check in "is node scheduable" func
This removes the unnecessary check for taints on nodes in the
`GetNodeSchedulable()` function. This fixes that even though the user
has specified `tolerations` for, e.g., `NoSchedule` taints, that would
be ignored and the node(s) directly be "marked" as unschedulable.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-05-02 18:05:46 +02:00