[FOLIO-2498] Migrate PR builds for platform-core to K8s Created: 03/Mar/20  Updated: 03/Jun/20  Resolved: 24/Mar/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P2
Reporter: John Malconian Assignee: John Malconian
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks FOLIO-2471 Test PR Preview Process for a Single ... Closed
Cloners
is cloned by FOLIO-2521 Migrate PR builds for platform-comple... Closed
Relates
relates to FOLIO-2460 test and move container cleanup job f... Closed
relates to FOLIO-2510 manual jenkins job to deploy given mo... Closed
relates to FOLIO-2495 migrate reference envs to K8s Open
Sprint: DevOps: sprint 84, DevOps: sprint 85
Development Team: FOLIO DevOps

 Description   

Migrate PR builds based on master branches of platform-core from dedicated Ec2 instances to K8s. Existing PR builds use dedicated ec2 instances to build a FOLIO system based on each platform. Migration to K8s includes creating a tenant in the main folio namespace of the FOLIO K8s cluster and enabling tenant modules and hosting the Stripes bundle on an S3 bucket similar to PR preview.



 Comments   
Comment by Jakub Skoczen [ 13/Mar/20 ]

We discussed that this needs FOLIO-2510 Closed and FOLIO-2460 Closed

Comment by John Malconian [ 23/Mar/20 ]

Ugh. Running into that Gateway Timeout error again.

TASK [folio-ansible/roles/okapi-tenant-deploy : Post install list for enabling modules (no deployment)] ***
fatal: [localhost]: FAILED! => {"changed": false, "connection": "close", "content": "<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n</body>\r\n</html>\r\n", "content_length": "148", "content_type": "text/html", "date": "Mon, 23 Mar 2020 21:47:11 GMT", "msg": "Status code was 504 and not [200]: HTTP Error 504: Gateway Time-out", "redirected": false, "server": "awselb/2.0", "status": 504, "url": "https://okapi-default.ci.folio.org/_/proxy/tenants/platform_core_552_5/install?tenantParameters=loadReference%3Dtrue%2CloadSample%3Dtrue"}
	to retry, use: --limit @/home/jenkins/workspace/folio-org_platform-core_PR-552/folio-infrastructure/CI/ansible/platform-pr-k8.retry

For some reasons, our settings to the ELB aren't sticking.

Comment by John Malconian [ 23/Mar/20 ]

Actually, the 5m timeout does stick. I guess it needs to be increased - although it shouldn't take 5 minutes to enable a tenant. Something else may be amiss.

Comment by John Malconian [ 24/Mar/20 ]

Okapi deployments for preview and default namespaces have been reduced to one instance and each instance has been updated from 2.32.0 to 2.37.0.

PRs for master branch and q1-2020 release branch are now K8s enabled. We can proceed with PR preview against these branches.

Generated at Thu Feb 08 23:21:05 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.