Commit Graph

24 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
Liam Young a0060f4163 charms.ceph sync for py3 bug fix
Change-Id: I995b98ece695a3de7c7010c5850b5dbe5f7a6b6e
Partial-Bug: #1735720
2017-12-01 13:39:29 +00:00
Chris MacNaughton 08ac48c436 Update from charms.ceph
This change attempts to bandaid a bug with occaisonal failures
to authenticate with a ceph quorum

Change-Id: I454861c6d138497010221eeb68a5c51cd9edaccb
Partial-Bug: #1719436
Depends-On: I1b44f87522a283c9e6d06064687a2330ea23e354
2017-09-26 10:43:39 -04:00
Chris MacNaughton 9b01cf2773 sync in changes from charms.ceph
Change-Id: Ic153beaaacef4f3b17a9b704e1b05e52ef6ce2b9
2017-08-28 14:44:59 +02:00
Chris MacNaughton 1932280ca3 Sync charms.ceph changes
- ensure filestore is used by default
- allow upgrades to luminous

Change-Id: Ib5d006b47f0364cfb067c70d0620ab09e5b50770
Depends-on: I8205f7c7c63ec30900c4afdc76df174d3d9a8466
2017-08-16 14:40:10 +02:00
Edward Hope-Morley f0042a9a7f Sync charms.ceph to get code cleanup changes
Also had to fix some imports due to changes
implemented as part of the cleanup.

Change-Id: I64de0ad077eaaf8ca6ac0c575c4ae7f19bccf8ee
2017-08-14 14:54:35 +01:00
Corey Bryant 94e2db92e1 Bootstrap ceph-mgr daemon
As of the Luminous release, Ceph requires ceph-mgr daemons be run
to have a fully functional cluster. [0]

[0] http://docs.ceph.com/docs/master/mgr/administrator/

Change-Id: I59e4d20c0e3c2d3e4cff45aaa70adf5b2862f71b
Closes-bug: #1709061
2017-08-10 19:06:34 +00: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
James Page 9d6e6b40c6 Resync charms.ceph for Luminous support
Change-Id: I29fbee17e159853ea8e349e43ed0ada684d02943
2017-07-07 08:42:21 +01:00
David Ames 04b8f84927 Do not install NTP when installed in a container
Use determine_packages() to avoid installing NTP when in a container.
Sync charms.ceph to get ceph.determine_packages().

Change-Id: Ia00af86964d8f77e615367cbcde35a4d7d10774c
Partial-Bug: #1690513
2017-05-16 11:37:14 -07:00
Alex Kavanagh 0ced70b19e Fix alphanumeric comparisons for openstack and ubuntu releases
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done
- fix tests which assumed mocks would just work on os_release()

Change-Id: Ie1a70a68e61f0460a9b60436643d9f5173e30105
Related-Bug: #1659575
2017-04-27 11:21:04 +01:00
Chris Holcombe ea87ae4feb Fix parse_key
parse_key returns incorrect data when the cephx key
contains [caps].

Closes-Bug: 1665149
Change-Id: I0b5a9d3db94a43f60e785c3c2cb73a7ed84e208b
2017-02-17 11:17:41 +00:00
Chris MacNaughton 06f517d18d Sync back in charms.ceph
Change-Id: I188fd24fa2382657d14842b9022a6610f790d7db
Partial-Bug: 1424771
2017-02-14 13:22:50 -06:00
Chris MacNaughton 3dfeff7a19 Sync in charms.ceph
This brings in the new broker change to restrict
key access by groups

Change-Id: I19ad0142b4227ba555a0794e8b938372d9fdb84c
Partial-Bug: 1424771
2017-02-10 07:55:02 -05:00
Chris MacNaughton 39ffd26452 Add action to list unmounted disks
This action is fairly simple in that it returns
a list of unmounted disks

This also includes a git-sync to pull in charms.ceph
changes.
Change-Id: Idb6eabd565b0a9951bb0b212b81a57497ada56f1
Closes-Bug: 1645481
2016-12-12 12:16:04 -05:00
Chris MacNaughton 404fe36b79 Sync Ceph library
This sync brings in new support with the broker
to move an OSD into a given bucket in Ceph's
crushmap

Change-Id: I8e1c3fd70ac134f6dac8d719538da65e0526b446
2016-12-07 07:48:57 -05:00
Ryan Beisner 9e2aa03289 Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: Ic32eba6b28007101965bd2caec9ca6e5369ab379
2016-12-03 16:42:16 +00:00
James Page a2d19d37ea Downgrade default key mon capabilities
The 'w' capability for mon is no longer required by default, as
the ceph broker in the ceph{-mon} charm is responsible for pool
creation, not clients.

Drop this permission (keys are automatically upgraded).

Change-Id: I23a75bc4d3737f9181b48d0affb046349be4153b
Depends-On: Iefffe047214555a15c4201fca605f07ac39c8f5c
Partial-Bug: 1424771
2016-10-17 09:18:38 +01:00
Ryan Beisner d52053e3e4 Update amulet test definitions for Newton
- Remove Precise-Icehouse Amulet test definitions if they exist.

- Add Xenial-Newton Amulet test definitions.

- Add Yakkety-Newton Amulet test definitions.

- Use the percona-cluster charm in tests instead of the mysql charm.

Change-Id: I74764b639dad616060c7fa7c2ccbad1e283e1f9d
2016-10-11 13:25:49 -05:00
David Ames daa475a8c5 Pre-release charm-helpers sync 16.10
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: I9f0aad6d212fb18d88924a6144540def4b30f995
2016-09-30 08:47:04 -07:00
Edward Hope-Morley 3a845f6f89 Fix radosgw relation broken by commit 57808f0
Change-Id: I146fe1fe15515dbb90cd8f77d5ecaff4851bcb26
Closes-Bug: 1627718
2016-09-26 13:59:12 +01:00
Chris Holcombe 57808f02ab Multiple Rolling Upgrades
The rolling upgrade code sets keys in the ceph mon
cluster to discover whether it can upgrade itself. This
patch addresses an issue where the upgrade code was not
taking into account multiple upgrades to newer ceph versions
in a row.

Change-Id: Icae681e1817ce50039ef22a0677398fe84057bf7
2016-09-23 08:18:34 +01:00
Chris MacNaughton 811bc04e7c Clean up dependency chain
This includes a resync of charms_ceph to raise the directory one level
The charms_ceph change that we're syncing in changes the
name of the ceph.py file into the __init__.py file to remove the
second level of namespacing

Change-Id: I8773a26266a2a13f92083e89db957a6454df9bb3
2016-08-11 11:00:53 -04:00
Chris MacNaughton 1f140c73ed Migrate to shared lib
This change moves our ceph.py and ceph_broker.py into
a seperate repository that we can share between various
ceph related Juju projects, along with a Makefile
change to use a new git_sync file to partially sync
a git repository into a specified path

Change-Id: I8942d2f3411acec197fd6b854c1d9e50457502a5
2016-08-01 17:00:23 -04:00