Public bug reported:

My question is the following (maybe a feature request, I do no how to
create one) :

Imagine a service like GlusterFS requiring to migrate data from removed
bricks before shuting-down the node(s) that will be removed from the
cluster.

gluster/0 with volume1
gluster/1 with volume2 (replica=2)
gluster/2 with volume2 (replica=2)

How exactly juju triggers the hooks of the units of that service ?
I imagine that all units are aware of the departure of gluster/2 if we remove 
gluster/2.

A good feature will be to have, as user, a way to express our desire to
scale-down the service without specifying one particular unit, unlike
juju remove-unit.

Another will be, as unit of the service, a way to "decide" to cancel or
warn the user helped by juju. For example, if the user uses juju remove-
unit gluster/0 it will loose all data of volume1 !

Kind Regards,

David

** Affects: juju (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: juju remove-unit

** Summary changed:

- A command to scale-out a service safely.
+ A command to scale-down a service safely.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1183508

Title:
  A command to scale-down a service safely.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju/+bug/1183508/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to