num_units is redundant when charm declared with placement in a bundle
Bug #1910733 reported by
Frode Nordahl
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In a live fast-paced deployment scenario all kinds of things can go wrong which requires last minute changes to the scale of bundles to match the reality of available functional physical machines and other factors.
When making changes to a bundle that has placement declared with the `to` key for all charms, the requirement for also specifying `num_units` becomes a nuisance and kills some of the elastic modeling feeling of the tool.
It would be of great value to users of Juju if the requirement for specifying `num_units` could be removed when `to` is present for a charm, meaning that Juju would deduce the value of `num_units` from the contents of `to`.
To post a comment you must log in.
The caveat there is that some values you can supply in "to:" imply
elasticity in themselves. eg "-to: lxd:" means that all the units of this
application end up in containers.
On Fri, Jan 8, 2021 at 5:55 AM Frode Nordahl <email address hidden>
wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 1910733 /bugs.launchpad .net/juju/ +bug/1910733/ +subscriptions
>
> In a live fast-paced deployment scenario all kinds of things can go
> wrong which requires last minute changes to the scale of bundles to
> match the reality of available functional physical machines and other
> factors.
>
> When making changes to a bundle that has placement declared with the
> `to` key for all charms, the requirement for also specifying `num_units`
> becomes a nuisance and kills some of the elastic modeling feeling of the
> tool.
>
> It would be of great value to users of Juju if the requirement for
> specifying `num_units` could be removed when `to` is present for a
> charm, meaning that Juju would deduce the value of `num_units` from the
> contents of `to`.
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
>
> ** Tags: ps5
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> num_units is redundant when charm declared with placement in a bundle
>
> To manage notifications about this bug go to:
> https:/
>