Browse Source

Build image for ceph-manager

For host-based ceph cluster, serivce manager launch service mgr-restful-plugin
which launch ceph-mgr and daemon ceph-manager. Ceph-manager daemon polls
ceph cluster status by ceph-mgr restful module and raise or clean alarm to
to fault manager.

For rook, build a image named stx-ceph-manager, use this image to make a
deployment, which will take the same task polling containerized ceph cluster
status and raise or clean alarm.

Story: 2005527
Task: 41338

Change-Id: Iaaedfc0c7198e102eb4b8c94ab759e9b209e6bfd
Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
changes/03/760503/2
Martin, Chen 5 months ago
parent
commit
b58d9d20d3
3 changed files with 24 additions and 0 deletions
  1. +1
    -0
      centos_stable_docker_images.inc
  2. +21
    -0
      ceph/ceph-manager/centos/docker/Dockerfile
  3. +2
    -0
      ceph/ceph-manager/centos/stx-ceph-manager.stable_docker_image

+ 1
- 0
centos_stable_docker_images.inc View File

@ -0,0 +1 @@
ceph/ceph-manager

+ 21
- 0
ceph/ceph-manager/centos/docker/Dockerfile View File

@ -0,0 +1,21 @@
ARG BASE
FROM ${BASE}
ARG STX_REPO_FILE=/etc/yum.repos.d/stx.repo
RUN set -ex ; \
yum install --disablerepo=* \
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
-y \
ceph-manager \
python-cephclient \
python-oslo-messaging \
python2-eventlet \
fm-api \
fm-core \
fm-rest-api \
python-fmclient \
fm-common \
ceph-common
CMD ["bash"]

+ 2
- 0
ceph/ceph-manager/centos/stx-ceph-manager.stable_docker_image View File

@ -0,0 +1,2 @@
BUILDER=docker
LABEL=stx-ceph-manager

Loading…
Cancel
Save