Timothy Allen
ae46f31882
Add ENV flag for selinux labeling
...
Signed-off-by: Timothy Allen <kex.allen13@gmail.com >
2019-01-10 15:05:39 +00:00
Noah Watkins
e9a9509313
ceph: support dashboard ssl on/off
...
fixes : #2433
Signed-off-by: Noah Watkins <noahwatkins@gmail.com >
2019-01-09 12:08:51 -08:00
Noah Watkins
e66ad7463b
ceph: support custom dashboard port
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com >
2019-01-09 12:08:49 -08:00
Travis Nielsen
2da22001d6
Merge pull request #2414 from travisn/retry-dashboard-cert
...
Retry creating self signed cert if module is not ready
2018-12-21 07:43:42 -07:00
travisn
b770b80a88
mgr: retry creating self signed cert if module is not ready
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-20 16:07:00 -07:00
travisn
261aae3f46
mgr: set the server_addr for the dashboard and prometheus modules
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-20 12:08:37 -07:00
Alexander Trost
cdf73a2d15
Fix name of ec data pool StorageClass parameter
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-17 23:29:57 +01:00
travisn
620c61b8b5
ceph: properly detect the image version during upgrade
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-13 22:08:53 -08:00
Alexander Trost
3375db8729
object: use Recreate update strategy
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:45 -07:00
Alexander Trost
b406def5f9
file: use Recreate update strategy
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:45 -07:00
Alexander Trost
51a6de0151
mgr: use Recreate update strategy
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:45 -07:00
Alexander Trost
e0322a9175
mon: get port from endpoint
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 19:38:44 -07:00
travisn
304d6445f2
rgw: update the deployment or daemonset when the pod spec changes
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-07 15:11:55 -07:00
travisn
fe4a645844
osd: detect existing osds not to be passed to ceph-volume
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-07 10:50:37 -07:00
travisn
1389cc56db
ceph: enable multiple osds per device
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-07 09:29:15 -07:00
travisn
e6572e41e6
enable ceph-volume to provision and start filestore osds
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-06 21:28:58 -07:00
travisn
45c53dd5b2
detect if ceph-volume is supported and allow legacy osds to be started
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-06 21:28:58 -07:00
travisn
78b8011226
osds: prototype provisioning with ceph-volume
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-06 21:28:58 -07:00
Blaine Gardner
6f68b2d536
Ceph mon: temp change to support #2331 in v0.9
...
In order to have Ceph updates working for Rook release v0.9, apply a
simple, temporary solution to update the mons without extraneous mon
updates.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com >
2018-12-06 16:37:42 -07:00
travisn
a29b876337
rename ceph v1 crds with the ceph prefix
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-05 16:23:55 -07:00
travisn
62f7e5d6ea
ceph: update docs, code, and tests to use v1 crd types
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-05 14:33:11 -07:00
Alexander Trost
18b2da5fc5
Merge pull request #2216 from galexrt/fix_2164
...
Allow specifying custom Ceph user and secret name for mounting
2018-12-04 23:54:27 +01:00
Travis Nielsen
2af0be2cec
Merge pull request #2317 from jtlayton/filesystem
...
Allow filesystem specifications without pools
2018-12-04 15:14:59 -07:00
Alexander Trost
ac19f85fbb
Allow specifying custom Ceph user and secret name for mounting
...
Introduce mount security mode for basic multi tenancy
Fixes #2164 .
This adds three new parameters/options to StorageClass/flexvolume entry:
* `mountUser`
* `mountSecret`
* `mountSecretNamespace`
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-04 20:17:15 +01:00
Blaine Gardner
290b496069
ceph mon/mgr/mds units: verify updated deployments
...
Verify that the expected deployments are updated in the Ceph mgr,
and mds unit tests.
This also allows those unit tests to pass at all since
UpdateDeploymentAndWait was blocking the unit tests from finishing due
to unexpected behavior of generated `Deployment.Update` unit test mock.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com >
2018-12-04 11:35:06 -07:00
Blaine Gardner
3d89c78508
ceph: Update deployments on rook img update
...
Use the `UpdateDeploymentAndWait` method used by the osd operator to
update the deployments for mgrs, mdses, and rgws when the Rook
orchestrator image is updated.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com >
2018-12-04 11:33:40 -07:00
Jeff Layton
9945e6c91b
ceph mds: only permanently remove the fs if rook created it
...
i.e.: only if there was a data pool specified.
Signed-off-by: Jeff Layton <jlayton@redhat.com >
2018-12-01 20:40:12 -05:00
Jeff Layton
dcd9e1e0ff
ceph mds: allow filesystem specifications that have no pools
...
design/external-management.md says that we should allow specifying
Filesystems that have no pools. When this is done, the CRD should
interepret that as a request to just manage the MDS daemons without
creating a new filesystem.
Don't fail the verification if there are no data pools in the spec,
and just skip creating a new filesystem if that's the case.
Also, add a testcase for this usage.
Signed-off-by: Jeff Layton <jlayton@redhat.com >
2018-12-01 20:40:06 -05:00
Jeff Layton
677efb1a37
ceph mds: lift setting of max active MDS out of CreateFilesystem
...
This seems a bit misplaced, since CreateFilesystem is all about
doing the initial setup of the filesystem, and the daemons are
managed in a different block of code.
In a later patch, we're going to want to allow the CRD to spin
up MDS' for filesystems that already exist. Lift the code that
sets the MDS count into the caller.
Signed-off-by: Jeff Layton <jlayton@redhat.com >
2018-12-01 07:32:46 -05:00
Travis Nielsen
10fa2d9325
Merge pull request #2001 from jcsp/wip-mgr-rbac
...
Set service account on ceph-mgr pod
2018-12-01 00:58:20 -07:00
travisn
ea03f58048
rbac: rename service account rook-ceph-cluster to rook-ceph-osd
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-30 13:39:58 -07:00
travisn
16c2a56591
add ceph mgr roles to the tests and helm chart
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-30 13:39:58 -07:00
travisn
69fba00f6b
remove --set-uid option from ceph-authtool calls
...
Newer versions of ceph have deprecated this option, and the commands
will fail if you try to pass it in.
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-30 13:24:46 -05:00
John Spray
cff953696c
Set service account on ceph-mgr pod
...
This is to enable the `rook` ceph-mgr module to drive
the Rook and k8s APIs, exposing functionality via
its own CLI and GUI.
The service account gets access to two different roles:
one for the items that are within the cluster's namespace,
and one for reading configmaps in the rook-ceph-system namespace,
which is needed for reporting available devices.
Signed-off-by: John Spray <john.spray@redhat.com >
2018-11-30 10:50:20 -07:00
travisn
fdd64bb95a
enable rbd mirror daemon in the cluster crd
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-28 08:29:57 -07:00
Alexander Trost
f46efa452c
Merge pull request #2282 from galexrt/pera_fix
...
Use truncated node name for missed sections
2018-11-27 16:30:21 +01:00
Alexander Trost
b12d1e82cf
Use truncated node name "everywhere"
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-11-23 10:02:35 +01:00
Ben Zieglmeier
6d04bbf430
ceph: Add CRD for Object Store User
...
Add the ability to create and manage object store users with CRDs
Signed-off-by: Ben Zieglmeier <benjamin.zieglmeier@target.com >
2018-11-21 15:15:05 -06:00
Travis Nielsen
12e6cd941d
Merge pull request #2257 from lbogdan/fix/rbd-info
...
ceph: use "rbd info" to get image info after creating it
2018-11-20 13:11:09 -07:00
travisn
fa613d2fb3
set ceph version when cluster crd is updated
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-06 17:14:36 -07:00
Andrey Laguta
c247e8c0f7
Add urlPrefix setting for ceph dashboard
...
Signed-off-by: Andrey Laguta <13280256+laevilgenius@users.noreply.github.com >
2018-11-06 02:58:47 +02:00
Bogdan Luca
93e4e8ddcb
ceph: use "rbd info" to get image info after creating it
...
Signed-off-by: Bogdan Luca <luca.bogdan@gmail.com >
2018-11-03 17:19:18 +02:00
travisn
6cfd2ee11a
port 7000 for the luminous dashboard and 8443 for mimic and above
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:37 -06:00
travisn
906add05ce
consume the ceph images from the ceph/ceph repo
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:37 -06:00
travisn
f5b09a5ca5
enable the orchestrator modules on nautilus
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:37 -06:00
travisn
f2d59bedaa
reject unsupported versions and allow overriding the version
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:37 -06:00
travisn
b2a0dc77fa
automatically detect the major version of the Ceph image
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:36 -06:00
travisn
39117a7a0b
mgr: configure a self-signed cert and admin user for the dashboard
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:36 -06:00
travisn
ceb47f260d
set default ceph version to luminous
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:36 -06:00
travisn
94a7a0d4bc
run daemons with the ceph image instead of rook
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:35 -06:00