Commit Graph
2804 Commits
Author SHA1 Message Date
Travis Nielsen 3f5b4a7bcc Merge pull request #3075 from bigbitbus/bugfix/issue-2591
Add lvm2 package to pre-reqs in docs
2019-05-01 10:21:53 -06:00
Travis Nielsen 221560bf24 Merge pull request #3090 from kshlm/delete-active-job-if-requested
ceph: Delete and recreate rook-ceph-detect-version job
2019-05-01 10:16:18 -06:00
Travis Nielsen 726efd017a Merge pull request #3089 from travisn/osds-query-latest-nodes
Query the latest list of nodes for osd orchestration
2019-05-01 10:16:04 -06:00
Travis Nielsen e340b2ce9f Merge pull request #3086 from travisn/flex-settings
Ceph Flex driver: properly configure SELinuxRelabeling and FSGroup settings
2019-04-30 17:31:41 -06:00
travisn 77c7eb52f9 ceph: query the latest list of nodes for osd orchestration
The list of nodes to be queried for configuring OSDs
should include all of the K8s nodes before the placement
or other filters are applied. The operator was sometimes
missing configuring OSDs on nodes if the discover pod
hadn't finished running on a node. Now the osd prepare
job will be triggered on a node even if the discover pod
hasn't yet run there.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-30 17:07:12 -06:00
travisn 7cdfcc395a write flex settings to config file instead of env vars
The flex settings cannot be passed to the driver with environment variables.
There is no context available for returning the flex settings except
that the flex driver will look in a config file in the same directory.
These settings must be valid or else the driver will return the default
settings.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-30 14:50:43 -06:00
travisn 20f6af8a4d remove obsolete flex driver version checks
The flex driver no longer needs to check whether a kubelet
restart is needed or whether the namespace-specific driver
can be supported. The copy of k8s 1.13 types can also
be removed since we have updated to a newer k8s client.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-30 14:50:33 -06:00
Travis Nielsen a9388ff101 Merge pull request #2773 from noahdesu/dashboard-prom-binding
ceph: dashboard/prom should bind to anyaddr
2019-04-30 14:30:08 -06:00
Noah Watkins fc7baef6aa ceph: add tests for dashboard http bind fix
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-30 10:57:37 -07:00
Noah Watkins 1efb8af87b ceph: selectively apply http bind addr fix
fixes: #2492

the http bind address fix in rook address an upstream issue in ceph in
which cherrypy break when binding to `::` when the host doesn't have an
ipv6 address. it fixes the issue by always binding prometheus and the
dashboard webservers to the pod address. by doing this, it prevents
using the kubectl port-forward technique, which some users would like.

a patch to cherrypy is upstream in ceph. this PR checks the ceph version
and selectively disables the fix so that both port-forward and the
normal service method works. this is the verison matrix:

          FIX     VER
          ---     ---
luminous merged (>= 12.2.12)
mimic    merged (>= 13.2.6)
nautilus merged (>= 14.1.1)

when all the containers for these versions exists and sufficient time
passes the unreachable code guarded by the version checks in this patch
can be removed.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-30 10:06:39 -07:00
Noah Watkins 3300497c29 ceph: add mimic version check interface
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-30 10:06:39 -07:00
Travis Nielsen 11d318fb2f Merge pull request #3028 from wangxiao86/wx_modify
Set mgr daemon name in server_addr config setting path
2019-04-30 09:53:09 -06:00
Kaushal M 5e8375e921 ceph: Delete and recreate rook-ceph-detect-version job
The ceph controller will delete and recreate the detec-version job, when
an already existing job is found. This helps avoid cluster creation from
getting hung up on waiting for an already existing/stale job to finish.

Fixes #3081.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-04-30 18:19:56 +05:30
wangxiao86 a5a8d22478 Set the module's server_addr path with the mgr's name.
To enable multiple mgrs to run properly, we need to set the respective server_addr path with the mgr's name for the modules of each mgr.

When multiple mgrs are running, the modules( e.g. dashboard and Prometheus ) of each mgr need to bind its own server_addr when it is started. The way to get server_addr when ceph mgr starts the module is as follows:  first,  get the server_addr value by "mgr/<module-name>/<mgr-daemonid>/server_addr" path;  and if this path does not exist, then get the server_addr value by" mgr/<module-name>/server_addr" path.
According to the original rook setting for server_addr,  the modules of all mgrs take the same server_addr on ceph luminous and mimic, this produces a wrong result that only one mgr's modules can run properly ( the modules of other mgrs failed to start with the wrong server_addr).
This change is made to be compatible with ceph luminous, mimic, and nautilus.  and Modify according to: the "HOST NAME AND PORT" description of http://docs.ceph.com/docs/master/mgr/dashboard/ .

Signed-off-by: wangxiao86 <wangxiao1@sensetime.com>
2019-04-30 17:14:07 +08:00
Travis Nielsen 0cc8af0877 Merge pull request #3079 from Timoses/patch-1
Minor documentation improvements
2019-04-29 17:11:41 -06:00
Timoses 54ab873a21 Minor documentation improvements
* Remove redundant hint to create namespace, role, and role bindings
  (already noted before)
* Refer to node settings under cluster `nodes` setting

Signed-off-by: Timoses <timosesu@gmail.com>
2019-04-29 23:55:48 +02:00
Alexander Trostandnull b152e4c114 address regression in ISGW dynamicFetch configuring (#3070)
address regression in ISGW dynamicFetch configuring

Co-authored-by: null <dmitry.yusupov@nexenta.com>
2019-04-29 21:51:56 +02:00
Travis Nielsen 535952d3e2 Merge pull request #2777 from InfuseAI/feature/ceph-volume-metadatadevice
Support metadataDevice for ceph-volume based osd
2019-04-29 12:56:41 -06:00
Travis Nielsen 02a39db142 Merge pull request #3053 from rathpc/master
Correcting broken/wrong links in templates
2019-04-29 07:58:13 -06:00
Alexander Trost 1974351e57 Merge pull request #3035 from sp98/3034-Syntax-Error
Add missing semicolon to k8-vagrant-multi-node.sh file to fix syntax error
2019-04-29 12:54:41 +02:00
Santosh Pillai 7f5b184e40 added missing semicolon to k8s-vagrant-mutli-node.sh file
Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2019-04-29 13:40:16 +05:30
Bassam Tabbara b35615f75b Merge pull request #3061 from travisn/update-channels
Promote builds to master and release rather than alpha, beta, and stable
2019-04-28 16:05:59 -07:00
travisn 81f55a12eb build: promote builds only to master and release
The alpha, beta, and stable channels do not match the rook release process.
Each storage provider defines their own stability based on the CRDs
rather than defining it with the release process. Rook really
only has two release streams: master and the official releases.
Master is published with each merge, while releases go through
a signoff process to ensure quality. Thus, the alpha, beta,
and stable channels are removed and replaced with a
single release channel.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-27 22:49:11 -06:00
Sachin Agarwal 5668131853 Add lvm2 package to pre-reqs in docs
As discussed in Issue 2591 (https://github.com/rook/rook/issues/2591) the lvm2 package may be missing from some Linux distributions, this documentation update alerts the user to this pre-req.

Signed-off-by: Sachin Agarwal <sachinkagarwal@gmail.com>
2019-04-27 10:52:16 -04:00
Dmitry Yusupov 9dd2e422bb address regression in ISGW dynamicFetch configuring
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-04-26 19:01:23 -07:00
Travis Nielsen 9cf586968a Merge pull request #2965 from SUSE/upgrade-docs-v1.0
Ceph docs: update for v1.0 release
2019-04-26 16:56:00 -06:00
Blaine Gardner d3d7c23500 doc: split common issues to General and Ceph docs
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-26 16:49:04 -06:00
Blaine Gardner ea48cbb506 doc: split rback.md into General and Ceph files
Also rename to psp.md, which is more correct than RBAC.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-26 16:49:04 -06:00
Blaine Gardner 9e4badf060 docs: rename advanced config to be Ceph specific
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-26 16:49:04 -06:00
Blaine Gardner 04924ce194 ceph upgrade doc: update for v1.0 release
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-26 16:49:04 -06:00
Travis Nielsen 111610e50f Merge pull request #3066 from noahdesu/skip-early-orch
ceph: skip orchestration when cluster is not yet configured
2019-04-26 13:17:10 -06:00
Noah Watkins 72b3f79ce7 ceph: skip orchestration when cluster is not yet configured
this skips orchestration when the device configmap receives an update
but the cluster hasn't been fully configured, which may leave some state
undefined and cause nil pointer dereferences accessing the cluster info
structure.

fixes: #3001

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-26 11:23:35 -07:00
Travis Nielsen 5f466b903e Merge pull request #3065 from noahdesu/hotplug-false-postives
ceph: check for equiv device config maps in operator
2019-04-26 12:03:04 -06:00
Jared Watts 21ddc83b84 Merge pull request #2758 from ashishranjan738/nfs
enhance(NFS): adds dynamic provisoning for nfs
2019-04-26 10:08:51 -07:00
Travis Nielsen ed721fef34 Merge pull request #3064 from travisn/no-disable-scrub
Ceph: Stop disabling scrubbing during osd orchestration
2019-04-26 11:08:22 -06:00
Noah Watkins fbc64ff8f4 ceph: check for equiv device config maps in operator
this is an attempt to reduce the number of false positive config map
updates used to trigger orchestration for hotplugging.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-26 09:37:25 -07:00
Jared Watts 83d2ee8243 Merge pull request #3055 from sabbot/documentation-follow-up
Documentation fixes
2019-04-26 08:37:18 -07:00
travisn b6568b07b4 ceph: stop disabling scrubbing during osd orchestration
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-26 09:35:50 -06:00
Ashish Ranjan dac028ab24 enhance(nfs): remove one to one mapping for nfs provisioner
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit removes one to one mapping of NFS provisioner and adds a dedicated provisioner for nfs.
2019-04-26 20:52:30 +05:30
Travis Nielsen ed157dbd0c Merge pull request #2920 from travisn/support-k8s-1.14
Add k8s 1.14 to the integration test matrix
2019-04-26 07:56:42 -06:00
Ashish Ranjan edb2b5e76f refactor(nfs): updated nfs documentation with Dynamic provisioning method
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-04-26 04:25:49 +05:30
Ashish Ranjan 858c8eede7 refactor(operator): removed wild card from the operator
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-04-26 04:25:49 +05:30
Ashish Ranjan 9f3debc53f refactor(nfs,provisioning): move claimPath info from annotation to parameters
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit moves claimPath information from annotation to parameters and adds option to enable/disable storageclass creation.
2019-04-26 04:25:49 +05:30
Ashish Ranjan 23efbf658b enhance(NFS): adds dynamic provisoning for nfs
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit adds dynamic provisioning for nfs
2019-04-26 04:25:49 +05:30
travisn dd94fd14e3 tests: add k8s 1.14 to the integration test matrix
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-25 15:53:19 -06:00
Anton Skriptsov c4025a2ef1 Documentation fixes
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-04-25 12:43:53 -07:00
Travis Nielsen e749783a21 Merge pull request #3051 from leseb/more-upgrade-fixes
ceph: fix upgrade for monitor listening on 6790 port
2019-04-25 12:15:07 -06:00
Steven Rathbauer fb60206114 Correcting broken/wrong links in templates
Fixes ##3046

Signed-off-by: Steven Rathbauer <steven@rathpc.com>
2019-04-25 10:02:21 -07:00
Alexander Trost f80fd4543b Edgefs: Transition to v1beta1 (#2967)
Edgefs: Transition to v1beta1
2019-04-25 18:53:27 +02:00
Sébastien Han 5f16f8e27f ceph: fix upgrade for monitor listening on 6790 port
This commits fixes the upgrade for cluster running on 0.9.x and thus
have monitors listening on 6790.

The only downside is that the new messengers 2 protocol can not be
enabled because Ceph expects monitors to listen on 6789.
In order to enable messengers 2 your monitors will have to failover so
they can pick up both 6789 and 3300 ports, then and only then messenger
2 can be enabled.

Fixes: https://github.com/rook/rook/issues/3048 and
https://github.com/rook/rook/issues/3049
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-04-25 16:44:38 +02:00