Closed yaronr closed 9 years ago
Hi, @yaronr!
I fixed private key issue! Just pull and run fleet-ui again, please. If you want to use all function(like journal..), you should set private key(id_rsa) file path.
Please let me know if you have any problem!
Hi!
It looks like the key issue is solved, but now there’s something else:
docker run --name fleet-ui -d -p 1304:3000 -e ETCD_PEER-10.10.0.1 purpleworks/fleet-ui
I am seeing the UI, but it’s empty (no running units or machines). My cluster of 3 machines is running ~20 units
Logs: core@ip-10-0-4-59 ~ $ docker logs fleet-ui [negroni] listening on :3000 [negroni] Started GET / [negroni] Completed 200 OK in 17.770868ms [negroni] Started GET /styles/vendor.b22e325c.css [negroni] Started GET /styles/main.f7826055.css [negroni] Started GET /scripts/vendor.9bb80214.js [negroni] Started GET /scripts/scripts.fe0a475f.js [negroni] Started GET /scripts/config.121f4e1a.js [negroni] Completed 200 OK in 339.042us [negroni] Completed 200 OK in 14.255022ms [negroni] Completed 200 OK in 308.053645ms [negroni] Completed 200 OK in 316.562971ms [negroni] Completed 200 OK in 625.074846ms [negroni] Started GET /views/layout.html [negroni] Completed 200 OK in 350.298us [negroni] Started GET /views/main.html [negroni] Completed 200 OK in 175.244us [negroni] Started GET /favicon.ico [negroni] Completed 404 Not Found in 179.3us 2014/12/10 13:47:27 machine all [negroni] Started GET /api/v1/machines [negroni] Started GET /api/v1/units 2014/12/10 13:47:27 unit all [negroni] Started GET /bower_components/font-awesome/fonts/fontawesome-webfont.woff [negroni] Completed 200 OK in 10.626659ms [negroni] Completed 200 OK in 6.104621716s [negroni] Completed 200 OK in 6.117319052s [negroni] Started GET /api/v1/units 2014/12/10 13:47:33 unit all [negroni] Completed 200 OK in 6.017278793s 2014/12/10 13:47:39 unit all [negroni] Started GET /api/v1/units [negroni] Completed 200 OK in 6.032488714s 2014/12/10 13:47:45 unit all [negroni] Started GET /api/v1/units [negroni] Started GET / [negroni] Completed 304 Not Modified in 199.121us [negroni] Started GET /api/v1/units 2014/12/10 13:47:48 unit all [negroni] Started GET /api/v1/machines 2014/12/10 13:47:48 machine all [negroni] Completed 200 OK in 6.014744385s [negroni] Completed 200 OK in 6.096942466s [negroni] Completed 200 OK in 6.095546136s 2014/12/10 13:47:54 unit all [negroni] Started GET /api/v1/units [negroni] Completed 200 OK in 6.015417177s 2014/12/10 13:48:01 unit all [negroni] Started GET /api/v1/units [negroni] Completed 200 OK in 6.016719289s 2014/12/10 13:48:07 unit all [negroni] Started GET /api/v1/units [negroni] Completed 200 OK in 6.014775681s 2014/12/10 13:48:13 unit all [negroni] Started GET /api/v1/units [negroni] Completed 200 OK in 6.026646503s 2014/12/10 13:48:19 unit all
Also, BTW, the image is very large. I think you should think about minimizing the docker image, to something like 200-300MB. take a look at some of my docker images for example. Not very complicated, and very useful for users.
Regards, Yaron Rosenbaum Founder and CTO MultiCloud M +972 54 2346012 www.multicloud.io http://www.multicloud.io/
On Dec 10, 2014, at 3:25 PM, Chungsub Kim notifications@github.com wrote:
Hi, yaronr!
I fixed private key issue! Just pull and run fleet-ui again, please. If you want to use all function(like journal..), you should set private key(id_rsa) file path.
Please let me know if you have any problem!
— Reply to this email directly or view it on GitHub https://github.com/purpleworks/fleet-ui/issues/2#issuecomment-66450641.
@yaronr remove ETCD_PEER env option and try again!
docker run --name fleet-ui -d -p 1304:3000 purpleworks/fleet-ui
Please reopen if you have any problem.
Hi
I would like to run fleet-ui on the CoreOS cluster itself. I'm trying to run it as below, but it just quits and does nothing. My assumption is that since I'm already inside the CoreOS, there's no need for a certificate file
core@ip-10-0-4-59 ~ $ docker run -ti --rm -p 3000:3000 --name fleet-ui purpleworks/fleet-ui Agent pid 15 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0755 for '/root/id_rsa' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored.