aws-samples / elasticache-refarch-chatapp

Example architecture for building a chat application using ElastiCache for Redis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ROLLBACK_COMPLETE issue.

amanjuman opened this issue · comments

I try to lunch stack but getting problem wile deploy.


  | 09:22:29 UTC+0600 | ROLLBACK_COMPLETE | AWS::CloudFormation::Stack | chatapp |  
-- | -- | -- | -- | -- | --
  | 09:22:28 UTC+0600 | DELETE_COMPLETE | AWS::EC2::SecurityGroup | CacheSecurityGroup |  
  | 09:22:27 UTC+0600 | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroup | CacheSecurityGroup |  
  | 09:22:26 UTC+0600 | DELETE_COMPLETE | AWS::ElastiCache::CacheCluster | RedisCluster |  
  | 09:17:55 UTC+0600 | DELETE_COMPLETE | AWS::ElasticBeanstalk::Application | ChatApplication |  
  | 09:17:24 UTC+0600 | DELETE_COMPLETE | AWS::EC2::SecurityGroup | LoadBalancerSecurityGroup |  
  | 09:17:24 UTC+0600 | DELETE_COMPLETE | AWS::EC2::SecurityGroup | ApplicationSecurityGroup |  
  | 09:17:23 UTC+0600 | DELETE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | ChatApplication |  
  | 09:17:23 UTC+0600 | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroup | ApplicationSecurityGroup |  
  | 09:17:23 UTC+0600 | DELETE_IN_PROGRESS | AWS::ElastiCache::CacheCluster | RedisCluster |  
  | 09:17:23 UTC+0600 | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroup | LoadBalancerSecurityGroup |  
  | 09:17:22 UTC+0600 | DELETE_COMPLETE | AWS::ElasticBeanstalk::ConfigurationTemplate | ChatConfigurationTemplate |  
  | 09:17:22 UTC+0600 | DELETE_COMPLETE | AWS::ElasticBeanstalk::ApplicationVersion | ChatApplicationVersion |  
  | 09:17:21 UTC+0600 | DELETE_IN_PROGRESS | AWS::ElasticBeanstalk::ConfigurationTemplate | ChatConfigurationTemplate |  
  | 09:17:21 UTC+0600 | DELETE_IN_PROGRESS | AWS::ElasticBeanstalk::ApplicationVersion | ChatApplicationVersion |  
  | 09:17:20 UTC+0600 | DELETE_COMPLETE | AWS::ElasticBeanstalk::Environment | ChatEnvironment |  
  | 09:17:20 UTC+0600 | DELETE_COMPLETE | AWS::EC2::SecurityGroupIngress | ApplicationSecurityGroupIngress |  
  | 09:17:19 UTC+0600 | DELETE_COMPLETE | AWS::EC2::SecurityGroupIngress | LoadBalancerSecurityGroupIngress |  
  | 09:17:19 UTC+0600 | DELETE_COMPLETE | AWS::EC2::SecurityGroupIngress | CacheSecurityGroupIngress |  
  | 09:17:19 UTC+0600 | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | ApplicationSecurityGroupIngress |  
  | 09:17:18 UTC+0600 | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | CacheSecurityGroupIngress |  
  | 09:17:18 UTC+0600 | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | LoadBalancerSecurityGroupIngress |  
  | 09:17:18 UTC+0600 | DELETE_IN_PROGRESS | AWS::ElasticBeanstalk::Environment | ChatEnvironment |  
  | 09:17:05 UTC+0600 | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | chatapp | The following resource(s) failed to create: [ChatEnvironment]. . Rollback requested by user.
  | 09:17:04 UTC+0600 | CREATE_FAILED | AWS::ElasticBeanstalk::Environment | ChatEnvironment | Environment failed to launch as it entered Terminated state
  | 09:13:30 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Environment | ChatEnvironment | Resource creation Initiated
  | 09:13:28 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Environment | ChatEnvironment |  
  | 09:13:26 UTC+0600 | CREATE_COMPLETE | AWS::ElasticBeanstalk::ConfigurationTemplate | ChatConfigurationTemplate |  
  | 09:13:25 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ConfigurationTemplate | ChatConfigurationTemplate | Resource creation Initiated
  | 09:13:25 UTC+0600 | CREATE_COMPLETE | AWS::EC2::SecurityGroupIngress | CacheSecurityGroupIngress |  
  | 09:13:24 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | CacheSecurityGroupIngress | Resource creation Initiated
  | 09:13:23 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | CacheSecurityGroupIngress |  
  | 09:13:23 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ConfigurationTemplate | ChatConfigurationTemplate |  
  | 09:13:21 UTC+0600 | CREATE_COMPLETE | AWS::ElastiCache::CacheCluster | RedisCluster |  
  | 09:08:18 UTC+0600 | CREATE_COMPLETE | AWS::EC2::SecurityGroupIngress | LoadBalancerSecurityGroupIngress |  
  | 09:08:18 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElastiCache::CacheCluster | RedisCluster | Resource creation Initiated
  | 09:08:17 UTC+0600 | CREATE_COMPLETE | AWS::ElasticBeanstalk::ApplicationVersion | ChatApplicationVersion |  
  | 09:08:17 UTC+0600 | CREATE_COMPLETE | AWS::EC2::SecurityGroupIngress | ApplicationSecurityGroupIngress |  
  | 09:08:17 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | LoadBalancerSecurityGroupIngress | Resource creation Initiated
  | 09:08:17 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | LoadBalancerSecurityGroupIngress |  
  | 09:08:17 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | ApplicationSecurityGroupIngress | Resource creation Initiated
  | 09:08:16 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroupIngress | ApplicationSecurityGroupIngress |  
  | 09:08:16 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ApplicationVersion | ChatApplicationVersion | Resource creation Initiated
  | 09:08:16 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElastiCache::CacheCluster | RedisCluster |  
  | 09:08:15 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ApplicationVersion | ChatApplicationVersion |  
  | 09:08:14 UTC+0600 | CREATE_COMPLETE | AWS::EC2::SecurityGroup | LoadBalancerSecurityGroup |  
  | 09:08:14 UTC+0600 | CREATE_COMPLETE | AWS::EC2::SecurityGroup | CacheSecurityGroup |  
  | 09:08:13 UTC+0600 | CREATE_COMPLETE | AWS::EC2::SecurityGroup | ApplicationSecurityGroup |  
  | 09:08:13 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | LoadBalancerSecurityGroup | Resource creation Initiated
  | 09:08:13 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | CacheSecurityGroup | Resource creation Initiated
  | 09:08:13 UTC+0600 | CREATE_COMPLETE | AWS::ElasticBeanstalk::Application | ChatApplication |  
  | 09:08:13 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | ApplicationSecurityGroup | Resource creation Initiated
  | 09:08:12 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | CacheSecurityGroup |  
  | 09:08:12 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | ChatApplication | Resource creation Initiated
  | 09:08:12 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | LoadBalancerSecurityGroup |  
  | 09:08:12 UTC+0600 | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | ApplicationSecurityGroup |  
  | 09:08:11 UTC+0600 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | ChatApplication |  
  | 09:08:08 UTC+0600 | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | chatapp | User Initiated


Can you take look?

+1 to this. Tried using an AdministratorAccess role to see if permissions was an issue but it still failed with this.

+1 to this. Tried using an AdministratorAccess role to see if permissions was an issue but it still failed with this.
I able to fix it from IAM section. I added a file for this git but seems it never approved.

This didn't fix it for me :<

As administrator w/ * priv, I have the same problem with Environment failed to launch as it entered Terminated state at 8 minutes into the process. The application fails to run, there doesn't seem to be a way to get a console output of the event with CFN + EB. Pretty limited facilities to diagnose as to what happened.

@amanjuman I don't quite understand... Once I have those two roles, should I attach them to the user who is running the cloudformation stack? Or should I include them in the stack definition?

@amanjuman I don't quite understand... Once I have those two roles, should I attach them to the user who is running the cloudformation stack? Or should I include them in the stack definition?

Yes, you have to attach roles to the user who will run service.