Huamin Chen
6cf3fff436
split osd disk to prepare and activate
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:16:27 +01:00
Huamin Chen
a4b3885ac9
allow multiple mon containers to reach quorum
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:16:27 +01:00
Huamin Chen
e18154fbe5
serialize containerized mon config
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:16:08 +01:00
Huamin Chen
6bd8d41a39
remove --rm option from docker run, since the image is already removed during pre start
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:15:41 +01:00
Huamin Chen
a3dbfba4c0
use systemd to manage ceph daemons
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:15:41 +01:00
Huamin Chen
70561b3fc3
add variable to allow containerized mon to run privileged mode.
...
this is to allow ceph-authtool to read and write to /var/ and /etc on CentOS Atomic.
Add doc on how to run containerized deployment on RHEL/CentOS Atomic
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:14:58 +01:00
Huamin Chen
f88eff37d7
initial steps to provision CentOS Atomic host
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:13:15 +01:00
Huamin Chen
fd03074cd5
remove unused files
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:10:42 +01:00
Huamin Chen
dda83004c8
containerize rgw and restapi
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:10:42 +01:00
Huamin Chen
29b239a8f8
containerized mon: create restapi keyring
...
add sample config for containerized deployment
2016-03-24 16:09:02 +01:00
Huamin Chen
0d704b5710
copy bootstrap keyring and conf from mon to ansible server, so osd can get them to bootstrap
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:09:02 +01:00
Huamin Chen
0647cad7be
containerized mon
2016-03-24 16:08:20 +01:00
Leseb
c691638c3e
Merge pull request #646 from ceph/fix-purge-ubuntu
...
Fix purge ubuntu
2016-03-24 15:14:54 +01:00
Sébastien Han
53a62f0c89
purge: remove monitor store and bootstrap keys
...
remove monitor store and bootstrap keys otherwise the play can not
complete
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-24 15:11:21 +01:00
Sébastien Han
d9fb812029
purge-cluster: add a check for a device list
...
People who use `osd_auto_discovery` feature will not have a devices
variable populated, so we first check for the existence of devices.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-24 13:35:26 +01:00
Sébastien Han
14e957dfec
purge-cluster: make stop service work on ubuntu
...
reworked the stop sequence by using ids instead of calling the 'all'
function which does not seem to be working all the time.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-24 12:10:35 +01:00
Leseb
1e82230ff2
Merge pull request #644 from bengland2/purge-cluster-cleanup
...
make purge-cluster.yml both more reliable and faster
2016-03-24 10:52:11 +01:00
Ben England
25865bba24
oops dont need that
2016-03-23 13:52:28 -04:00
Leseb
29c07c1d4c
Merge pull request #643 from ceph/monitor-ip
...
Provide the ability to provide monitor_address instead of an interface
2016-03-23 13:38:44 +01:00
Andrew Schoen
73a60bd5e0
docs for usage of monitor_interface and monitor_address
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-03-23 07:30:01 -05:00
Andrew Schoen
959d525f81
Provide the ability to provide monitor_address instead of an interface
...
This would allow users who don't know what interface to provide to
give an IP address to use for the monitor instead.
Note: the includes are needed in ceph.conf.j2 because without them
jinja2 can not properly evaluate the template and will complain about a
missing 'ansible_interface' variable. The includes allow the template to
be evaluated correctly and then the correct include will be used during
render time.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-03-23 07:30:01 -05:00
Leseb
e78826eefb
Merge pull request #609 from ceph/fragment
...
fix fragment for osd directory scenario
2016-03-23 10:32:18 +01:00
Ben England
690fd2c70d
many fixes to make purge-cluster.yml reliable
2016-03-22 13:29:00 -04:00
Leseb
20c3c88995
Merge pull request #639 from ceph/enhance-regex
...
ceph-osd: fix regex to check partitions
2016-03-21 18:22:00 +01:00
Leseb
a881900e2a
Merge pull request #637 from ceph/activate-partition
...
ceph-osd: fix activate for osd on partitions
2016-03-21 17:37:19 +01:00
Sébastien Han
488f8e6c63
ceph-osd: fix regex to check partitions
...
Thanks @dvusboy
closes : #636
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-21 16:27:02 +01:00
Sébastien Han
c9071a6af0
ceph-osd: fix activate for osd on partitions
...
Since we want to activate the OSD when it's a partition we are looking
for a return code that is equal to 0 which means the device is a
partition.
closes : #636
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-21 16:00:58 +01:00
Leseb
18aa86a89f
Merge pull request #634 from dvusboy/fix_issue_632
...
Address issue #632 with systemd unit rename
2016-03-18 14:07:42 +01:00
Leseb
42b79cab47
Merge pull request #635 from dvusboy/create_rbd_clients_directory
...
Create the directory used for rbd-clients sockets
2016-03-18 14:05:02 +01:00
Leseb
db746e03cb
Merge pull request #627 from ceph/fix-ceph-install
...
ceph-common: fix ceph install for centos distros
2016-03-18 14:02:22 +01:00
K.C. Wong
50b7c99c68
Create the directory used for rbd-clients sockets
...
* `/var/run/ceph/rbd-clients` is not created automatically
* because it is missing, ceph-rgw complains about missing client
socket on start up; it is because the containing directory is
not there
* so we just add it to the list of directory pre-requisite
2016-03-17 14:35:22 -07:00
K.C. Wong
6ac41f7f3f
Address issue #632 with systemd unit rename
...
* the client-name is actually `rgw.{{ ansible_hostname }}` instead
of just `{{ ansible_hostname }}`
* it matches the directory created under `/var/lib/ceph/radosgw`
* and, it matches the client-name used to create the keyring in
`pre_requisite.yml`
2016-03-17 10:34:56 -07:00
Leseb
c8422e29ff
Merge pull request #633 from ceph/centos-libselinux-python
...
add libselinux-python as dependency pkg for centos
2016-03-17 17:39:55 +01:00
Sébastien Han
71a0f27f39
add libselinux-python as dependency pkg for centos
...
closes : #631
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-17 17:39:01 +01:00
Sébastien Han
1764b5337f
ceph-common: fix ceph install for centos distros
...
closes : #616
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-17 11:55:33 +01:00
Leseb
6e60fb5c0d
Merge pull request #610 from fcharlier/install_ceph_mds_only_if_required
...
Install ceph-mds on Debian platforms only if mds_group_name is set
2016-03-16 14:04:20 +01:00
Leseb
020bc226b0
Merge pull request #619 from dpkshetty/osd_selinux_permissive
...
ceph-osd: Set selinux to permissive
2016-03-16 08:52:57 +01:00
Deepak C Shetty
2b908ed8cf
ceph-osd: Set selinux to permissive
...
Currently we don't yet support runnings OSDs w/ selinux in
enforcing mode. Thus its better to ensure that ceph-ansible
explicitly makes selinux permissive. This should help in
scenarios such as hyperconverged where OSDs are colocated
with VMs on compute nodes which needs selinux enforcing, but
OSDs don't.
Signed-off-by: Deepak C Shetty <deepakcs@redhat.com>
2016-03-16 07:30:37 +00:00
Leseb
3cec4bb20b
Merge pull request #626 from ceph/conf-docs
...
documention on how to configure ceph.conf using ceph_conf_overrides
2016-03-15 15:52:37 +01:00
Andrew Schoen
07e9a62ff9
documention on how to configure ceph.conf using ceph_conf_overrides
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-03-15 09:44:31 -05:00
bdastur
23a002f0c5
Ability to generate repos for localmirror
2016-03-14 13:26:16 -07:00
Leseb
4331b8b639
Merge pull request #603 from bengland2/fix_purge_nonosd
...
fix purge-request.yml so non-OSD hosts will not fail
2016-03-14 18:35:35 +01:00
Leseb
57f4a77633
Merge pull request #621 from FooBarQuaxx/patch-1
...
Suppress Virtualbox disk creation if already present
2016-03-14 18:32:03 +01:00
Ben England
f67e4e6bf5
only do ls on directory that exists
2016-03-13 09:26:34 -04:00
MAA
45eadf003b
Suppress Virtualbox disk creation if already present
2016-03-12 23:36:57 +03:00
Leseb
1a62a81006
Merge pull request #614 from ceph/calamari-rest-api
...
Allow to install the calamari-server on monitors
2016-03-09 12:37:05 -08:00
Alfredo Deza
498cbbff08
add the commented out options for calamari-server in mons.sample
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-03-09 15:18:40 -05:00
Alfredo Deza
40cd754716
set the default to install calamari-server in a monitor
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-03-09 15:18:40 -05:00
Alfredo Deza
1dae862911
include calamari when the calamari option is set
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-03-09 15:18:40 -05:00
Alfredo Deza
b0a3f5b06d
create a calamari task in ceph-mon
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-03-09 15:18:36 -05:00