sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
70 stars 64 forks source link

fix: (IAC-1016) Offboarding tenants failure in back-to-back operations #447

Closed riragh closed 1 year ago

riragh commented 1 year ago

Issue:

On Multi-tenant enabled deployment, offboarding tenants in back-to-back operations failed with JOB_TAG already present error.

Resolution:

Added the missing offboard tag on two tasks which copies and creates the sas-tenant-offboard-job.

Tests:

Verified following scenarios, see details in internal ticket:

Scenario Description Order Cadence Verification
1 Defaults, SchemaPerTenant Multi-tenant deployment, Onboard 3 tenants and offboard in back-to-back operation Fast 2020 Viya4 deployment stabilized - tenants correctly onboarded and no failure seen on back-to-back offboard operation
2 Defaults, DatabasePerTenant Multi-tenant deployment, Onboard 2 tenants and offboard all at once Fast 2020 Viya4 deployment stabilized - tenants correctly onboarded and no failure seen on offboarding all tenant at once