Add README.md for library ceph installation example

This commit is contained in:
Dmitry Shulyak 2015-10-12 10:56:04 +03:00
parent 263a65f3e6
commit 6d72f47dcd
3 changed files with 24 additions and 7 deletions

View File

@ -0,0 +1,24 @@
Current example will do following things:
- fetch fuel-library from github
- use ./update_modules.sh to fetch librarian dependencies
- generate ceph keys on a solar-dev1
- install ceph-mon on solar-dev1 (INPROGRESS)
- install ceph-osd on solar-dev2 (TODO)
- imlement removal mechanism for ceph-mon/ceph-osd (TODO)
To use it:
```
python exaples/library_ceph/ceph.py
solar ch stage && solar ch process
solar or run-once last -w 120
```
If it will fail you can run particular resource action, with a lot of
debug info.
```
solar res action run ceph_mon1
```

View File

@ -2,11 +2,6 @@ id: ceph_mon
handler: puppetv2
version: 1.0.0
input:
library:
schema: {repository: str!, branch: str!, puppet_modules: str}
value: {repository: 'https://github.com/stackforge/fuel-library',
branch: 'stable/7.0',
puppet_modules: 'deployment/puppet'}
ip:
schema: str!
value:

View File

@ -16,8 +16,6 @@
import os
import yaml
from fabric import api as fabric_api
from solar.core.log import log
from solar.core.handlers.base import TempFileHandler
from solar.core.provider import GitProvider