Matt Thompson
a227a50ab2
Control when ceph packages get updated
...
Currently, all the ceph package installation resources use
"state=latest", which means subsequent runs of the ceph playbooks
could result in ceph being upgraded if there are package updates
available in the selected repo.
This commit adds a new variable to ceph-common called
'upgrade_ceph_packages' which defaults to False. This variable is used
in the package installation resources for ceph packages to determine if
the resource should use "state=present" or "state=latest". If the
variable gets set to True, "state=latest" will be used.
Additionally, we update rolling_update.yml to override
upgrade_ceph_packages to true to permit package upgrades in this
context specifically.
Closes issue #506
2016-02-02 09:56:40 +00:00
Sébastien Han
2665c43f34
fix type on ice template
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-29 01:15:32 +01:00
Leseb
d54d6f9888
Merge pull request #502 from ceph/use-dnf
...
use dnf when yum is not available
2016-01-29 01:03:04 +01:00
Sébastien Han
17bc64e1ea
use dnf when yum is not available
...
fixes the `importError: No module named yum` see here:
https://jenkins.ceph.com/job/ceph-ansible-pull-requests/45/console
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-28 19:11:22 +01:00
Leseb
b1265608ad
Merge pull request #501 from ceph/common-defaults
...
Add defaults for ceph_stable_ice_tmp_path and ceph_stable_ice_kmod
2016-01-28 18:51:42 +01:00
Andrew Schoen
1fc8a17eb0
Add defaults for ceph_stable_ice_tmp_path and ceph_stable_ice_kmod
...
It seems that in ansible 2.0 even if a task is skipped by it's `when`
clause not evaluating to true the variables in the play are still
rendered. Because these were not defined in defaults/main.yml ansible
was failing in installs/install_on_redhat where those variables are
being used in a `with_items` stanza.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-01-28 11:40:18 -06:00
Leseb
a25d1f3692
Merge pull request #500 from ceph/python-pip
...
Fix pip package name on debian
2016-01-28 15:56:46 +01:00
Sébastien Han
f35a665634
Fix pip package name on debian
...
use python-pip and not pip
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-28 15:55:53 +01:00
Leseb
67eaabb6e4
Merge pull request #498 from ceph/fsid-monitor-key
...
remove unecessary variables
2016-01-28 00:32:22 +01:00
Sébastien Han
21cd46bf8a
remove unecessary variables
...
these variables will be created on the fly, there is no need to force
them.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-27 23:58:51 +01:00
Leseb
065ac72b9f
Merge pull request #497 from ceph/vm-kybte
...
update group_vars/all.sample with min_free_kbytes
2016-01-27 23:30:56 +01:00
Sébastien Han
22d1b26f15
update group_vars/all.sample with min_free_kbytes
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-27 23:29:54 +01:00
Leseb
2f0c853d32
Merge pull request #490 from ceph/ansible-2
...
Necessary change to work on ansible v2
2016-01-25 14:09:26 +01:00
Sébastien Han
64b32020e9
Necessary change to work on ansible v2
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-25 11:21:30 +01:00
Leseb
e86af15f21
Merge pull request #489 from ceph/vagrant-virtualbox-updates
...
updates related to using vagrant and virtualbox for testing
2016-01-22 13:18:15 -05:00
Andrew Schoen
ec573e6ca2
update the README on using vagrant with virtualbox
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-01-22 11:09:52 -06:00
Andrew Schoen
f5bf9d8c57
Include os_tuning_params in the settings used for vagrant testing
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-01-22 11:00:36 -06:00
Andrew Schoen
cb308d60a5
adds os_tuning_params to the vagrant_variables.yml.sample file
...
When using virtualbox with vagrant the default set of os_tuning_params
was locking up my vms. Specifically the vm.vfs_cache_pressure setting.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-01-22 10:58:33 -06:00
Leseb
eeb2f6ccc5
Merge pull request #488 from PiotrProkop/fix
...
Adding python-setuptools dependency for CentOS 7.
2016-01-22 11:43:01 -05:00
pprokop
cb21e4e3a3
Adding newline
2016-01-22 14:27:36 +01:00
pprokop
3cc0ea72cc
Adding python-setuptools dependency for CentOS 7
2016-01-22 14:25:10 +01:00
Leseb
926249b5f7
Merge pull request #487 from mcsage/master
...
Changed vm.min_free_kbytes to 4 GB
2016-01-20 15:20:11 -05:00
mcsage
8b78b96df5
Changed vm.min_free_kbytes to 4 GB
...
vm.min_free_kbytes was in bytes not in kbytes.
2016-01-20 20:27:49 +01:00
Leseb
d4a26e90e2
Merge pull request #485 from byronmccollum/conf-directory-permissions
...
Configurable Ceph Conf Directory Permissions
2016-01-18 08:31:54 +01:00
Byron McCollum
a9dceb6ca3
Configurable Ceph Conf Directory Permissions
...
This change allows for configurable Ceph Conf Directory permissions. This
is required for integrators of Ceph, like OpenStack Cinder, which needs to
read from /etc/ceph for operation.
2016-01-17 17:57:09 -06:00
Leseb
4466af8c6e
Merge pull request #484 from ceph/clarify-ceph-origin-repo
...
Clarify ceph_origin usage
2016-01-15 19:11:36 +01:00
Sébastien Han
9157656d49
Clarify ceph_origin usage
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-15 19:10:47 +01:00
Leseb
09336cef20
Merge pull request #483 from bengland2/rhcs_repo_template
...
help ansible find repo template from installs subdirectory
2016-01-15 19:10:26 +01:00
Ben England
b5cdacb136
help ansible find repo template from installs subdirectory
2016-01-15 12:52:31 -05:00
Leseb
a4646dd3f2
Merge pull request #478 from rootfs/systemd
...
systemd unit files fixes for infernalis
2016-01-13 16:22:32 +01:00
Huamin Chen
63bd78c12a
review feedback: convert to yml format
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-01-13 14:13:30 +00:00
Huamin Chen
519a9e91b1
make systemd enable work for osd instance
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-01-13 00:40:56 +00:00
Huamin Chen
99c429930e
make systemd enable work for mon instance
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-01-12 20:12:40 +00:00
Leseb
013f0c372a
Merge pull request #476 from Logan2211/master
...
allow customization of debian ceph stable repo url
2016-01-12 14:11:25 +01:00
Logan V
044396369f
adding repo url to group_vars/all
2016-01-12 06:38:17 -06:00
Logan V
d23b27e6d7
allow customization of debian ceph stable repo url
2016-01-11 12:13:09 -06:00
Leseb
00f10c828a
Merge pull request #474 from fcharlier/patch-1
...
Fix failing install-ansible test
2016-01-11 17:06:50 +01:00
François Charlier
ee61abef30
Fix failing install-ansible test
...
Fix test for Red Hat Enterprise Server and add a default case.
2016-01-11 17:05:53 +01:00
Leseb
ba6a54fc53
Merge pull request #473 from ceph/fix-install-ansible
...
Fix install for rhel
2016-01-11 15:17:43 +01:00
Sébastien Han
92ba3ba04a
Fix install for rhel
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-11 15:07:19 +01:00
Leseb
c0b5e43c21
Merge pull request #472 from ceph/nmap-optionnal
...
Do not make nmap mandatory
2016-01-10 17:28:44 +01:00
Sébastien Han
789834f847
Do not make nmap mandatory
...
We can not force people to have nmap installed so instead we raise a
warning is not present.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-10 17:22:17 +01:00
Leseb
59811bd83c
Merge pull request #471 from ceph/tiny-fix-nmap
...
Fix firewall check
2016-01-10 16:59:32 +01:00
Sébastien Han
0a576bebf9
Fix firewall check
...
Use command module instead of shell since we do not do anything fancy
here. Remove the duplicate register.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-10 16:52:37 +01:00
Leseb
876811ae6a
Merge pull request #469 from ceph/firewall-checks
...
Check for blocked ports
2016-01-08 18:59:20 +01:00
Sébastien Han
9209f50868
Check for blocked ports
...
As raised in #466 it is important in order to avoid unnecessary
troubleshooting to check that ceph ports are allowed on the platform.
The check runs a nmap command from the host running Ansible
to all the ceph nodes with their respective ports.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-08 18:57:13 +01:00
Leseb
72567a741b
Merge pull request #468 from bengland2/fix_check_system
...
use proper syntax for expanding variables
2016-01-08 15:06:07 +01:00
Leseb
9401c1472c
Merge pull request #467 from ceph/restapi-infernalis
...
Fix condition logic for infernalis in restapi
2016-01-08 15:05:57 +01:00
Ben England
3ba824ffd8
use proper syntax for expanding variables
2016-01-08 08:54:00 -05:00
Sébastien Han
1d792fcdb1
Fix condition logic for infernalis in restapi
...
fixes : #465
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-08 14:52:50 +01:00