Commit 1a72c1fb by Czémán Arnold

ceph-client: add ceph client installer and necessary configuration properties

parent c8474c60
......@@ -45,19 +45,6 @@ Open the salt minion configuration
sudo mkdir -p /etc/salt
```
```bash
sudo sh -c "cat > sudo vim /etc/salt/minion" << END
file_client: local
file_roots:
base:
- /home/cloud/salt/salt
pillar_roots:
base:
- /home/cloud/salt/pillar
END
```
## Get the installer
Clone circle installer git repository into cloud home
......@@ -136,6 +123,10 @@ Other variables
* repo_revision: revision
* vnc-driver:
* repo_revision: revision
* ceph:
* enabled: ceph is enabled
* server: addres of ceph monitor
* directory: this directory will be shared
## Install Circle
Run the following installation command:
......@@ -215,3 +206,11 @@ sudo service nginx restart
```bash
sudo systemctl restart systemd-sysctl
```
### Permission denied at VM starting, if i use CephFS on distro from Red Hat family
Ceph has no support SeLinux, you should switch it to permissive mode.
```bash
sudo setenforce 0
sudo sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
```
......@@ -22,3 +22,8 @@ nfs:
server: localhost
network: 192.168.1.0/24
directory: /datastore
ceph:
enabled: false
server: localhost
directory: /
ceph-client:
pkg.installed:
- pkgs:
- ceph
- require_in:
- mount: /datastore
/datastore:
mount.mounted:
- device: {{ pillar['ceph']['server'] }}:{{ pillar['ceph']['directory'] }}
- fstype: ceph
- opts: rw
- dump: 0
- pass_num: 2
- persist: True
- mkmnt: True
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment