Commit Graph
51 Commits
Author SHA1 Message Date
Travis Nielsen d754520e1c ceph: allow mons from external cluster in toolbox
The toolbox generates a ceph.conf and extracts the names of the mons
based on the assumption that they all had the prefix rook-ceph.
This is no longer true for external clusters. The external clusters
may have mons with any variety of names.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-02-27 12:52:17 -07:00
Travis Nielsen e35939b26c ceph: bump ceph version to v14.2.7
The ceph/ceph:v14.2.7 image is released so we can pick these fixes
up as the recommended version of ceph.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-02-20 11:06:40 -07:00
Sébastien Han dec0c7d4b0 ceph: bump to 14.2.6
14.2.6 is released, let's use it!

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-01-15 11:02:44 +01:00
Sébastien Han 68fd4f4df9 rook: stop using ceph version with timestamp
With https://github.com/ceph/ceph-container/pull/1529, we now build
vX.X.X version so we don't need to have the timestamp. Also we will
automatically get the last changes from the OS/packages too more
frequently.

Closes: https://github.com/rook/rook/issues/4414
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-12-10 11:39:35 +01:00
Travis Nielsen d79c8a61a3 build: update the path to pull the yq tool
The yq tool changed and requires a new path from which to build.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2019-11-03 01:16:20 -06:00
Sébastien Han bc6dcb9995 ceph: bump to v14.2.4
v14.2.4 just got released so let's use it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-17 15:08:15 +02:00
Sébastien Han 3390a85404 ceph: bump to 14.2.3
Let's use the latest minor release of Ceph 14.2.3.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-04 23:14:28 +02:00
Sébastien Han a42916eff0 ceph: use latest ceph images
The last image has disabled ephemeral repositories so it's now possible
for images older than 15 days to install packages without having an
  error from non-existing repositories.

Closes: https://github.com/rook/rook/issues/3662
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-26 23:50:55 +02:00
David Vossel 4729e9cb90 Limit csv template generation to linux host platform
Signed-off-by: David Vossel <davidvossel@gmail.com>
2019-08-21 08:51:05 -04:00
David Vossel 27828261f7 Add 'yq' yaml merger tool as optional rook-ceph dependency
Signed-off-by: David Vossel <davidvossel@gmail.com>
2019-08-20 13:39:39 -04:00
David Vossel be3389130c Add operator sdk as optional build dependency for rook-ceph
Signed-off-by: David Vossel <davidvossel@gmail.com>
2019-08-20 13:39:39 -04:00
David Vossel c13aff199b Add csv templates to rook-ceph container image
Signed-off-by: David Vossel <davidvossel@gmail.com>
2019-08-20 13:39:39 -04:00
Sébastien Han 41d2953e7e ceph: use latest 14.2.2 code
14.2.2 is out and along with it numerous fixes so let's use it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-07-22 15:58:25 +02:00
Umanga Chapagain 732f3030d0 integrate prometheus based monitoring with rook-ceph
> add new field to cluster spec
> deploy servicemonitor
> deploy prometheusRule

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-07-08 11:40:17 +05:30
Poornima G 4ddef3e823 Change the ceph image to latest-nautlius-devel
Currently in cluster deploy, ceph image points to ceph/ceph:v14.2.1-20190430.
Changing this to use ceph/daemon-base:latest-nautilus-devel as its the latest nautilus.

Ceph nautilus has some changes in cephsfs mgr module, which is required by ceph-csi
canary image, without which the create/purge of RWX PVCs will fail. These changes
are not yet part of any released ceph version, i.e v14.2.1-20190430. Even in the
short future, we expect some changes to land in Nautilus after 14.2.2, hence
waiting for 14.2.2 release and updating to it, will not solve the issue.
Therefore using latest-nautilus-devel, which will always have the changes
required by ceph-csi. This is only a temperory change in the master, until
14.2.3 is released.

Signed-off-by: Poornima G <pgurusid@redhat.com>
2019-07-05 06:50:30 +00: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
John Mulligan f6c15bfb5a ceph csi: include required templates in image
Include the mandatory template files in the rook ceph image
so that the user-driven configuration for CSI and flex do not
need to differ in this aspect.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-04-10 17:53:28 -04:00
Ken Dreyer a92714b348 images: remove comment about ceph mimic image
Commit 91cc62676d changed our base ceph
version from Mimic to Nautilus.

Update the comment in the Dockerfile to reflect this change.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2019-04-10 11:55:43 -06:00
travisn 91cc62676d Base the rook ceph operator image on the Nautilus release image
To target a Nautilus image with msgr2 and configure the nfs ganesha feature
for Ceph, we need to update the base image to Nautilus.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
John Mulligan 0fd73d82d9 images: support specifying custom 'docker' command
In the image makefiles use the "DOCKERCMD" variable in place of
calls to docker command line tool. This allows custom paths
to docker or other docker-compatible tools to be used for builds.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-02-25 18:49:11 -05:00
travisn 8ea61fdc66 ceph: use base arm64 image for arm
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-31 07:44:59 -08: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 c43b95ef83 base the operator docker image on ceph/ceph
Signed-off-by: travisn <tnielsen@redhat.com>
2018-11-01 11:48:45 -06:00
Fan, Shang Xiang 3d7c650492 build: comply with docker best practice.
Signed-off-by: Fan, Shang Xiang <sxfan@alauda.io>
2018-10-16 13:10:02 +08:00
travisn efd581e7ed start toolbox pod with the ceph image instead of a separate image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-02 15:43:53 -06:00
Blaine Gardner 60b4a1e4d3 Image make: Move save image step to release builds
The image save step in the image build makefiles takes half or more of
the time of builds, and this step is not necessary for development
builds. Move this functionality to the `build/release/Makefile` so that
images are saved during release builds but not during dev builds. This
will allow developers to iterate more quickly on their builds.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-08-23 09:49:56 -06:00
travisn 27ba0cb3c5 ceph: update to 12.2.7
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-24 15:15:59 -06: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
Bassam Tabbara 1289bec186 fix arm64 image builds
Signed-off-by: Bassam Tabbara <bassam@upbound.io>
2018-07-13 14:44:10 -07:00
Blaine Gardner 2a872bf1cd images: Use ceph daemon-base as rook base
Instead of adding Ceph packages to Rook's base image, use
ceph-container's base image, which has Ceph packages preinstalled. Rook
now benefits from the testing the ceph-container project does, and the
scope of the Rook project no longer has to maintain builds of base
images containing Ceph packages.

The only ARM builds of ceph-container are CentOS, and as switching to
CentOS was already a thought, that is easily done at the same time as
this change.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-05-23 15:37:31 -06:00
Jared Watts 3a2a2d2021 build: rook/ceph image build
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-05-18 14:25:39 -07:00
Bassam Tabbara 2b818eefe4 images: use ceph deb packages instead of building from source
Ceph is now installed from deb packages instead of being built from
source. This results in larger images sizes (roughly 60MB increase
compressed) but the maintenance and build burden is reduced. Future
versions of ceph will hopefully optimize for image size.

All support for building native code in containers has been removed,
as it is no longer needed. When we add other backends we will assume
that they can be installed using apt-get too.
2018-01-08 21:06:44 -08:00
Alexander Trost 0e42343e73 Create http-metrics service for mgrs
Enable prometheus module on mgr with pkg/ceph/client.MgrEnableModule()

Added force option to MgrEnableModule()
2018-01-04 08:47:27 +01:00
Alexander Trost 8f2fdb2c32 Add condition for nproc when one CPU is available 2017-12-30 14:07:49 +01:00
Bassam Tabbara a8846a9209 update ceph to 12.2.2 2017-12-01 17:06:18 -08:00
Bassam Tabbara a976a1e93c ceph: pickup 12.2.1 2017-09-28 11:33:28 -07:00
Bassam Tabbara 33b01e4c10 ceph: update to 12.2.0 2017-08-29 12:32:09 -07:00
Travis Nielsen 323f82c80a ceph: update to luminous 12.1.3 2017-08-11 10:23:58 -07:00
Travis Nielsen 6cd8ed0631 mon: generate the initial monmap at startup 2017-08-04 00:04:50 -07:00
Travis Nielsen bd53efba8d ceph: update to luminous 12.1.2 2017-08-02 15:31:01 -07:00
Travis Nielsen d5550d49cd ceph: backported changes to support public_bind_addr
see https://github.com/ceph/ceph/pull/16189 for full details.
2017-08-01 20:43:27 -07:00
Bassam Tabbara a9d4f68a8d build: fix image platform support 2017-07-21 22:18:25 -07:00
Bassam Tabbara 3714f0ad74 ceph: update to 12.1.0 2017-06-27 15:35:49 -07:00
Jared Watts 060148de2c Include sgdisk and crushtool in our containers. Do not restrict RBD image sizes and remove obsolete image/ioctx types. Fix whitespace in rook-cluster.yaml sample manifest 2017-06-20 20:57:46 -07:00
Bassam Tabbara ab59789334 build: fix make release on mac 2017-06-20 20:57:46 -07:00
Jared Watts 423d604438 build: include cls_rbd in rook's dependencies 2017-06-20 20:57:46 -07:00
Bassam Tabbara 96252b9ef3 build: switch rook and rookd to static
removed PIE and simplified the cross build containers as a result.
2017-06-20 20:57:46 -07:00
Bassam Tabbara 688ed6c0f2 build: avoid docker export
docker export can result in changes to the image and is dependent on the docker daemon version. cache the tarball as a file instead.
2017-06-20 20:57:46 -07:00
Bassam Tabbara d52892bd12 add tini as PID 1 for all images 2017-06-20 20:57:46 -07:00
Bassam Tabbara 77ac2c2908 build: add the toolbox to images 2017-06-20 20:57:46 -07:00