num_units is redundant when charm declared with placement in a bundle

Bug #1910733 reported by Frode Nordahl
6
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`.

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1910733] [NEW] num_units is redundant when charm declared with placement in a bundle

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:
>
> 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://bugs.launchpad.net/bugs/1910733
>
> Title:
> num_units is redundant when charm declared with placement in a bundle
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1910733/+subscriptions
>

Revision history for this message
Pen Gale (pengale) wrote :

Agree that this would be a useful feature. Adding it to the wishlist for now, but we're definitely open to bumping this in priority!

(Adding the "bitesize" tag, just in case there is a simple implementation -- feel free to remove if you dig into the code, and determine that the fix would require more extensive work.)

tags: added: community-feedback field-feedback
Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: bitesize
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.