Docker Community Forums

Share and learn in the Docker community.

Docker for aws community cloudformation template not working in Ireland region


(Pricesquid) #1

Expected behavior

2017-05-15 Status Type Logical ID Status reason
18:49:58 UTC+0200 CREATE_COMPLETE AWS::CloudFormation::Stack Docker
18:49:54 UTC+0200 CREATE_COMPLETE AWS::AutoScaling::LifecycleHook SwarmWorkerUpgradeHook
18:49:54 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LifecycleHook SwarmWorkerUpgradeHook Resource creation Initiated
18:49:53 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LifecycleHook SwarmWorkerUpgradeHook
18:49:47 UTC+0200 CREATE_COMPLETE AWS::AutoScaling::AutoScalingGroup NodeAsg
18:49:44 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::AutoScalingGroup NodeAsg Received SUCCESS signal with UniqueId i-021888385aa5f0cf4
18:47:19 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::AutoScalingGroup NodeAsg Resource creation Initiated
18:47:18 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::AutoScalingGroup NodeAsg
18:47:13 UTC+0200 CREATE_COMPLETE AWS::AutoScaling::LifecycleHook SwarmManagerUpgradeHook
18:47:13 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LifecycleHook SwarmManagerUpgradeHook Resource creation Initiated
18:47:12 UTC+0200 CREATE_COMPLETE AWS::AutoScaling::LaunchConfiguration NodeLaunchConfigAws1
18:47:12 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LifecycleHook SwarmManagerUpgradeHook
18:47:12 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LaunchConfiguration NodeLaunchConfigAws1 Resource creation Initiated
18:47:11 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LaunchConfiguration NodeLaunchConfigAws1
18:47:06 UTC+0200 CREATE_COMPLETE AWS::AutoScaling::AutoScalingGroup ManagerAsg
18:47:04 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::AutoScalingGroup ManagerAsg Received SUCCESS signal with UniqueId i-06ebe5de216cad404
18:44:37 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::AutoScalingGroup ManagerAsg Resource creation Initiated
18:44:36 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::AutoScalingGroup ManagerAsg
18:44:31 UTC+0200 CREATE_COMPLETE AWS::AutoScaling::LaunchConfiguration ManagerLaunchConfigAws1
18:44:30 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LaunchConfiguration ManagerLaunchConfigAws1 Resource creation Initiated
18:44:30 UTC+0200 CREATE_IN_PROGRESS AWS::AutoScaling::LaunchConfiguration ManagerLaunchConfigAws1
18:44:25 UTC+0200 CREATE_COMPLETE AWS::IAM::InstanceProfile ProxyInstanceProfile
18:43:58 UTC+0200 CREATE_COMPLETE AWS::IAM::Policy DynDBPolicies
18:43:58 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy DynDBPolicies Resource creation Initiated
18:43:56 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy DynDBPolicies
18:43:52 UTC+0200 CREATE_COMPLETE AWS::DynamoDB::Table SwarmDynDBTable
18:43:27 UTC+0200 CREATE_COMPLETE AWS::EC2::Route PublicRouteViaIgw
18:43:20 UTC+0200 CREATE_IN_PROGRESS AWS::DynamoDB::Table SwarmDynDBTable Resource creation Initiated
18:43:20 UTC+0200 CREATE_IN_PROGRESS AWS::DynamoDB::Table SwarmDynDBTable
18:43:15 UTC+0200 CREATE_COMPLETE AWS::EC2::SecurityGroup ManagerVpcSG
18:43:15 UTC+0200 CREATE_COMPLETE AWS::ElasticLoadBalancing::LoadBalancer ExternalLoadBalancer
18:43:14 UTC+0200 CREATE_IN_PROGRESS AWS::ElasticLoadBalancing::LoadBalancer ExternalLoadBalancer Resource creation Initiated
18:43:13 UTC+0200 CREATE_IN_PROGRESS AWS::ElasticLoadBalancing::LoadBalancer ExternalLoadBalancer
18:43:11 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Route PublicRouteViaIgw Resource creation Initiated
18:43:10 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Route PublicRouteViaIgw
18:43:09 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup ManagerVpcSG Resource creation Initiated
18:43:08 UTC+0200 CREATE_COMPLETE AWS::EC2::SubnetRouteTableAssociation PubSubnet2RouteTableAssociation
18:43:07 UTC+0200 CREATE_COMPLETE AWS::EC2::SubnetRouteTableAssociation PubSubnet1RouteTableAssociation
18:43:07 UTC+0200 CREATE_COMPLETE AWS::EC2::SubnetRouteTableAssociation PubSubnet3RouteTableAssociation
18:43:06 UTC+0200 CREATE_COMPLETE AWS::EC2::VPCGatewayAttachment AttachGateway
18:42:53 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup ManagerVpcSG
18:42:52 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SubnetRouteTableAssociation PubSubnet2RouteTableAssociation Resource creation Initiated
18:42:52 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SubnetRouteTableAssociation PubSubnet1RouteTableAssociation Resource creation Initiated
18:42:51 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SubnetRouteTableAssociation PubSubnet3RouteTableAssociation Resource creation Initiated
18:42:51 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SubnetRouteTableAssociation PubSubnet2RouteTableAssociation
18:42:51 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SubnetRouteTableAssociation PubSubnet1RouteTableAssociation
18:42:50 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SubnetRouteTableAssociation PubSubnet3RouteTableAssociation
18:42:50 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::VPCGatewayAttachment AttachGateway Resource creation Initiated
18:42:49 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::VPCGatewayAttachment AttachGateway
18:42:47 UTC+0200 CREATE_COMPLETE AWS::EC2::SecurityGroup NodeVpcSG
18:42:46 UTC+0200 CREATE_COMPLETE AWS::EC2::Subnet PubSubnetAz2
18:42:46 UTC+0200 CREATE_COMPLETE AWS::EC2::Subnet PubSubnetAz1
18:42:45 UTC+0200 CREATE_COMPLETE AWS::EC2::Subnet PubSubnetAz3
18:42:45 UTC+0200 CREATE_COMPLETE AWS::EC2::SecurityGroup ExternalLoadBalancerSG
18:42:45 UTC+0200 CREATE_COMPLETE AWS::EC2::InternetGateway InternetGateway
18:42:45 UTC+0200 CREATE_COMPLETE AWS::EC2::SecurityGroup SwarmWideSG
18:42:44 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup NodeVpcSG Resource creation Initiated
18:42:43 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup ExternalLoadBalancerSG Resource creation Initiated
18:42:43 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup SwarmWideSG Resource creation Initiated
18:42:30 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Subnet PubSubnetAz2 Resource creation Initiated
18:42:29 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Subnet PubSubnetAz1 Resource creation Initiated
18:42:29 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Subnet PubSubnetAz2
18:42:29 UTC+0200 CREATE_COMPLETE AWS::EC2::RouteTable RouteViaIgw
18:42:29 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Subnet PubSubnetAz3 Resource creation Initiated
18:42:29 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Subnet PubSubnetAz1
18:42:28 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::InternetGateway InternetGateway Resource creation Initiated
18:42:28 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::RouteTable RouteViaIgw Resource creation Initiated
18:42:28 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::Subnet PubSubnetAz3
18:42:28 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::RouteTable RouteViaIgw
18:42:28 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::InternetGateway InternetGateway
18:42:28 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup NodeVpcSG
18:42:27 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup ExternalLoadBalancerSG
18:42:27 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::SecurityGroup SwarmWideSG
18:42:26 UTC+0200 CREATE_COMPLETE AWS::IAM::Policy SwarmAutoscalePolicy
18:42:25 UTC+0200 CREATE_COMPLETE AWS::IAM::Policy SwarmSQSCleanupPolicy
18:42:25 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmAutoscalePolicy Resource creation Initiated
18:42:25 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmSQSCleanupPolicy Resource creation Initiated
18:42:25 UTC+0200 CREATE_COMPLETE AWS::IAM::Policy ProxyPolicies
18:42:25 UTC+0200 CREATE_COMPLETE AWS::IAM::Policy SwarmAPIPolicy
18:42:25 UTC+0200 CREATE_COMPLETE AWS::IAM::Policy SwarmSQSPolicy
18:42:25 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmAPIPolicy Resource creation Initiated
18:42:25 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmSQSPolicy Resource creation Initiated
18:42:25 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy ProxyPolicies Resource creation Initiated
18:42:24 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmAutoscalePolicy
18:42:24 UTC+0200 CREATE_COMPLETE AWS::EC2::VPC Vpc
18:42:24 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmSQSCleanupPolicy
18:42:24 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::InstanceProfile ProxyInstanceProfile Resource creation Initiated
18:42:24 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmAPIPolicy
18:42:23 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::InstanceProfile ProxyInstanceProfile
18:42:23 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy ProxyPolicies
18:42:23 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Policy SwarmSQSPolicy
18:42:20 UTC+0200 CREATE_COMPLETE AWS::IAM::Role ProxyRole
18:42:08 UTC+0200 CREATE_COMPLETE AWS::SQS::Queue SwarmSQSCleanup
18:42:08 UTC+0200 CREATE_COMPLETE AWS::SQS::Queue SwarmSQS
18:42:08 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Role ProxyRole Resource creation Initiated
18:42:07 UTC+0200 CREATE_IN_PROGRESS AWS::SQS::Queue SwarmSQS Resource creation Initiated
18:42:07 UTC+0200 CREATE_IN_PROGRESS AWS::SQS::Queue SwarmSQSCleanup Resource creation Initiated
18:42:07 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Role ProxyRole
18:42:07 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::VPC Vpc Resource creation Initiated
18:42:07 UTC+0200 CREATE_IN_PROGRESS AWS::SQS::Queue SwarmSQS

Actual behavior

2017-05-15 Status Type Logical ID Status reason
18:33:05 UTC+0200 ROLLBACK_COMPLETE AWS::CloudFormation::Stack Docker
18:33:04 UTC+0200 DELETE_COMPLETE AWS::SQS::Queue SwarmSQSCleanup
18:32:04 UTC+0200 DELETE_COMPLETE AWS::EC2::VPC Vpc
18:32:04 UTC+0200 DELETE_COMPLETE AWS::IAM::Role ProxyRole
18:32:03 UTC+0200 DELETE_IN_PROGRESS AWS::IAM::Role ProxyRole
18:32:03 UTC+0200 DELETE_IN_PROGRESS AWS::SQS::Queue SwarmSQSCleanup
18:31:46 UTC+0200 ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack Docker The following resource(s) failed to create: [ProxyRole, Vpc]. . Rollback requested by user.
18:31:44 UTC+0200 CREATE_FAILED AWS::IAM::Role ProxyRole Resource creation cancelled
18:31:44 UTC+0200 CREATE_COMPLETE AWS::SQS::Queue SwarmSQSCleanup
18:31:44 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Role ProxyRole Resource creation Initiated
18:31:43 UTC+0200 CREATE_IN_PROGRESS AWS::SQS::Queue SwarmSQSCleanup Resource creation Initiated
18:31:43 UTC+0200 CREATE_FAILED AWS::EC2::VPC Vpc The maximum number of VPCs has been reached.
18:31:43 UTC+0200 CREATE_IN_PROGRESS AWS::IAM::Role ProxyRole
18:31:43 UTC+0200 CREATE_IN_PROGRESS AWS::SQS::Queue SwarmSQSCleanup
18:31:43 UTC+0200 CREATE_IN_PROGRESS AWS::EC2::VPC Vpc
18:31:36 UTC+0200 CREATE_IN_PROGRESS AWS::CloudFormation::Stack Docker User Initiated

Additional Information

  • The same steps works perfectly on Virginia region.
  • The cloudformation template is a community edition.

Steps to reproduce the behavior

  1. connect to an aws account and set region to Ireland.
  2. go to https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=Docker&templateURL=https://editions-us-east-1.s3.amazonaws.com/aws/stable/Docker.tmpl
  3. click next
  4. set a stack name, set number of manager to 1, number of workers to 2, and chose an ssh key pair to use, then click next.
  5. click next.
  6. check the “I acknowledge that AWS CloudFormation might create IAM resources” checkbox on the bottom of the page.
  7. click on create.

(Pricesquid) #2

Problem solved, the issue was related to a VPC limit set to 5 by default per region, we had to ask amazon to increase it in the Ireland region.
Hope this will help those who are in the same situation.


(Linkalis) #3

How many VPCs did you need to get it to work correctly? What new limit value did you request?