StatCan / aaw

Documentation for the Advanced Analytics Workspace Platform
https://statcan.github.io/aaw/
Other
69 stars 12 forks source link

Please create a URL for vetting app in TEST environment #1333

Closed menmarc closed 2 years ago

menmarc commented 2 years ago

We would like to have the following URL for the vetting application in TEST: https://org-ces-system-disclosure-vetting.aaw-test.cloud.statcan.ca/

Thank you

vexingly commented 2 years ago

@menmarc we don't have support for a domain like .aaw-test.cloud.statcan.ca, it would need to be more like https://org-ces-system-test-disclosure-vetting.aaw-dev.cloud.statcan.ca/ (using the general-gateway in aaw-dev). Alternatively if we put it on the protected gateway (as requested in #1256), I think it would be https://org-ces-system-test-disclosure-vetting.protected-b.aaw-dev.cloud.statcan.ca/ (TBD)

vexingly commented 2 years ago

Added org-ces-system-disclosure-vetting-test.aaw-dev.cloud.statcan.ca as a virtual service on the protected-b ingress gateway (to match https://github.com/StatCan/daaas/issues/1256 requirements): https://github.com/StatCan/aaw-argocd-manifests/blob/aaw-dev-cc-00/org-ces-system/disclosure-vetting/manifest.yaml

Added private dns records to the aaw platform merged in aaw-dev: https://gitlab.k8s.cloud.statcan.ca/cloudnative/aaw/terraform-advanced-analytics-workspaces-infrastructure/-/commit/9f6835247ad958532bff4cb98c0a322fcf5b0313

menmarc commented 2 years ago

@vexingly just tried https://org-ces-system-disclosure-vetting-test.aaw-dev.cloud.statcan.ca and it returned a 404

vexingly commented 2 years ago

@menmarc https://org-ces-system-disclosure-vetting-test.aaw-dev.cloud.statcan.ca/ looks like it is resolving / being forwarded now as I see response from within the cluster, please try again!

You may need to add/update the disclosure vetting app registrations: https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade

menmarc commented 2 years ago

@vexingly I'm getting a 503 error (service unavailable). Looking at the pod logs the request doesn't seems to reach the actual web application. Usually when our app crash we get a 500.

What do I need to update on azure ?

vexingly commented 2 years ago

Resolved by https://github.com/StatCan/daaas-private/issues/25, awaiting testing.

menmarc commented 2 years ago

@vexingly the URL works but I'm still getting a 503 service error. Should I open another ticket for that ?

vexingly commented 2 years ago

@menmarc let me do some quick troubleshooting now that we can properly test!

vexingly commented 2 years ago

@menmarc found and fixed a typo, try agian!