Closed hyweldaniels closed 3 years ago
Seems like sas-workload-orchestrator
needs a volume claim entry. Does it not need storage of any kind?
@hyweldaniels any update here? Again, this is a stateful set which would seem to need a storage component of some type. If that's not the case, maybe the SAS Workload Management needs to have it's classification changed.
When I checked my opensource k8s deployment with all products, I see this PVC:
bash-4.4$ k -n trs get pvc | grep orch sas-workload-orchestrator-share Bound pvc-63d4bc90-a7aa-4e7e-aec1-4ae62abbfa26 2Gi RWX nfs-client 32h
And statefulsets:
bash-4.4$ k -n trs get statefulsets | grep orch sas-workload-orchestrator 2/2 33h
Heads up. The same happens for component sas-risk-cirrus-search
.
We used the following annotationSelector:
annotationSelector: sas.com/component-name notin (sas-workload-orchestrator,sas-risk-cirrus-search)
When an order contains SAS Workload Management, the playbook fails when generating the deployment manifest.
The issue occurs because sas-storageclass.yaml (https://github.com/sassoftware/viya4-deployment/blob/7e89b16edc7369683422b1950dd57a261be320b3/roles/vdm/templates/transformers/sas-storageclass.yaml) attempts to add a Storage Class name to the volumeClaimTemplate for every Stateful Set.
However the sas-workload-orchestrator Stateful Set that comes with SAS Workload Management does not contain a volumeClaimTemplate attribute, leading to a build error;
A possible workaround, that I have tested, would be to explicitly exclude sas-workload-orchestrator using an annotation selector;