John Spray
bed1d01e9c
Fix retry of OSD deletion
...
Previously, if this failed mid-way it would then throw
an exception at the first operation when retrying (because it's
trying to reweight an OSD that might not be in the map any more)
Signed-off-by: John Spray <john.spray@redhat.com >
2018-07-17 14:08:23 +01:00
Alexander Trost
cdb708f6a1
Apply placement to OSD Pod Spec
...
Resolves #1895
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-07-17 14:01:08 +02:00
Travis Nielsen
d93bd7603f
Merge pull request #1878 from travisn/mgr-ownerref
...
Set the OwnerReference on the mgr deployment
2018-07-13 08:35:48 -06:00
travisn
dc6f3c099c
mgr: set the ownerreference to the crd
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-12 16:40:01 -06:00
Huamin Chen
ac2c949cae
omit empty osd objectstore
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2018-07-11 17:25:10 -04:00
Travis Nielsen
f06fee6d3c
Merge pull request #1874 from travisn/osd-health-debug
...
Debug logging for the osd health check
2018-07-11 13:07:48 -06:00
Jared Watts
5331907c6d
Merge pull request #1857 from jbw976/ceph-beta
...
Rook project versioning and status update, Ceph graduates to Beta
2018-07-11 10:29:15 -07:00
Jared Watts
a7ce7a361b
Merge pull request #1766 from galexrt/1708
...
osd: skip wait loop when initial PGs is 0
2018-07-11 09:38:22 -07:00
travisn
94496fe88e
debug logging for the osd health check
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-11 10:28:15 -06:00
Jared Watts
189e3eb611
ceph: migration logic for ceph.rook.io/v1alpha1 to ceph.rook.io/v1beta1, update all type references
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-07-11 09:23:46 -07:00
Jared Watts
125c2e6f9a
ceph: generated code for ceph.rook.io/v1beta1 types
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-07-11 09:23:46 -07:00
Jared Watts
568d2b8691
ceph: ceph.rook.io/v1beta1 types
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-07-11 09:23:46 -07:00
Alexander Trost
979360e85b
osd: skip wait loop when initial PGs or used KBs is 0 for an OSD
...
Resolves #1708
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-07-11 07:59:43 +02:00
travisn
962b4f22da
osd: available devices should include previously configured devices
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-10 12:41:43 -06:00
travisn
86f6b3ccf0
avoid setting ownerref when not available for crds
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-06 16:35:31 -06:00
travisn
55e0ee26c0
monitor the OSDs for the lifetime of the cluster
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-06 15:08:59 -06:00
travisn
c9406597e1
osd: remove storage nodes centrally in the operator
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:09:22 -06:00
Huamin Chen
0bb6005055
add osd health monitor
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2018-07-05 16:09:22 -06:00
Huamin Chen
dc1e827cce
get partlabel from udev info PARTNAME
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2018-07-05 16:09:21 -06:00
travisn
e7cbbab5db
osd: register tini for subreaping
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:09:21 -06:00
travisn
604bb614ad
tests: verify integrity after osd pod restart
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:09:21 -06:00
travisn
f1ad88e0ac
tests: enable osds on devices
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:09:20 -06:00
travisn
021e8e7a9e
osd: watch provisioning status for all nodes and start osds as each node is ready
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:08:31 -06:00
travisn
330aa9b6c8
osd: cleanup mounts for filestore on a device and other refactor for one osd per pod
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:04:03 -06:00
travisn
3e1ef0d760
mount directory host path if needed
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:02:27 -06:00
Huamin Chen
82425aafcc
prepare osd in a job per node. Once all osds are prepared, store osd info in orchestration configmap.
...
Operator watches the configmap, starts one osd replica set per osd.
Signed-off-by: Huamin Chen <hchen@redhat.com >
2018-07-05 16:02:27 -06:00
travisn
89cfccd5a2
enable rook to run on openshift
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 11:20:43 -06:00
thrawn997
62da01c669
remove svc.cluster.local from serverAddress
...
Services in kubernetes can be reached at <servicename>.<namespace> without specifying svc.cluster.local. Removing this resolves issues with deployments where the kubernetes domain has been changed from the default.
Signed-off-by: Kamal Kyrala <kyralak@gmail.com >
2018-06-29 09:56:06 -07:00
Travis Nielsen
51e2191cf9
Merge pull request #1829 from evgeniy-klemin/fix-retrieve-device-label
...
Fix retrieve device label
2018-06-28 08:36:00 -06:00
Alexander Trost
6fb6c212c6
Don't set default for IP flags
...
Fixes the issue that when the old IPv4 flags were set, the new flags
were still used because of the default being the new flags not being
empty.
Added `NetworkInfo()` func to cmd/ceph to get simplified network info
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-06-27 17:20:25 +02:00
Evgeniy Klemin
759ec55f64
Fix retrieve device label
...
Signed-off-by: Evgeniy Klemin <evgeniy.klemin@gmail.com >
2018-06-27 13:31:46 +03:00
travisn
4f7f9b6daa
device uuid discovery requires privileged
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-25 13:56:54 -06:00
travisn
77cd878360
set default service account for the osd
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-25 12:57:25 -06:00
travisn
6502cda3b4
refactor cluster roles for minimal rbac access
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-25 12:57:25 -06:00
Jared Watts
819929070a
Merge pull request #1756 from tonya11en/minio_implementation
...
Implement Minio deployment/teardown
2018-06-22 09:38:30 -07:00
Tony Allen
7442f8713b
Implement Minio operator w/ tests.
...
Signed-off-by: Tony Allen <tony@upbound.io >
2018-06-21 16:41:30 -07:00
Jared Watts
48b879e0ad
Merge pull request #1769 from ucloudlab/ipv6-support
...
support ipv6
2018-06-19 20:33:12 -07:00
travisn
d5d3540497
osd: detect disk uuid with sgdisk
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-19 13:05:51 -07:00
Jared Watts
357b7b86e7
Merge pull request #1777 from jbw976/cockroachdb
...
CockroachDB operator implementation
2018-06-18 21:51:44 -07:00
Jared Watts
f302754c9d
cockroachdb: operator/controller implementation
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-06-18 19:19:15 -07:00
Travis Nielsen
858fb20037
Merge pull request #1791 from checkaayush/replaceCustomAwk
...
Replace custom Awk and remove related tests
2018-06-18 18:11:01 -07:00
Jared Watts
10a48b1059
cockroachdb: generated clientset code
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-06-18 17:09:05 -07:00
Jared Watts
45a5f69637
cockroachdb: CRD types and specs
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-06-18 17:08:09 -07:00
Aayush Sarva
80f3e8ebf4
Replace custom Awk and remove related tests
...
Signed-off-by: Aayush Sarva <checkaayush@gmail.com >
Return error if field not found
Signed-off-by: Aayush Sarva <checkaayush@gmail.com >
2018-06-19 05:03:28 +05:30
Travis Nielsen
dd5ef1a76a
Merge pull request #1780 from galexrt/mon_doc_default_changes
...
Updated upgrade path for monCount
2018-06-18 10:04:37 -07:00
Alexander Trost
c313899070
Updated upgrade path for monCount
...
Default to 3 mons when no `mon.count` is given.
The documentation and upgrade page has been updated accordingly to reflect the new
default.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-06-16 02:03:08 +02:00
travisn
0eaca4067b
mgr: rename the daemon to mgr.a
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-15 11:00:11 -07:00
travisn
ce0c705768
mds: daemon name is the full pod suffix
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-15 10:58:16 -07:00
Zhang Miaolei
100e80250f
support ipv6 host-port pair
...
deprecate NetworkInfo.PublicAddrIPv4, use NetworkInfo.PublicAddr instead
deprecate NetworkInfo.ClusterAddrIPv4, use NetworkInfo.ClusterAddr instead
deprecate command flag public-ipv4, use public-ip instead
deprecate command flag private-ipv4, use private-ip instead
change ROOK_PUBLIC_IPV4 to ROOK_PUBLIC_IP
change ROOK_PRIVATE_IPV4 to ROOK_PRIVATE_IP
Signed-off-by: Zhang Miaolei <zmlcc@outlook.com >
2018-06-15 14:26:42 +08:00
Travis Nielsen
cc7db92930
Merge pull request #1782 from ganeshmaharaj/journal-part-cleanup
...
JournalPartition Code Cleanup
2018-06-13 16:15:06 -07:00