StarCluster - Mailing List Archive

Re: No route to 0.0.0.0/0

From: Chad Nicely <no email>
Date: Sun, 24 Apr 2016 22:34:26 -0700

Thanks, Rayson.

Explicitly associating the subnet to the main route table did the trick.
All of our other VPCs are set up with an explicit association, which
explains the difference.

The requirement *not* to use the main route table would be a great addition
to the docs.

Cheers!

Chad

On Thu, Apr 21, 2016 at 10:02 PM, Rayson Ho <raysonlogin_at_gmail.com> wrote:

> Chad,
>
> What you've shown is a "Main" route table, which is implicitly associated
> with all subnets without route table association in the VPC.
>
> The quickest way to fix it is to go to the VPC "Subnets" page of the AWS
> console, then "Route Table", "Edit", and select the main route table again
> so that it changes from implicit to *explicit* route table association.
>
> The StarCluster code can be changed to handle implicit route table
> association when it is validating the subnet for IGW & 0.0.0.0/0 route
> accesses. However, in general it is a good practice to not have IGW access
> by default for all subnets without route table association. (That is, it is
> better to NOT have access and the VPC admin gives the subnet IGW access
> rather than taking away access when security is needed.)
>
> Rayson
>
> ==================================================
> Open Grid Scheduler - The Official Open Source Grid Engine
> http://gridscheduler.sourceforge.net/
> http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html
>
>
>
> On Thu, Apr 21, 2016 at 2:18 PM, Chad Nicely <chad.nicely_at_helix.com>
> wrote:
> >
> > I'm trying to launch starcluster instances into a subnet in a
> non-default VPC which satisfies the documented requirements (internet
> gateway attached to the VPC and a route to 0.0.0.0/0), but I'm still
> getting the error "No route to 0.0.0.0/0 found for subnet".
> >
> > The associated route table looks like this, and I've triple checked all
> ids and associations:
> >
> > {
> > "RouteTables": [
> > {
> > "Associations": [
> > {
> > "RouteTableAssociationId": "rtbassoc-xxxxxxxx",
> > "Main": true,
> > "RouteTableId": "rtb-yyyyyyyy"
> > }
> > ],
> > "RouteTableId": "rtb-yyyyyyyy",
> > "VpcId": "vpc-aaaaaaaa",
> > "PropagatingVgws": [],
> > "Tags": [],
> > "Routes": [
> > ...
> > {
> > "GatewayId": "igw-bbbbbbbb",
> > "DestinationCidrBlock": "0.0.0.0/0",
> > "State": "active",
> > "Origin": "CreateRoute"
> > }
> > ]
> > }
> > ]
> > }
> >
> > I'm running starcluster v0.95.6. Any ideas?
> >
> > _______________________________________________
> > StarCluster mailing list
> > StarCluster_at_mit.edu
> > http://mailman.mit.edu/mailman/listinfo/starcluster
> >
>
Received on Mon Apr 25 2016 - 01:34:28 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject