Commit Graph

1040 Commits (5705cc71a314c9de43048910034f6be2015473a8)
 

Author SHA1 Message Date
leseb f1e6b0216d Re-arrange roles
Trying to add more clarity in the role's task structure.

Signed-off-by: leseb <seb@redhat.com>
2015-07-24 14:50:32 +02:00
Leseb c73e153808 Merge pull request #335 from ceph/ceph-version-return-code
Fix ceph version return code issue
2015-07-24 12:39:10 +02:00
leseb 518785d113 Fix ceph version return code issue
fixes: #258

Signed-off-by: leseb <seb@redhat.com>
2015-07-24 12:36:45 +02:00
Leseb b26e35a70e Merge pull request #332 from ceph/galaxy
First steps to Ansible Galaxy
2015-07-23 13:24:31 +02:00
leseb 7bb28afdd8 First steps to Ansible Galaxy
Signed-off-by: leseb <seb@redhat.com>
2015-07-23 11:45:19 +02:00
Leseb 8e60d6182d Merge pull request #331 from ceph/add-primary-aff
Add primary affinity option
2015-07-20 15:00:18 +02:00
leseb 1112cf5431 Add primary affinity option
Signed-off-by: leseb <seb@redhat.com>
2015-07-20 14:48:58 +02:00
Leseb 5350520f64 Merge pull request #330 from ceph/vagrant-clean
Do not track fetch directory
2015-07-17 19:00:00 +02:00
leseb 5fc4d846a6 Do not track fetch directory
Signed-off-by: leseb <seb@redhat.com>
2015-07-17 18:14:12 +02:00
Leseb f247d86b14 Merge pull request #328 from ceph/group-vars
Do not track group_vars files
2015-07-17 15:32:04 +02:00
Leseb 9825a448c8 Merge pull request #329 from ceph/fix-mon-gen-key
Fix monitor key generation
2015-07-17 15:29:51 +02:00
leseb c8edb29909 Fix monitor key generation
Signed-off-by: leseb <seb@redhat.com>
2015-07-17 15:26:38 +02:00
leseb be34f2de5f Do not track group_vars files
While deploying it's a bit annoying to have these files tracked by git.
If we want to closely work with the upstream version it will be easier.

Signed-off-by: leseb <seb@redhat.com>
2015-07-17 14:42:16 +02:00
Leseb 6bdf09d166 Merge pull request #327 from ceph/generate-monkey
Generate initial monitor key dynamically
2015-07-17 14:36:56 +02:00
leseb 444837e9ae Do not change while checking
Signed-off-by: leseb <seb@redhat.com>
2015-07-17 14:34:44 +02:00
leseb c27450ff40 Generate initial monitor key dynamically
Cool stuff :). We don't need to specify an initial monitor key anymore.
A key will automatically be generated.

The default key can always be overriden with the `monitor_secret`
variable.

Signed-off-by: leseb <seb@redhat.com>
2015-07-17 11:58:50 +02:00
Leseb 03fdb46dc4 Merge pull request #326 from ceph/bare-metal-video
Add bare metal video
2015-07-08 16:21:30 +02:00
leseb 5bedc8b8e6 Add bare metal video
Signed-off-by: leseb <seb@redhat.com>
2015-07-08 16:21:16 +02:00
Leseb 9761570bb7 Merge pull request #325 from ceph/img-format
Add support for image format
2015-07-08 14:31:49 +02:00
leseb b6d5c6634f Add support for image format
By default, we want to use format 2.
This closely works with rbd features as well.

Signed-off-by: leseb <seb@redhat.com>
2015-07-08 14:21:16 +02:00
Leseb 35176cef03 Merge pull request #324 from ceph/improve-purge
Improve purge playbook
2015-07-08 11:21:19 +02:00
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