]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/log
Chris Jones [Wed, 16 Sep 2015 13:17:00 +0000 (06:17 -0700)]
Merge pull request #211 from tas50/master
Misc updates and cleanup
Chris Jones [Wed, 16 Sep 2015 13:14:27 +0000 (06:14 -0700)]
Merge pull request #210 from guilhem-cookbooks/0.8.2
Release 0.9.0
Guilhem Lettron [Wed, 16 Sep 2015 08:18:46 +0000 (10:18 +0200)]
Bump devodd
Guilhem Lettron [Tue, 15 Sep 2015 21:53:53 +0000 (23:53 +0200)]
Release 0.9.0
Tim Smith [Tue, 15 Sep 2015 22:54:29 +0000 (15:54 -0700)]
Fix the copyright on the license
I copied in a file from one of my own cookbooks
Tim Smith [Tue, 15 Sep 2015 22:18:18 +0000 (15:18 -0700)]
Resolve rubocop warnings
Tim Smith [Tue, 15 Sep 2015 22:17:59 +0000 (15:17 -0700)]
Exclude new Rubocop rules
These don't apply very well in Chef land
Tim Smith [Tue, 15 Sep 2015 22:16:17 +0000 (15:16 -0700)]
Test on modern ruby releases
Tim Smith [Tue, 15 Sep 2015 22:15:25 +0000 (15:15 -0700)]
Update development / testing deps
Also break them out into standard groups we're using throughout chef
community cookbooks
Tim Smith [Tue, 15 Sep 2015 22:14:36 +0000 (15:14 -0700)]
Use Berks 3.X format for the berksfile
Tim Smith [Tue, 15 Sep 2015 22:13:01 +0000 (15:13 -0700)]
Add source_url and issue_url to the metadata
This is new metadata for Chef 12 that are used by Supermarket
Tim Smith [Tue, 15 Sep 2015 22:12:51 +0000 (15:12 -0700)]
Use the new exclusion format in Rubocop
Tim Smith [Tue, 15 Sep 2015 22:12:26 +0000 (15:12 -0700)]
Update to the standard chef gitignore file
This ignores common testing and editor files
Tim Smith [Tue, 15 Sep 2015 22:11:59 +0000 (15:11 -0700)]
Add the Apache 2.0 license file
It's best practice to include the license file in the repo
Guilhem Lettron [Tue, 15 Sep 2015 21:52:52 +0000 (23:52 +0200)]
Revert "Updated important update information"
This reverts commit
6b0cc22809c3a648570971dce2964c27affd890e .
Guilhem Lettron [Tue, 15 Sep 2015 21:52:38 +0000 (23:52 +0200)]
Revert "Updated maintainer information"
This reverts commit
1f3a84dcaa4c0fce3ea93123dbc494564193cb93 .
Chris Jones [Thu, 13 Aug 2015 16:56:50 +0000 (12:56 -0400)]
Updated important update information
Chris Jones [Thu, 13 Aug 2015 16:52:25 +0000 (12:52 -0400)]
Updated maintainer information
Walter Huf [Wed, 12 Aug 2015 19:27:59 +0000 (12:27 -0700)]
Merge pull request #204 from sandoracs/master
Support civetweb rgw frontend
Walter Huf [Mon, 10 Aug 2015 17:16:32 +0000 (10:16 -0700)]
Merge pull request #199 from scarvalhojr/sensitive
Flag sensitive execute and file resources
Walter Huf [Mon, 10 Aug 2015 17:13:49 +0000 (10:13 -0700)]
Merge pull request #208 from scarvalhojr/edb_osd_secret
Add OSD secret before monitor starts
Sergio de Carvalho [Mon, 10 Aug 2015 16:53:06 +0000 (17:53 +0100)]
Add OSD secret before monitor starts
Commit e1f084 introduced a regression when the bootstrap OSD secret is
stored in encrypted databags (EDB). The problem is that if the first
monitor is started without the bootstrap OSD key in the keyring, a
random OSD secret is generated, which will then not match the
pre-generated one.
The solution is to revert the resource that adds the bootstrap OSD key
to where it was (before monitor starts) but add a condition that ensures
this is only done if EDBs are enabled. When EDBs are not enabled, it is
not necessary to add the bootstrap OSD key to the keyring.
Sergio de Carvalho [Wed, 29 Apr 2015 13:31:43 +0000 (14:31 +0100)]
Use sensitive attribute on execute & file resource
Use sensitive attribute on execute and file resources that may expose
sensitive data. This avoids keys and secrets appearing on chef-client
logs.
Walter Huf [Thu, 6 Aug 2015 17:35:28 +0000 (10:35 -0700)]
Merge pull request #207 from mick-m/pools
Fix timing issue with ceph pool create
mick.mccarthy [Wed, 5 Aug 2015 14:38:57 +0000 (15:38 +0100)]
Fix timing issue with ceph pool create
There are scenarios being encountered where ceph::mon attempts to create
pools before all the required ceph services are up and running. This
causes the recipe to fail.
My proposed solution to this issue is to remove the 'ceph pool create'
block from the ceph::mon recipe and place it in it's own separate recipe
(ceph::pools), which is placed below ceph::mon in the runlist for the role
(ceph-mon.json).
Having this code in a separate recipe allows better control of when the
pools are created.
Walter Huf [Wed, 5 Aug 2015 18:23:08 +0000 (11:23 -0700)]
Merge pull request #200 from scarvalhojr/client_lwrp
Support client creation with pre-generated key
Walter Huf [Wed, 5 Aug 2015 18:13:59 +0000 (11:13 -0700)]
Merge pull request #167 from hufman/policy_docs
Describes how to use a wrapper cookbook for settings
Walter Huf [Wed, 5 Aug 2015 18:13:29 +0000 (11:13 -0700)]
Merge pull request #191 from jgoldschrafe/f-update-radosgw-apache2-repo-dists
Update supported codenames in radosgw_apache2_repo
Walter Huf [Wed, 5 Aug 2015 18:12:54 +0000 (11:12 -0700)]
Merge pull request #174 from hufman/fix_use_fuse
Fixes switching cephfs mode based on the attribute
Walter Huf [Wed, 5 Aug 2015 18:09:07 +0000 (11:09 -0700)]
Merge pull request #206 from nickvanw/master
Add bootstrap-osd key after it's been created if databags are not used
Nick Van Wiggeren [Wed, 5 Aug 2015 17:20:39 +0000 (13:20 -0400)]
Add bootstrap-osd key after it's been created if databags are not used
This change fixes a regression introduced 807f08 that caused
the cookbook to fail if data_bags were not used. The bootstrap-osd
key would not be created at the time of the key being added to the
keyring, causing the chef run to fail. We now try to add the key after
we've checked if the key needs to be created, which will only happen
if we're not using data_bags
Ács Sándor [Fri, 31 Jul 2015 20:36:04 +0000 (22:36 +0200)]
Support civetweb rgw frontend
Walter Huf [Tue, 19 May 2015 23:23:27 +0000 (16:23 -0700)]
Merge pull request #201 from scarvalhojr/encrypt
Add OSD secret when using encrypted data bags
Sergio de Carvalho [Tue, 19 May 2015 14:05:48 +0000 (15:05 +0100)]
Add OSD secret when using encrypted data bags
When encrypted_data_bags is enabled, it is necessary to inject the OSD
secret into the monitor keyring used to create the cluster. If that
isn't done, by the time the OSD recipe tries to use the OSD secret as
client.bootstrap-osd, Ceph will have generated a random key (and it
won't match the key from the encrypted data bag).
Sergio de Carvalho [Thu, 7 May 2015 17:47:26 +0000 (18:47 +0100)]
Support client creation with pre-generated key
Extend the client LWRP to allow a Ceph auth entity to be created with
a given key, instead of letting ceph auth generate a random one. This
is useful when the keys are managed elsewhere and are known beforehand.
Also, change the way an entity is recreated in case of a caps mismatch.
Instead of relying on parsing an error message from auth get-or-create,
explicitly check if entity exists and matches specification.
Guilhem Lettron [Tue, 12 May 2015 09:08:42 +0000 (11:08 +0200)]
Merge pull request #198 from scarvalhojr/pool_lwrp
Pool LWRP and auto create user-defined pools
Sergio de Carvalho [Mon, 27 Apr 2015 17:52:36 +0000 (18:52 +0100)]
Pool LWRP and auto create user-defined pools
This change introduces a pool LWRP that allows Ceph user pools to be
created and/or deleted by simply specifying their name and number of
placement groups.
It also allows users to define their own pools in Chef attributes or
environments that are then created automatically when nodes are
provisioned.
Guilhem Lettron [Fri, 1 May 2015 17:46:44 +0000 (19:46 +0200)]
Merge pull request #197 from scarvalhojr/master
Get OSD bootstrap key on the current node if possible
Sergio de Carvalho [Thu, 16 Apr 2015 16:35:46 +0000 (17:35 +0100)]
Get OSD bootstrap key on the current node if possible
When deploying monitor and OSD daemons on the same node, it is
possible to retrieve the OSD bootstrap key from the node itself
(if the monitor recipe has already been applied), instead of
relying on a search in Chef for existing monitors.
This change also serves as a workaround when monitor and OSD
daemons are being installed on the first node of the cluster and,
for some reason, chef-client doesn't converge at the first attempt.
Without this change, running chef-client a second time, the node
might not be found with the Chef search.
Walter Huf [Fri, 27 Mar 2015 18:20:34 +0000 (13:20 -0500)]
Merge pull request #192 from EMSL-MSC/master
Change apt-pin from package name to glob for regex support
dmlb2000 [Wed, 25 Mar 2015 20:05:13 +0000 (13:05 -0700)]
change from package name to glob for regex support
Jeff Goldschrafe [Sat, 14 Mar 2015 04:36:46 +0000 (00:36 -0400)]
Update supported codenames in radosgw_apache2_repo
Update `ceph::radosgw_apache2_repo` to add repositories for Ubuntu Saucy and Trusty. (Utopic and the upcoming Vivid have no official repositories yet.)
Guilhem Lettron [Fri, 27 Feb 2015 16:19:28 +0000 (17:19 +0100)]
Merge pull request #189 from ceph/travis-docker
Use docker on travis
Guilhem Lettron [Wed, 18 Feb 2015 16:49:34 +0000 (17:49 +0100)]
Use docker on travis
http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
Guilhem Lettron [Wed, 18 Feb 2015 16:09:38 +0000 (17:09 +0100)]
Release 0.8.0
Guilhem Lettron [Wed, 18 Feb 2015 16:06:10 +0000 (17:06 +0100)]
Update maintainer
Guilhem Lettron [Wed, 18 Feb 2015 14:02:54 +0000 (15:02 +0100)]
Merge pull request #166 from hufman/default-firefly
Sets the default version to firefly
Guilhem Lettron [Wed, 18 Feb 2015 09:23:45 +0000 (10:23 +0100)]
Merge pull request #184 from jperville/json-class-chef-role
Fixes roles so that they can be loaded into chef-solo and chef-zero.
Guilhem Lettron [Wed, 18 Feb 2015 09:23:21 +0000 (10:23 +0100)]
Merge pull request #179 from hufman/fix-cephfs-centos
Installs the ceph-fuse package for RPM distros
Guilhem Lettron [Wed, 18 Feb 2015 09:22:37 +0000 (10:22 +0100)]
Merge pull request #180 from hufman/fix-apache24-rakestyle
Fixes a rubocop warning
Walter Huf [Tue, 27 Jan 2015 03:42:02 +0000 (21:42 -0600)]
Merge pull request #186 from elliott-davis/master
Moved _common to default.
Walter Huf [Mon, 19 Jan 2015 15:54:02 +0000 (09:54 -0600)]
Merge pull request #183 from klamontagne/sort_mons
sort mon_addresses
Elliott Davis [Thu, 15 Jan 2015 20:17:45 +0000 (14:17 -0600)]
Moved _common to default.
Moving _common.rb to default.rb makes this cookbook easier to include
in other cookbooks. This also brings this cookbook back in line
with its README.
Moved _common_install.rb into default as it was only a one line
include.
Guilhem Lettron [Tue, 13 Jan 2015 18:05:21 +0000 (19:05 +0100)]
Merge pull request #185 from elliott-davis/master
Moved constant QUORUM_STATES into function.
Elliott Davis [Tue, 13 Jan 2015 14:06:07 +0000 (08:06 -0600)]
Moved constant QUORUM_STATES into function.
This variable being a global makes chefspec lose it's mind.
Updated to remove constant in favor of local variable in function
Julien Pervillé [Tue, 13 Jan 2015 08:38:57 +0000 (15:08 +0630)]
Fixes roles so that they can be loaded into chef-solo and chef-zero.
kelam [Mon, 8 Dec 2014 18:24:55 +0000 (13:24 -0500)]
sort mon_addresses
https://github.com/ceph/ceph-cookbook/issues/175
Walter Huf [Tue, 6 Jan 2015 06:06:56 +0000 (00:06 -0600)]
Fixes a rubocop warning
The rest of the cookbook uses strings instead of hashes for attribute names
Walter Huf [Tue, 6 Jan 2015 06:01:19 +0000 (00:01 -0600)]
Installs the ceph-fuse package for RPM distros
hufman [Fri, 2 Jan 2015 21:25:01 +0000 (13:25 -0800)]
Merge pull request #178 from jjasghar/updating_readme
Updated the readme.
JJ Asghar [Thu, 18 Dec 2014 16:45:46 +0000 (10:45 -0600)]
Updated the readme.
- Updated to chef.io
- Changed some formatting around
Walter Huf [Tue, 25 Nov 2014 22:22:54 +0000 (16:22 -0600)]
Fixes switching cephfs mode based on the attribute
Guilhem Lettron [Tue, 28 Oct 2014 23:06:55 +0000 (00:06 +0100)]
Merge pull request #169 from hufman/dev-docs
Adds some docs on how to run the testing tools
Walter Huf [Tue, 28 Oct 2014 19:11:27 +0000 (14:11 -0500)]
Changes the development instructions to use ChefDK
Walter Huf [Thu, 23 Oct 2014 15:51:40 +0000 (10:51 -0500)]
Adds some docs on how to run the testing tools
hufman [Thu, 23 Oct 2014 14:19:30 +0000 (09:19 -0500)]
Merge pull request #163 from hufman/fuse-wheezy
Improves cephfs fuse detection in the cephfs recipe
Walter Huf [Mon, 20 Oct 2014 16:18:42 +0000 (11:18 -0500)]
Describes how to use a wrapper cookbook for settings
Walter Huf [Mon, 20 Oct 2014 15:56:45 +0000 (10:56 -0500)]
Bumps the default version to firefly
Walter Huf [Fri, 17 Oct 2014 15:39:22 +0000 (10:39 -0500)]
Improves cephfs fuse detection in the cephfs recipe
Explicitly checks for Linux kernel version
Adds an option to override and explicitly force kernel or fuse mode
Guilhem Lettron [Fri, 17 Oct 2014 16:44:13 +0000 (18:44 +0200)]
Merge pull request #161 from hufman/docs_location
Adds a bunch of documentation
Walter Huf [Fri, 17 Oct 2014 15:44:31 +0000 (10:44 -0500)]
Adds some documentation on using the cookbook
hufman [Wed, 1 Oct 2014 13:47:00 +0000 (08:47 -0500)]
Merge pull request #159 from jsuchome/remove_done_file_check
Runs the mon and radosgw recipes every time, not just the first time
Jiří Suchomel [Thu, 25 Sep 2014 15:01:04 +0000 (17:01 +0200)]
service_type file not limited to ubuntu
Jiří Suchomel [Thu, 25 Sep 2014 09:02:48 +0000 (11:02 +0200)]
create 'done' file (and friends) for ubuntu only
Jiří Suchomel [Wed, 24 Sep 2014 14:43:57 +0000 (16:43 +0200)]
The 'done' file is only needed for upstart-based services.
And chef recipe should be able to be run again even after configuration.
hufman [Wed, 24 Sep 2014 20:59:29 +0000 (15:59 -0500)]
Merge pull request #141 from hufman/ubuntu14-modfastcgi
Disables Ceph's Apache on Ubuntu 13.10 and 14.04
hufman [Wed, 24 Sep 2014 20:57:46 +0000 (15:57 -0500)]
Merge pull request #157 from jsuchome/radosgw_directories
Use special run and log directories for radosgw
Jiří Suchomel [Tue, 23 Sep 2014 14:55:16 +0000 (16:55 +0200)]
Use special run and log directories for radosgw
(not needed to be owned by root)
Let radosgw restart on ceph.conf change.
hufman [Wed, 24 Sep 2014 14:10:10 +0000 (09:10 -0500)]
Merge pull request #158 from hufman/ubuntu14-access
Renders a different vhost config for Apache 2.4
hufman [Wed, 24 Sep 2014 14:08:01 +0000 (09:08 -0500)]
Merge pull request #156 from jsuchome/radosgw_suse_adaptation
Adapt radosgw configuration for SUSE:
Jiří Suchomel [Tue, 23 Sep 2014 12:13:37 +0000 (14:13 +0200)]
Adapt radosgw configuration for SUSE:
fix package lists, specify path for s3gw.fcgi
Walter Huf [Tue, 23 Sep 2014 20:18:54 +0000 (15:18 -0500)]
Renders a different vhost config for Apache 2.4
hufman [Tue, 23 Sep 2014 18:16:44 +0000 (13:16 -0500)]
Merge pull request #155 from hufman/radosgw-no-autorestart
Stops automatically restarting apache2 every run
Walter Huf [Mon, 22 Sep 2014 19:46:12 +0000 (14:46 -0500)]
Stops automatically restarting apache2 every run
I don't know why this is in here, but it's disruptive. Perhaps there was a first-run issue
that needed the restart, so I set up the first-time notifications to restart Apache
hufman [Fri, 19 Sep 2014 19:47:28 +0000 (14:47 -0500)]
Merge pull request #152 from hufman/prefirefly-fuse-mount
Updates the mount.fuse.ceph helper for pre-firefly versions
Walter Huf [Fri, 19 Sep 2014 18:57:49 +0000 (13:57 -0500)]
Updates the mount.fuse.ceph helper for pre-firefly
hufman [Fri, 19 Sep 2014 19:13:18 +0000 (14:13 -0500)]
Merge pull request #151 from hufman/save_bootstrap_osd_key
Permanently saves the ceph bootstrap_osd_key
hufman [Fri, 19 Sep 2014 19:12:45 +0000 (14:12 -0500)]
Merge pull request #150 from hufman/fix-cephx
Enables cephx if ceph.config.global exists
Walter Huf [Tue, 16 Sep 2014 19:56:47 +0000 (14:56 -0500)]
Permanently saves the ceph bootstrap_osd_key
Walter Huf [Tue, 16 Sep 2014 19:54:46 +0000 (14:54 -0500)]
Enables cephx if ceph.config.global exists
If you have a ceph.config.global setting, but didn't have a setting
'auth cluster required', the recipe wouldn't try to use cephx.
hufman [Tue, 16 Sep 2014 15:01:47 +0000 (10:01 -0500)]
Merge pull request #144 from hufman/fix-netdev
Adds _netdev for fuse mounts in fstab
hufman [Tue, 16 Sep 2014 15:01:07 +0000 (10:01 -0500)]
Merge pull request #140 from hufman/ubuntu14-version
Apt-pins the Ceph version to the Ceph repo version
Walter Huf [Wed, 3 Sep 2014 21:36:11 +0000 (16:36 -0500)]
Adds _netdev for fuse mounts in fstab
Walter Huf [Wed, 30 Jul 2014 16:44:58 +0000 (11:44 -0500)]
Apt-pins the Ceph version to the Ceph repo version
Ubuntu 14.04 ships a newer version than this cookbook defaults to.
This pin allows for easy installation of the same Ceph version across multiple Ubuntu versions
Walter Huf [Wed, 30 Jul 2014 18:01:52 +0000 (13:01 -0500)]
Disables Ceph's Apache on Ubuntu 13.10 and 14.04
Guilhem Lettron [Thu, 24 Jul 2014 08:17:43 +0000 (10:17 +0200)]
Merge pull request #139 from hufman/fix_osd_install
Adds the fsid to ceph-osd hosts
Walter Huf [Wed, 23 Jul 2014 14:09:20 +0000 (09:09 -0500)]
Adds the fsid to ceph-osd hosts
Guilhem Lettron [Sun, 20 Jul 2014 16:33:50 +0000 (18:33 +0200)]
Merge pull request #136 from hufman/cephfs-lwrp
Actually uses the cephfs attribute
Walter Huf [Fri, 18 Jul 2014 22:30:59 +0000 (17:30 -0500)]
Adds tests for the cephfs_mount attribute
Walter Huf [Fri, 18 Jul 2014 20:49:16 +0000 (15:49 -0500)]
Actually uses the cephfs attribute