Commit Graph

29 Commits

Author SHA1 Message Date
James Page 536c22a6a2 Retire project
Leave README around for those that follow.

Change-Id: I34f8092296c70cd1b51de7c48d7ee589f410d55d
2018-09-14 11:53:08 -06:00
James Page f936367cac Drop configuration for global keyring
Drop explicit global configuration of keyring, supporting
installation of the ceph/ceph-mon/ceph-osd charms in the
same machine.

Change-Id: I7e537e7b1c19f2cf675262bf3315868ddc634005
Closes-Bug: 1681750
2017-09-14 13:09:20 -06:00
Dmitrii Shcherbakov f962fadc21 use a non-legacy bluestore option on Luminous+
the 'experimental' option is no longer needed as of Luminous release
https://github.com/ceph/ceph/blob/luminous/src/common/legacy_config_opts.h#L79

Change-Id: I9bbc0cc74833259b6ac1b0f951dceadebe0a267b
2017-08-30 16:53:41 +03:00
Chris MacNaughton 9625ea7ba7 add default features support
Change-Id: Ic640b097f88b238d865b5880bb2ecd682b2a84ec
2017-07-13 09:00:05 +02:00
James Page e2fc2e3bd9 Add bluestore support for OSD's
Add highly experimental support for bluestore storage format for
OSD devices; this is disabled by default and should only be enabled
in deployments where loss of data does not present a problem!

Change-Id: I67323e26a4698de4e08c8c755db232399f7fed02
Depends-On: I36f7aa9d7b96ec5c9eaa7a3a970593f9ca14cb34
2017-07-07 09:59:42 +01:00
Edward Hope-Morley af7ac0be61 Add support for user-provided ceph config
Adds a new config-flags option to the charm that
supports setting a dictionary of ceph configuration
settings that will be applied to ceph.conf.

This implementation supports config sections so that
settings can be applied to any section supported by
the ceph.conf template in the charm.

Change-Id: I5ed2530b1e06a4565029d62124b469b97e17d342
Closes-Bug: 1522375
2016-05-25 15:54:08 +01:00
James Page b11c4f6a04 Limit OSD object name lengths for Jewel + ext4
As of the Ceph Jewel release, certain limitations apply to
OSD object name lengths: specifically if ext4 is in use for
block devices or a directory based OSD is configured, OSD's
must be configured to limit object name length:

  osd max object name len = 256
  osd max object namespace len = 64

This may cause problems storing objects with long names via
the ceph-radosgw charm or for direct users of RADOS.

Also ensure that ceph.conf as a final newline as ceph requires
this.

Change-Id: I99447232bd002116f1f5822f1cf872984f79ef81
Closes-Bug: 1580320
Closes-Bug: 1578403
2016-05-19 08:54:10 +01:00
James Page f7c587f02b Add support for Juju network spaces
Juju 2.0 provides support for network spaces, allowing
charm authors to support direct binding of relations and
extra-bindings onto underlying network spaces.

Add public and cluster extra bindings to this charm to
support separation of client facing and cluster network
traffic using Juju network spaces.

Existing network configuration options will still be
preferred over any Juju provided network bindings, ensuring
that upgrades to existing deployments don't break.

Change-Id: I4df75a40f5308f701f15c45d3d7b1df1e03832ad
2016-04-09 16:54:58 +01:00
James Page 4f0dc6d8b7 Add configuration option for toggling use of direct io for OSD journals 2016-01-18 16:39:49 +00:00
Edward Hope-Morley 7acd31a61c [hopem,r=]
Add loglevel config option.
Closes-Bug: 1520236
2016-01-13 14:45:54 +02:00
Edward Hope-Morley 48ea35279d fixup ceph.conf template (needs newline at EOF) 2014-09-29 11:55:42 +01:00
Hui Xiang 6f8364f410 Use public/cluster addr for osd, osd mon can't parse ipv6 network. 2014-09-28 14:00:11 +08:00
Edward Hope-Morley 058bf0cac6 fixed ceph.conf newline issue 2014-09-24 14:51:38 +01:00
Edward Hope-Morley de145be2dd fixed ceph.conf newline issue and get_host_ip() 2014-09-24 14:28:44 +01:00
Edward Hope-Morley e5ca14fc27 applied jamespage review fixes 2014-09-24 13:12:45 +01:00
Hui Xiang 942f4159fb Merge from /next and fix conflicts. 2014-09-22 16:51:15 +08:00
Corey Bryant cc71cd240c Remove leading whitespace from templates/ceph.conf (ConfigParser can't parse) 2014-08-26 02:06:58 +00:00
Hui Xiang e30af7ebdc Support ceph for IPv6. 2014-08-11 19:04:42 +08:00
James Page 0f944474df Rebase 2014-07-25 09:01:29 +01:00
James Page e4c6e44eae Use helper in hooks as well 2014-07-23 12:31:16 +01:00
James Page 0d49ad4c85 Add support for splitting public and cluster networks 2014-06-06 13:29:32 +01:00
Edward Hope-Morley 60bef47702 [hopem] Added use-syslog cfg option to allow logging to syslog 2014-03-25 18:44:22 +00:00
Edward Hope-Morley a23cc94cbc Adds configurable osd-journal-size option
Fixes: bug 1259919
2013-12-12 10:58:43 +00:00
James Page aeb923dc27 Updates for latest ceph upstream and utils refactor 2012-12-17 10:22:51 +00:00
Paul Collins 336ba2a9a3 add auth-supported config option 2012-10-18 19:19:52 +13:00
James Page c1e3ce696a Turn on cephx support by default 2012-10-09 12:18:01 +01:00
Paul Collins 75d8f0feef write fsid to ceph.conf 2012-10-03 21:19:14 +13:00
Paul Collins 4600527dc8 write out a plausible ceph.conf from config-changed and mon-relation-*
add an "extra" newline to the template so that the generated ceph.conf ends with a newline
2012-10-03 03:49:19 +13:00
Paul Collins 0a563bb818 hackety hack 2012-10-02 23:52:44 +13:00