solar-resources/examples/library_ceph
2015-10-20 17:24:10 +02:00
..
ceph.py Merge pull request #255 from dshulyak/remote_file 2015-10-20 17:24:10 +02:00
README.md Add mos_repos virtual resource and use it for ceph example 2015-10-16 13:14:33 +03:00

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

To add repositories use

solar resource create apt1 templates/mos_repos.yaml node=node1 index=1