Prod 1: Slowness being observed in Harness NG

Incident Report for Harness

Postmortem

Impact:

Users in Harness Next Generation platform in the Prod 1 cluster noticed slower than normal service:

  1. The UI calls were slow/failing making UI unusable
  2. The role bindings created after incident did not get processed and hence would not take affect
  3. We checked various customer’s pipelines during this time and we can confirm that they were running smoothly and there was no impact on executing pipelines

Root Cause:

Access control service was doing major GC, because of which the health checks were failing and service was restarting. It was loading up millions of ACLs in memory for processing the role binding created by a specific unusual request. The logic currently creates all the ACLs in memory before pushing them in db in batches.

Timeline:

May 2nd, IST

Time Event 3:30 PM A customer created a complex role binding 4:15 PM First devops alert came from appdynamics on ART being high 4:30 PM Internal call started and we determined that the access control service is doing full GCs and we determined to increase memory 5:15 PM access control with 6gb heap and 8 gb pod size was rolled out, that did not help the situation 5:35 PM access control with 12gb heap and 16 gb pod size was rolled out, that stabilized the access control service

Remediation:

Increasing pods resources to prevent OOM and pod restart.

Action Items:

  • Hotfix to save ACLs in batches instead of loading in memory.
  • QA setup to add custom role binding scenarios
Posted May 02, 2023 - 17:37 PDT

Resolved

We can confirm normal operation. Get Ship Done!
We will continue to continue to monitor and ensure stability.
We are investigating the root cause and will publish a postmortem soon.
Posted May 02, 2023 - 06:09 PDT

Monitoring

Harness service issues have been addressed and normal operations have been resumed. We are monitoring the service to ensure normal performance continues.
Posted May 02, 2023 - 05:21 PDT

Update

We have identified a potential issue causing the service access problem and are working hard to address it. Please continue to monitor this page for updates.
Posted May 02, 2023 - 05:02 PDT

Investigating

The Harness service is experiencing performance issues. We are working to identify the cause and restore normal operations as soon as possible.
Posted May 02, 2023 - 03:46 PDT
This incident affected: Prod 1 (Continuous Delivery (CD) - FirstGen - EOS, Continuous Delivery - Next Generation (CDNG), Cloud Cost Management (CCM), Continuous Integration Enterprise(CIE) - Mac Cloud Builds, Feature Flags (FF), Security Testing Orchestration (STO), Service Reliability Management (SRM)).