StarCluster - Mailing List Archive

Re: No route to 0.0.0.0/0

From: MacMullan IV, Hugh <no email>
Date: Thu, 21 Apr 2016 19:09:03 +0000

Hi Chad:

Do you have two route tables associated with that VPC? My functioning VPCs all do:

{
            "Associations": [
                {
                    "SubnetId": "subnet-XXXXXXXX",
                    "RouteTableAssociationId": "rtbassoc-XXXXXXXX",
                    "Main": false,
                    "RouteTableId": "rtb-XXXXXXXX"
                }
            ],
            "RouteTableId": "rtb-XXXXXXXX",
            "VpcId": "vpc-XXXXXXXX",
            "PropagatingVgws": [],
            "Tags": [],
            "Routes": [
                {
                    "GatewayId": "local",
                    "DestinationCidrBlock": "10.0.0.0/16",
                    "State": "active",
                    "Origin": "CreateRouteTable"
                },
                {
                    "GatewayId": "igw-XXXXXXXX",
                    "DestinationCidrBlock": "0.0.0.0/0",
                    "State": "active",
                    "Origin": "CreateRoute"
                }
            ]
        },
        {
            "Associations": [
                {
                    "RouteTableAssociationId": "rtbassoc-XXXXXXXX",
                    "Main": true,
                    "RouteTableId": "rtb-XXXXXXXX"
                }
            ],
            "RouteTableId": "rtb-XXXXXXXX",
            "VpcId": "vpc-XXXXXXXX",
            "PropagatingVgws": [],
            "Tags": [],
            "Routes": [
                {
                    "GatewayId": "local",
                    "DestinationCidrBlock": "10.0.0.0/16",
                    "State": "active",
                    "Origin": "CreateRouteTable"
                }
            ]
        }

It may be easiest just to trash that stuff (unless you're already using it) and create a new VPC with the Wizard (I always use the Wizard) in the console:

https://console.aws.amazon.com/vpc/home?region=us-east-1#wizardSelector:

Use the default 'VPC with Public and Private Subnets'.

Good luck!
-Hugh

From: starcluster-bounces_at_mit.edu [mailto:starcluster-bounces_at_mit.edu] On Behalf Of Chad Nicely
Sent: Thursday, April 21, 2016 2:19 PM
To: starcluster_at_mit.edu
Subject: [StarCluster] No route to 0.0.0.0/0

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<http://0.0.0.0/0>), but I'm still getting the error "No route to 0.0.0.0/0<http://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<http://0.0.0.0/0>",
                    "State": "active",
                    "Origin": "CreateRoute"
                }
            ]
        }
    ]
}

I'm running starcluster v0.95.6. Any ideas?
Received on Thu Apr 21 2016 - 15:09:06 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject