18520d6c77
Support disabling fuzzy limit matching
...
Used for the APIs when they filter by name but we don't want a fuzzy
limit since we specified an exact name.
2019-07-05 16:30:20 -04:00
6ee3c91a63
Use None instead of all in ceph.py
...
Make it like other optional args (like direction in net ACLs) and use
None instead of 'all' when specifying any option
2019-07-05 13:59:29 -04:00
d755a80fe8
Fix bugs with refactoring
2019-07-05 00:44:40 -04:00
84a905b7f0
Refactor ceph client for API
2019-07-05 00:30:03 -04:00
6e2dfc1704
Reorganize file before refactoring
...
This is the largest of the function files, and unlike the others is
cleanly split into four types. Reorganize the file and function
definitions around those types to make it easier to navigate, and do so
separately before refactoring for API.
2019-07-04 23:09:16 -04:00
b52cf01ecc
Make conditionals more Pythonic
2019-06-25 12:36:37 -04:00
e097e9e8af
Fix up status call
2019-06-21 16:40:12 -04:00
60e6df4416
Increase wait on OSD add/remove a bit more
2019-06-21 16:01:08 -04:00
9cec0c5b43
Remove extra bolding in lists
2019-06-21 15:57:50 -04:00
808e53fe29
Increase wait on OSD add/remove
2019-06-21 15:56:37 -04:00
f3e9082376
Simplify fromhuman byte formatting
2019-06-21 10:18:35 -04:00
867ad1fc1b
Support human-readable biconversion and in volumes
2019-06-21 09:23:52 -04:00
3d3fa1b99f
Add write-lock-wait to all other Ceph commands
2019-06-21 09:05:00 -04:00
3dd56c55c0
Fix a few more bugs
2019-06-19 15:32:32 -04:00
97a3dafa3b
Fix bug in regex match for snapshots
2019-06-19 15:24:04 -04:00
51256b4f0f
Fix bad bolding in lists
2019-06-19 15:16:22 -04:00
5d4ecafb03
Support listing of snapshots
2019-06-19 15:15:17 -04:00
5e211837ad
Fix bug in output
2019-06-19 11:24:25 -04:00
e6a458f38c
Support listing volumes
2019-06-19 11:22:49 -04:00
98365b0fcf
Correct bugs around snapshots
2019-06-19 09:41:33 -04:00
a4ab3075ab
Correct some bugs around new code
2019-06-19 00:23:25 -04:00
01959cb9e3
Implementation of RBD volumes and snapshots
...
Adds the ability to manage RBD volumes (add/remove) and RBD
snapshots (add/remove). (Working) list functions to come.
2019-06-19 00:12:44 -04:00
b50b2a827b
Add forced delays after pool add/remove
...
Prevents returning immediately to give the cluster some breathing
room before the admin can do other commands. Keep the write lock
as well to prevent other clients from attempting this as well.
2019-06-18 21:56:24 -04:00
ee73676114
Fix bug with pool removal
2019-06-18 21:51:11 -04:00
720469d389
Standardize the layout of lists (dynamic fields)
2018-11-02 00:42:44 -04:00
2c2208ab07
Tweak some output formatting in lists
2018-11-01 23:24:38 -04:00
a2f4102cb5
Add crush weight and reweight output
2018-11-01 23:17:38 -04:00
9fcce4b09a
Support setting a CRUSH weight on new OSDs
2018-11-01 23:03:27 -04:00
2ea8a14ba4
Support OSD out/in and commands
2018-11-01 22:08:11 -04:00
41bedbae3c
Verify the pool exists before removing it
2018-11-01 19:55:13 -04:00
99fcb21e3b
Support adding and removing Ceph pools
2018-10-31 23:38:17 -04:00
922a3a9ee1
Actually remove the command data
2018-10-30 22:44:41 -04:00
3e4a6086d5
Finish up Ceph OSD removal, add locking to commands
2018-10-30 22:41:44 -04:00
9a271bda0a
Add OSD list function
2018-10-30 09:17:32 -04:00
bfbe9188ce
Finish setup of Ceph OSD addition and basic management
2018-10-29 17:51:25 -04:00
7f18c99172
Add OSD add and OSD remove commands
2018-10-28 22:15:25 -04:00
103ae95fb9
Add Ceph commands and status handling
2018-10-27 18:11:58 -04:00