Comments (10)
The second time it worked as expected once I hard coded the nat_ip into the ansible-vars
from viya4-deployment.
The sample file used when one is also using the IAC repos has the following items: https://github.com/sassoftware/viya4-deployment/blob/main/examples/ansible-vars-iac.yaml#L4-L6 . These items are needed in the file and parsed and replaced if they are found in the tfstate file supplied. As the README.md states here
The ansible-vars-iac.yaml example file shows the values that need to be set when using the iac integration.
Not sure why you commented out that line. If you add the line back into your file things will work as expected.
from viya4-deployment.
I had commented it out because the main readme that you linked indicated this field, Cloud NAT IP address
, is parsed and used, but it seems those fields are not the same thing. I'd like to request that the main readme use the same field names that the ansible-vars.yaml
use.
from viya4-deployment.
This seems similar to internal issue IAC-208, although in that case the LOADBALANCER_SOURCE_RANGES was not commented out. Seems there is a bug in general with the parsing of the NAT IP, although that may be exclusive to using the internal viya4-deployment 'overlay'.
from viya4-deployment.
from viya4-deployment.
I believe that is what Thomas was suggesting, although personally I would assume that you want something other than the NAT IP in the LOADBALANCER_SOURCE_RANGES. Set whatever your desired CIDRs are (your personal computer, company network, etc.) and the NAT IP should be parsed from the tfstate file and added to the user provided list if it's not already included.
My comment specifically was that even if you do that, I don't know if this functionality is working as intended. Refer to Jira IAC-208. I don't know if that issue is exclusive to using the internal viya4-deployment overlay, or also affects the official, external version.
from viya4-deployment.
from viya4-deployment.
from viya4-deployment.
None of the CIDRs provided to the IAC pieces is retained. You'll need to duplicate the 'default_public_access_cidrs' values in the ansible-vars-iac.yaml. Only the NAT IP will be parsed from the tfstate and appended to the list you provide.
But, that sounds like a good enhancement idea to me. If LOAD_BALANCER_SOURCE_RANGES is commented out and not set at all, then parse all values from the terraform state file.
from viya4-deployment.
from viya4-deployment.
Related Issues (20)
- is there a better way to catch errors from Kustomize ? HOT 1
- sas-deployment-operator-reconcile failure loop HOT 4
- feat: (IAC-1286) naming of Load balancer in AWS HOT 2
- Question: how do I add more cas nodes/pods HOT 2
- Documentation: add cadence <-> release versions compatibility HOT 2
- docs: (IAC-1294) viya_admin in sitedefault.yaml breaks LDAP HOT 6
- Setting V4_CFG_ELASTICSEARCH_ENABLED to false doesn't work HOT 2
- Client Access variable value from sas-access.properties file not getting applied to Compute and CAS container Pod. HOT 3
- fix: (IAC-1242) where are V4_CFG_RWX_FILESTORE_ASTORES_PATH and V4_CFG_RWX_FILESTORE_BIN_PATH variables actually being used in this project? HOT 3
- support for viya4-iac-k8s HOT 2
- sequence of yaml "overlays" files into kustomization.yaml not in line with the SAS documentation HOT 1
- Credentials for internal OpenLDAP HOT 1
- Why does Crunchy PostgreSQL consume the "pg-storage" sc in RWO mode and not uses the AWS default sc? HOT 5
- AWS Autoscaler to use a cluster type placement group for CAS node pool HOT 1
- Namespace for external PostgreSQL servers (AWS RDS) HOT 2
- How to upgrade ingress-nginx controller installed using this DaC project on an existing SAS Viya deployment running on Azure? HOT 2
- Support for EKS 1.29 HOT 2
- Option to exclude sitedefault file
- Error while using external postgres in iac HOT 1
- Issue with Downloading Entitlements File HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viya4-deployment.