From 6d72f47dcdd4387bdf751c518ad927b802a894de Mon Sep 17 00:00:00 2001 From: Dmitry Shulyak Date: Mon, 12 Oct 2015 10:56:04 +0300 Subject: [PATCH] Add README.md for library ceph installation example --- examples/library_ceph/README.md | 24 ++++++++++++++++++++++++ resources/ceph_mon/meta.yaml | 5 ----- solar/solar/core/handlers/puppet.py | 2 -- 3 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 examples/library_ceph/README.md diff --git a/examples/library_ceph/README.md b/examples/library_ceph/README.md new file mode 100644 index 00000000..743aa58c --- /dev/null +++ b/examples/library_ceph/README.md @@ -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 +``` diff --git a/resources/ceph_mon/meta.yaml b/resources/ceph_mon/meta.yaml index 14859a50..ec92d1a8 100644 --- a/resources/ceph_mon/meta.yaml +++ b/resources/ceph_mon/meta.yaml @@ -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: diff --git a/solar/solar/core/handlers/puppet.py b/solar/solar/core/handlers/puppet.py index 09cd8197..7da06ed0 100644 --- a/solar/solar/core/handlers/puppet.py +++ b/solar/solar/core/handlers/puppet.py @@ -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