ClusterLabs / ClusterLabs/crmsh

Support new container bundles in Pacemaker 1.1.17

Open
#191 7 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
143
Forks
96
Avg merge
2d 6h
Merged PRs (30d)
16

Description

In Pacemaker 1.1.17, a new resource type will be added: container bundles.

For more detail, see the related mailing list post:

http://lists.clusterlabs.org/pipermail/users/2017-April/005380.html

Proposed XML syntax:

```




```

crmsh syntax could be something along the lines of...

```
bundle httpd \
docker image=pcmk:httpd replicas=3 \
network ip-range-start=192.168.24.112 host-netmask=24 port=80 \
storage root source-dir=/srv/www target-dir=/var/www/html options=rw \
storage logs source-dir-root=/var/log/pacemaker/bundles target-dir=/etc/httpd/logs options=rw \
primitive apache ocf:heartbeat:apache
```

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked mailing-list post and compare the proposed XML bundle syntax with the crmsh command-line syntax in the issue. Trace how crmsh currently represents and parses resource types, then determine the tests and entry points needed to support bundles; done means the shown bundle definition can be accepted and managed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
cli, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.