Commit Graph

896 Commits (8615dd0cce84c1e97fb433d31a96658914cf7b9b)
 

Author SHA1 Message Date
Leseb a397c65b74 Merge pull request #218 from leseb/radosgw-civetweb
Add support of civetweb for Rados Gateway
2015-03-02 14:26:56 +01:00
Sébastien Han c5c0e21532 Add support of civetweb for Rados Gateway
Almost here.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 14:16:53 +01:00
Leseb 4990a9abdb Merge pull request #219 from leseb/fix-rgw-socket
Fix Rados Gateway socket path
2015-03-02 10:57:53 +01:00
Sébastien Han 962d1ad17f Fix Rados Gateway socket path
Fixes: #217

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 10:48:18 +01:00
Leseb abd96a22b0 Merge pull request #216 from leseb/vagrant-vars
Use an external file to manage Vagrant variables
2015-02-24 13:40:01 +01:00
Sébastien Han 227927044c Use an external file to manage Vagrant variables
This is really handy when we are testing code since we don't need to
modify the Vagrantfile, which is tracked by git.
The next commit will ignore the vagrant_variables.yml file.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-24 00:09:29 +01:00
Markus Hubig f27e8e0846 Adds ansible script to split this repo into roles.
Use it like this, to split and update:

ansible-playbook -i dummy-ansible-hosts contrib/splitup.yml \
  --tags split --extra-vars github=mhubig/ansible

ansible-playbook -i dummy-ansible-hosts contrib/splitup.yml \
  --tags update --extra-vars github=mhubig/ansible
2015-02-23 18:25:37 +01:00
Sébastien Han 68e470c6b8 Add RBD client logs support
The path must be writable by QEMU and allowed by SELinux or AppArmor

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-23 15:28:27 +01:00
Sébastien Han 188c32323b WIP: first implementation of functional tests
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-22 02:31:28 +01:00
Leseb c3df7813a6 Merge pull request #210 from leseb/multi-rgw-support
Bring multi RGW support
2015-02-22 01:24:55 +01:00
Sébastien Han 6f0a0f7a71 Bring multi RGW support
Now we can setup multi-rgw with the playbook.
Each rgw instance has its own key.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-22 01:23:03 +01:00
Leseb 0fcfc477ba Merge pull request #209 from leseb/fix-rgw-section
Fix the rgw section
2015-02-20 18:46:26 +01:00
Sébastien Han eae7bd6029 Fix the rgw section
If we use the hostname, the radosgw will lookup for a wrong secret.
Using the same name for all the gateways.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-20 18:41:49 +01:00
Leseb ebd07ae56c Merge pull request #208 from leseb/improve-rgw
Improve RGW config section
2015-02-15 02:23:15 +01:00
Sébastien Han 0095b34c88 Improve RGW config section
Use hostname in socket and log.
Improve jinja template so when a var doesn't exist we don't indent the
next line.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-15 02:21:27 +01:00
Leseb 2a76fc5caa Merge pull request #207 from leseb/fix-rgw-vagrant
Enable proper options while activating rgw or mds with Vagrant
2015-02-15 02:05:30 +01:00
Sébastien Han f12dab9835 Enable proper options while activating rgw or mds with Vagrant
When enabling radosgw virtual machines, we also need to enable the
radosgw variable. Same thing goes with the mds.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-15 02:01:35 +01:00
Leseb 241744b988 Merge pull request #206 from leseb/fix-rgw-keys
Fix RGW key fetching
2015-02-15 01:59:15 +01:00
Sébastien Han 8951c9c3f5 Fix RGW key fetching
In a previous commit, key name changed, fixing this.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-15 01:56:12 +01:00
Leseb e4aa5f5ba3 Merge pull request #204 from marmot21/patch-1
Update ceph.conf.j2
2015-02-14 22:45:46 +01:00
marmot21 dc32268563 Update ceph.conf.j2
This is just a simple change that will allow multiple gateways
2015-02-12 22:16:24 +11:00
Leseb 5a0c8469c7 Merge pull request #202 from leseb/refactor-mon-keys
Refactor keys creation and fetching
2015-01-30 18:44:07 +01:00
Sébastien Han 9f93b66fae Refactor keys creation and fetching
We isolated the key operations into a file and modified the fetch
function to collect all the new keys.
In the mean time fixed the pool creation since the command is not
indempotent.
Renamed the rgw key to work with the key collection.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-30 18:20:17 +01:00
Leseb 4ac76dc91b Merge pull request #200 from leseb/mon-key
Add Monitor Keys example
2015-01-30 16:19:12 +01:00
Sébastien Han bd3c980f8b Add Monitor Keys example
Can be useful when `ceph-authtool --gen-print-key` is not available.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-30 16:17:46 +01:00
Leseb 62f785ec9c Merge pull request #198 from leseb/ceph-client
Ability to populate OpenStack installation
2015-01-30 14:54:18 +01:00
Sébastien Han ea44582379 Ability to populate OpenStack installation
Creates pools, keys and users.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-30 13:34:35 +01:00
Leseb 5cb96fd3db Merge pull request #197 from flisky/master
fsid & ceph_stable_redhat_distro fixs up
2015-01-26 10:02:54 +01:00
Yin Jifeng 8eca518348 update distro comment
so we don't need change them every ceph release
2015-01-26 14:22:06 +08:00
Yin Jifeng e13aca8c5f epel-release is mandatory
see: https://www.mail-archive.com/ceph-users@lists.ceph.com/msg14819.html
also: 831b130f98
2015-01-22 21:36:47 +08:00
Yin Jifeng 2a2d977e39 make sure we use **fsid** in command 2015-01-22 20:09:06 +08:00
Yin Jifeng 30ac90dcfa update ceph noarch repo url 2015-01-22 20:07:46 +08:00
Leseb 7dd08f7bf5 Merge pull request #196 from leseb/fix-travis-2
Fix Travis
2015-01-21 16:37:06 +01:00
Sébastien Han 9336d80cd6 Fix Travis
Only do syntax check now.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-21 16:33:26 +01:00
Leseb 8a7f1f7aca Merge pull request #195 from ceph/revert-194-fix-travis
Revert "Fix Travis run"
2015-01-21 16:17:52 +01:00
Leseb c34d16f08f Revert "Fix Travis run" 2015-01-21 16:17:40 +01:00
Leseb 5527cf71e6 Merge pull request #194 from leseb/fix-travis
Fix Travis run
2015-01-21 16:16:44 +01:00
Sébastien Han 965df5579c Fix Travis run
Fix travis run and effectively test the playbooks.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-21 16:15:55 +01:00
Leseb c7c729101c Merge pull request #191 from leseb/travis
Add test to the playbooks
2015-01-21 10:01:24 +01:00
Sébastien Han 2c1d98f07d Add test to the playbooks
Through Travis.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-21 09:59:42 +01:00
Leseb 4e95686eea Merge pull request #189 from leseb/change-controller-name
Change disk controller name
2015-01-19 18:25:45 +01:00
Sébastien Han 812776bce4 Change disk controller name
The recently added Trusty box was build with a Controller named
"SATAController", we must reuse the same name while adding our devices.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-19 18:25:14 +01:00
Leseb af7aa53ad3 Merge pull request #188 from leseb/use-trusty-box
Upgrade to Trusty box
2015-01-19 17:42:13 +01:00
Sébastien Han b31a81b2b5 Upgrade to Trusty box
Use a Trusty box instead of Precise.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-19 17:41:19 +01:00
Leseb 6eafbb871e Merge pull request #187 from leseb/debug
Enable Ceph daemons debug options
2015-01-16 14:42:40 +01:00
Sébastien Han 74ffbf90fc Enable Ceph daemons debug options
Add debug options for Ceph daemons.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-16 14:42:11 +01:00
Leseb e18588b147 Merge pull request #186 from leseb/swapoff
Ability to disable swap
2015-01-15 11:44:11 +01:00
Sébastien Han c246d8dc80 Ability to disable swap
With enough memory we will probably not need any swap.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-15 11:42:51 +01:00
Leseb 24d37816b7 Merge pull request #185 from leseb/os-tuning-vfs-pressure
Decrease vfs cache pressure
2015-01-15 11:14:52 +01:00
Sébastien Han 9b0b83a354 Decrease vfs cache pressure
On OSD servers we want to keep as much inodes and dentries in memory as
we can.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-15 11:08:57 +01:00