Comment 9 for bug 1804244

Revision history for this message
Narinder Gupta (narindergupta) wrote : Re: [Bug 1804244] Re: juju bootstrap on three sunbets out of 5 not possible

I have not tried syntax juju enable-ha --to subnet=b,subnet=c i will try
that and let you know. There are five subnet in three zone and that could
be case in future deployment as well so its worth to find out what is
supported and whats not on aws. For spaces i have to bootstrap first. I
have plan to test single space multiple subnet as well.

Thanks and Regards,
Narinder Gupta
Canonical, Ltd.
+1.281.736.5150

Ubuntu- Linux for human beings | www.ubuntu.com | www.canonical.com

On Tue, Nov 20, 2018 at 8:15 PM John A Meinel <email address hidden>
wrote:

> can't you use
>
> juju enable-ha --to subnet=b,subnet=c
>
> or does the --to not support the full syntax
>
> Also, are these subnets separated by zones?
>
> Ideally this would all be done by spaces and you would put the controller
> into a space that only has the 3 subnets you want. We do still have the
> chicken and egg problem where AWS doesn't define spaces until we have a
> controller.
>
> John
> =:->
>
> On Nov 21, 2018 02:40, "Tim Penhey" <email address hidden> wrote:
>
> The fact that this is missing functionality in Juju this doesn't qualify
> for the field SLA definitions as outlined in the wiki linked above.
>
> ** Tags removed: field-high
>
> ** Summary changed:
>
> - juju bootstrap on three sunbets out of 5 not possible
> + juju bootstrap on three subnets out of 5 not possible
>
> --
> You received this bug notification because you are a member of Canonical
> Field Critical, which is subscribed to the bug report.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1804244
>
> Title:
> juju bootstrap on three subnets out of 5 not possible
>
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1804244/+subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1804244
>
> Title:
> juju bootstrap on three subnets out of 5 not possible
>
> Status in juju:
> Triaged
>
> Bug description:
> canonical is trying to bootstrap a controller on aws where in single
> vpc we have multiple private and public subnet says 5 of them. but
> only 3 out of 5 subnets were supposed to be used for HA bootstrap and
> also workload should also be on those three subnets only.
>
> currently there is no way to provide multiple subnet during bootstrap
> or after bootstrap to enable HA on multiple AZs on different subnet.
>
> currently we are using the following for single subnet.
> juju bootstrap aws/us-east-1 nrg --credential canadm --config
> vpc-id=<vpc id> --config vpc-id-force=true --bootstrap-constraints
> "root-disk=50G" --bootstrap-series xenial --to "subnet=<subnet id>"
>
> and then juju enable-ha
>
> juju add-space private "172.25.10.0/24" -m controller
> juju add-space private "172.25.10.0/24" -m default
> juju set-model-constraints spaces=private -m controller
> juju set-model-constraints spaces=private -m default
> juju switch controller
> juju enable-ha
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1804244/+subscriptions
>