Hey James, Can you please also paste the full logs (scrubbed of secrets) of `juju bootstrap ... --debug` (with the vpc-id etc., but please also include `--config logging-config='<root>=TRACE'`), and machine-0.log from /var/log/juju on the bootstrap node, once completed? That will help figuring out the issue.
From what I can understand, you're trying to bootstrap on a non-default, possibly private VPC (accessed via its internal address over a VPN connection maybe?), and then add a model with the same VPC and credentials. If OTOH, the VPC used for add-model is different, the machines there won't be able to talk to the controller's VPC unless it has a public address (cross VPC communication currently relies on having that, fancier setups with VPN gateways is not yet supported). The error in status implies 2 separate VPCs are used (or a VPC and EC2-Classic - i.e. no VPC) for the controller and hosted model. Cheers, Dimiter On 08/02/2016 01:04 AM, James Beedy wrote: > Thanks, Marco. > > `juju status --format yaml` <- http://paste.ubuntu.com/21818491/ > > The messages for the machines show "Security group sg-9d6c8ce7 and > subnet subnet-930c61b8 belong to different networks. (InvalidParameter)'" > > This seems odd, as the subnet I've bootstrapped to is 'subnet-930c61b8' > > On Mon, Aug 1, 2016 at 2:53 PM, Marco Ceppi <[email protected] > <mailto:[email protected]>> wrote: > > What does `juju status --format yaml` produce? it should provide > more fruitful machine errors. > > Marco > > On Mon, Aug 1, 2016 at 5:46 PM James Beedy <[email protected] > <mailto:[email protected]>> wrote: > > I'm having some issues with deploying instances to network > spaces on aws. > > Problem: Instance errors on deploy > > I have successfully bootstrapped into my aws vpc with `juju > bootstrap mycloud aws --credential mycred --config > vpc-id=my-vpcid--config force-vpc-id='true' --upload-tools` and > subsequently created a model on my aws controller in the vpc > with `juju add-model my-new-model -credential mycred > --config vpc-id=my-vpcid --config force-vpc-id='true'`. > Following which, I add a network space, and then my subnet > -> http://paste.ubuntu.com/21814798/. Ok, everything looks great > so far .... then I go and launch an instance and it all falls > apart -> http://paste.ubuntu.com/21815678/ > > Any insight into what is going on here would be greatly > appreciated. Are these network spaces ops even supported on aws? > > ~thanks > > -- > Juju-dev mailing list > [email protected] <mailto:[email protected]> > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > > > > -- Dimiter Naydenov <[email protected]> Juju Core Sapphire team <http://juju.ubuntu.com>
signature.asc
Description: OpenPGP digital signature
-- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
