]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/log
Guilhem Lettron [Wed, 19 Feb 2014 15:51:54 +0000 (16:51 +0100)]
Merge pull request #96 from guilhem/merge
Merge & fixes
Fixes #92
Fixes #90
Fixes #89
Fixes #88
Fixes #86
Fixes #85
Fixes #83
Fixes #74
Guilhem Lettron [Wed, 19 Feb 2014 15:27:31 +0000 (16:27 +0100)]
Small refactoring for ceph-disk-{prepare|activate}
Guilhem Lettron [Wed, 19 Feb 2014 14:17:58 +0000 (15:17 +0100)]
Fix osd_device index order
Guilhem Lettron [Tue, 18 Feb 2014 14:52:19 +0000 (15:52 +0100)]
Add .gitignore
Guilhem Lettron [Tue, 18 Feb 2014 14:51:59 +0000 (15:51 +0100)]
Refactor Gemfile
Guilhem Lettron [Thu, 6 Feb 2014 12:58:49 +0000 (13:58 +0100)]
Fix #74
use @grahamc code https://github.com/ceph/ceph-cookbooks/pull/74
Guilhem Lettron [Thu, 6 Feb 2014 11:24:21 +0000 (12:24 +0100)]
All tests ok
Simplify client provider.
TODO: Must be test in a real system
Guilhem Lettron [Thu, 6 Feb 2014 10:17:03 +0000 (11:17 +0100)]
Suppress usage of roles by using attributes
re-add FC023 and fix problem linked to it...
TODO: refactor provider client. Last failure come from this place
Guilhem Lettron [Wed, 5 Feb 2014 23:01:54 +0000 (00:01 +0100)]
Fix all foodcritics... Yeah!
Guilhem Lettron [Wed, 5 Feb 2014 23:01:39 +0000 (00:01 +0100)]
fix bad recipe
Guilhem Lettron [Wed, 5 Feb 2014 22:36:31 +0000 (23:36 +0100)]
Instead of doing some crappy things, we are using the yum cookbook.
We do it this way. It avoids complexity and breaking tests.
Sage Weil [Tue, 26 Nov 2013 17:42:48 +0000 (09:42 -0800)]
Merge pull request #78 from mancdaz/rhel-repo-fix
fix location of ceph-release rpm for rhel platform_family
Darren Birkett [Fri, 22 Nov 2013 14:09:03 +0000 (14:09 +0000)]
fix location of ceph-release rpm for rhel platform_family
Alexandre Marangone [Fri, 15 Nov 2013 23:01:12 +0000 (15:01 -0800)]
Merge pull request #76 from hufman/bugfix-rpmquickfix
Fixes a small error in the rpm dev repo codepath
Walter Huf [Fri, 15 Nov 2013 22:12:11 +0000 (16:12 -0600)]
Fixes a small error in the rpm dev repo codepath
Alexandre Marangone [Thu, 31 Oct 2013 14:31:05 +0000 (07:31 -0700)]
Merge pull request #67 from git-harry/master
Change roles to role when searching for ceph-mon
Alexandre Marangone [Thu, 31 Oct 2013 14:25:15 +0000 (07:25 -0700)]
Merge pull request #71 from mattt416/need_me_some_eu
Move reference to http://ceph.com repo URL into separate attribute
Alexandre Marangone [Thu, 31 Oct 2013 14:24:40 +0000 (07:24 -0700)]
Merge pull request #72 from mattt416/change_caps_for_radosgw
radosgw fails to start since necessary pools don't exist and can't be created
Matt Thompson [Thu, 31 Oct 2013 11:58:18 +0000 (11:58 +0000)]
Change radosgw client caps to allow read-write on mon, not just read
Matt Thompson [Wed, 30 Oct 2013 13:40:37 +0000 (13:40 +0000)]
Move the package repo URL into an attribute so we can specify different URLs (ie. http://eu.cpeh.com)
Alexandre Marangone [Thu, 26 Sep 2013 15:47:06 +0000 (08:47 -0700)]
Merge pull request #68 from andymcc/osd_deployed_fix
Fix status adjustment for "deployed" devices.
Andy McCrae [Thu, 26 Sep 2013 14:37:03 +0000 (15:37 +0100)]
Fix status adjustment for "deployed" devices.
Because of how chef resource cloning works, when multiple devices are
setup, only the last device is actually set to "deployed" meaning
subsequent chef-client runs fail. This fix will ensure the resource isn't
cloned so each device is marked as "deployed" appropriately.
git-harry [Thu, 26 Sep 2013 09:28:04 +0000 (10:28 +0100)]
Change roles to role when searching for ceph-mon
roles searches the expanded run list. This isn't
available for other nodes to search until the
run completes. This means you must run chef on
one mon at a time and your initial mons can only
be one mon. If more than one mon is used the
chef run get stuck trying to get the bootstrap
osd keyring.
Alexandre Marangone [Thu, 12 Sep 2013 14:54:51 +0000 (07:54 -0700)]
Merge pull request #66 from shellycloud/master
Set dumpling as default version.
Maciej Galkiewicz [Thu, 12 Sep 2013 07:50:17 +0000 (09:50 +0200)]
Set dumpling as default version.
Alexandre Marangone [Mon, 9 Sep 2013 16:18:54 +0000 (09:18 -0700)]
Merge pull request #43 from Youscribe/travis
Add basic travis support
Craig Lewis [Wed, 31 Jul 2013 22:19:34 +0000 (15:19 -0700)]
When generating the RadosGW VHost, add support for optional ServerAliases.
Author: Craig Lewis <clewis@centraldesktop.com>
Alexandre Marangone [Wed, 4 Sep 2013 16:58:03 +0000 (09:58 -0700)]
Merge branch 'ceph-dir-ownership' of https://github.com/centraldesktop/ceph-cookbooks
Alexandre Marangone [Wed, 4 Sep 2013 16:39:57 +0000 (09:39 -0700)]
Merge pull request #62 from ljagiello/wrong_perm_directory
Correct directory permissions
Lukasz Jagiello [Wed, 4 Sep 2013 15:02:30 +0000 (17:02 +0200)]
correct directory permissions
Alexandre Marangone [Fri, 23 Aug 2013 14:06:31 +0000 (07:06 -0700)]
Merge pull request #40 from shellycloud/master
Used encrypted data bags for storing secrets #34.
concubidated [Wed, 21 Aug 2013 18:33:39 +0000 (11:33 -0700)]
Merge pull request #60 from sorccu/feature/osd-directory
Support directories as OSD devices
Simo Kinnunen [Fri, 9 Aug 2013 06:40:13 +0000 (15:40 +0900)]
Add a "type" field to OSD devices. When the value is "directory", the directory (specified by the "device" field) is automatically created and activated, as udev will not pick it up automatically.
Alexandre Marangone [Thu, 8 Aug 2013 20:21:15 +0000 (13:21 -0700)]
Merge pull request #59 from sorccu/hotfix/search-expanded-roles
Use 'roles:' instead of 'role:' in mon search
Simo Kinnunen [Thu, 8 Aug 2013 06:42:06 +0000 (15:42 +0900)]
Use 'roles:' instead of 'role:' in mon search so that expanded runlists are included in the search (i.e. you'll be able to to include the ceph-mon role in another role).
Alexandre Marangone [Fri, 2 Aug 2013 16:13:30 +0000 (09:13 -0700)]
Merge pull request #57 from odyssey4me/master
Change osd device status check and provide log info
odyssey4me [Fri, 2 Aug 2013 07:53:52 +0000 (09:53 +0200)]
Fixed indentation
Alexandre Marangone [Thu, 1 Aug 2013 22:50:34 +0000 (15:50 -0700)]
Merge pull request #55 from centraldesktop/add-vhost-to-accesslog
rgw: Add vhost to accesslog
Craig Lewis [Wed, 31 Jul 2013 22:25:04 +0000 (15:25 -0700)]
Add the HTTP Host: to the access_log record. Useful when using bucket based sub-domains.
Craig Lewis [Thu, 1 Aug 2013 20:19:41 +0000 (13:19 -0700)]
Move the ownership of /etc/ceph/ from radosgw.rb to conf.rb
odyssey4me [Thu, 1 Aug 2013 15:27:26 +0000 (17:27 +0200)]
Change osd device status check and provide log info
The previous status check didn't work for me, so I've adjusted it and added a log message so that you can see whether it's being skipped.
Maciej Galkiewicz [Mon, 15 Jul 2013 08:43:19 +0000 (10:43 +0200)]
Ceph team does not provide packages for debian jessie.
Use sid instead.
Alexandre Marangone [Tue, 9 Jul 2013 21:18:12 +0000 (14:18 -0700)]
Merge pull request #44 from Youscribe/fix_osd_status
refactor osd_device status saving
Guilhem Lettron [Tue, 9 Jul 2013 15:30:34 +0000 (17:30 +0200)]
refactor osd_device status saving
Currently, chef set status at compile time and no at run-time.
So you can have a problem and a status set
Guilhem Lettron [Mon, 8 Jul 2013 09:47:45 +0000 (11:47 +0200)]
Add basic travis support
Maciej Galkiewicz [Thu, 4 Jul 2013 14:50:21 +0000 (16:50 +0200)]
Used encrypted data bags for storing secrets #34.
Alexandre Marangone [Tue, 25 Jun 2013 16:26:28 +0000 (09:26 -0700)]
Merge pull request #33 from alram/wip-rgw
Wip rgw
Alexandre Marangone [Mon, 17 Jun 2013 01:01:23 +0000 (18:01 -0700)]
Merge pull request #35 from AcalephStorage/journal-fix
OSD: Journal support
Hunter Nield [Tue, 11 Jun 2013 09:08:00 +0000 (17:08 +0800)]
Add support for journals
Alexandre Marangone [Tue, 23 Apr 2013 19:13:21 +0000 (12:13 -0700)]
Update radosgw_apache2 recipe
- Multi distro support (CentOS/ubuntu tested)
- apache2::mod_fastcgi only supports Debian/Ubuntu, change it to
an apache_module
- Restart apache once new configuration is applied
- Add fastcgi script template
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Mon, 22 Apr 2013 23:59:24 +0000 (16:59 -0700)]
update radosgw recipe
- Create /etc/ceph/ dir
- Create/Update ceph.conf with radosgw client
- Support upstart and init
- Create radosgw client keyring
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Sage Weil [Thu, 16 May 2013 06:35:20 +0000 (23:35 -0700)]
Merge pull request #31 from ceph/wip-repo
Wip repo
Sage Weil [Thu, 16 May 2013 06:33:11 +0000 (23:33 -0700)]
Merge pull request #27 from ceph/osd-fixes
OSD: service start fixes
Alexandre Marangone [Tue, 7 May 2013 00:06:31 +0000 (17:06 -0700)]
OSD: service start fixes
- fix upstart job name typo
- start all OSD at the end of the recipe
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Wed, 8 May 2013 22:06:16 +0000 (15:06 -0700)]
Repo: support custom rpm repos
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Wed, 8 May 2013 18:32:48 +0000 (11:32 -0700)]
Roles: Add ceph::repo recipe
Fixes: https://github.com/ceph/ceph-cookbooks/pull/30
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Wed, 8 May 2013 18:32:02 +0000 (11:32 -0700)]
repo: support custom apt repos
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Wed, 8 May 2013 16:55:12 +0000 (09:55 -0700)]
Update stable release to Cuttlefish
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Tue, 7 May 2013 22:37:15 +0000 (15:37 -0700)]
Merge pull request #25 from shellycloud/master
Ceph packages should not be upgraded automatically by chef
Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Maciej Galkiewicz [Sun, 5 May 2013 09:32:54 +0000 (11:32 +0200)]
Ceph packages should not be upgraded during chef run.
It may cause downtime for example when ceph versions are
backward incompatible.
Alexandre Marangone [Thu, 2 May 2013 16:55:47 +0000 (09:55 -0700)]
Merge pull request #22 from Youscribe/monRefactor
Mon refactor
Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Guilhem Lettron [Mon, 29 Apr 2013 12:29:23 +0000 (14:29 +0200)]
Use Mixlib::ShellOut instead of Chef::ShellOut
Guilhem Lettron [Tue, 23 Apr 2013 08:31:01 +0000 (10:31 +0200)]
Manage starting mon with upstart
Guilhem Lettron [Tue, 9 Apr 2013 12:50:08 +0000 (14:50 +0200)]
remove useless require json in mon and add it in libraries
Guilhem Lettron [Tue, 9 Apr 2013 12:37:32 +0000 (14:37 +0200)]
ceph support "status" command
Guilhem Lettron [Tue, 9 Apr 2013 12:33:56 +0000 (14:33 +0200)]
Place service at the end of script to ensure that service is always enable and running after chef is execute
Guilhem Lettron [Tue, 9 Apr 2013 12:27:50 +0000 (14:27 +0200)]
Don't use libraries for things that must be in attributes
Guilhem Lettron [Thu, 21 Mar 2013 09:51:27 +0000 (10:51 +0100)]
creates prevent re-run
refactor to use chef commands
move ceph_bootstrap_osd_key to node['ceph']
we must wait for get osd-bootstrap keyring to finish
Last fixes
create /var/lib/ceph/mon/ceph-{hostname} directory if it doesn't exist.
remove ceph.mon.node attribute (more reflexion to this behaviour later)
fix typo for done file
service ceph-mon-all support restart and status
service must be restart immediately to launch ceph-mon
correct rebase
Guilhem Lettron [Thu, 21 Mar 2013 09:47:11 +0000 (10:47 +0100)]
ceph-mon-all-starter is a task, not a service
Ensure that ceph-mon-all is start at the end of recipe
Alexandre Marangone [Fri, 26 Apr 2013 21:49:37 +0000 (14:49 -0700)]
Merge pull request #23 from Youscribe/error_osd_device
don't break if node["ceph"]["osd_devices"] is empty
Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Mon, 22 Apr 2013 23:43:37 +0000 (16:43 -0700)]
Update RGW apache conf
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Mon, 22 Apr 2013 23:41:05 +0000 (16:41 -0700)]
Support apache and mod_fastcgi forks for RGW
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Mon, 22 Apr 2013 21:16:06 +0000 (14:16 -0700)]
Handle different package names for radosgw
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Mon, 22 Apr 2013 18:40:10 +0000 (11:40 -0700)]
Update ceph.conf template for RGW
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Mon, 15 Apr 2013 17:52:31 +0000 (10:52 -0700)]
Merge pull request #24 from shellycloud/master
Fixed finding node's IP address
Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Maciej Galkiewicz [Mon, 15 Apr 2013 14:03:18 +0000 (16:03 +0200)]
Fixed indentation in ceph.conf.
Maciej Galkiewicz [Mon, 15 Apr 2013 11:43:12 +0000 (13:43 +0200)]
Fixed finding mon's IP address.
Alexandre Marangone [Tue, 9 Apr 2013 15:57:25 +0000 (08:57 -0700)]
Merge pull request #20 from Youscribe/allow_standalone
Allow standalone installation of radosgw
Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Guilhem Lettron [Tue, 9 Apr 2013 13:32:17 +0000 (15:32 +0200)]
remove useless create file from chef value, read variable, create file, remove file...
You forget to fax it
Guilhem Lettron [Tue, 9 Apr 2013 13:22:05 +0000 (15:22 +0200)]
don't break if node["ceph"]["osd_devices"] is empty (but log it)
Guilhem Lettron [Tue, 9 Apr 2013 12:52:12 +0000 (14:52 +0200)]
remove sysvinit script for radosgw
Alexandre Marangone [Thu, 4 Apr 2013 16:16:25 +0000 (09:16 -0700)]
Merge pull request #19 from yuryu/master
Fix recipe compile error when 'public network' is set to Ceph environment
Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Guilhem Lettron [Tue, 26 Feb 2013 11:47:55 +0000 (12:47 +0100)]
add dependency to apache2 v1.1.12
It add mod_fastcgi
Guilhem Lettron [Tue, 26 Feb 2013 11:38:16 +0000 (12:38 +0100)]
Manage a standalone installation (without apache2)
Improve apache2 recipe
Yuryu [Thu, 4 Apr 2013 06:26:59 +0000 (15:26 +0900)]
- Fix recipe compile error when 'public network' is set to Ceph environment
================================================================================
Recipe Compile Error in /var/cache/chef/cookbooks/ceph/recipes/mon.rb
================================================================================
NoMethodError
-------------
undefined method `[]' for nil:NilClass
Cookbook Trace:
---------------
/var/cache/chef/cookbooks/ceph/libraries/default.rb:84:in `get_mon_addresses'
/var/cache/chef/cookbooks/ceph/libraries/default.rb:84:in `map'
/var/cache/chef/cookbooks/ceph/libraries/default.rb:84:in `get_mon_addresses'
/var/cache/chef/cookbooks/ceph/recipes/conf.rb:4:in `from_file'
/var/cache/chef/cookbooks/ceph/recipes/mon.rb:20:in `from_file'
Relevant File Content:
----------------------
/var/cache/chef/cookbooks/ceph/libraries/default.rb:
77: end
78:
79: mons += get_mon_nodes()
80: if is_crowbar?
81: mon_ips = mons.map { |node| Chef::Recipe::Barclamp::Inventory.get_network_by_type(node, "admin").address }
82: else
83: if node['ceph']['config']['global'] && node['ceph']['config']['global']['public network']
84>> mon_ips = mons.map { |node| find_node_ip_in_network(node['ceph']['config']['global']['public network'], node) }
85: else
86: mon_ips = mons.map { |node| node['ipaddress'] + ":6789" }
87: end
88: end
89: end
90: return mon_ips.uniq
91: end
92:
93: def get_quorum_members_ips()
Sage Weil [Fri, 29 Mar 2013 19:23:45 +0000 (12:23 -0700)]
Merge pull request #18 from alram/master
Fix for old ceph-disk-prepare
Alexandre Marangone [Fri, 29 Mar 2013 17:39:26 +0000 (10:39 -0700)]
Fix issue with old ceph-disk-prepare
Old ceph-disk-prepare re-write the partition table and fail before writting
the Parition GUID.
This fix tests the presence of a osd_device status, if present, we skip
the OSD.
It also fix a typo when setting the osd_device status
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Sage Weil [Wed, 27 Mar 2013 05:52:20 +0000 (22:52 -0700)]
Merge pull request #17 from alram/wip-rpm-distro
Chef support for CentOS/RHEL, Fedora and SuSE
Reviewed-by-not-tested-by: Sage Weil <sage@inktank.com>
Alexandre Marangone [Mon, 25 Mar 2013 19:42:19 +0000 (12:42 -0700)]
Create mon data dir before calling ceph-mon --mkfs
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Thu, 21 Mar 2013 18:02:32 +0000 (11:02 -0700)]
Upstart and SYSV Init support
- Handles different service names between upstart
and sysvinit.
- Create mon_dir/(upstart|sysvinit) depending on
service to be used.
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Thu, 21 Mar 2013 17:58:38 +0000 (10:58 -0700)]
Support EL, Fedora and (open)SuSE repo
- Recipe is now ceph::repo
- For EL, add EPEL repository for dependencies by default.
Deactivable by using el_add_epel: false under ceph: {} in
the chef environment.
- Handle package names difference between EL/FC/SuSE and Debian.
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Sage Weil [Wed, 20 Mar 2013 23:24:54 +0000 (16:24 -0700)]
Merge pull request #16 from alram/master
ceph-cookbooks patches
Reviewed-by: Greg Farnum <greg@inktankcom>
Reviewed-by: Sage Weil <sage@inktank.com>
Alexandre Marangone [Wed, 20 Mar 2013 16:55:09 +0000 (09:55 -0700)]
change cookbook version to 0.1.0
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Wed, 20 Mar 2013 16:52:30 +0000 (09:52 -0700)]
Update README.md
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Fri, 15 Mar 2013 19:33:21 +0000 (12:33 -0700)]
add node env sample
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Fri, 15 Mar 2013 19:32:16 +0000 (12:32 -0700)]
Add OSD deployment when not using crowbar
Also installs cryptsetup in case dmcrypt is being used
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Fri, 15 Mar 2013 19:26:23 +0000 (12:26 -0700)]
change template to be more flexible
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Fri, 15 Mar 2013 19:25:55 +0000 (12:25 -0700)]
add, hopefully, helpful comments
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Fri, 15 Mar 2013 19:24:59 +0000 (12:24 -0700)]
Ceph will automatically create the admin and bootstrap keys
We just need to store the boostrap-osd key once it is created
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Alexandre Marangone [Fri, 15 Mar 2013 19:24:09 +0000 (12:24 -0700)]
Set mon to use upstart
Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>