Comments (6)
Found the source of the bug: https://github.com/deis/controller-sdk-go/blob/master/auth/auth.go#L105
if err != nil && !deis.IsErrAPIMismatch(reqErr) {
return "", reqErr
}
should actually be
if reqErr != nil && !deis.IsErrAPIMismatch(reqErr) {
return "", reqErr
}
Once I get CI working for this repository I'll PR a fix for this.
from controller-sdk-go.
Was able to reproduce.
deis auth:regenerate
works properly when logged in, but panics if you have an invalid token.
I'll investigate this.
In the meantime @seanknox, logging in again before running deis auth:regenerate
should fix the problem.
from controller-sdk-go.
Thanks @Joshua-Anderson, logging in again does take care of it.
from controller-sdk-go.
Hello.
I'm experiencing same issue, so I'm waiting for the fix :o)
In the meantime, I'm not sure how to use the suggested workaround. If I logout (with deis auth:logout
) and then login again, with deis auth:login http://deis.10.3.0.182.nip.io
, I get this error:
Error: Unable to log in with provided credentials.
Of course I'm double-sure provided credentials were correct.
In order to avoid the issue, I must re-register a new user but of course I loose access to previous apps (and login to old users doesn't work anymore).
Does anyone have any help, please?
Thanks in advance,
Fabio
from controller-sdk-go.
@think01 If you would like to talk to someone to help debug this, I'm happy to help in the deis community slack channel. If you're using minio for your data storage (the default option), I suspect it was restarted, resulting in the loss of all data on your cluster. This would explain why you are no longer able to log in because your cluster state would have been entirely reset.
from controller-sdk-go.
Thank you @Joshua-Anderson!
Anyway, I had this problem with:
coreos-kubernetes (with kubernetes 1.3.4)
vagrant 1.8.5
It disappeared using kubernetes 1.3.5 (without CoreOs, as per the official Deis tutorial) and Vagrant 1.8.3 (there's a regression in Vagrant: hashicorp/vagrant#5186).
from controller-sdk-go.
Related Issues (10)
- ci broken -- codecov issue?
- Jenkinsfile: alternative to using git commit author for building workflow-cli image
- Better API documentation HOT 1
- sdk e2e pipeline
- Remove dependency on github.com/deis/pkg/time HOT 3
- Jenkinsfile: best way to derive actual PR commit HOT 2
- Setup Travis CI HOT 2
- Enable requiring a particular workflow-cli version/commit
- Better error handling 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 controller-sdk-go.