Commit Graph

3504 Commits (277d885bc997cab538c933d0a395c81cecd127b0)
 

Author SHA1 Message Date
Sébastien Han 220e07e842 Fix wrong condition
We obviously want to fetch when the files exists :).

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-27 17:48:04 +02:00
Sébastien Han 07bd04c851 Fix pip module invocation
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-27 17:41:58 +02:00
leseb 18fd87795f Fix templates file path
fixes: #342

Signed-off-by: leseb <seb@redhat.com>
2015-07-27 13:27:21 +02:00
Leseb 5e5d68ba41 Merge pull request #341 from ceph/contrib-note
Add contribution note
2015-07-25 11:12:18 +02:00
leseb 2cb0fab421 Add contribution note
Signed-off-by: leseb <seb@redhat.com>
2015-07-25 11:10:39 +02:00
Leseb 888ea92854 Merge pull request #340 from ceph/add-readmes
Add READMEs for each roles
2015-07-25 10:55:04 +02:00
leseb d84159bdb3 Add READMEs for each roles
Galaxy here we are!

Signed-off-by: leseb <seb@redhat.com>
2015-07-25 10:51:53 +02:00
Leseb f0b9eda6b9 Merge pull request #334 from lyandrew/master
Create fetch directory if it doesn't exist.
2015-07-25 09:23:41 +02:00
Andrew F. Ly 76d2cd381d Create a local fetch directory if it doesn't exist 2015-07-24 22:10:39 -05:00
Leseb 2c5b03b353 Merge pull request #339 from ceph/fix-split
Fix the branch update
2015-07-24 19:17:20 +02:00
leseb 1f5cf4f8f3 Fix the branch update
Signed-off-by: leseb <seb@redhat.com>
2015-07-24 19:16:32 +02:00
Leseb e8559bf052 Merge pull request #337 from ceph/split-repo
Modify the repo to host reoles on the galaxy
2015-07-24 18:28:05 +02:00
leseb 08add29d92 Modify the repo to host reoles on the galaxy
Signed-off-by: leseb <seb@redhat.com>
2015-07-24 18:14:59 +02:00
Leseb 1c683a9366 Merge pull request #336 from ceph/re-arrange-dir
Re-arrange roles
2015-07-24 16:25:42 +02:00
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