Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Done
-
Casablanca Release
-
Using Docker 18.06+ via RKE and
OOM-1598Testing using the command: "sudo docker run --rm alpine env"
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=babf748cc94c
HTTPS_PROXY=http://10.145.153.28:3128/
https_proxy=http://10.145.153.28:3128/
NO_PROXY=10.0.0.0/8,localhost,127.0.0.1,.t-mobile.lab
no_proxy=10.0.0.0/8,localhost,127.0.0.1,.t-mobile.lab
HTTP_PROXY=http://10.145.153.28:3128/
http_proxy=http://10.145.153.28:3128/
HOME=/rootUsing Docker 18.06+ via RKE and OOM-1598 Testing using the command: "sudo docker run --rm alpine env" PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=babf748cc94c HTTPS_PROXY= http://10.145.153.28:3128/ https_proxy= http://10.145.153.28:3128/ NO_PROXY=10.0.0.0/8,localhost,127.0.0.1,.t-mobile.lab no_proxy=10.0.0.0/8,localhost,127.0.0.1,.t-mobile.lab HTTP_PROXY= http://10.145.153.28:3128/ http_proxy= http://10.145.153.28:3128/ HOME=/root
Description
Testing in Casablanca 3.0.1 SO doesn't come up with a proxy setup on the kubernetes platform.
Basically, using theĀ .docker/config.json that present the proxy for the container to run, SO seems to override the settings and cannot be deployed behind a proxy.
As a result, the SO POD never comes online properly.
The same test without any proxy and a direct internet connection works well.
Some traces showing SO not coming up properly, and a simple test below shows the .jason file for docker 18.06+ correctly takes the env and proxy settings.
ubuntu@RHOBLV01:~/oom/kubernetes$ kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE ingress-nginx default-http-backend-797c5bc547-p8pxp 1/1 Running 0 36m ingress-nginx nginx-ingress-controller-pzp9f 1/1 Running 0 36m kube-system canal-hxm64 3/3 Running 0 36m kube-system kube-dns-7588d5b5f5-cmvhx 3/3 Running 0 36m kube-system kube-dns-autoscaler-5db9bbb766-vtlmq 1/1 Running 0 36m kube-system metrics-server-97bc649d5-tkf4d 1/1 Running 0 36m kube-system rke-ingress-controller-deploy-job-zx98m 0/1 Completed 0 36m kube-system rke-kubedns-addon-deploy-job-77k46 0/1 Completed 0 36m kube-system rke-metrics-addon-deploy-job-8xcq9 0/1 Completed 0 36m kube-system rke-network-plugin-deploy-job-szsqs 0/1 Completed 0 36m kube-system tiller-deploy-69458576b-f8dqn 1/1 Running 0 34m onap demo-so-so-77b47cd8b4-78wfc 0/1 CrashLoopBackOff 6 20m onap demo-so-so-bpmn-infra-69859c4fcb-mkp72 0/1 CrashLoopBackOff 6 20m onap demo-so-so-catalog-db-adapter-864f7996c7-8r4rb 0/1 CrashLoopBackOff 6 20m onap demo-so-so-mariadb-778fb95ccb-ttbsn 1/1 Running 0 20m onap demo-so-so-monitoring-7bd796446d-fnwv2 1/1 Running 0 20m onap demo-so-so-openstack-adapter-67fb49c655-rgczc 0/1 CrashLoopBackOff 6 20m onap demo-so-so-request-db-adapter-5c5d7446c9-zj76m 0/1 CrashLoopBackOff 6 20m onap demo-so-so-sdc-controller-688c5b567-v9rqt 0/1 CrashLoopBackOff 6 20m onap demo-so-so-sdnc-adapter-5c59ccd656-mzlct 1/1 Running 0 20m onap demo-so-so-vfc-adapter-7d9bbd8486-ksgzk 0/1 CrashLoopBackOff 6 20m ubuntu@RHOBLV01:~/oom/kubernetes$ ubuntu@RHOBLV01:~/oom/kubernetes$ ubuntu@RHOBLV01:~/oom/kubernetes$ ubuntu@RHOBLV01:~/oom/kubernetes$ sudo docker run --rm alpine wget www.google.com [sudo] password for ubuntu: Unable to find image 'alpine:latest' locally latest: Pulling from library/alpine 8e402f1a9c57: Pull complete Digest: sha256:644fcb1a676b5165371437feaa922943aaf7afcfa8bfee4472f6860aad1ef2a0 Status: Downloaded newer image for alpine:latest Connecting to 10.145.153.28:3128 (10.145.153.28:3128) index.html 100% |********************************| 14194 0:00:00 ETAubuntu@RHOBLV01:~/oom/kubernetes$ ubuntu@RHOBLV01:~/oom/kubernetes$ ubuntu@RHOBLV01:~/oom/kubernetes$ ubuntu@RHOBLV01:~/oom/kubernetes$ ubuntu@RHOBLV01:~/oom/kubernetes$ sudo docker run --rm alpine env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=babf748cc94c HTTPS_PROXY=http://10.145.153.28:3128/ https_proxy=http://10.145.153.28:3128/ NO_PROXY=10.0.0.0/8,localhost,127.0.0.1,.t-mobile.lab no_proxy=10.0.0.0/8,localhost,127.0.0.1,.t-mobile.lab HTTP_PROXY=http://10.145.153.28:3128/ http_proxy=http://10.145.153.28:3128/ HOME=/root ubuntu@RHOBLV01:~/oom/kubernetes$
Attachments
Issue Links
- relates to
-
OOM-1598 Document a Highly-Available K8s Cluster Deployment (RKE 0.2.1 / K8S 1.13.5 / Helm (2.12.3 - not 2.13.1) / Docker 18.09.5)
-
- Closed
-
-
TSC-17 S3P Assessment prior Casablanca RC1
-
- Closed
-
-
TSC-55 TSC "Must Have" Dublin Requirements - Continuous Integration Approach
-
- Closed
-
-
TSC-121 S3P Assessment prior Dublin RC1
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...