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:
parent
ddd40f08f2
commit
b58d9d20d3
1
centos_stable_docker_images.inc
Normal file
1
centos_stable_docker_images.inc
Normal file
@ -0,0 +1 @@
|
||||
ceph/ceph-manager
|
21
ceph/ceph-manager/centos/docker/Dockerfile
Normal file
21
ceph/ceph-manager/centos/docker/Dockerfile
Normal 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"]
|
@ -0,0 +1,2 @@
|
||||
BUILDER=docker
|
||||
LABEL=stx-ceph-manager
|
Loading…
Reference in New Issue
Block a user