]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Alfredo Deza [Fri, 12 Feb 2016 20:54:56 +0000 (15:54 -0500)]
check for subscription manager
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 20:37:06 +0000 (15:37 -0500)]
create the task to install and configure the agent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 18:24:46 +0000 (13:24 -0500)]
better reword the master host variable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 18:08:32 +0000 (13:08 -0500)]
create a template for the ceph agent minion
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 17:01:51 +0000 (12:01 -0500)]
define the supported versions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 16:53:15 +0000 (11:53 -0500)]
initial files for the ceph-agent role
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Fri, 12 Feb 2016 14:56:30 +0000 (15:56 +0100)]
Merge pull request #538 from ceph/galaxy-requirements
add a galaxy dependency file example
Sébastien Han [Fri, 12 Feb 2016 14:55:42 +0000 (15:55 +0100)]
add a galaxy dependency file example
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 12 Feb 2016 00:08:09 +0000 (01:08 +0100)]
Merge pull request #536 from ceph/fix-auto-discover-disk
ceph-osd: fix the auto discovery scenario
Sébastien Han [Thu, 11 Feb 2016 23:54:09 +0000 (00:54 +0100)]
ceph-osd: fix register variable
as stated in https://github.com/ansible/ansible/issues/4297
if we register a variable twice and even if a task is skipped the
register will not get overwritten... So we use the fact variant as
mentionned in the ansible issue.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 11 Feb 2016 21:51:23 +0000 (22:51 +0100)]
ceph-osd: simply the regex to check the device
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 11 Feb 2016 21:40:59 +0000 (22:40 +0100)]
ceph-osd: fix the auto discovery scenario
While this is not widly used (AFAIK :p) the feature was broken. Thanks
to @zmc for reporting it. You can now set `osd_auto_discovery` to
true in your group_vars/osd and it will go through all the devices
available and will make them OSDs.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 11 Feb 2016 20:25:14 +0000 (21:25 +0100)]
Merge pull request #535 from dang/rgw_addr
Allow RGW and client VMs together
Daniel Gryniewicz [Thu, 11 Feb 2016 20:16:13 +0000 (15:16 -0500)]
Allow RGW and client VMs together
RGW and Client VMs were sharing a network range, causing vagrant
failure. Bump the RGW range to the next value.
Leseb [Thu, 11 Feb 2016 16:59:07 +0000 (17:59 +0100)]
Merge pull request #534 from ceph/fix-osd-typo
ceph-osd: docker: fix type
Sébastien Han [Thu, 11 Feb 2016 16:57:10 +0000 (17:57 +0100)]
ceph-osd: docker: fix type
use ceph_osd_docker_devices and not ceph_osd_docker_device
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 11 Feb 2016 16:52:04 +0000 (17:52 +0100)]
Merge pull request #533 from ceph/use-ansible-version
use the ansible_version variable
Sébastien Han [Thu, 11 Feb 2016 16:34:44 +0000 (17:34 +0100)]
use the ansible_version variable
use the builtin variable to check the ansible version
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 10 Feb 2016 22:57:01 +0000 (23:57 +0100)]
Merge branch 'master' of github.com:ceph/ceph-ansible
Leseb [Tue, 9 Feb 2016 13:05:05 +0000 (14:05 +0100)]
Merge pull request #526 from mattt416/issue_525
Change modes to string values
Leseb [Tue, 9 Feb 2016 13:05:05 +0000 (14:05 +0100)]
Merge pull request #526 from mattt416/issue_525
Change modes to string values
Matt Thompson [Tue, 9 Feb 2016 09:51:31 +0000 (09:51 +0000)]
Change modes to string values
Currently deploying a MON fails with "bad symbolic permission for mode"
errors due to the file/directory modes not being interpreted as octal
values. This commit updates roles/ceph-common/tasks/main.yml to set
the file/directory modes to strings so they can be interpreted
correctly.
Closes issue #525
Leseb [Mon, 8 Feb 2016 14:26:14 +0000 (15:26 +0100)]
Merge pull request #524 from ceph/fix-typo
ceph-rgw: fix docker typo
Sébastien Han [Mon, 8 Feb 2016 14:25:24 +0000 (15:25 +0100)]
ceph-rgw: fix docker typo
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Sun, 7 Feb 2016 21:36:38 +0000 (22:36 +0100)]
Merge pull request #521 from ceph/vagrant-container
ceph-ansible: allow to run containerized daemons
Sébastien Han [Sun, 7 Feb 2016 21:30:32 +0000 (22:30 +0100)]
ceph-ansible: allow to run containerized daemons
run containerized daemons in virtual machines.
to enable it simply do:
`cp site-docker.yml.sample site-docker.yml`
and set `docker: true` in `vagrant_variables.yml`
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 5 Feb 2016 16:22:14 +0000 (17:22 +0100)]
Merge pull request #519 from ceph/restapi-meta
ceph-restapi: fix meta file
Sébastien Han [Fri, 5 Feb 2016 16:19:54 +0000 (17:19 +0100)]
ceph-restapi: fix meta file
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 5 Feb 2016 15:41:35 +0000 (16:41 +0100)]
Merge pull request #512 from guits/quick_fix
Refact code using `set_fact` to handle 'legacy' versions
Guillaume Abrioux [Tue, 2 Feb 2016 14:10:24 +0000 (15:10 +0100)]
Refact code using `set_fact`
At the moment, all the tasks using the file module are duplicated to have differents ownerships depending on the fact `is_ceph_infernalis`.
The goal of this commit is to have a new logic for this:
- First set facts depending on the `is_ceph_infernalis` fact
- Create the files or directories using the setted facts as ownerships.
Leseb [Thu, 4 Feb 2016 14:31:12 +0000 (15:31 +0100)]
Merge pull request #516 from ceph/ansible-v2-warnings
ceph-common: replace 'sudo' by 'become'
Sébastien Han [Thu, 4 Feb 2016 11:36:46 +0000 (12:36 +0100)]
ceph-common: replace 'sudo' by 'become'
to avoid warning from ansible v2. works for both `1.9.4` and `2.0.0.2`.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 3 Feb 2016 17:42:39 +0000 (18:42 +0100)]
Merge pull request #514 from ceph/pkg-install-tags
Adds a package-install tag to all installation tasks
Andrew Schoen [Wed, 3 Feb 2016 17:27:16 +0000 (11:27 -0600)]
Adds a package-install tag to all installation tasks
We have a requirement to install the packages first without
configuration. These tags should allow us to target the tasks need to do
that.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Tue, 2 Feb 2016 14:16:03 +0000 (15:16 +0100)]
Merge pull request #508 from mattt416/upgrade_flag
Control when ceph packages get updated
Leseb [Tue, 2 Feb 2016 12:28:41 +0000 (13:28 +0100)]
Merge pull request #511 from ceph/use-pythonuuid
ceph-common: use a generic way to create uuid
Sébastien Han [Tue, 2 Feb 2016 10:23:28 +0000 (11:23 +0100)]
ceph-common: use a generic way to create uuid
as reported in #510 some systems don't have uuidgen installed so we
better use a more global way to generate it. It sounds like python
should be available in case uuidgen is not.
Otherwise we will have to find another way :)
closes #510
Signed-off-by: Sébastien Han <seb@redhat.com>
Matt Thompson [Fri, 29 Jan 2016 15:54:59 +0000 (15:54 +0000)]
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
Leseb [Fri, 29 Jan 2016 15:45:51 +0000 (16:45 +0100)]
Merge pull request #493 from ceph/sudo-test
CI does not use root, but sudo will do fine
Sébastien Han [Fri, 29 Jan 2016 00:15:32 +0000 (01:15 +0100)]
fix type on ice template
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 29 Jan 2016 00:03:04 +0000 (01:03 +0100)]
Merge pull request #502 from ceph/use-dnf
use dnf when yum is not available
Sébastien Han [Thu, 28 Jan 2016 18:11:22 +0000 (19:11 +0100)]
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>
Andrew Schoen [Wed, 27 Jan 2016 18:58:07 +0000 (12:58 -0600)]
remove remote_user from test.yml so it uses the current user
We need this so that the CI tests with jenkins will use the correct
user with sudo access.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Tue, 26 Jan 2016 12:10:41 +0000 (07:10 -0500)]
create a single-machine inventory for testing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 25 Jan 2016 23:00:12 +0000 (18:00 -0500)]
CI does not use root, but sudo will do fine
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Thu, 28 Jan 2016 17:51:42 +0000 (18:51 +0100)]
Merge pull request #501 from ceph/common-defaults
Add defaults for ceph_stable_ice_tmp_path and ceph_stable_ice_kmod
Andrew Schoen [Thu, 28 Jan 2016 17:40:18 +0000 (11:40 -0600)]
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>
Leseb [Thu, 28 Jan 2016 14:56:46 +0000 (15:56 +0100)]
Merge pull request #500 from ceph/python-pip
Fix pip package name on debian
Sébastien Han [Thu, 28 Jan 2016 14:55:53 +0000 (15:55 +0100)]
Fix pip package name on debian
use python-pip and not pip
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 27 Jan 2016 23:32:22 +0000 (00:32 +0100)]
Merge pull request #498 from ceph/fsid-monitor-key
remove unecessary variables
Sébastien Han [Wed, 27 Jan 2016 22:58:51 +0000 (23:58 +0100)]
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>
Leseb [Wed, 27 Jan 2016 22:30:56 +0000 (23:30 +0100)]
Merge pull request #497 from ceph/vm-kybte
update group_vars/all.sample with min_free_kbytes
Sébastien Han [Wed, 27 Jan 2016 22:29:54 +0000 (23:29 +0100)]
update group_vars/all.sample with min_free_kbytes
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 25 Jan 2016 13:09:26 +0000 (14:09 +0100)]
Merge pull request #490 from ceph/ansible-2
Necessary change to work on ansible v2
Sébastien Han [Fri, 22 Jan 2016 16:43:47 +0000 (11:43 -0500)]
Necessary change to work on ansible v2
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 22 Jan 2016 18:18:15 +0000 (13:18 -0500)]
Merge pull request #489 from ceph/vagrant-virtualbox-updates
updates related to using vagrant and virtualbox for testing
Andrew Schoen [Fri, 22 Jan 2016 17:07:24 +0000 (11:07 -0600)]
update the README on using vagrant with virtualbox
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 22 Jan 2016 17:00:36 +0000 (11:00 -0600)]
Include os_tuning_params in the settings used for vagrant testing
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 22 Jan 2016 16:58:33 +0000 (10:58 -0600)]
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>
Leseb [Fri, 22 Jan 2016 16:43:01 +0000 (11:43 -0500)]
Merge pull request #488 from PiotrProkop/fix
Adding python-setuptools dependency for CentOS 7.
pprokop [Fri, 22 Jan 2016 13:27:36 +0000 (14:27 +0100)]
Adding newline
pprokop [Fri, 22 Jan 2016 13:25:10 +0000 (14:25 +0100)]
Adding python-setuptools dependency for CentOS 7
Leseb [Wed, 20 Jan 2016 20:20:11 +0000 (15:20 -0500)]
Merge pull request #487 from mcsage/master
Changed vm.min_free_kbytes to 4 GB
mcsage [Wed, 20 Jan 2016 19:27:49 +0000 (20:27 +0100)]
Changed vm.min_free_kbytes to 4 GB
vm.min_free_kbytes was in bytes not in kbytes.
Leseb [Mon, 18 Jan 2016 07:31:54 +0000 (08:31 +0100)]
Merge pull request #485 from byronmccollum/conf-directory-permissions
Configurable Ceph Conf Directory Permissions
Byron McCollum [Sun, 17 Jan 2016 03:44:23 +0000 (21:44 -0600)]
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.
Leseb [Fri, 15 Jan 2016 18:11:36 +0000 (19:11 +0100)]
Merge pull request #484 from ceph/clarify-ceph-origin-repo
Clarify ceph_origin usage
Sébastien Han [Fri, 15 Jan 2016 18:10:47 +0000 (19:10 +0100)]
Clarify ceph_origin usage
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 15 Jan 2016 18:10:26 +0000 (19:10 +0100)]
Merge pull request #483 from bengland2/rhcs_repo_template
help ansible find repo template from installs subdirectory
Ben England [Fri, 15 Jan 2016 17:52:31 +0000 (12:52 -0500)]
help ansible find repo template from installs subdirectory
Leseb [Wed, 13 Jan 2016 15:22:32 +0000 (16:22 +0100)]
Merge pull request #478 from rootfs/systemd
systemd unit files fixes for infernalis
Huamin Chen [Wed, 13 Jan 2016 14:13:30 +0000 (14:13 +0000)]
review feedback: convert to yml format
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Tue, 12 Jan 2016 20:41:51 +0000 (20:41 +0000)]
make systemd enable work for osd instance
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Tue, 12 Jan 2016 20:12:40 +0000 (20:12 +0000)]
make systemd enable work for mon instance
Signed-off-by: Huamin Chen <hchen@redhat.com>
Leseb [Tue, 12 Jan 2016 13:11:25 +0000 (14:11 +0100)]
Merge pull request #476 from Logan2211/master
allow customization of debian ceph stable repo url
Logan V [Tue, 12 Jan 2016 12:38:17 +0000 (06:38 -0600)]
adding repo url to group_vars/all
Logan V [Mon, 11 Jan 2016 18:13:09 +0000 (12:13 -0600)]
allow customization of debian ceph stable repo url
Leseb [Mon, 11 Jan 2016 16:06:50 +0000 (17:06 +0100)]
Merge pull request #474 from fcharlier/patch-1
Fix failing install-ansible test
François Charlier [Mon, 11 Jan 2016 16:05:53 +0000 (17:05 +0100)]
Fix failing install-ansible test
Fix test for Red Hat Enterprise Server and add a default case.
Leseb [Mon, 11 Jan 2016 14:17:43 +0000 (15:17 +0100)]
Merge pull request #473 from ceph/fix-install-ansible
Fix install for rhel
Sébastien Han [Mon, 11 Jan 2016 14:07:19 +0000 (15:07 +0100)]
Fix install for rhel
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Sun, 10 Jan 2016 16:28:44 +0000 (17:28 +0100)]
Merge pull request #472 from ceph/nmap-optionnal
Do not make nmap mandatory
Sébastien Han [Sun, 10 Jan 2016 16:22:17 +0000 (17:22 +0100)]
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>
Leseb [Sun, 10 Jan 2016 15:59:32 +0000 (16:59 +0100)]
Merge pull request #471 from ceph/tiny-fix-nmap
Fix firewall check
Sébastien Han [Sun, 10 Jan 2016 15:52:37 +0000 (16:52 +0100)]
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>
Leseb [Fri, 8 Jan 2016 17:59:20 +0000 (18:59 +0100)]
Merge pull request #469 from ceph/firewall-checks
Check for blocked ports
Sébastien Han [Fri, 8 Jan 2016 15:36:31 +0000 (16:36 +0100)]
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>
Leseb [Fri, 8 Jan 2016 14:06:07 +0000 (15:06 +0100)]
Merge pull request #468 from bengland2/fix_check_system
use proper syntax for expanding variables
Leseb [Fri, 8 Jan 2016 14:05:57 +0000 (15:05 +0100)]
Merge pull request #467 from ceph/restapi-infernalis
Fix condition logic for infernalis in restapi
Ben England [Fri, 8 Jan 2016 13:54:00 +0000 (08:54 -0500)]
use proper syntax for expanding variables
Sébastien Han [Fri, 8 Jan 2016 13:52:50 +0000 (14:52 +0100)]
Fix condition logic for infernalis in restapi
fixes: #465
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 17 Dec 2015 09:22:51 +0000 (10:22 +0100)]
Merge pull request #460 from crcceph/master
fixed for infernalis on EL7
crcceph [Wed, 16 Dec 2015 19:01:39 +0000 (11:01 -0800)]
moved set_fact higher in file
moved set_fact for is_ceph_infernalis near top of file so that it can be used in other tests
Leseb [Wed, 16 Dec 2015 17:56:28 +0000 (18:56 +0100)]
Merge pull request #461 from ceph/templating
Using config_template
crcceph [Wed, 16 Dec 2015 17:01:36 +0000 (09:01 -0800)]
move set_fact above test
moved the set_fact above where it is being tested
Sébastien Han [Wed, 16 Dec 2015 15:11:14 +0000 (16:11 +0100)]
Using config_template
Thanks to @cloudnull great patch at
https://github.com/ansible/ansible/pull/12555
we now have the ability to add more configuration options instead of
having to push a PR to add a new option to the template. So you can
dynamically add and remove flags.
To use it, edit `ceph_conf_overrides` in `group_vars/all` like so:
```
ceph_conf_overrides
global:
foo: 12345
bar: 6789
```
Signed-off-by: Sébastien Han <seb@redhat.com>
crcceph [Wed, 16 Dec 2015 07:23:37 +0000 (23:23 -0800)]
added python-setuptools as dependency
CentOS7 needs python-setuptools for /usr/bin/ceph-init-detect to work correctly
crcceph [Wed, 16 Dec 2015 07:19:07 +0000 (23:19 -0800)]
changed permissions under ceph user
when running under the user ceph the rbd client directory should be owned by ceph
Leseb [Tue, 15 Dec 2015 22:31:03 +0000 (23:31 +0100)]
Merge pull request #459 from ceph/civetweb-port2
Change update group_vars ivetweb port
Sébastien Han [Tue, 15 Dec 2015 22:30:15 +0000 (23:30 +0100)]
Change update group_vars ivetweb port
follow up on #458
Signed-off-by: Sébastien Han <seb@redhat.com>