Added ceph mon and osd funcionality (#5)
* add TARGET
Try to define what we are goint to achieve.
* ceph monitors
* added new mon and osd funcionalities
* Documentation fixes
* Added testing metadata
* New ceph_osd_disk salt grain for crushmap generation
* Fixed the map.jinja and common module
* Fixed map for OSD role
* Completed the pool enforcement
* Pass context to the crushmap template from mine information
* RadosGW updates
* Fixed Rados gateway
* push origin master
* Service metadata fixes
* Fixed wrong metadata dir
* changed radosgw keyring path, changed watch for radosgw service
* set osd pool parameters
* added opts for osd mount, few minor fixes for states osd and mon
* added grains for crush parent
diff --git a/metadata/service/common/cluster.yml b/metadata/service/common/cluster.yml
new file mode 100644
index 0000000..9e729fe
--- /dev/null
+++ b/metadata/service/common/cluster.yml
@@ -0,0 +1,25 @@
+parameters:
+ _param:
+ ceph_mon_node01_hostname: cmn01
+ ceph_mon_node02_hostname: cmn02
+ ceph_mon_node03_hostname: cmn03
+ ceph:
+ common:
+ enabled: true
+ version: ${_param:ceph_version}
+ fsid: ${_param:ceph_cluster_fsid}
+ members:
+ - name: ${_param:ceph_mon_node01_hostname}
+ host: ${_param:ceph_mon_node01_address}
+ - name: ${_param:ceph_mon_node02_hostname}
+ host: ${_param:ceph_mon_node02_address}
+ - name: ${_param:ceph_mon_node03_hostname}
+ host: ${_param:ceph_mon_node03_address}
+ keyring:
+ admin:
+ key: ${_param:ceph_admin_keyring}
+ caps:
+ mds: "allow *"
+ mgr: "allow *"
+ mon: "allow *"
+ osd: "allow *"