awslabs / aws-saas-boost

AWS SaaS Boost is a ready-to-use toolset that removes the complexity of successfully running SaaS workloads in the AWS cloud.
Apache License 2.0
954 stars 188 forks source link

Tenant onboarding is failing with sample JAVA application #523

Open sudarshan-karande opened 1 year ago

sudarshan-karande commented 1 year ago

Description :

As per documentation we have followed all the instruction but we are not able to onboard the tenant. Attaching all the screen shot for reference.

We have followed below steps -

  1. We have install the saas-boost app and it is installed successfully.

    1 2 3
  2. Configure service and setup application

    4 5 6 7 8 9 10
  3. Build sample JAVA application and it successfully build, also created a docker images.

12 13
  1. We tried to onboard the tenant but it is failing with error.
14 15 16 17 18
  1. After provisioned we are getting the below error.
19

Reproduction Steps

Provided all steps in description of issue.

What did you expect to happen?

It should successfully onboard tenant.

What actually happened?

After provisioned state it is failing to deployed the application.

Environment

Other

log-events-viewer-result.csv

It is not creating any code pipeline. image


This is :bug: Bug Report

mariandumitrascu commented 1 year ago

It may or may not be the problem, but the port for the container should be something different than 0:

image

sudarshan-karande commented 1 year ago

@mariandumitrascu - Apologies for updating the wrong screenshot. But we have used the 8080 port as mentioned in document, but still are are not able to onboard the tenant. image

Also code pipeline is not getting created. Attaching the screen shot for reference. image

Error Log: image

Deepak-sharma2 commented 1 year ago

@brtrvn @PoeppingT @hyandell @hariohmprasath @goodbyedavid @AditModi @amliuyong @tobuck-aws @netapp-vedantsethia @raman231 @muylucir @4patelr @mobytoby @gibbsie Can you please help in this regard. Issue is here that Code pipeline is not getting created and it's breaking workload deploy lambda.

Anyone of you have done successfully tenant onborading with this, Please help us.

Deepak-sharma2 commented 1 year ago

@brtrvn @PoeppingT @hyandell @hariohmprasath @goodbyedavid @AditModi @amliuyong @tobuck-aws @netapp-vedantsethia @raman231 @muylucir @4patelr @mobytoby @gibbsie @mariandumitrascu

Please help us or provide any guidance so we can move ahead due to this bug we are totally stuck.

mariandumitrascu commented 1 year ago

I believe you should see a cloud-formation failing during the "provisioning" time, towards the end. Please try to capture the error message from the events tab on that cloudformations failing. Please keep your eyes on it, because it will roll-back.

mariandumitrascu commented 1 year ago

During provisioning of the app (the app for tenant) there are several CF launched. I believe the first CF is successful, but subsequent ones fail. It is possible to be due to an unexpected limit on a resource (most likely), or something else. I had a similar but not exactly error.

brtrvn commented 1 year ago

I'd work backward from the original error that it can't find the CodePipeline. There must be an error in the tenant provisioning and you should be able to find the root cause in the CloudFormation console for the failed stack(s) on either the Events or the Resources tab.

It also looks like you used the PowerShell installation script. I'm not 100% certain that script is up-to-date with the shell script version. You can try installing SaaS Boost via the install.sh script. If you don't have access to a Bash environment, follow the install using Cloud9 instructions.