Re: juju bootstrap to a particular subnet

2018-07-03 Thread John Meinel
Can you file a bug about the error message being misleading? It should be
that you get "unknown subnet" not "unknown placement directive".

Thanks,
John
=:->

On Mon, Jul 2, 2018 at 5:06 PM, chris  wrote:

> @John,
>
>   Thanks for confirming it's still there.  I was using the wrong subnet
> mask.  All working now.
>
> Thanks,
> -Chris
>
> On Mon, Jul 2, 2018 at 12:09 AM, John Meinel 
> wrote:
>
>> It should still be available for AWS. I think I saw a case where you
>> might get that error just when it can't find the subnet you asked for (so
>> 'subnet=' is known, but the 172.32.* couldn't be found).
>> I'm not positive about it, but I do still see the subnet matching code in
>> place.
>>
>> John
>> =:->
>>
>>
>> On Mon, Jun 25, 2018 at 11:42 PM, chris  wrote:
>>
>>> Hello everyone,
>>>
>>>   In looking through the docs I was unable to find a way to deploy a
>>> controller to a specific subnet.  I found some old bug reports where there
>>> was possibly a --to directive added to facilitate this back in 2.2.
>>> However, this is what happens when I use it...
>>>
>>> juju bootstrap --config vpc-id=vpc- --credential=cred_name
>>> aws/region controller_name --to subnet=172.32.X.X/20
>>> ERROR failed to bootstrap model: cannot start bootstrap instance:
>>> unknown placement directive: subnet=172.32.X.X/20
>>>
>>>   Is this directive still available?  Has it changed?
>>>
>>> Thanks,
>>> -Chris
>>>
>>> --
>>> Juju mailing list
>>> Juju@lists.ubuntu.com
>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>>> an/listinfo/juju
>>>
>>>
>>
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: juju bootstrap to a particular subnet

2018-07-02 Thread chris
@John,

  Thanks for confirming it's still there.  I was using the wrong subnet
mask.  All working now.

Thanks,
-Chris

On Mon, Jul 2, 2018 at 12:09 AM, John Meinel  wrote:

> It should still be available for AWS. I think I saw a case where you might
> get that error just when it can't find the subnet you asked for (so
> 'subnet=' is known, but the 172.32.* couldn't be found).
> I'm not positive about it, but I do still see the subnet matching code in
> place.
>
> John
> =:->
>
>
> On Mon, Jun 25, 2018 at 11:42 PM, chris  wrote:
>
>> Hello everyone,
>>
>>   In looking through the docs I was unable to find a way to deploy a
>> controller to a specific subnet.  I found some old bug reports where there
>> was possibly a --to directive added to facilitate this back in 2.2.
>> However, this is what happens when I use it...
>>
>> juju bootstrap --config vpc-id=vpc- --credential=cred_name
>> aws/region controller_name --to subnet=172.32.X.X/20
>> ERROR failed to bootstrap model: cannot start bootstrap instance: unknown
>> placement directive: subnet=172.32.X.X/20
>>
>>   Is this directive still available?  Has it changed?
>>
>> Thanks,
>> -Chris
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: juju bootstrap to a particular subnet

2018-07-01 Thread John Meinel
It should still be available for AWS. I think I saw a case where you might
get that error just when it can't find the subnet you asked for (so
'subnet=' is known, but the 172.32.* couldn't be found).
I'm not positive about it, but I do still see the subnet matching code in
place.

John
=:->


On Mon, Jun 25, 2018 at 11:42 PM, chris  wrote:

> Hello everyone,
>
>   In looking through the docs I was unable to find a way to deploy a
> controller to a specific subnet.  I found some old bug reports where there
> was possibly a --to directive added to facilitate this back in 2.2.
> However, this is what happens when I use it...
>
> juju bootstrap --config vpc-id=vpc- --credential=cred_name
> aws/region controller_name --to subnet=172.32.X.X/20
> ERROR failed to bootstrap model: cannot start bootstrap instance: unknown
> placement directive: subnet=172.32.X.X/20
>
>   Is this directive still available?  Has it changed?
>
> Thanks,
> -Chris
>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


juju bootstrap to a particular subnet

2018-06-25 Thread chris
Hello everyone,

  In looking through the docs I was unable to find a way to deploy a
controller to a specific subnet.  I found some old bug reports where there
was possibly a --to directive added to facilitate this back in 2.2.
However, this is what happens when I use it...

juju bootstrap --config vpc-id=vpc- --credential=cred_name
aws/region controller_name --to subnet=172.32.X.X/20
ERROR failed to bootstrap model: cannot start bootstrap instance: unknown
placement directive: subnet=172.32.X.X/20

  Is this directive still available?  Has it changed?

Thanks,
-Chris
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju