Commit Graph

1213 Commits (4e9b07c3c8103b35d6dc2218f21522a8025cbcfc)
 

Author SHA1 Message Date
Alfredo Deza 8763b98e0a ceph-mon: port deploy_monitors task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-27 10:21:16 -04:00
Alfredo Deza df31745911 ceph-common: port main task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-27 10:21:16 -04:00
Alfredo Deza be8ae40bfb create is_before_RELEASE vars as well
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-27 10:21:16 -04:00
Alfredo Deza 8f35f1fb9b ceph-common: include the facts task always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-27 10:21:16 -04:00
Alfredo Deza 25cc1ec1d3 ceph-common: create a facts task to define ceph versions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-27 10:21:16 -04:00
Jim Curtis 19d8e0c1ce docker: Fix ordering of rgw docker tasks so directory is created befor fetch 2016-04-26 16:34:57 -07:00
Ben England f3355b9b5e cleanup /tmp/rh-storage-repo so newer repos are actually installed 2016-04-26 13:01:01 -04:00
Jim Curtis 78eb4f5c24 docker: fixes for OpenStack VMs 2016-04-26 08:20:02 -07:00
Leseb f3d98a64f9 Merge pull request #731 from ivotron/issue-730
bind-mounts /dev in osd containers
2016-04-25 14:56:52 -05:00
Leseb 9d10c6408c Merge pull request #724 from ivotron/issue-723
Modifies docker image variable being referenced
2016-04-25 14:46:07 -05:00
Ivo Jimenez 9ac9103e0d bind-mounts /dev in osd containers
This is needed in order to make ceph-disk work
2016-04-25 11:45:23 -05:00
Ivo Jimenez ea7a79c385 Modifies docker image variable being reference
These reference ceph_mon_docker_username instead of the corresponding
one
2016-04-24 14:32:17 -07:00
Leseb 7bd44d0563 Merge pull request #721 from ceph/fix-admin-socket-warning
change defaults for rbd_client_directories and rbd_client_admin_socket_path
2016-04-23 01:00:23 +02:00
Andrew Schoen 79a6e05228 default rbd_client_log_path to /var/log/ceph
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-04-22 12:39:16 -05:00
Leseb 0632229de9 Merge pull request #722 from ceph/rgw-civet-listen
ceph-rgw: ability to bind civetweb on an IP
2016-04-22 18:14:29 +02:00
Andrew Schoen b649c4229a default rbd_client_admin_socket_path to /var/run/ceph
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-04-22 10:59:00 -05:00
Andrew Schoen f297af23c5 default rbd_client_directories to true
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-04-22 10:56:30 -05:00
Sébastien Han 4fa4154b4d ceph-rgw: ability to bind civetweb on an IP
Introducing a new config option: `radosgw_civetweb_bind_ip` which points
to the `ansible_default_ipv4` by default. You can override this
variable. Use ansible facts to put a proper value.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-04-22 17:47:57 +02:00
Leseb 9565418411 Merge pull request #720 from ceph/mon-addr-fix
correctly set mon addr when monitor_interface is defined in group_vars
2016-04-21 16:55:45 +02:00
Andrew Schoen 95d80ad3d3 correctly set mon addr when monitor_interface is defined in group_vars
This fixes the ceph.conf template so that it will look for an inventory
defined value for monitor_interface or for monitor_interface defined in
a group_vars file.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-04-21 09:09:16 -05:00
Leseb f950afef92 Merge pull request #664 from jsaintrocc/master
Add infernalis to list of stable releases comment
2016-04-19 10:09:48 +02:00
James Saint-Rossy 67a895159e Updated version compare to 0.84.0 per laseb comment 2016-04-18 10:49:35 -04:00
Leseb 9174ea2c6a Merge pull request #715 from rootfs/jewel
some fixes to run containers on Atomic
2016-04-15 10:55:42 +02:00
Huamin Chen 9d81f32538 set path to find mon and osd systemd unit file templates
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-04-14 21:57:27 +00:00
Huamin Chen 1d3b3c63b8 fix deployment on Atomic
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-04-14 13:41:05 +00:00
Leseb f51548580f Merge pull request #713 from stpierre/fix-rbd-client-dirs
Fix creation of RBD client directories
2016-04-13 22:25:59 +02:00
Leseb f772fe8f60 Merge pull request #712 from ceph/monitor-interface-not-defined
Check to see if hostvars[host]['monitor_interface'] is defined
2016-04-13 22:19:33 +02:00
Chris St. Pierre de22ae0a06 Fix creation of RBD client directories
Need to use a template, not a bare variable name.
2016-04-13 15:10:44 -05:00
Andrew Schoen a2b8ef8c1d Check to see if hostvars[host]['monitor_interface'] is defined
This fixes https://github.com/ceph/ceph-ansible/issues/711

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-04-13 13:34:51 -05:00
Leseb de0caaecf8 Merge pull request #707 from cloudnull/ct_updates
Update the config_template plugin
2016-04-13 18:52:56 +02:00
James Saint-Rossy fc270bb772 fixed handling of new ceph_version 2016-04-12 21:26:59 -04:00
James Saint-Rossy ee1e470757 moved string parsing of ceph version into ansbile for better error handling 2016-04-12 21:08:42 -04:00
Leseb 107ecc0fa8 Merge pull request #710 from bengland2/limit-autodiscover-check
purge-cluster - fix osd_auto_discovery check
2016-04-12 17:01:04 +02:00
Ben England 4d70b3621f devices var is defined in context of osds role 2016-04-12 09:49:44 -04:00
Leseb 0e619691da Merge pull request #705 from ceph/no-agent-role-test
remove agent role, no packages for it upstream yet
2016-04-12 14:05:33 +02:00
Alfredo Deza be752b595c remove rbd-mirror as well from testing. No packages are available yet
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-12 07:38:13 -04:00
Alfredo Deza 8df3029d47 remove coreos from default testing as well
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-12 07:17:35 -04:00
Leseb afad22c5a1 Merge pull request #708 from ceph/docker-img
docker: do not hardcode image and user name
2016-04-12 12:08:35 +02:00
Leseb 25ec82a755 Merge pull request #706 from fultonj/patch-1
Balance tags on <your_host
2016-04-12 12:07:45 +02:00
Leseb 34da863bfe Merge pull request #703 from ceph/issue-670
if ceph-disk fails to activate an OSD then bubble up the error
2016-04-12 12:05:28 +02:00
Leseb d756ee325f Merge pull request #688 from bengland2/safer-disk-zap
low-priority - more robust, simpler, idempotent purge-cluster.yml
2016-04-12 12:04:39 +02:00
Leseb 74e3e04dcd Merge pull request #696 from stpierre/dedup-rbd-client-dirs
Deduplicate RBD client directory creation
2016-04-12 12:03:56 +02:00
Sébastien Han 7424ad6d68 docker: do not hardcode image and user name
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-04-12 12:01:53 +02:00
Kevin Carter b56b224250
Update the config_template plugin
These changes address 2 issues:

* The config template plugin in v1 mode was not respecting a list
  of integers and would cause a stacktrace because the ConfigParese
  module expects everything written to be a string.
* The config template plugin in v2 mode was not properly handingly
  the multi-string-op type due to an oversight in the ``_option_write``
  method.

With these updates the config template is now able to better support
all of the potential options that could be thrown at it when writing
an INI config file.

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-04-11 23:28:40 -05:00
John Fulton 68460cf384 Balance tags on <your_host
Third of occurrence of <your_host> didn't have a closing tag. This is a tiny change to add the he missing '>'. 

This will let people quickly update this file with sed. For example: `sed s/\<your_host\>/192.168.1.41/g -i cluster-maintenance.yml`.
2016-04-11 22:25:53 -04:00
Ben England 8de1c32bb6 this is how ceph-disk partition really looks 2016-04-11 16:53:45 -04:00
Alfredo Deza 3d671cef22 remove agent role, no packages for it upstream yet
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-11 15:48:29 -04:00
Alfredo Deza 441d83fe77 if ceph-disk fails to activate an OSD then bubble up the error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-11 15:29:29 -04:00
James Saint-Rossy 3f9bd5c1b7 Removed infernalis workaround because ceph_stable_releases now includes it by default 2016-04-09 17:21:36 -04:00
James Saint-Rossy 4e7b93d725 Rebasing fork to account for upstream commits 2016-04-09 14:40:00 -04:00