Closed henriquedanc closed 7 months ago
But we are creating folders here as well, just not the pvs one, see below. The point is that this customer do want to use both Terraform and Ansible for the deployment, just couldn't find a way of doing it when deploying multiple namespaces. And this will likely be a common pattern, so it would be good to be able to have a way of doing it using the tools.
https://github.com/sassoftware/viya4-deployment/blob/main/roles/jump-server/tasks/main.yml, 38-53
yes the folders are created when your run viya,install
which creates what's needed for Viya. This is done with the viya4-deployment repo. The base folder/storage setup is infrastructure. Which needs mounts, permissions, etc. You can do it at the deployment level but it does not belong there.
Clarifying information here after talking with @henriquedanc . The need here is to have multiple nfs mount locations that are used by each individual customer. So for each customer they are looking to have a difference disk and mount entry.
The one issue I see here is we have 1 storage class that the IAC supports and it's the sas
storage class. What's being asked here is that a new storage class be generated for each tenant as it's created. This then falls back to the IAC code base which sets up the infra. Again, the change here would need to verify that a new mount-point can be added without disrupting current systems. Adding these thoughts here for reference during our investigation.
This requires PM review and Viya Architecture team's involvement.
PM review was done on 9 April, 2024.
Closing this issue after PM review and team discussion this morning. If this request is still warranted or seen as a necessary addition to iac-aws, open a new feature request for it. Search for "Feature Request Form for SAS Software" on the Inside SAS site for a link to the feature request form.
Hi! I did an initial deployment with viya4-iac-aws for infrastructure, and this for the first namespace deployment. Then I tried to deploy a second namespace and run into some issues.
https://github.com/sassoftware/viya4-deployment/blob/main/roles/common/tasks/main.yaml, 34-39
Should we move the /pvs folder creation and permissions configs here instead of viya4-iac-xxx? Also, should we add a counter of how many deployments we want in viya4-iac-xxx? That way it would create the needed EFSs without any manual customization.