Commit Graph
11197 Commits
Author SHA1 Message Date
Alexander Trost 56544c51d4 operator/osd: Use UpdateStrategy Recreate
This fixes issues with a new OSD Pod in the same Deployment coming up and
directly entering CrashLoopBackOff because the old OSD Pod hasn't been fully
terminated yet (released it's locks).

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-07-21 12:10:09 +02:00
Blaine Gardner 8b218dfbe7 make: Remove unused IMAGES from image Makefiles
Many of the `rook/images/<image>/` directory Makefiles defined a
variable called `IMAGES`, which was unused and causing some developer
confusion with the feature adding the ability to specify which backend
images to build. Remove these unused instances.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-20 15:49:46 -06:00
Blaine Gardner 483163fc21 make: Allow building select images
Raise the scope of the `IMAGES` config variable in the
`build/release/Makefile` to the `build/makelib/common.mk` file, and use
the `IMAGES` variable in the `images/Makefile` to allow users to build
only select images.

Examples of new use:
  make IMAGES='ceph ceph-toolbox' build
  make -C build/release IMAGES='ceph ceph-toolbox' publish

The 'images/image.mk' clean.build target was changed to use
`CLEAN_IMAGES` instead of `IMAGES`, as it was conflicting with use of
the parameter in image builds.

Added IMAGES option to top-level make's help text. The text for this
option exceeded 80 lines in the `Makefile` itself, so the help text was
refactored to eliminate `    @echo '<text>'`. The `Makefile` text should
now match exactly what is output to the user including line length.

Added IMAGES option to `INSTALL.md` file's "Build" section and also
moved some text around and added a few extra points of clarification
there to hopefully improve readability, especially for first-time
readers.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-20 15:49:46 -06:00
Travis Nielsen cd3d85e1e3 Merge pull request #1908 from galexrt/fix_1907
osd: Truncate too long name for prepare job
2018-07-20 11:29:00 -06:00
Alexander Trost faddfb0184 Truncate too long name for ObjectMeta.Name
Resolves #1907

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-07-20 10:35:20 +02:00
Jared Watts fb2c208978 Merge pull request #1909 from galexrt/fix_1795
operator: Set min_size to dataChunkCount for ec pools
2018-07-19 16:59:43 -07:00
Jared Watts 405746a6d3 Merge pull request #1916 from jbw976/post-0.8-updates
docs: clear pending release notes and update upgrade guide to 0.8
2018-07-19 16:59:02 -07:00
Jared Watts 76280b9bff docs: clear pending release notes and update upgrade guide to 0.8
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-19 16:48:15 -07:00
Alexander Trost a7d002fe5c operator: Set min_size to dataChunkCount for ec pools
Resolves #1795

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-07-19 23:51:26 +02:00
Travis Nielsen d537df8235 Merge pull request #1887 from bassam/pr-fix-arm64
fix arm64 image builds
v0.8.0
2018-07-18 10:14:59 -06:00
Travis Nielsen 363e5ee58a Merge pull request #1892 from jcsp/wip-osd-remove-idempotent
Fix retry of OSD deletion
2018-07-17 15:47:00 -06:00
Jared Watts 237c582ee4 Merge pull request #1898 from galexrt/fix_1895
Apply placement to OSD Pod Spec
2018-07-17 12:34:19 -07:00
Bassam Tabbara 731b3ee694 Merge pull request #1896 from cedadev/master
Add tolerations to Helm chart
2018-07-17 08:45:36 -07:00
Bassam Tabbara 707e492ea1 Merge pull request #1899 from Belphemur/patch-2
Fix typo in Cluster Example
2018-07-17 08:44:38 -07:00
Antoine Aflalo afae0ea968 Fix typo in documentation
Signed-off-by: Antoine Aflalo <belphemur@users.noreply.github.com>
2018-07-17 09:26:09 -04:00
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
Matt Pryor e9a68bd443 rook/rook#1893 Add tolerations to Helm chart
Signed-off-by: Matt Pryor <matt.pryor@stfc.ac.uk>
2018-07-17 10:39:59 +01:00
Travis Nielsen 863c10f43e Merge pull request #1879 from travisn/doc-clarifications
Doc clarifications for the 0.8 release
2018-07-13 16:31:35 -06:00
Bassam Tabbara 1289bec186 fix arm64 image builds
Signed-off-by: Bassam Tabbara <bassam@upbound.io>
2018-07-13 14:44:10 -07:00
travisn 0854cbaf55 docs: clarifications for the 0.8 release
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-13 14:29:57 -06: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
Jared Watts 41829b1456 Merge pull request #1876 from jbw976/release-criteria
Define release criteria and checklist
2018-07-12 10:53:22 -07:00
Jared Watts 088278d28e Define release criteria and checklist
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-11 17:40:54 -07:00
Travis Nielsen cbd9726266 Merge pull request #1875 from rootfs/osd-objstore
omit empty osd objectstore
2018-07-11 16:34:57 -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 c4400ca6b1 docs: update docs, guides and examples for ceph.rook.io/v1beta1 types
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-11 09:23:58 -07:00
Jared Watts 3ab5e7a80b docs: upgrade guide for ceph.rook/io/v1beta1 migration
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-11 09:23:46 -07:00
Jared Watts 956487dea9 docs: update README to explain project versioning approach of using individual provider/API statuses instead of an overall project status
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-11 09:23:46 -07:00
Jared Watts 2a6813bc4e build: add ceph.rook.io/v1beta1 to codegen
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-11 09:23:46 -07: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
Travis Nielsen dff99d5532 Merge pull request #1867 from travisn/provision-existing-devices
Available devices should include previously configured devices
2018-07-10 13:42:55 -06: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
Travis Nielsen a8ab8201e0 Merge pull request #1856 from travisn/helm-psp-user
Rename user in helm chart to match the psp username
2018-07-09 14:21:00 -06:00
Travis Nielsen e0926d9254 Merge pull request #1834 from galexrt/chart-operator-node-selector
helm: Added `nodeSelector` to rook-ceph operator chart
2018-07-09 13:21:53 -06:00
Alexander Trost 7f609c17ec helm: Added nodeSelector to rook-ceph operator chart
Closes #1571.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-07-09 18:24:48 +02:00
Travis Nielsen 4f7c725787 Merge pull request #1862 from travisn/dirty-master
Update the go dependencies
2018-07-09 10:18:33 -06:00
travisn a752034d34 rename user in helm chart to match the psp username
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-09 08:40:39 -06:00
travisn 9af3a8b5ca update the go dependencies
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-09 08:30:59 -06:00
Travis Nielsen 7da08b3832 Merge pull request #1698 from rootfs/osd-per-pod-all
Run ceph osd in its own pod
2018-07-09 07:31:45 -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