cloudstax / firecamp

Serverless Platform for the stateful services
https://www.cloudstax.io
Apache License 2.0
209 stars 20 forks source link

AWS Quickstart Failing #43

Closed dev-head closed 6 years ago

dev-head commented 6 years ago

I am likely missing something, however I am getting a failed stack build for these errors:

    Embedded stack arn:aws:cloudformation:xxxx/CloudStax-FireCamp-VPCStack-xxxx/xxxxxx was not successfully created: The following resource(s) failed to create: [NATGateway3, NATGateway2, NATGateway1].

Info

I am evaluating this for potential use for us, however I am not able to get passed the cloud formation stackup. if this isn't a quick fix, is there a better solution for installing your software on linux?

thank you

JuniusLuo commented 6 years ago

Thanks for reporting the issue! We never hit this issue before. The failure looks at the VPC stack, that the creation of the NAT gateways failed. Could you please share which region the test uses? Are you using CloudFormation Console or CLI to create the stack?

JuniusLuo commented 6 years ago

Could you please also post the full VPC stack Events and Parameters? Thanks.

dev-head commented 6 years ago

Hi @JuniusLuo, thanks for taking a look for me.

here are the details:

Parameters

AvailabilityZones   us-east-1a,us-east-1b,us-east-1c    
BastionAMIOS    Amazon-Linux-HVM    
BastionInstanceType t2.micro    
ClusterName firecamp-staged 
ContainerPlatform   ecs 
KeyPairName N/A
NodeAMIOS   Amazon-Linux-HVM    
NodeInstanceType    t2.medium   
NumBastionHosts 2   
NumberOfAZs 3   
NumberOfManagers    3   
NumberOfNodes   3   
PrivateSubnet1CIDR  10.0.0.0/19 
PrivateSubnet2CIDR  10.0.32.0/19    
PrivateSubnet3CIDR  10.0.64.0/19    
PublicSubnet1CIDR   10.0.128.0/20   
PublicSubnet2CIDR   10.0.144.0/20   
PublicSubnet3CIDR   10.0.160.0/20   
QSS3BucketName  quickstart-reference    
QSS3KeyPrefix   cloudstax/firecamp/latest/  
Release 0.9.4   
RemoteAccessCIDR    N/A
VPCCIDR 10.0.0.0/16

Events

13:44:46 UTC-0700   ROLLBACK_COMPLETE   AWS::CloudFormation::Stack  CloudStax-FireCamp  
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy

13:44:45 UTC-0700   DELETE_COMPLETE AWS::CloudFormation::Stack  VPCStack    
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp-VPCStack-HWTXGL08REDN/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy

13:42:50 UTC-0700   DELETE_IN_PROGRESS  AWS::CloudFormation::Stack  VPCStack    
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp-VPCStack-HWTXGL08REDN/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy

13:42:36 UTC-0700   ROLLBACK_IN_PROGRESS    AWS::CloudFormation::Stack  CloudStax-FireCamp  The following resource(s) failed to create: [VPCStack]. . Rollback requested by user.
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy

13:42:36 UTC-0700   CREATE_FAILED   AWS::CloudFormation::Stack  VPCStack    Embedded stack arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp-VPCStack-HWTXGL08REDN/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx was not successfully created: The following resource(s) failed to create: [NATGateway3, NATGateway2, NATGateway1].
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp-VPCStack-HWTXGL08REDN/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy

13:41:18 UTC-0700   CREATE_IN_PROGRESS  AWS::CloudFormation::Stack  VPCStack    Resource creation Initiated
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp-VPCStack-HWTXGL08REDN/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy

13:41:17 UTC-0700   CREATE_IN_PROGRESS  AWS::CloudFormation::Stack  VPCStack    
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy

13:41:11 UTC-0700   CREATE_IN_PROGRESS  AWS::CloudFormation::Stack  CloudStax-FireCamp  User Initiated
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy
JuniusLuo commented 6 years ago

Thanks! Could you please get the events and parameters for the VPC stack? You should see the stacks like below in the CloudFormation console, "t1" is my test stack name, your stack name should start with "CloudStax-FireCamp", click "CloudStax-FireCamp-VPCSTACK", and get the Events and Parameters. Thanks! image

If the stack was deleted, could set the filter to "Deleted" to list all deleted stacks. image

JuniusLuo commented 6 years ago

The VPC stack creation failed. We need the events and parameters of the VPC stack to check the failure.

13:42:36 UTC-0700   CREATE_FAILED   AWS::CloudFormation::Stack  VPCStack    Embedded stack arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp-VPCStack-HWTXGL08REDN/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx was not successfully created: The following resource(s) failed to create: [NATGateway3, NATGateway2, NATGateway1].
Physical ID:arn:aws:cloudformation:us-east-1:xxxxxxxxxxxx:stack/CloudStax-FireCamp-VPCStack-HWTXGL08REDN/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Request Token:Console-CreateStack-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxy
dev-head commented 6 years ago

Hey @JuniusLuo,

That's the ticket! The real error was hidden in the delete view which was in turn hidden from my view. Won't catch me slipping on that next time that's for sure. The Issue was our api limits on that account. Thank you for taking the time out to help prod me along with this.

👍

JuniusLuo commented 6 years ago

Great! Glad it helps.

JuniusLuo commented 6 years ago

Just a side question: beside cloud formation, is there any other way that you typically use to deploy software and may want to use the same software to deploy FireCamp?