Closed dvusboy closed 8 years ago
@dvusboy is there any error visible in the Docker container logs or in the browser console? Can you reproduce this?
It is reproducible.
Nomad is v0.4.0
, installed by way of a custom-built RPM. Here's a snippet of the log from docker logs
:
2016/08/18 18:13:24 Stopped watching alloc with id: 1978980d-d86e-65e7-f542-137766dbaf28
2016/08/18 18:13:32 Started watching alloc with id: 906c2c4f-abd4-25a6-9906-c8ad7a4c0b59
2016/08/18 18:14:00 Unable to stream file: Unexpected response code: 404 (Invalid method)
There doesn't seem to be anything obviously off in the Nomad log, and it doesn't seem to be telling me what's causing the 404.
Aug 18 11:13:32 <host> nomad[1929]: 2016/08/18 11:13:32 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=1&wait=60000ms (2.327777ms)
Aug 18 11:13:32 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=1&wait=60000ms (2.327777ms)
Aug 18 11:13:34 <host> nomad[1929]: 2016/08/18 11:13:34 [DEBUG] http: Request /v1/status/peers (1.136095ms)
Aug 18 11:13:34 <host> nomad[1929]: http: Request /v1/status/peers (1.136095ms)
Aug 18 11:13:38 <host> nomad[1929]: 2016/08/18 11:13:38 [DEBUG] memberlist: TCP connection from=192.168.111.16:39702
Aug 18 11:13:38 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.16:39702
Aug 18 11:13:39 <host> nomad[1929]: 2016/08/18 11:13:39 [DEBUG] memberlist: TCP connection from=192.168.111.21:37406
Aug 18 11:13:39 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.21:37406
Aug 18 11:13:42 <host> nomad[1929]: 2016/08/18 11:13:42 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.391104829s)
Aug 18 11:13:42 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.391104829s)
Aug 18 11:13:43 <host> nomad[1929]: http: Request /v1/allocations?index=413731&wait=60000ms (1m0.26388212s)
Aug 18 11:13:43 <host> nomad[1929]: 2016/08/18 11:13:43 [DEBUG] http: Request /v1/allocations?index=413731&wait=60000ms (1m0.26388212s)
Aug 18 11:13:44 <host> nomad[1929]: 2016/08/18 11:13:44 [DEBUG] http: Request /v1/status/peers (1.54767ms)
Aug 18 11:13:44 <host> nomad[1929]: http: Request /v1/status/peers (1.54767ms)
Aug 18 11:13:45 <host> nomad[1929]: 2016/08/18 11:13:45 [DEBUG] http: Request /v1/jobs?index=413731&wait=60000ms (1m1.978172557s)
Aug 18 11:13:45 <host> nomad[1929]: http: Request /v1/jobs?index=413731&wait=60000ms (1m1.978172557s)
Aug 18 11:13:48 <host> nomad[1929]: 2016/08/18 11:13:48 [DEBUG] memberlist: TCP connection from=192.168.111.16:39720
Aug 18 11:13:48 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.16:39720
Aug 18 11:13:50 <host> nomad[1929]: 2016/08/18 11:13:50 [DEBUG] http: Request /v1/evaluations?index=413530&wait=60000ms (1m3.296851772s)
Aug 18 11:13:50 <host> nomad[1929]: http: Request /v1/evaluations?index=413530&wait=60000ms (1m3.296851772s)
Aug 18 11:13:52 <host> nomad[1929]: 2016/08/18 11:13:52 [DEBUG] http: Request /v1/node/fa0d796b-2d42-99f8-358b-e530c91b95aa?wait=60000ms (27.275273ms)
Aug 18 11:13:52 <host> nomad[1929]: http: Request /v1/node/fa0d796b-2d42-99f8-358b-e530c91b95aa?wait=60000ms (27.275273ms)
Aug 18 11:13:52 <host> nomad[1929]: 2016/08/18 11:13:52 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.259362239s)
Aug 18 11:13:52 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.259362239s)
Aug 18 11:13:54 <host> nomad[1929]: 2016/08/18 11:13:54 [DEBUG] http: Request /v1/status/peers (628.556µs)
Aug 18 11:13:54 <host> nomad[1929]: http: Request /v1/status/peers (628.556µs)
Aug 18 11:13:58 <host> nomad[1929]: 2016/08/18 11:13:58 [DEBUG] memberlist: TCP connection from=192.168.111.16:39748
Aug 18 11:13:58 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.16:39748
Aug 18 11:14:03 <host> nomad[1929]: 2016/08/18 11:14:03 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.133998823s)
Aug 18 11:14:03 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.133998823s)
Aug 18 11:14:04 <host> nomad[1929]: 2016/08/18 11:14:04 [DEBUG] http: Request /v1/status/peers (676.818µs)
Aug 18 11:14:04 <host> nomad[1929]: http: Request /v1/status/peers (676.818µs)
Aug 18 11:14:08 <host> nomad[1929]: 2016/08/18 11:14:08 [DEBUG] memberlist: TCP connection from=192.168.111.16:39772
Aug 18 11:14:08 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.16:39772
Aug 18 11:14:13 <host> nomad[1929]: 2016/08/18 11:14:13 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.406857841s)
Aug 18 11:14:13 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.406857841s)
Aug 18 11:14:14 <host> nomad[1929]: 2016/08/18 11:14:14 [DEBUG] http: Request /v1/status/peers (629.596µs)
Aug 18 11:14:14 <host> nomad[1929]: http: Request /v1/status/peers (629.596µs)
Aug 18 11:14:17 <host> nomad[1929]: 2016/08/18 11:14:17 [DEBUG] http: Request /v1/nodes?index=395803&wait=60000ms (1m2.898090592s)
Aug 18 11:14:17 <host> nomad[1929]: http: Request /v1/nodes?index=395803&wait=60000ms (1m2.898090592s)
Aug 18 11:14:18 <host> nomad[1929]: 2016/08/18 11:14:18 [DEBUG] memberlist: Initiating push/pull sync with: 192.168.111.21:4648
Aug 18 11:14:18 <host> nomad[1929]: memberlist: Initiating push/pull sync with: 192.168.111.21:4648
Aug 18 11:14:18 <host> nomad[1929]: 2016/08/18 11:14:18 [DEBUG] memberlist: TCP connection from=192.168.111.16:39788
Aug 18 11:14:18 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.16:39788
Aug 18 11:14:23 <host> nomad[1929]: 2016/08/18 11:14:23 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.256100087s)
Aug 18 11:14:23 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.256100087s)
Aug 18 11:14:24 <host> nomad[1929]: 2016/08/18 11:14:24 [DEBUG] http: Request /v1/status/peers (1.541514ms)
Aug 18 11:14:24 <host> nomad[1929]: http: Request /v1/status/peers (1.541514ms)
Aug 18 11:14:26 <host> nomad[1929]: 2016/08/18 11:14:26 [DEBUG] memberlist: TCP connection from=192.168.111.11:42096
Aug 18 11:14:26 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.11:42096
Aug 18 11:14:28 <host> nomad[1929]: 2016/08/18 11:14:28 [DEBUG] memberlist: TCP connection from=192.168.111.16:39802
Aug 18 11:14:28 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.16:39802
Aug 18 11:14:34 <host> nomad[1929]: 2016/08/18 11:14:34 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.292626465s)
Aug 18 11:14:34 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.292626465s)
Aug 18 11:14:34 <host> nomad[1929]: 2016/08/18 11:14:34 [DEBUG] http: Request /v1/status/peers (1.499521ms)
Aug 18 11:14:34 <host> nomad[1929]: http: Request /v1/status/peers (1.499521ms)
Aug 18 11:14:38 <host> nomad[1929]: 2016/08/18 11:14:38 [DEBUG] memberlist: TCP connection from=192.168.111.16:39814
Aug 18 11:14:38 <host> nomad[1929]: memberlist: TCP connection from=192.168.111.16:39814
Aug 18 11:14:44 <host> nomad[1929]: 2016/08/18 11:14:44 [DEBUG] http: Request /v1/status/peers (1.525947ms)
Aug 18 11:14:44 <host> nomad[1929]: http: Request /v1/status/peers (1.525947ms)
Aug 18 11:14:44 <host> nomad[1929]: 2016/08/18 11:14:44 [DEBUG] http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.581736304s)
Aug 18 11:14:44 <host> nomad[1929]: http: Request /v1/allocation/906c2c4f-abd4-25a6-9906-c8ad7a4c0b59?index=413482&wait=10000ms (10.581736304s)
@dvusboy sorry, I know what is going on. I've updated the file viewer to live-stream contents to the browser. However, this requires 0.4.1 of Nomad. I've not handled the version compatibility with Nomad server well yet. This will be fixed asap. Any possibility for you to upgrade to 0.4.1 in the mean time?
That's quick! I'm sorry, but I'd have to wait for the official release of 0.4.1
. Thanks.
I understand, it probably won't be long. Like I said, this was a mistake and will be fixed properly soon. The main difference is mostly in the architecture (a dedicated backend with websocket connection) so I think you should still be able to use the old version until things settle down.
In case you missed it, 0.4.1 has been released: https://groups.google.com/forum/#!topic/nomad-tool/i936vj7yZmA
Version
Docker Image
iverberk/nomad-ui:0.1.0
with IDc9e53b2c481a
Description
If I follow the linkss to the "Files" tab of an allocation, and then try to follow the path
/alloc/logs
to view thestderr
andstdout
files, those files in the "Path" box are no longer "clickable", and their contents do not show up under the "File" box.This was working before the
0.1.0
tag.