New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dlite not starting correctly after reboot #214
Comments
I'm experiencing same symptoms, except
|
My story reboot $ docker ps $ ls -l /var/run/docker.sock $ sudo rm -rf /var/run/docker.sock $ docker ps Waiting 1 minute... $ docker ps |
can those of you experiencing this issue run if you have a version earlier than 1.0.0-beta3 this problem should be fixed by re-running |
$ dlite ssh
dlite-os version 1.0.0-beta3
Docker version 1.12.3, build 6b644ec |
|
A thing just hit me, I downloaded the binary from "Releases" and did not build it myself. |
@getninjaN that shouldn't be causing a problem, that's the binary i run on my own laptop without issues. interesting that the vm seems to be coming up and just isn't phoning home correctly.. can someone who is able to login to their vm run |
i'm getting this same issue (beta8) and
|
I managed to fix this. TL;DRPEBKAC 🙃 The long story
ConclusionNow everything is working like clockwork again. |
I'm tired of waiting for fix of the problem 😸 |
Well sh*t... Ran into another problem now. Now when I try to run Starting the virtual machine: ERROR!
chown /Users/emil/.dlite/vm.tty: no such file or directory In my console I get this for
Peace and love |
well that's a new one.. i've actually seen the the InternetSharing stuff though, that's a new one. is there anything interesting in |
Nope.. vm.log wasn't modified at all. I can try to see if I'm able to reproduce this and check again. |
Hi, still an issue. Just downloaded the binary today.
|
This is the biggest issue I have with dlite ATM. Any progress here? Is dlite still being developed? |
@synic sorry, yes. i'm still working on this one. doing some refactoring to make things more testable and also make it easier to handle error cases, and log more debugging information. not being able to reproduce this one makes fixing it like playing a game of whack-a-mole in the dark with a blindfold on, rather than doing that i'm going to shuffle things around to try to isolate pieces of logic as much as possible. with that and some additional logging it should become a lot more clear when things go wrong. plus it means i can start actually writing unit tests for things, which will be nice. it is, however, slow going. i promise it'll all be worth it in the long run though! |
Anything I can do to help, let me know!
…On Wed, Apr 5, 2017, 10:51 AM Nathan LaFreniere ***@***.***> wrote:
@synic <https://github.com/synic> sorry, yes. i'm still working on this
one. doing some refactoring to make things more testable and also make it
easier to handle error cases, and log more debugging information.
not being able to reproduce this one makes fixing it like playing a game
of whack-a-mole in the dark with a blindfold on, rather than doing that i'm
going to shuffle things around to try to isolate pieces of logic as much as
possible. with that and some additional logging it should become a lot more
clear when things go wrong. plus it means i can start actually writing unit
tests for things, which will be nice.
it is, however, slow going. i promise it'll all be worth it in the long
run though!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#214 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAB4ut3f0CA9Ymx7sz1qlMS23vbtRinoks5rs8Z1gaJpZM4LBl2o>
.
|
Not sure if just a coincidence but … after over an hour of Maybe this helps. |
Bug Reports
dlite version in use (run
dlite --version
):dlite version 2.0.0-beta8
expected behavior:
dlite should start correctly after reboot and make my day the best day ever.
actual behavior:
dlite doesn't start correctly after reboot and makes the reboot day the worst day ever.
steps to reproduce
I haven't got a clue
TL;DR
Something seems to be wrong with
extractUser
,lookupUser
orproxy
on my machine, I don't really know...My story
After the first install dlite starts without any problems and runs great, but after a reboot it won't start correctly.
Directly after I log in I can find a dlite process but no hyperkit process in Activity Monitor.
The dlite process is using 1-2 MB of RAM, which sounds small but probably isn't anything weird.
docker ps returns an error
dlite start runs into a timeout. (two dlite processes during this time and when it's done one process is terminated and the original process persists)
dlite stop runs into infinity and beyond until I press
ctrl-c
. (the dlite process is still running)Running dlite stop again after this:
$ dlite stop Stopping the virtual machine: done
(the dlite process is still running)
Debug mode activated
So I start digging and I find out that a some commands makes a HTTP POST request to
http://127.0.0.1:1050/[command]
.Running
curl -X POST http://127.0.0.1:1050/start
returns UnauthorizedRunning
curl -X POST --header "X-Username: emil" http://127.0.0.1:1050/start
returns Timed out waiting for virtual machineRunning
curl -X POST http://127.0.0.1:1050/stop
returnsVirtual machine is not running
(which is expected)Using Chrome and visiting
http://127.0.0.1:1050/status
also returnsUnauthorized
.It seems like there's something wrong with
extractUser
,lookupUser
orproxy
.I have tried to uninstall everything (I think) and reinstall dlite but with the same results.
I have tried to unload
local.docker.plist
and loading it again but with the same results.The text was updated successfully, but these errors were encountered: