Machine constraints are used as Controller constraints
Bug #1768308 reported by
Peter Matulis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
When I specify a default constraint during controller-creation time with '--constraints' it appears that it (here disk space) gets applied to the controller:
$ juju bootstrap --no-gui --bootstrap-
$ juju ssh -m controller 0 'df -h'
/dev/xvda1 62G 3.0G 60G 5% /
When I use no constraints I get a much smaller disk for the controller:
$ juju bootstrap --no-gui --bootstrap-
$ juju ssh -m controller 0 'df -h'
/dev/xvda1 31G 3.0G 28G 10% /
I thought the controller is only affected by '--bootstrap-
description: | updated |
Changed in juju: | |
assignee: | Anastasia (anastasia-macmood) → nobody |
To post a comment you must log in.
actually it is the other way around. --constraints affects everything, constraints only effects the controllers and not deployed apps.
including the controller and any future applications that are deployed.
--bootstrap-
John
=:->
On Tue, May 1, 2018, 19:35 Peter Matulis <email address hidden>
wrote:
> Public bug reported: series= bionic --constraints constraints2 series= bionic aws constraints3 constraints' ? /paste. ubuntu. com/p/BCcqHtGWf r/ /bugs.launchpad .net/bugs/ 1768308 /bugs.launchpad .net/juju/ +bug/1768308/ +subscriptions
>
> When I specify a default constraint during controller-creation time with
> '--constraints' it appears that it (here disk space) gets applied to the
> controller:
>
> $ juju bootstrap --no-gui --bootstrap-
> "root-disk=64G" aws aws-bionic-
> $ juju ssh -m controller 0 'df -h'
>
> /dev/xvda1 62G 3.0G 60G 5% /
>
> When I use no constraints I get a much smaller disk for the controller:
>
> $ juju bootstrap --no-gui --bootstrap-
> aws-bionic-
> $ juju ssh -m controller 0 'df -h'
>
> Filesystem Size Used Avail Use% Mounted on
> udev 1.9G 0 1.9G 0% /dev
> tmpfs 376M 744K 375M 1% /run
> /dev/xvda1 31G 3.0G 28G 10% /
>
> I thought the controller is only affected by '--bootstrap-
>
> https:/
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
>
> ** Tags: docteam
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> Machine constraints are used as Controller constraints
>
> To manage notifications about this bug go to:
> https:/
>