Commit Graph

2661 Commits (d0a17b11b21d3cd670e6dc106cdd02940e17b277)
 

Author SHA1 Message Date
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
leseb ec485c197e ceph-common was running twice
Sinxe each Ceph role (except ceph-common) has a dependancy to
ceph-common we don't need to declare ceph-common again.
Prior to this change the ceph-common role was running twice, thing that
wasn't really elegant.

Signed-off-by: leseb <seb@redhat.com>
2015-06-30 15:59:30 +02:00
Leseb 5c71033374 Merge pull request #294 from leseb/vagrant-demo
Add vagrant demo video
2015-06-30 13:50:01 +02:00
leseb 6633bc92e7 Add vagrant demo video
Signed-off-by: leseb <seb@redhat.com>
2015-06-30 13:49:49 +02:00
Leseb 095a60e633 Merge pull request #293 from leseb/rest-api-group-vars
Add group_vars for restapi
2015-06-30 13:46:10 +02:00
leseb 5fb6df1cf3 Add group_vars for restapi
Signed-off-by: leseb <seb@redhat.com>
2015-06-30 13:44:58 +02:00
Leseb 61926c970c Merge pull request #292 from leseb/restapi-container
Add restapi container deployment
2015-06-29 14:29:13 +02:00
leseb 083d7740f7 Add restapi container deployment
Signed-off-by: leseb <seb@redhat.com>
2015-06-29 14:19:47 +02:00
Leseb 02b53e1333 Merge pull request #290 from leseb/bjne-group_names
Bjne group names
2015-06-26 15:12:21 +02:00