Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application not deployed in Saas boost #430

Closed
SudhaGanesanAkilandam opened this issue Nov 21, 2022 · 5 comments
Closed

Application not deployed in Saas boost #430

SudhaGanesanAkilandam opened this issue Nov 21, 2022 · 5 comments
Labels
blocked Issue resolution is blocked pending further action needs-reproduction Can't reproduce issue workload-deployment Automated deployment pipelines for the application workload to each tenant

Comments

@SudhaGanesanAkilandam
Copy link

SudhaGanesanAkilandam commented Nov 21, 2022

Installed SaaS Boost successfully.

container image having just tomcat, pushed into ECR.

Tenant creation got failed.

Not able to get logs.

Steps followed...
When trying to install AWS SaaS Boost v2.0.1 (latest) link But we are not able to install the AWS SaaS Boost Application on Windows.

Error : Installation Error: ParameterValue for ParameterKey Version is required (Service: CloudFormation, Status Code: 400, Request ID: 67b126b2-3d0b-4aaa-afb3-5edfe3c9ccb8) , Refer screenshot.

Installed prerequisite
Java 11
Amazon Corretto 11
Apache Maven - 3.8.6
AWS Command Line Interface version 2 - 2.8.12
Node 14 (LTS)
Yarn - 1.22.19
Python/3.9.11
visual studio

Download SaaS boost Application

git clone https://github.com/awslabs/aws-saas-boost ./aws-saas-boost

3 . Installation
Extract and navigate to Aws SaaS boost --> powershell .\install.ps1 --> provide inputs --> when installing gets Error, refer screen shot.

So that tried with previous version 2.0.0, 1.1.2 this version also had the same error, Now tried with initial release 1.0.0, same steps AWS SaaS boost installed successfully.
After installation Received mail for login details.

Login to AWS SaaS boost, Create and provide Application Details.

Upload image to AWS ECR (Elastic Container Registry) Repository. We created image based on link

Provisioning tenant --> Failed

@SudhaGanesanAkilandam SudhaGanesanAkilandam added documentation Improvements or additions to documentation triage Needs categorization and prioritization labels Nov 21, 2022
@PoeppingT
Copy link
Contributor

Hi @SudhaGanesanAkilandam , thanks for opening this issue report. You say you are "Not able to get logs.", can you explain what you have tried? Are there no CloudWatchLogs LogGroups with /ecs/ as a prefix? Have you verified that the ECS cluster was successfully deployed at the end of the created CodePipeline? There should be a CodePipeline with a name like sb-tenant-${tenantId}-${serviceName} which will start when the image is uploaded to ECR.

@SudhaGanesanAkilandam
Copy link
Author

SudhaGanesanAkilandam commented Nov 22, 2022

@PoeppingT thanks for suggest, When checking logs in AWS CodePipeline our image was not deployed in AWS ECS (Elastic Container Service ).

Steps followed...
When trying to install AWS SaaS Boost v2.0.1 (latest) link But we are not able to install the AWS SaaS Boost Application on Windows.

Error : Installation Error: ParameterValue for ParameterKey Version is required (Service: CloudFormation, Status Code: 400, Request ID: 67b126b2-3d0b-4aaa-afb3-5edfe3c9ccb8) , Refer screenshot.

  1. Installed prerequisite
    Java 11
    Amazon Corretto 11
    Apache Maven - 3.8.6
    AWS Command Line Interface version 2 - 2.8.12
    Node 14 (LTS)
    Yarn - 1.22.19
    Python/3.9.11
    visual studio

  2. Download SaaS boost Application

git clone https://github.com/awslabs/aws-saas-boost ./aws-saas-boost

3 . Installation
Extract and navigate to Aws SaaS boost --> powershell .\install.ps1 --> provide inputs --> when installing gets Error, refer screen shot.

So that tried with previous version 2.0.0, 1.1.2 this version also had the same error, Now tried with initial release 1.0.0, same steps AWS SaaS boost installed successfully.
After installation Received mail for login details.

  1. Login to AWS SaaS boost, Create and provide Application Details.

  2. Upload image to AWS ECR (Elastic Container Registry) Repository. We created image based on link

  3. Provisioning tenant --> Failed , When checking logs in AWS CodePipeline our image was not deployed in AWS ECS (Elastic Container Service ).
    Reference link: https://github.com/
    awslabs/aws-saas-boost/blob/main/docs/getting-started.md#build-and-deploy-the-sample-application
    https://github.com/awslabs/aws-saas-b
    InstallationError
    )

AwsSaaSBoostAPPTenantfailed
oost/
2

1

@PoeppingT
Copy link
Contributor

@SudhaGanesanAkilandam Let's start first with the reason you were unable to run I've just run the install.ps1 script myself on a Windows 2022 Core EC2 instance, and was able to complete the installation without any errors. Can you confirm that the git.properties file exists in ${installation_root}\installer\target\classes\?

We only support the latest versions of SaaS Boost in our GitHub issues commentary, but to debug your application deployment failure further you will want to look at the ECS console for that ECS cluster to determine the deployment failure.

@brtrvn brtrvn changed the title Application not deployed in Saas boost[title] Application not deployed in Saas boost Nov 23, 2022
@brtrvn
Copy link
Contributor

brtrvn commented Nov 23, 2022

@SudhaGanesanAkilandam I would go look at the CloudFormation console in your AWS account and see if there are any errors in the Events or Resources tabs for the different SaaS Boost stacks. You can also look at the saas-boost-install.log file on your workstation to see if there's a stack trace or more detail about the missing parameter value. It's unclear whether that is an error encountered by the installer after CloudFormation has finished, or an error coming back from CloudFormation.

It does look like you have at least a partially completed install (you can load the admin web app and log in).

You should also go to the ECS console, select the cluster for the tenant you onboarded, and under the Tasks tab look to see if there are Stopped tasks. You can select one, and then view the Logs tab for that tasks to see why your container is not launching.

@brtrvn brtrvn added needs-reproduction Can't reproduce issue blocked Issue resolution is blocked pending further action workload-deployment Automated deployment pipelines for the application workload to each tenant and removed documentation Improvements or additions to documentation triage Needs categorization and prioritization labels Nov 23, 2022
@SudhaGanesanAkilandam
Copy link
Author

@PoeppingT @brtrvn for suggesting, Now AWS SaaS boost working fine.

RCA: Version Error due to downloading manually in github vs using cmd line.

when using download manually -- version error occurs, when using cmd it will works fine...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Issue resolution is blocked pending further action needs-reproduction Can't reproduce issue workload-deployment Automated deployment pipelines for the application workload to each tenant
Projects
None yet
Development

No branches or pull requests

3 participants