Leseb
4bfae5fc7a
Merge pull request #733 from jimcurtis/master
...
docker: fixes for OpenStack VMs
2016-04-28 14:45:37 -05:00
Jim Curtis
19d8e0c1ce
docker: Fix ordering of rgw docker tasks so directory is created befor fetch
2016-04-26 16:34:57 -07:00
Ivo Jimenez
ea7a79c385
Modifies docker image variable being reference
...
These reference ceph_mon_docker_username instead of the corresponding
one
2016-04-24 14:32:17 -07:00
Sébastien Han
7424ad6d68
docker: do not hardcode image and user name
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-04-12 12:01:53 +02:00
Sébastien Han
df6c3f4f72
ceph-docker: fix permissions on directories
...
fixing the can't open /var/lib/ceph/bootstrap-osd/ceph.keyring: can't
open /var/lib/ceph/bootstrap-osd/ceph.keyring: (13) Permission denied
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-04-01 14:43:33 +02:00
Sébastien Han
b0f56590e0
docker: fix tons of issues
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-24 17:55:21 +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
Sébastien Han
17fb38294e
Octal file permissions must contain leading zero
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-21 18:21:19 +01:00
Sébastien Han
774966b671
ceph-rgw: fix docker typo
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-08 15:25:24 +01:00
Sébastien Han
fa610cabf7
ceph-ansible: allow to run containerized daemons
...
run containerized daemons in virtual machines.
to enable it simply do:
`cp site-docker.yml.sample site-docker.yml`
and set `docker: true` in `vagrant_variables.yml`
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-07 22:30:32 +01:00
Sébastien Han
c0a3837d6e
ceph-common: replace 'sudo' by 'become'
...
to avoid warning from ansible v2. works for both `1.9.4` and `2.0.0.2`.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-04 12:36:46 +01:00
Sébastien Han
17bc64e1ea
use dnf when yum is not available
...
fixes the `importError: No module named yum` see here:
https://jenkins.ceph.com/job/ceph-ansible-pull-requests/45/console
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-28 19:11:22 +01:00
Sébastien Han
f35a665634
Fix pip package name on debian
...
use python-pip and not pip
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-28 15:55:53 +01:00
Sébastien Han
fcfac5c1e1
Install pip before using it
...
Fixes : #430
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-16 11:47:23 +01:00
Sébastien Han
9264a868fd
Add proper permission for selinux
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 12:11:32 +02:00
Sébastien Han
33ed4f5029
Fix typo
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 02:18:48 +02:00
Sébastien Han
2daeb807ed
Add safety checks prior to deploy a cluster in containers
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 02:12:43 +02:00
Sébastien Han
4c4aa32943
Create missing directories when deploying with docker
...
Signed-off-by: Sébastien Han <sebhan@cisco.com>
2015-10-20 17:05:34 +02:00
Michael Sambol
dedb7cfd96
Refactor rgw
2015-10-18 22:19:44 -05:00
Matt Thompson
afc934d22a
Make fetch directory configurable
...
Currently, the fetch directory is created in your working directory
(where ansible is run from). We prefer to not keep any state in this
directory and would prefer to have the fetch directory configurable so
we can store it outside of our code checkout.
This commit creates a new variable in each role called
`fetch_directory` (defaulting to the previous value of 'fetch/'), and
then updates each reference to 'fetch' to use the new variable instead.
Closes issue #383
2015-08-27 16:49:50 +01:00
Sébastien Han
b47344fdd4
Cleanup and change_when watch
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-30 11:33:08 +02:00
Sébastien Han
ecc92768b9
Expose rgw ports
...
The 'ports' option was missing, so in order to expose a port we need
"expose" and "ports" options.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-30 11:25:46 +02:00
Sébastien Han
7184d21af5
Re-arrange docker invocation and fix bootstrap rgw
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-28 17:46:56 +02:00