]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/log
ceph-cookbooks.git
11 years agoMerge pull request #123 from hufman/testkitchen-morethings
Guilhem Lettron [Fri, 16 May 2014 15:56:26 +0000 (17:56 +0200)]
Merge pull request #123 from hufman/testkitchen-morethings

Tests cephfs and radosgw

11 years agoBig refactor on install part
Guilhem Lettron [Fri, 16 May 2014 15:54:45 +0000 (17:54 +0200)]
Big refactor on install part

11 years agoSome refactor on mon_secret
Guilhem Lettron [Fri, 16 May 2014 10:21:07 +0000 (12:21 +0200)]
Some refactor on mon_secret

11 years agoAutomatically generates a monsecret if it is blank
Walter Huf [Thu, 8 May 2014 20:57:44 +0000 (15:57 -0500)]
Automatically generates a monsecret if it is blank

Some of the more advanced features require a mon secret to
generate auth keys for other things, such as radosgw.
This change will run gen-key command to generate a mon secret if it
has not been set as an attribute already. It will also search for
other mon nodes and use the cluster secret if it already exists.

11 years agoMerge pull request #120 from hufman/testkitchen-fixes
Guilhem Lettron [Tue, 13 May 2014 13:03:19 +0000 (15:03 +0200)]
Merge pull request #120 from hufman/testkitchen-fixes

Test-kitchen fixes

11 years agoDon't try to install btrfs-tools on rhel5 120/head
Walter Huf [Thu, 8 May 2014 22:14:40 +0000 (17:14 -0500)]
Don't try to install btrfs-tools on rhel5

11 years agoTests cephfs and radosgw 123/head
Walter Huf [Thu, 8 May 2014 21:07:17 +0000 (16:07 -0500)]
Tests cephfs and radosgw

11 years agoFixes style guide violation with the redhat fixes
Walter Huf [Thu, 8 May 2014 14:51:55 +0000 (09:51 -0500)]
Fixes style guide violation with the redhat fixes

11 years agoAdds Debian Wheezy tests
Walter Huf [Wed, 7 May 2014 22:57:44 +0000 (17:57 -0500)]
Adds Debian Wheezy tests

It passes its test perfectly

11 years agoEnables fedora testing
Walter Huf [Wed, 7 May 2014 22:41:37 +0000 (17:41 -0500)]
Enables fedora testing

FC18 put the SATA drives before the boot drive, so I moved them onto the same IDE controller
FC19 has a node.platform_family of '', so it fails
FC20 doesn't have ceph packages yet

The FC18 test fails after completely running, because the OSDs don't start due to a lack of udev hook
Running ceph-disk-activate manually works and starts the OSDs and makes the cluster healthy

11 years agoAdds some package dependencies for the redhat test
Walter Huf [Wed, 7 May 2014 22:40:59 +0000 (17:40 -0500)]
Adds some package dependencies for the redhat test

11 years agoUses the proper RPM keys on Redhat and Fedora
Walter Huf [Wed, 7 May 2014 22:29:05 +0000 (17:29 -0500)]
Uses the proper RPM keys on Redhat and Fedora

11 years agoFixes the rpm repo links for centos and fedora
Walter Huf [Wed, 7 May 2014 21:30:25 +0000 (16:30 -0500)]
Fixes the rpm repo links for centos and fedora

11 years agoUpdated testkitchens to the latest distro versions
Walter Huf [Wed, 7 May 2014 20:42:05 +0000 (15:42 -0500)]
Updated testkitchens to the latest distro versions

11 years agoMerge pull request #119 from guilhem/foodcritic
Guilhem Lettron [Wed, 7 May 2014 10:00:41 +0000 (12:00 +0200)]
Merge pull request #119 from guilhem/foodcritic

Fix foodcritic

11 years agoUpdate REQUIREMENT on chef version 119/head
Guilhem Lettron [Wed, 7 May 2014 09:24:21 +0000 (11:24 +0200)]
Update REQUIREMENT on chef version

11 years agoFix foodcritic
Guilhem Lettron [Wed, 7 May 2014 09:22:25 +0000 (11:22 +0200)]
Fix foodcritic
As we are using "lazy", we are only compatible with chef >= 11.6.0

11 years agoAdd All-in-one recipe
Guilhem Lettron [Tue, 29 Apr 2014 14:01:27 +0000 (16:01 +0200)]
Add All-in-one recipe

11 years agoFix rubocop
Guilhem Lettron [Fri, 2 May 2014 12:09:33 +0000 (14:09 +0200)]
Fix rubocop

11 years agoAdd travis build status
Guilhem Lettron [Fri, 2 May 2014 12:05:30 +0000 (14:05 +0200)]
Add travis build status

And refactor titles

11 years agoMerge pull request #116 from hufman/move-rgw-logs
Guilhem Lettron [Fri, 2 May 2014 11:43:42 +0000 (13:43 +0200)]
Merge pull request #116 from hufman/move-rgw-logs

Moves radosgw logs to /var/log/ceph

11 years agoMoves radosgw logs to /var/log/ceph 116/head
Walter Huf [Wed, 9 Apr 2014 13:32:21 +0000 (08:32 -0500)]
Moves radosgw logs to /var/log/ceph

It looks like the package logrotate scripts expect them to be there

11 years agoRevert "Merge pull request #115 from hufman/fix-radosgw-logdir"
Guilhem Lettron [Wed, 9 Apr 2014 13:51:15 +0000 (15:51 +0200)]
Revert "Merge pull request #115 from hufman/fix-radosgw-logdir"

This reverts commit 7826b8564b595f681a1ba360268e82ef5136a935, reversing
changes made to 4f9f3bcb415dea81bf2d3301ca6c9190926fd124.

11 years agoMerge pull request #115 from hufman/fix-radosgw-logdir
Guilhem Lettron [Wed, 9 Apr 2014 09:08:26 +0000 (11:08 +0200)]
Merge pull request #115 from hufman/fix-radosgw-logdir

Creates the parent directory for radosgw logs

11 years agoMerge branch 'skip-cephx-if-disabled2' into master
Guilhem Lettron [Wed, 9 Apr 2014 08:34:01 +0000 (10:34 +0200)]
Merge branch 'skip-cephx-if-disabled2' into master

11 years agoSkip cephx if disabled
Craig Lewis [Wed, 4 Sep 2013 20:52:18 +0000 (13:52 -0700)]
Skip cephx if disabled
fix #63

11 years agoCreates the parent directory for radosgw logs 115/head
Walter Huf [Tue, 8 Apr 2014 21:44:24 +0000 (16:44 -0500)]
Creates the parent directory for radosgw logs

11 years agoFix with latest rubocop rules
Guilhem Lettron [Sat, 5 Apr 2014 13:50:15 +0000 (15:50 +0200)]
Fix with latest rubocop rules

11 years agoFix for rubocop 0.20
Guilhem Lettron [Sat, 5 Apr 2014 13:49:18 +0000 (15:49 +0200)]
Fix for rubocop 0.20

11 years agoMerge pull request #110 from hufman/fix-interfaces-without-addresses2
Guilhem Lettron [Sat, 5 Apr 2014 12:55:07 +0000 (14:55 +0200)]
Merge pull request #110 from hufman/fix-interfaces-without-addresses2

Prevents crash if an interface doesn't have an address

11 years agoFinds the primary ipv4 on mon nodes 110/head
Walter Huf [Fri, 21 Mar 2014 20:05:15 +0000 (15:05 -0500)]
Finds the primary ipv4 on mon nodes

Prevents issues with clustered IPs being used in ceph.conf files
Since ceph-mon doesn't bind to these ips, don't consider them as mon addrs

11 years agoBoolean functions should end in ?
Walter Huf [Thu, 27 Mar 2014 17:19:56 +0000 (12:19 -0500)]
Boolean functions should end in ?

11 years agoFixes the mon_addresses refactor
Walter Huf [Fri, 14 Mar 2014 15:43:22 +0000 (10:43 -0500)]
Fixes the mon_addresses refactor

11 years agoPrevents crash if an interface doesn't have an address
Walter Huf [Fri, 14 Mar 2014 14:56:04 +0000 (09:56 -0500)]
Prevents crash if an interface doesn't have an address

11 years agoMerge pull request #109 from hufman/feature-mds-with-lwrp-new2
Guilhem Lettron [Thu, 27 Mar 2014 17:10:11 +0000 (18:10 +0100)]
Merge pull request #109 from hufman/feature-mds-with-lwrp-new2

Changes the mds recipe to use the client lwrp

11 years agoChanges the mds recipe to use the client lwrp 109/head
Walter Huf [Thu, 27 Mar 2014 16:46:05 +0000 (11:46 -0500)]
Changes the mds recipe to use the client lwrp

11 years agoMerge pull request #107 from hufman/feature-lwrp-improvements
Guilhem Lettron [Thu, 27 Mar 2014 09:30:55 +0000 (10:30 +0100)]
Merge pull request #107 from hufman/feature-lwrp-improvements

Feature lwrp improvements

11 years agoMoves the lwrp file block out of the converge_by block 107/head
Walter Huf [Wed, 19 Mar 2014 13:24:13 +0000 (08:24 -0500)]
Moves the lwrp file block out of the converge_by block

11 years agoAllows file modes to be specified as strings
Walter Huf [Fri, 14 Mar 2014 15:30:24 +0000 (10:30 -0500)]
Allows file modes to be specified as strings

11 years agoAdds the option of setting the key file's ownership
Walter Huf [Fri, 14 Mar 2014 15:29:31 +0000 (10:29 -0500)]
Adds the option of setting the key file's ownership

11 years agoFixes client key creation on non-mon nodes
Walter Huf [Fri, 14 Mar 2014 15:27:35 +0000 (10:27 -0500)]
Fixes client key creation on non-mon nodes

It wasn't properly passing the mon secret when
updating client key caps

11 years agoUpdates saved keyring if it was regenerated
Walter Huf [Thu, 13 Mar 2014 20:20:00 +0000 (15:20 -0500)]
Updates saved keyring if it was regenerated

11 years agoFixes the duplicate process run when changing caps
Walter Huf [Fri, 14 Mar 2014 15:06:45 +0000 (10:06 -0500)]
Fixes the duplicate process run when changing caps

11 years agoFixes loading the current client key
Walter Huf [Fri, 14 Mar 2014 15:04:22 +0000 (10:04 -0500)]
Fixes loading the current client key

11 years agoFix indent
Guilhem Lettron [Fri, 14 Mar 2014 14:40:59 +0000 (15:40 +0100)]
Fix indent

11 years agoMerge branch 'rubocop' of https://github.com/guilhem/ceph-cookbook into guilhem-rubocop
Guilhem Lettron [Fri, 14 Mar 2014 14:27:53 +0000 (15:27 +0100)]
Merge branch 'rubocop' of https://github.com/guilhem/ceph-cookbook into guilhem-rubocop

Conflicts:
recipes/apt.rb

11 years agoFix all rubocop 104/head
Guilhem Lettron [Fri, 14 Mar 2014 14:20:10 +0000 (15:20 +0100)]
Fix all rubocop
Use rake instead of strainer
add infrastructure file for spiceweasel

11 years agoMerge pull request #103 from kri5/master
Guilhem Lettron [Fri, 14 Mar 2014 13:10:37 +0000 (14:10 +0100)]
Merge pull request #103 from kri5/master

apt: use a variable for distribution codename

11 years agoapt: use a variable for distribution codename 103/head
Christophe Courtaut [Fri, 14 Mar 2014 10:22:49 +0000 (11:22 +0100)]
apt: use a variable for distribution codename

The use of a variable for the distribution codename simplifies
the recipe, and allows to add exception easily.

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
11 years agoBumping to 0.2.1 for devodd
Guilhem Lettron [Mon, 3 Mar 2014 18:05:22 +0000 (19:05 +0100)]
Bumping to 0.2.1 for devodd

11 years agoPublish 0.2.0 Changelog v0.2.0
Guilhem Lettron [Mon, 3 Mar 2014 17:53:41 +0000 (18:53 +0100)]
Publish 0.2.0 Changelog

11 years agoVersion bump to 0.2.0
Guilhem Lettron [Mon, 3 Mar 2014 17:51:24 +0000 (18:51 +0100)]
Version bump to 0.2.0

11 years agoAdd initial CHANGELOG.md
Guilhem Lettron [Mon, 3 Mar 2014 17:50:10 +0000 (18:50 +0100)]
Add initial CHANGELOG.md

12 years agoMerge pull request #99 from guilhem/fix_log
Guilhem Lettron [Thu, 20 Feb 2014 15:25:40 +0000 (16:25 +0100)]
Merge pull request #99 from guilhem/fix_log

quick fix for #95

12 years agoquick fix for #95 99/head
Guilhem Lettron [Thu, 20 Feb 2014 15:24:43 +0000 (16:24 +0100)]
quick fix for #95

12 years agoMerge pull request #95 from centraldesktop/make-radosgw-log-match-logrotate
Guilhem Lettron [Thu, 20 Feb 2014 15:20:55 +0000 (16:20 +0100)]
Merge pull request #95 from centraldesktop/make-radosgw-log-match-logrotate

Make radosgw log match logrotate

12 years agoMerge pull request #98 from laradji/master
Guilhem Lettron [Thu, 20 Feb 2014 15:19:25 +0000 (16:19 +0100)]
Merge pull request #98 from laradji/master

Sort mon host result to prevent template change

12 years agoSort mon host result to prevent template change 98/head
Nacer Laradji [Thu, 20 Feb 2014 13:29:55 +0000 (14:29 +0100)]
Sort mon host result to prevent template change

12 years agoMerge pull request #97 from guilhem/template_sort
Guilhem Lettron [Wed, 19 Feb 2014 16:05:16 +0000 (17:05 +0100)]
Merge pull request #97 from guilhem/template_sort

fixes #64

12 years agoSort the arrays before outputing them, so the file doesn't change every time chef... 97/head
Craig Lewis [Fri, 6 Sep 2013 00:54:10 +0000 (17:54 -0700)]
Sort the arrays before outputing them, so the file doesn't change every time chef-client runs.

12 years agoMerge pull request #96 from guilhem/merge
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

12 years agoSmall refactoring for ceph-disk-{prepare|activate} 96/head
Guilhem Lettron [Wed, 19 Feb 2014 15:27:31 +0000 (16:27 +0100)]
Small refactoring for ceph-disk-{prepare|activate}

12 years agoFix osd_device index order
Guilhem Lettron [Wed, 19 Feb 2014 14:17:58 +0000 (15:17 +0100)]
Fix osd_device index order

12 years agoAdd .gitignore
Guilhem Lettron [Tue, 18 Feb 2014 14:52:19 +0000 (15:52 +0100)]
Add .gitignore

12 years agoRefactor Gemfile
Guilhem Lettron [Tue, 18 Feb 2014 14:51:59 +0000 (15:51 +0100)]
Refactor Gemfile

12 years agoRemove extra / 95/head
Craig Lewis [Wed, 12 Feb 2014 22:55:37 +0000 (14:55 -0800)]
Remove extra /

12 years agoPut radosgw.log where logrotate.d is looking for it.
Craig Lewis [Wed, 12 Feb 2014 22:51:30 +0000 (14:51 -0800)]
Put radosgw.log where logrotate.d is looking for it.

12 years agoFix #74
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

12 years agoAll tests ok
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

12 years agoSuppress usage of roles by using attributes
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

12 years agoFix all foodcritics... Yeah!
Guilhem Lettron [Wed, 5 Feb 2014 23:01:54 +0000 (00:01 +0100)]
Fix all foodcritics... Yeah!

12 years agofix bad recipe
Guilhem Lettron [Wed, 5 Feb 2014 23:01:39 +0000 (00:01 +0100)]
fix bad recipe

12 years agoInstead of doing some crappy things, we are using the yum cookbook.
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.

12 years agoMerge pull request #78 from mancdaz/rhel-repo-fix
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

12 years agofix location of ceph-release rpm for rhel platform_family 78/head
Darren Birkett [Fri, 22 Nov 2013 14:09:03 +0000 (14:09 +0000)]
fix location of ceph-release rpm for rhel platform_family

12 years agoMerge pull request #76 from hufman/bugfix-rpmquickfix
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

12 years agoFixes a small error in the rpm dev repo codepath 76/head
Walter Huf [Fri, 15 Nov 2013 22:12:11 +0000 (16:12 -0600)]
Fixes a small error in the rpm dev repo codepath

12 years agoMerge pull request #67 from git-harry/master
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

12 years agoMerge pull request #71 from mattt416/need_me_some_eu
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

12 years agoMerge pull request #72 from mattt416/change_caps_for_radosgw
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

12 years agoChange radosgw client caps to allow read-write on mon, not just read 72/head
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

12 years agoMove the package repo URL into an attribute so we can specify different URLs (ie... 71/head
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)

12 years agoMerge pull request #68 from andymcc/osd_deployed_fix
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.

12 years agoFix status adjustment for "deployed" devices. 68/head
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.

12 years agoChange roles to role when searching for ceph-mon 67/head
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.

12 years agoMerge pull request #66 from shellycloud/master
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.

12 years agoSet dumpling as default version. 66/head
Maciej Galkiewicz [Thu, 12 Sep 2013 07:50:17 +0000 (09:50 +0200)]
Set dumpling as default version.

12 years agoMerge pull request #43 from Youscribe/travis
Alexandre Marangone [Mon, 9 Sep 2013 16:18:54 +0000 (09:18 -0700)]
Merge pull request #43 from Youscribe/travis

Add basic travis support

12 years agoWhen generating the RadosGW VHost, add support for optional ServerAliases.
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>

12 years agoMerge branch 'ceph-dir-ownership' of https://github.com/centraldesktop/ceph-cookbooks
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

12 years agoMerge pull request #62 from ljagiello/wrong_perm_directory
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

12 years agocorrect directory permissions 62/head
Lukasz Jagiello [Wed, 4 Sep 2013 15:02:30 +0000 (17:02 +0200)]
correct directory permissions

12 years agoMerge pull request #40 from shellycloud/master
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.

12 years agoMerge pull request #60 from sorccu/feature/osd-directory
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

12 years agoAdd a "type" field to OSD devices. When the value is "directory", the directory ... 60/head
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.

12 years agoMerge pull request #59 from sorccu/hotfix/search-expanded-roles
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

12 years agoUse 'roles:' instead of 'role:' in mon search so that expanded runlists are included... 59/head
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).

12 years agoMerge pull request #57 from odyssey4me/master
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

12 years agoFixed indentation 57/head
odyssey4me [Fri, 2 Aug 2013 07:53:52 +0000 (09:53 +0200)]
Fixed indentation

12 years agoMerge pull request #55 from centraldesktop/add-vhost-to-accesslog
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