Edward Hope-Morley
e7bf2f910e
Allow devices to be added post-install
...
Track devices that have been added to the ring and allow
devices to be added to the ring post-install (currently
only allowed within the install hook). Devices added to
the ring prior to this patch existing will be migrated
to the tracking store of devices to avoid conflicts.
Change-Id: Id268dc6369041a4d2db6f30a997dfa0c0d73b93f
Closes-Bug: 1383390
2016-03-07 22:25:29 +00:00
James Page
2ceda02a08
Resync charm-helpers
...
Resolve single unit deployment failure with default configuration;
update unit tests to ensure that mkdir is called for /srv/node.
Change-Id: Id5518a2144ec3bdc6341f6dfc85835ae342f490e
2016-03-03 11:50:13 +00:00
James Page
9d042778d2
Resync helpers, refactor code to use cpu calcs from charmhelpers
2016-01-30 13:37:50 +01:00
Jorge Niedbalski
977be11131
Also use defaults options, just in case
2015-11-02 18:40:22 -03:00
Jorge Niedbalski
4b29d1b533
Also use defaults options, just in case
2015-11-02 17:05:25 -03:00
Jorge Niedbalski
5fe42ca12f
Checks if a given device is a loop device, then adds the 'loop'
...
option to the mount.
2015-11-02 16:50:56 -03:00
Corey Bryant
d0a420127b
Add comment
2015-10-13 13:07:27 +00:00
Corey Bryant
cd57171aa4
Add assess_status() callback
2015-10-13 09:18:52 +00:00
Corey Bryant
a65385dfe8
Lint and unit test updates
2015-10-09 12:08:09 +00:00
Corey Bryant
1a02c96e7e
Drop assess_status() as it's duplicating work done by set_os_workload_status().
2015-10-09 12:00:26 +00:00
Corey Bryant
e57d8793e5
Move to using REQUIRED_INTERFACES and check for swift-hash.
2015-10-09 03:47:26 +00:00
Corey Bryant
3c3064f723
Initial workload status support.
2015-10-08 02:15:44 +00:00
Liam Young
705077f8cd
Add comment to get_mount_point
2015-10-02 11:43:29 +01:00
Liam Young
54dab0004d
Fix up unit tests
2015-10-02 11:40:33 +01:00
Liam Young
563e7f23a7
Include mounted devices when reporting back to swift proxy
2015-09-30 18:19:22 +00:00
Adam Collard
15f0748932
Expand list-comp to full for-loop, use SWIFT_SVCS instead of ACCOUNT + CONTAINER + OBJECT (ack's review)
2015-09-02 11:52:38 +01:00
Adam Collard
c0c2ec36e1
Guard service restarts for upgrade case with is_paused
2015-08-28 13:40:23 +01:00
Adam Collard
b6b4e2357f
SWIFT_SVCS was an out of date list of services that the charm starts, redefine it in terms of the individual components of account, container and object. Update tests.
2015-08-11 14:59:31 +01:00
Adam Collard
a3ab496153
Add lib, move library code there. Symlink into hooks directory.
2015-07-17 10:57:19 +01:00