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>
This commit is contained in:
Martin, Chen 2020-10-30 14:30:00 +08:00
parent ddd40f08f2
commit b58d9d20d3
3 changed files with 24 additions and 0 deletions

View File

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

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"]

View File

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