Leseb
17dd29a556
Merge pull request #312 from ceph/disable-cdn-option
...
Safer check
2015-07-03 16:57:51 +02:00
leseb
d331af4e16
Safer check
...
Without this, the subcription manager will run since the default value
for cdn is true...
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 16:56:34 +02:00
Leseb
f4414208d2
Merge pull request #311 from ti-mo/python2-local-action
...
Use local_action to ensure Ansible executes under python2
2015-07-03 16:54:38 +02:00
leseb
99e401b7c9
Add more repo source for stable
...
Attempt to fix #305
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 16:35:17 +02:00
Timo Beckers
d28bd99f89
Use local_action to ensure Ansible executes under python2
2015-07-03 16:25:17 +02:00
leseb
77b5650180
Add red hat storage cdn installation
...
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 12:38:17 +02:00
Leseb
e3988ca099
Merge pull request #304 from ceph/cleanup-rgw
...
Cleanup daemon declaration
2015-07-02 15:32:44 +02:00
leseb
c670004de2
Cleanup daemon declaration
...
Now we don't need to activate the services through a variable. If the
role is activated in the inventory, actions will occur automatically.
Fixing the repo creation for red hat storage too.
Signed-off-by: leseb <seb@redhat.com>
2015-07-02 15:22:18 +02:00
leseb
25ac1af009
Tiny fix for a variable undeclared
...
Signed-off-by: leseb <seb@redhat.com>
2015-07-01 19:15:10 +02:00
leseb
11f72c62f9
Add red hat storage support
...
The new product version has jsut came out. ICE doesn't exist anymore and
Red Hat Storage is the name of the new product.
Signed-off-by: leseb <seb@redhat.com>
2015-07-01 18:36:26 +02:00
leseb
39ebb8f22e
Only apply os-tuning to OSD nodes
...
There is no need to apply these tuning flags to all the nodes.
Signed-off-by: leseb <seb@redhat.com>
2015-06-30 18:13:03 +02:00
leseb
89355e6b77
Improve handlers
...
Signed-off-by: leseb <seb@redhat.com>
2015-06-30 18:07:03 +02:00
leseb
c3bc5b3e44
Merge branch 'group_names' of https://github.com/bjne/ceph-ansible into bjne-group_names
...
Signed-off-by: leseb <seb@redhat.com>
Conflicts:
roles/ceph-common/handlers/main.yml
roles/ceph-mon/tasks/ceph_keys.yml
2015-06-26 15:10:50 +02:00
leseb
4a2c7ae0c1
Cosmetic
...
Add more visibility for the 'when' statement.
Signed-off-by: leseb <seb@redhat.com>
2015-06-26 14:48:05 +02:00
Sébastien Han
3fe1fcc410
Create client socket path
...
This will avoid some error messages from the client when running a
command with the CLI or other.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-17 13:44:05 +02:00
Sébastien Han
57d6ddc56b
Use a bootstrap key for rgw
...
Following the best practice, we don't create a key from the monitor but
we really on the initial keys created by the mons to bootstrap each
daemon.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-12 14:41:40 +02:00
Sébastien Han
b50e525004
Reduce scrubbing impact
...
Add more param to reduce the scrub overhead.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-11 16:49:57 +02:00
Bjørnar Ness
5588ada332
make group names definable
2015-06-11 02:42:41 +02:00
Sébastien Han
e1f0e660e8
Add more flags to RBD clients
...
More options.
We also now configure the rbd clients directories for logs and socket.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-09 17:20:15 +02:00
Bjørnar Ness
a5ed377e4e
Add rbd_concurrent_management_ops
2015-06-09 00:42:01 +02:00
Sébastien Han
bdd4cc4363
Add support for Rados Gateway configuration with Keystone
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-03 21:42:16 +02:00
Sébastien Han
8b39214ab8
Consmetic changes
...
This branch has been sitting on my local repo for a while. I guess I had
time to spend on a plane :).
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-05-15 18:27:41 +02:00
Sébastien Han
8dc1554788
Fix multiple things
...
* fix the Vagrantfile ruby check
* fix the variable positions
Bring more mandatory variables and try to separate Vagrant vars from the
playbook vars.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-05-15 14:32:26 +02:00
Yin Jifeng
f0b5691186
make sure journal_size configured
2015-05-14 19:55:09 +08:00
Yin Jifeng
95ca89695c
use yum to install ceph noarch package
...
command + creates prevent the package to be upgraded.
rpm returns 0 when install success, and
1 (Error: Nothing to do) when reinstall the same package
2015-04-16 15:16:18 +08:00
Yin Jifeng
a6d012b542
sysctl ignoreerrors
...
some key fails under CentOS 6
2015-04-15 03:46:03 +08:00
Sébastien Han
5927df7962
Add ceph-common role to client machines
...
Add another warning for cephx signatures
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-14 12:53:41 +02:00
Sébastien Han
7b77ce5a9a
Use last Ceph release Hammer
...
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-09 10:55:41 +02:00
Sébastien Han
d20288c3c2
Only change when the task returns false
...
We only want to see things that really changed after a play completes.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-08 18:46:54 +02:00
Sébastien Han
a2bef31425
Implement Ceph REST API
...
Now the Ceph REST API can be deployed.
Default implementation deploys it on the same nodes as the monitors
which should be fine.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-23 18:30:52 +01:00
Sébastien Han
4f68598779
Rework radosgw keys and data dir path
...
Fix the usage of Upstart for Ubuntu machines instead of the init.d
script.
Note that because of the way upstart init script looks at the radosgw id
the command 'start radosgw id=' is broken, you should use 'start
radosgw-all' instead.
Keep backard compatibility with the radosgw init script as well by using
client prefixed by 'client.radosgw'.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-23 14:41:22 +01:00
Sébastien Han
e4a9031952
Improve YAML syntax
...
Improve readibility.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-19 12:23:12 +01:00
Sébastien Han
3624a85b64
Docker support
...
WIP!
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-11 21:21:52 -05:00
Leseb
c0ce7dd754
Merge pull request #222 from leseb/improve-handlers
...
Improve Handler support
2015-03-02 17:16:32 +01:00
Sébastien Han
559e3b921d
Improve Handler support
...
Now proper commands/actions are used per hosts and groups.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 17:13:30 +01:00
Leseb
1323f7cb89
Merge pull request #212 from leseb/rbd-client-logs
...
Add RBD client logs support
2015-03-02 15:12:56 +01:00
Sébastien Han
c5c0e21532
Add support of civetweb for Rados Gateway
...
Almost here.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 14:16:53 +01:00
Sébastien Han
68e470c6b8
Add RBD client logs support
...
The path must be writable by QEMU and allowed by SELinux or AppArmor
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-23 15:28:27 +01:00
Sébastien Han
6f0a0f7a71
Bring multi RGW support
...
Now we can setup multi-rgw with the playbook.
Each rgw instance has its own key.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-22 01:23:03 +01:00
Sébastien Han
eae7bd6029
Fix the rgw section
...
If we use the hostname, the radosgw will lookup for a wrong secret.
Using the same name for all the gateways.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-20 18:41:49 +01:00
Sébastien Han
0095b34c88
Improve RGW config section
...
Use hostname in socket and log.
Improve jinja template so when a var doesn't exist we don't indent the
next line.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-15 02:21:27 +01:00
marmot21
dc32268563
Update ceph.conf.j2
...
This is just a simple change that will allow multiple gateways
2015-02-12 22:16:24 +11:00
Sébastien Han
9f93b66fae
Refactor keys creation and fetching
...
We isolated the key operations into a file and modified the fetch
function to collect all the new keys.
In the mean time fixed the pool creation since the command is not
indempotent.
Renamed the rgw key to work with the key collection.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-30 18:20:17 +01:00
Yin Jifeng
8eca518348
update distro comment
...
so we don't need change them every ceph release
2015-01-26 14:22:06 +08:00
Yin Jifeng
e13aca8c5f
epel-release is mandatory
...
see: https://www.mail-archive.com/ceph-users@lists.ceph.com/msg14819.html
also: 831b130f98
2015-01-22 21:36:47 +08:00
Yin Jifeng
30ac90dcfa
update ceph noarch repo url
2015-01-22 20:07:46 +08:00
Sébastien Han
74ffbf90fc
Enable Ceph daemons debug options
...
Add debug options for Ceph daemons.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-16 14:42:11 +01:00
Leseb
e18588b147
Merge pull request #186 from leseb/swapoff
...
Ability to disable swap
2015-01-15 11:44:11 +01:00
Sébastien Han
c246d8dc80
Ability to disable swap
...
With enough memory we will probably not need any swap.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-15 11:42:51 +01:00
Sébastien Han
9b0b83a354
Decrease vfs cache pressure
...
On OSD servers we want to keep as much inodes and dentries in memory as
we can.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-15 11:08:57 +01:00