Giter Site home page Giter Site logo

Comments (8)

moanany avatar moanany commented on August 18, 2024 2

Hello,

This error indicates that the CloudFormation stack creation is not succeeding (and all resources created are rolled back). Check the CloudFormation console events for the stack for clues as to why the stack creation is failing.

Thanks,
Moataz

from amazon-rekognition-video-analyzer.

evi8899 avatar evi8899 commented on August 18, 2024

When calling pynt createstack, I am encountering the same error.
Did anyone have solution for this problem?

Thanks in advance.

from amazon-rekognition-video-analyzer.

wavizai avatar wavizai commented on August 18, 2024

I have also getting same issue but posted separate. Please have a look and if any one can help pls help me.

from amazon-rekognition-video-analyzer.

 avatar commented on August 18, 2024

Same issue here. Checked the cloudformation console and they say the below -

03:20:51 UTC+0000 ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack video-stack-analyzer The following resource(s) failed to create: [FrameS3Bucket, FrameStream, EnrichedFrameTable]. . Rollback requested by user.
  03:20:50 UTC+0000 CREATE_FAILED AWS::Kinesis::Stream FrameStream
  03:20:50 UTC+0000 CREATE_FAILED AWS::DynamoDB::Table EnrichedFrameTable

Later when I try "pynt createstack" getting - "AlreadyExistsexception on command prompt"
then if I try "pynt deletestack" it is happening without any errors

from amazon-rekognition-video-analyzer.

 avatar commented on August 18, 2024

Got access denied first, then I added an inline policy to cloudformation, then getting these errors.

from amazon-rekognition-video-analyzer.

 avatar commented on August 18, 2024

image

getting these role exceptions now

from amazon-rekognition-video-analyzer.

IdrisAbdul-Hussein avatar IdrisAbdul-Hussein commented on August 18, 2024

Hi everyone,

I also received this error, but, I fixed it doing the following:

Firstly, as @moanany said, have a look at your CloudFormation console to check why it is failing. Click on the stack and you will get a log of what/when a resource began its creation and when/why it failed. Most likely, it will be due to not having the correct permissions.

You should create a policy and import the Amazon managed policies. It is recommended to only grant access at the most granular level as possible. However, if you don't care much about security, then just assign full permissions for a resource using a wildcard * or choosing the right managed policy.

Then go to your user (which you are using to run the demo app) and attach that policy you created. This will most likely be an iterative process where you run the 'pynt createstack' command and check what permissions you are missing.

Note: Everytime you run the command, a stack with that name will be created, but, if you receive errors, won't build correctly. Just simply delete the stack (either using 'pynt deletestack' command or by going to the AWS console and deleting it from there) and re-run the command. This way you will not receive any 'AlreadyExistsexception'.

I hope this helps and we can close this issue.

from amazon-rekognition-video-analyzer.

Rajasri21 avatar Rajasri21 commented on August 18, 2024

Hi,
I had created my own S3 bucket,then pynt deploy lambda had deployed.
I had only AmazoncloudFormation Readonly so i had added my own policy for complete acess.
Below are the policies added in Json Format.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"cloudformation:DetectStackResourceDrift",
"cloudformation:EstimateTemplateCost",
"cloudformation:SetStackPolicy",
"cloudformation:DetectStackDrift",
"cloudformation:CreateStack",
"cloudformation:UpdateStack",
"cloudformation:CreateChangeSet",
"cloudformation:ExecuteChangeSet",
"cloudformation:ValidateTemplate",
"cloudformation:DeleteStack",
"cloudformation:ListStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStackResource",
"cloudformation:CreateChangeSet",
"cloudformation:DescribeChangeSet",
"cloudformation:ExecuteChangeSet",
"cloudformation:ValidateTemplate"
],
"Resource": "*"
}
]
}

After doing Pynt createstack i am getting below error .
image

please help on this where i am missing

from amazon-rekognition-video-analyzer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.