Comments (2)
@erikschlegel I don't believe any explicit ssh setup is required. Would you be able to provide the relevant parts of the script as well as controller logs when the script is run?
from deis.
Hey @vdice - this is what I see in the kubernetes logs for the deis-controller-1655488031-l1b9b
pod
2017-07-04T02:00:06.750108713Z 10.244.2.9 "GET /v2/ HTTP/1.1" 401 58 "Deis Client v2.14.1" 2017-07-04T02:00:06.825483557Z 10.244.2.9 "POST /v2/auth/login/ HTTP/1.1" 200 52 "Deis Client v2.14.1" 2017-07-04T02:00:06.852298026Z 10.244.2.9 "GET /v2/ HTTP/1.1" 401 58 "curl/7.47.0"
here's the response when I curl the controller host
Attempting to login http://deis.52.170.41.237.nip.io http://deis.52.170.41.237.nip.io has address 52.170.41.237 {"detail":"Authentication credentials were not provided."}
If I take the same deis login
command in my terminal host I'm able to login
Here's the script login snippet
echo "Registering Deis Load Balancer"
deis register "${DEIS_HOSTNAME_URL}" --username=deis-admin --password=### [email protected] --ssl-verify=false
while [ ! -s "${DEIS_TOKEN_FILE}" ]; do
echo "Attempting to login ${DEIS_HOSTNAME_URL}"
host "${DEIS_HOSTNAME_URL}"
curl "${DEIS_HOSTNAME_URL}/v2/" && echo
sleep 10
timeout 5 deis login "${DEIS_HOSTNAME_URL}" --username=deis-admin --password=####
done
The router logs deis-router-3258585802-dnrlk
2017-07-04T02:11:05.302041349Z [2017-07-04T02:11:05+00:00] - deis/deis-controller - 10.240.0.4 - - - 401 - "GET /v2/ HTTP/1.1" - 416 - "-" - "curl/7.47.0" - "~^deis\x5C.(?<domain>.+)$" - 10.0.157.142:80 - deis.52.170.41.237.nip.io - 0.002 - 0.002
2017-07-04T02:11:15.318278304Z [2017-07-04T02:11:15+00:00] - deis/deis-controller - 10.244.2.1 - - - 401 - "GET /v2/ HTTP/1.1" - 411 - "-" - "Deis Client v2.14.1" - "~^deis\x5C.(?<domain>.+)$" - 10.0.157.142:80 - deis.52.170.41.237.nip.io - 0.002 - 0.002
2017-07-04T02:11:15.39038704Z [2017-07-04T02:11:15+00:00] - deis/deis-controller - 10.240.0.5 - - - 200 - "POST /v2/auth/login/ HTTP/1.1" - 365 - "-" - "Deis Client v2.14.1" - "~^deis\x5C.(?<domain>.+)$" - 10.0.157.142:80 - deis.52.170.41.237.nip.io - 0.063 - 0.066
2017-07-04T02:11:15.426052983Z [2017-07-04T02:11:15+00:00] - deis/deis-controller - 10.240.0.8 - - - 401 - "GET /v2/ HTTP/1.1" - 416 - "-" - "curl/7.47.0" - "~^deis\x5C.(?<domain>.+)$" - 10.0.157.142:80 - deis.52.170.41.237.nip.io - 0.006 - 0.006
from deis.
Related Issues (20)
- Can't build database image HOT 1
- Publisher fails to parse HEALTHCHECK_INITIAL_DELAY if the value contains `\r` HOT 4
- Workflow: can't add readiness probe healthcheck HOT 2
- Unable to push app to builder (deis-workflow) HOT 9
- (Custom) domain with no certificate still serves https HOT 7
- Is it possible to disallow features at a cluster level? HOT 3
- Unable to Deploy on v2.8.0 ontop of Digitalocean K8 Cluster HOT 6
- nds
- LTS won't build with Go 1.7.3 HOT 2
- Pushing an app crashes the pod network HOT 1
- Off cluster Minio HOT 1
- How to change timezone? HOT 4
- ป้ายหน้าหมู่บ้านพระราม 2 ซิตี้
- Could not create the Namespace in Kubernetes - deis config:push
- Git push hangs on "Pushing to registry" HOT 3
- InvalidDomainNameLabel while provisioning Docker EE on Azure HOT 1
- Deis builder push operation timed out
- cluster namespaces conflicts when using same deis login HOT 3
- deis CLI version changing HOT 1
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 deis.