-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from cloudm2/master
Added new ceph.conf options and updated RGW.
- Loading branch information
Showing
19 changed files
with
188 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Cookbook Name:: ceph | ||
# Attributes:: radosgw | ||
# | ||
# Copyright 2015, Bloomberg Finance L.P. | ||
# Copyright 2016, Bloomberg Finance L.P. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -33,17 +33,27 @@ | |
|
||
include_attribute 'ceph-chef' | ||
|
||
default['ceph']['radosgw']['api_fqdn'] = 'localhost' | ||
default['ceph']['radosgw']['admin_email'] = '[email protected]' | ||
default['ceph']['radosgw']['port'] = 80 | ||
default['ceph']['radosgw']['webserver'] = 'civetweb' | ||
# default['ceph']['radosgw']['webserver'] = 'civetweb' | ||
# IMPORTANT: The civetweb user manual is a good place to look for custom config for civetweb: | ||
# https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md | ||
# Add the options to the single line of the 'frontends etc...' | ||
# NOTE: Change the number of default threads that civetweb uses per node | ||
default['ceph']['radosgw']['civetweb_num_threads'] = 10 | ||
default['ceph']['radosgw']['civetweb_access_log_file'] = '/var/log/radosgw/civetweb.access.log' | ||
default['ceph']['radosgw']['civetweb_error_log_file'] = '/var/log/radosgw/civetweb.error.log' | ||
|
||
# OpenStack Keystone specific | ||
default['ceph']['radosgw']['keystone_admin_token'] = nil | ||
default['ceph']['radosgw']['keystone_url'] = nil | ||
default['ceph']['radosgw']['keystone_url_port'] = 35358 | ||
# Will radosgw integrate with OpenStack Keystone - true/false | ||
default['ceph']['radosgw']['keystone']['auth'] = false | ||
default['ceph']['radosgw']['keystone']['admin']['token'] = nil | ||
default['ceph']['radosgw']['keystone']['admin']['url'] = nil | ||
default['ceph']['radosgw']['keystone']['admin']['port'] = 35357 | ||
default['ceph']['radosgw']['keystone']['accepted_roles'] = 'admin Member _member_' | ||
default['ceph']['radosgw']['keystone']['token_cache_size'] = 1000 | ||
default['ceph']['radosgw']['keystone']['revocation_interval'] = 1200 | ||
|
||
default['ceph']['radosgw']['dns_name'] = nil | ||
# NOTE: For radosgw pools, see pools.rb attributes. | ||
|
||
# Number of RADOS handles RGW has access to - system default = 1 | ||
default['ceph']['radosgw']['rgw_num_rados_handles'] = 5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
[Unit] | ||
Description=Ceph RESTful API for admin purposes | ||
After=network-online.target local-fs.target | ||
Wants=network-online.target local-fs.target | ||
|
||
[Service] | ||
Type=Simple | ||
Type=Notify | ||
ExecStart=/usr/bin/python /bin/ceph-rest-api | ||
ExecReload=/bin/kill -HUP $MAINPID | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=default.target | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.