leseb
4b63bb92ba
Fix variable
...
Should have looked at Travis this time...
Signed-off-by: leseb <seb@redhat.com>
2015-07-08 11:17:27 +02:00
leseb
e249098f7b
Improve purge playbook
...
We run a zap twice here since we can't combine with_items and
with_sequence yet. This will land in Ansible 2.0. We destroy all the
partitions and re-create new labels as well. We do this twice just
because sometimes one is not sufficient. We also call partprobe to make
sure that the kernel sees the changes.
Signed-off-by: leseb <seb@redhat.com>
2015-07-08 10:34:16 +02:00
Leseb
8aaf879a71
Merge pull request #323 from ceph/reuse-public-eth
...
Re-use public network for private network
2015-07-07 18:21:44 +02:00
leseb
9831da7510
Re-use public network for private network
...
We don't always have a dedicated cluster network so we can by default
re-use the public network value.
This is just laziness :).
Signed-off-by: leseb <seb@redhat.com>
2015-07-07 18:18:47 +02:00
Leseb
d9b67e0c55
Merge pull request #322 from ceph/activate-rgw-rhel
...
Activate rgw rhel
2015-07-07 17:56:13 +02:00
leseb
afe10d4e53
Disable monitors complain about low pgs per osd
...
Also add a bunch of option that weren't activated before...
Signed-off-by: leseb <seb@redhat.com>
2015-07-07 17:55:05 +02:00
leseb
fd2515f9c5
Activate rgws on rhel7
...
Signed-off-by: leseb <seb@redhat.com>
2015-07-07 17:41:28 +02:00
leseb
f3fc01e94c
Activate rados gateway with systemd
...
Signed-off-by: leseb <seb@redhat.com>
2015-07-07 11:27:52 +02:00
Leseb
2dd12c93e1
Merge pull request #321 from ceph/do-not-use-latest
...
Do not use latest package
2015-07-07 10:41:11 +02:00
leseb
d432af18fe
Do not use latest package
...
While re-running the playbook we do not want to check for new packages.
We shouldn't perform upgrades, we leave this to the operators.
Signed-off-by: leseb <seb@redhat.com>
2015-07-07 10:39:05 +02:00
Leseb
48bfa6bfcf
Merge pull request #320 from ceph/rework-zap-disk
...
Make zap option more secure
2015-07-06 19:11:40 +02:00
leseb
40ec00d7f4
Make zap option more secure
...
Prior to this change, the zap was executed during every play, this was
not ideal. Now we do check if there is a 'ceph' partition. If so we skip
the zap.
Signed-off-by: leseb <seb@redhat.com>
2015-07-06 18:53:31 +02:00
Leseb
5a6a87677e
Merge pull request #319 from ceph/ignore-errors
...
Ignore errors
2015-07-06 18:33:38 +02:00
leseb
52ddb461b6
Ignore errors
...
If we don't ignore errors here, the node will get skipped for the rest
of the playbook...
Signed-off-by: leseb <seb@redhat.com>
2015-07-06 18:22:01 +02:00
Leseb
b3df702926
Merge pull request #318 from ceph/repo-changed-when
...
Do not change when adding the repo
2015-07-06 17:50:26 +02:00
leseb
ed3a7136da
Fix a terrible mistake in the ceph.conf template
...
Feel so bad about this one...
Now it's fixed, the rgw section will be activated once the rgws hosts
are part of the inventory.
Signed-off-by: leseb <seb@redhat.com>
2015-07-06 17:39:37 +02:00
leseb
070b790af0
Speed up repository check
...
Even if the subcription command is indempotent it takes around 15/16sec
to get it done. Where with the simple yum check we lower down this to
3sec.
Signed-off-by: leseb <seb@redhat.com>
2015-07-06 17:29:25 +02:00
leseb
6cda705c43
Do not change when adding the repo
...
Since the command is indempotent we don't need to check if the repo is
enabled as it will likely take twice the time.
Signed-off-by: leseb <seb@redhat.com>
2015-07-06 17:03:31 +02:00
Leseb
5b6417dce3
Merge pull request #317 from ceph/add-more-options
...
Add more client options
2015-07-06 14:00:06 +02:00
leseb
b6f16164c6
Add more client options
...
Add `rbd_default_features` and `rbd_default_map_options`.
Signed-off-by: leseb <seb@redhat.com>
2015-07-06 13:58:08 +02:00
Leseb
0ac89101be
Merge pull request #315 from ceph/check-vars
...
Use more variable check
2015-07-04 20:51:09 +02:00
leseb
7fdc2b1d36
Use more variable check
...
Fail early if a variable is not defined.
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 21:38:30 +02:00
Leseb
08fad35751
Merge pull request #313 from ceph/change-default-options
...
Change default options
2015-07-03 18:48:58 +02:00
Leseb
cec3329749
Merge pull request #314 from ceph/fix-iso-fetch
...
Fix iso fetch
2015-07-03 18:48:33 +02:00
leseb
72df334b8c
Fix restapi invocation
...
Hopefully for good this time...
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 18:46:57 +02:00
leseb
b0891016a9
Fix the method used
...
We need to collect the iso from the ansible server.
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 18:43:04 +02:00
leseb
50d1f73afe
Change default options
...
We want to force the user to only enable the options they need. Thus
they shouldn't have to enable one option and then disable another.
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 18:38:30 +02:00
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
6ae4026c92
Merge pull request #310 from ceph/more-repos
...
Add more repo source for stable
2015-07-03 16:36:03 +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
4e28d04229
Merge pull request #309 from ceph/restapi-fix
...
Only activate restpi when needed
2015-07-03 16:23:10 +02:00
leseb
98c3666600
Only activate restpi when needed
...
Signed-off-by: leseb <seb@redhat.com>
2015-07-03 16:22:27 +02:00
Leseb
071fdcf3d5
Merge pull request #306 from ceph/cdn-mode-rh-storage
...
Add red hat storage cdn installation
2015-07-03 14:41:32 +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
b55d62eecc
Merge pull request #303 from ceph/rh-storage-fix
...
Tiny fix for a variable undeclared
2015-07-01 19:17:29 +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
530be7ef13
Merge pull request #302 from ceph/rh-storage-1-3
...
Add red hat storage support
2015-07-01 18:38:02 +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
8a493af632
Merge pull request #300 from leseb/rgw-start-rhel
...
Fixes rgw and mon startup on red hat
2015-06-30 19:20:40 +02:00
leseb
4463c68ebd
Fixes rgw and mon startup on red hat
...
closes : #297 , #264 , #265 and #301
Signed-off-by: leseb <seb@redhat.com>
2015-06-30 19:19:08 +02:00
Leseb
0ce75b2c9f
Merge pull request #299 from leseb/os-tuning-osd-only
...
Only apply os-tuning to OSD nodes
2015-06-30 18:13:55 +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
829b9a8ab4
Merge pull request #298 from leseb/ceph-mon-handler
...
Improve handlers
2015-06-30 18:10:05 +02:00
leseb
89355e6b77
Improve handlers
...
Signed-off-by: leseb <seb@redhat.com>
2015-06-30 18:07:03 +02:00
Leseb
a23513d5d2
Merge pull request #295 from leseb/ceph-common-tun-twice
...
ceph-common was running twice
2015-06-30 16:22:31 +02:00