Issues on Provision Tenant #299
Replies: 8 comments 8 replies
-
Hi @tomg-formpak , thanks for reaching out!
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the comments. I thought the issue was solved. Initially, we were able to add the initial set of database backups also (PostgreSQL database, which is UTF-8 encoded and in .sql format) in the application configuration. But couldn't provision a tenant successfully. Please see the below points:
I have checked Cloudwatch logs for onboarding validation logs, but I couldn't find anything and no error in CF stacks also. Note: I have checked this or the tenant is missing from the Tenants tab after I start to access the URL and I can see some error in ECS logs related to the database, a table such as `"dataversion_table" does not exist (but there is no database loaded), so at least on accessing the tenant URL, the homepage is supposed to load, right? How to check these issues on, why tenant URL is not loading or showing 5 error ?** Note: Hosted domain's namespace is added to the registered domain. Also, how to configure/pass the application environment variables for the application in the ECS Fargate container via GUI? example, GITHUB_API_KEY. Do we need to manually edit the ECS task definitions for this? How to do this? Please advise on this. Thank you |
Beta Was this translation helpful? Give feedback.
-
Hi @PoeppingT We are stuck at this stage now. Just for reference, please see below for the issues related mentioned above :
So now when I tried to upload the SQL file again and it's not getting uploaded. Once I submit it, it's loading and there is no error. But when I go to the other tab and check again in the Application tab, I can't see the loaded database file. Why is it happening and how to troubleshoot it? Please advice. |
Beta Was this translation helpful? Give feedback.
-
I have deleted the bootstrap.sql file under the S3 bucket, This is again getting retried and showing the same error again. In CF stacks, it's stuck on Please advise on this. |
Beta Was this translation helpful? Give feedback.
-
Thank you, just updating you on the testing I did after our conversation. I am waiting for more inputs from my developers, I will let you know soon. I have used a better version of the SQL file today, which is optimized in size and data with the INSERT option (but no -- in the statement) instead of COPY. I was just trying to see if its works.
NB: sorry for shooting a lot of questions :P just excited to work on this. FYI @PoeppingT Thank you |
Beta Was this translation helpful? Give feedback.
-
We are facing an error now while provisioning a tenant, Please advise me on how to resolve this issue. Note: I have also tried deleting the SaaS boost using the installer and tried with a fresh installation (v2.0.0) to troubleshoot this but still have the same error. Thank you |
Beta Was this translation helpful? Give feedback.
-
Thank you for your support. Issues related to tenant provision are sorted I guess. Before I close this discussion, please consider below points: 1. The onboarding request status is not constant, it doesn't reflect the same status as per Cloudformation. For example, as below screenshot :
Expectation: Onboarding status and Tenant status to reflect the same as per AWS. If it can show an error or warning in detail, if anything, from log groups (onboarding validation or bootstrap rds or anything ), in the onboarding tab or tenant tab, it will be really useful from the operational point of view. 2. Clear documentation or user guides for
3. Documentation for the expected bootstrap file for database initialization as in format or size or any conditions. 4. AWS S3 bucket option as the File system for tenants instead of EFS. These are suggestions or feedback based on my experience during tenant provisioning. Thank you |
Beta Was this translation helpful? Give feedback.
-
My tenant provisioning is failing with the error |
Beta Was this translation helpful? Give feedback.
-
@PoeppingT
Related to the previous questions, please see the below issues:
instead of adding the sub-domain to the existing hosted domain, it created a duplicate hosted domain (same name as the existing one ) and inside that it created the subdomain for the tenant as a record. I.E, we are having two hosted domains in the same name in Route53 - one is already created before application configuration and the second is created at the time of tenant provision (which contains the subdomain for the tenant). Is it normal? What is the normal flow in this case?
Tenant provision got failed on creating CF stack at "RDSBootstrapDatabase" with a status reason "
Resource handler returned message: "User: arn:aws:sts::*****:assumed-role/sb-dev-onboarding-svc-role-eu-west-1/sb-dev-onboarding-events is not authorized to perform: lambda:TagResource on resource: arn:aws:lambda:eu-west-1:******:function:sb-dev-rds-bootstrap-tenant-ecda4611-main because no identity-based policy allows the lambda:TagResource action (Service: Lambda, Status Code: 403, Request ID: ******)" (RequestToken: *****, HandlerErrorCode: AccessDenied)
". Please advise on this. @brtrvnNote: It got "ROLLBACK_COMPLETE" in CF with status as"Deleted" in the Onboarding tab in the panel and also above mentioned newly created hosted domain is also deleted.
The specified hosted zone does not exist. (Service: AmazonRoute53; Status Code: 404; Error Code: NoSuchHostedZone; Request ID: 5a2e2880-be62-4210-942b-e3ba30714422; Proxy: null)
". I think this is related to the above reason. Please advise on this.Note: It got ROLLBACK_COMPLETE in CF at "AWS SaaS Boost Tenant Onboarding" and with a status as "Provisioning" in the Onboarding tab in the panel.
Please let me know.
Beta Was this translation helpful? Give feedback.
All reactions