Comments (9)
any help here please
from viya4-deployment.
more info
viya4-deployment# kubectl get pods -A |grep logon
viya4-frg-v1 sas-logon-app-764795d975-ps8pb 0/1 Init:CrashLoopBackOff 10 27m
root@henmo:~/project/viya4-deployment# kubectl exec sas-logon-app-764795d975-ps8pb -n viya4-frg-v1 bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
Defaulted container "sas-logon-app" out of: sas-logon-app, sas-certframe (init)
error: unable to upgrade connection: container not found ("sas-logon-app")
from viya4-deployment.
You're not providing any information here. If you're having issues with SAS Viya running in the cluster you'll need to find out if the images are being pulled, which they appear to be from the info you shared. You'll need to identify what in the cluster is not working for SAS Viya and interrogate those pods. If you have not read the docs, here is the SAS Viya 4 documentation link. Not much more to help with here, you've not provided much information.
from viya4-deployment.
IAC using terraform was deployed successfully.
Command:
root@henmo:~/project/viya4-deployment# ansible-playbook -e BASE_DIR=$HOME/project/viya4-deployment -e CONFIG=$HOME/project/viya4-deployment/ansible-vars.yaml -e TFSTATE=$HOME/project/viya4-iac-azure/terraform.tfstate -e JUMP_SVR_PRIVATE_KEY=$HOME/.ssh/id_rsa playbooks/playbook.yaml --tags "baseline,viya,install
VIya sas ansible deployment was working successfully, although it was successfull, i recorded the output, this is the only error found:
alhost] => {"changed": true, "cmd": ["kubectl", "--kubeconfig", "/tmp/ansible.8tr74yoz/.kube", "apply", "-n", "viya4-frg-v1", "--selector=sas.com/admin=namespace", "-f", "/root/project/viya4-deployment/kubeviya-aks/viya4-frg-v1/site.yaml", "--prune"], "delta": "0:00:14.458619", "end": "2021-08-14 18:19:36.852782", "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "start": "2021-08-14 18:19:22.394163", "stderr": "Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress\nWarning: networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress\nError from server (Invalid): error when creating "/root/project/viya4-deployment/kubeviya-aks/viya4-frg-v1/site.yaml": Ingress.extensions "sas-event-stream-processing-metering-app" is invalid: [spec.rules[0].host: Invalid value: "viya4_frg.ingress.com": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(\.a-z0-9?)'), spec.tls[0].hosts[0]: Invalid value: "viya4_frg.ingress.com": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(\.a-z0-9?)')]\nError
Logs and describe does not show enough information at all other than the one I provided. I have not checked every single one. As you mentioned I checkec cache and logon pods, nothing informational in the logs that lead to the issue.
from viya4-deployment.
So looks like your DNS name is incorrect. You cannot have '_' values in your DNS names as the error is reporting. You'll need to fix that. With the DNS change you'll need to uninstall and reinstall both viya and the baseline.
from viya4-deployment.
OK that was fixed, no errors on the output for ansible deployment.
Pods still not running but i have a different error.
Events:
Type Reason Age From Message
Normal Scheduled 8m19s default-scheduler Successfully assigned viya4-frg-v1/sas-logon-app-5649dc7f64-9krww to aks-stateless-38049675-vmss000000
Normal Pulled 8m14s kubelet Container image "cr.sas.com/viya-4-x64_oci_linux_2-docker/sas-certframe:3.7.2-20201208.1607438373197" already present on machine
Normal Created 8m9s kubelet Created container sas-certframe
Normal Started 8m8s kubelet Started container sas-certframe
Warning Failed 5m46s kubelet Failed to pull image "cr.sas.com/viya-4-x64_oci_linux_2-docker/sas-logon-app:2.39.9-20201002.1601645502383": rpc error: code = FailedPrecondition desc = failed to pull and unpack image "cr.sas.com/viya-4-x64_oci_linux_2-docker/sas-logon-app:2.39.9-20201002.1601645502383": failed commit on ref "layer-sha256:e1f6b366065c7812f6046058705acac95885ec6f616e384cf86700469b34b680": "layer-sha256:e1f6b366065c7812f6046058705acac95885ec6f616e384cf86700469b34b680" failed size validation: 341 != 342: failed precondition
from viya4-deployment.
That's an issue with the container registry and not the tooling. You'll have to reach out to folks there. Could also be related to your order if it has had content updates. Again, not much to go on.
from viya4-deployment.
are there any updates on this issue? @henmo09 if this can be closed, please let us know. Also, if it has been solved, please do share the steps that led to a solution.
from viya4-deployment.
No response from @henmo09 closing.
from viya4-deployment.
Related Issues (20)
- libclntsh.so not found when deploying Oracle RDS driver
- Data Sources: General error ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA HOT 1
- 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
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.