aws-samples / aws-scalable-big-blue-button-example

Demonstration of how to deploy a scalable video conference solution based on Big Blue Button
MIT No Attribution
54 stars 44 forks source link

Error during deployment #95

Closed shankar-bavan closed 3 years ago

shankar-bavan commented 3 years ago

I followed step-by-step guide

I got this error after 30-45 min

Waiting for changeset to be created..
Waiting for stack create/update to complete

Failed to create/update the stack. Run the following command
to fetch the list of events leading up to the failure
aws cloudformation describe-stack-events --stack-name bbbexample

image

couchgott commented 3 years ago

Hi @shankar-bavan,

can you post the details (events) of the failed nested Stack. You can find the stack at the main stack events. because of the rollback it will appear when you filter for deleted stacks at the UI.

ty

shankar-bavan commented 3 years ago

Failed stacks shows emlty.

This is deleted stacks

image

shankar-bavan commented 3 years ago

output of aws cloudformation describe-stack-events --stack-name bbbexample

{
    "StackEvents": [
        {
            "StackId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample/726b7290-c990-11eb-9e97-0afe492705d7",
            "EventId": "bca38d30-c994-11eb-bbe8-125f4521752f",
            "StackName": "bbbexample",
            "LogicalResourceId": "bbbexample",
            "PhysicalResourceId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample/726b7290-c990-11eb-9e97-0afe492705d7",
            "ResourceType": "AWS::CloudFormation::Stack",
            "Timestamp": "2021-06-10T02:37:02.201000+00:00",
            "ResourceStatus": "ROLLBACK_COMPLETE"
        },
        {
            "StackId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample/726b7290-c990-11eb-9e97-0afe492705d7",
            "EventId": "BBBNetworkStack-DELETE_COMPLETE-2021-06-10T02:37:00.846Z",
            "StackName": "bbbexample",
            "LogicalResourceId": "BBBNetworkStack",
            "PhysicalResourceId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample-BBBNetworkStack-1TIV3PDU8UNU6/81c05030-c990-11eb-98e6-128e31f6ab25",
            "ResourceType": "AWS::CloudFormation::Stack",
            "Timestamp": "2021-06-10T02:37:00.846000+00:00",
            "ResourceStatus": "DELETE_COMPLETE",
            "ResourceProperties": "{\"TemplateURL\":\"https://s3.amazonaws.com/bbbexample-sources-bbbstackbucket-t7xu1cfh2b2u/bbb-on-aws-network.template.yaml\",\"Parameters\":{\"BBBPrivateDBSubnets\":\"10.1.9.0/24,10.1.10.0/24,10.1.11.0/24\",\"BBBEnvironmentName\":\"bbbonaws\",\"BBBNumberOfAZs\":\"3\",\"BBBEnvironmentStage\":\"dev\",\"BBBPublicApplicationSubnets\":\"10.1.15.0/24,10.1.16.0/24,10.1.17.0/24\",\"BBBVPCs\":\"10.1.0.0/16\",\"BBBEnvironmentType\":\"scalable\",\"BBBPrivateApplicationSubnets\":\"10.1.5.0/24,10.1.6.0/24,10.1.7.0/24\"},\"Tags\":[{\"Value\":\"BBBNetworkStack-bbbonaws\",\"Key\":\"Name\"},{\"Value\":\"bbbonaws\",\"Key\":\"Environment\"},{\"Value\":\"dev\",\"Key\":\"Stage\"}]}"
        },
        {
            "StackId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample/726b7290-c990-11eb-9e97-0afe492705d7",
            "EventId": "BBBNetworkStack-DELETE_IN_PROGRESS-2021-06-10T02:34:45.617Z",
            "StackName": "bbbexample",
            "LogicalResourceId": "BBBNetworkStack",
            "PhysicalResourceId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample-BBBNetworkStack-1TIV3PDU8UNU6/81c05030-c990-11eb-98e6-128e31f6ab25",
            "ResourceType": "AWS::CloudFormation::Stack",
            "Timestamp": "2021-06-10T02:34:45.617000+00:00",
            "ResourceStatus": "DELETE_IN_PROGRESS",
            "ResourceProperties": "{\"TemplateURL\":\"https://s3.amazonaws.com/bbbexample-sources-bbbstackbucket-t7xu1cfh2b2u/bbb-on-aws-network.template.yaml\",\"Parameters\":{\"BBBPrivateDBSubnets\":\"10.1.9.0/24,10.1.10.0/24,10.1.11.0/24\",\"BBBEnvironmentName\":\"bbbonaws\",\"BBBNumberOfAZs\":\"3\",\"BBBEnvironmentStage\":\"dev\",\"BBBPublicApplicationSubnets\":\"10.1.15.0/24,10.1.16.0/24,10.1.17.0/24\",\"BBBVPCs\":\"10.1.0.0/16\",\"BBBEnvironmentType\":\"scalable\",\"BBBPrivateApplicationSubnets\":\"10.1.5.0/24,10.1.6.0/24,10.1.7.0/24\"},\"Tags\":[{\"Value\":\"BBBNetworkStack-bbbonaws\",\"Key\":\"Name\"},{\"Value\":\"bbbonaws\",\"Key\":\"Environment\"},{\"Value\":\"dev\",\"Key\":\"Stage\"}]}"
        },
        {
            "StackId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample/726b7290-c990-11eb-9e97-0afe492705d7",
            "EventId": "BBBSecurityGroupStack-DELETE_COMPLETE-2021-06-10T02:34:44.821Z",
            "StackName": "bbbexample",
            "LogicalResourceId": "BBBSecurityGroupStack",
            "PhysicalResourceId": "arn:aws:cloudformation:us-east-1:955896196087:stack/bbbexample-BBBSecurityGroupStack-SGZOY2A2IRKN/0315e6e0-c991-11eb-bc3a-0e797c2a6a1d",
            "ResourceType": "AWS::CloudFormation::Stack",
            "Timestamp": "2021-06-10T02:34:44.821000+00:00",
            "ResourceStatus": "DELETE_COMPLETE",
            "ResourceProperties": "{\"TemplateURL\":\"https://s3.amazonaws.com/bbbexample-sources-bbbstackbucket-t7xu1cfh2b2u/bbb-on-aws-securitygroups.template.yaml\",\"Parameters\":{\"BBBECSInstanceType\":\"fargate\",\"BBBEnvironmentStage\":\"dev\",\"BBBVPCs\":\"vpc-0e03cdeb31f700323\",\"BBBEnvironmentType\":\"scalable\"},\"Tags\":[{\"Value\":\"BBBSecurityGroupStack-bbbonaws\",\"Key\":\"Name\"},{\"Value\":\"bbbonaws\",\"Key\":\"Environment\"},{\"Value\":\"dev\",\"Key\":\"Stage\"}]}
shankar-bavan commented 3 years ago

image

couchgott commented 3 years ago

Hey,

please take a look at the deleted BBBTurnStack and its events tab. You'll find the detail error in there.

shankar-bavan commented 3 years ago

I think error during autoscale.

image

couchgott commented 3 years ago

did you do the Route53 prerequisite steps from the readme? :) also please check #1 for debugging options. my educated guess, your domain is not resolving properly.

shankar-bavan commented 3 years ago

subdomain NS records was not updated on main route . I will try again. Thanks

shankar-bavan commented 3 years ago

I tested again after the NS record updated.

Now route also got updated.

image

and RDS, SES, 1ec2 instance, elastic ip , 2 load balancers also created.

but , deployment stopped.

image

CloudFormation stacks show like this. Its still not get rollback.

image

No any errors in stack

shankar-bavan commented 3 years ago

domain I specified conference.domain.com but in Route53 its shows tu-lkoxtw.conference.domain.com for the A record

couchgott commented 3 years ago

the domain sets the basic domain for the deployments. the records are set accoding to the app, turnservers and the frontend. so you'll get: tu-RANDOM.conference.domain.com for the turnservers vc-RANDOM.conference.docmain.com for the BBB application servers. and conference.conference.domain.com for the frontend/greenlight deployment.

couchgott commented 3 years ago

take a look into the frontendapps stack event details or any if it drops errors. the cli error can also happen if your internet connection drops while deploying.

shankar-bavan commented 3 years ago

take a look into the frontendapps stack event details or any if it drops errors. the cli error can also happen if your internet connection drops while deploying.

sure. currently I deleted stack. there is no any errors in stack event . It must be my internet connection. will see. Thank you for your support.