Add README.md for library ceph installation example
This commit is contained in:
parent
263a65f3e6
commit
6d72f47dcd
24
examples/library_ceph/README.md
Normal file
24
examples/library_ceph/README.md
Normal 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
|
||||||
|
```
|
@ -2,11 +2,6 @@ id: ceph_mon
|
|||||||
handler: puppetv2
|
handler: puppetv2
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
input:
|
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:
|
ip:
|
||||||
schema: str!
|
schema: str!
|
||||||
value:
|
value:
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
import os
|
import os
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from fabric import api as fabric_api
|
|
||||||
|
|
||||||
from solar.core.log import log
|
from solar.core.log import log
|
||||||
from solar.core.handlers.base import TempFileHandler
|
from solar.core.handlers.base import TempFileHandler
|
||||||
from solar.core.provider import GitProvider
|
from solar.core.provider import GitProvider
|
||||||
|
Loading…
x
Reference in New Issue
Block a user