nailgun cannot fetch astute logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
New
|
Undecided
|
Unassigned |
Bug Description
Clicking the "Show" button in the logs tab with "Source" set to "Astute" shows "Unable to fetch logs." message.
fuel-8.
> GET /api/logs?
> Host: 10.20.0.2:8443
> Cookie: i18next=en-US; token=94c497a81
> Accept-Encoding: gzip, deflate, sdch
> Accept-Language: en-US,en;
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.10 Safari/537.36
> Accept: application/json, text/javascript, */*; q=0.01
> Referer: https:/
> X-Auth-Token: 94c497a8171d4ea
> X-Requested-With: XMLHttpRequest
> Connection: keep-alive
>
< HTTP/1.1 404 Not Found
< Server: nginx
< Date: Wed, 09 Dec 2015 09:11:22 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Content-Encoding: gzip
<
* Connection #0 to host 10.20.0.2 left intact
{"message": "Log file not found", "errors": []}
[pid 32755] epoll_wait(4, <unfinished ...>
[pid 32754] epoll_wait(4, <unfinished ...>
[pid 32755] <... epoll_wait resumed> {{EPOLLIN, {u32=3, u64=3}}}, 1, -1) = 1
[pid 32754] <... epoll_wait resumed> {{EPOLLIN, {u32=3, u64=3}}}, 1, -1) = 1
[pid 32755] accept4(3, <unfinished ...>
[pid 32754] accept4(3, <unfinished ...>
[pid 32755] <... accept4 resumed> 0x7f8c8e5a10a2, [110], SOCK_NONBLOCK) = -1 EAGAIN (Resource temporarily unavailable)
[pid 32754] <... accept4 resumed> {sa_family=AF_INET, sin_port=
[pid 32755] epoll_wait(4, <unfinished ...>
[pid 32754] read(7, "\0007\
[pid 32754] stat("/
[pid 32754] stat("/
[pid 32754] write(6, "2015-12-09 09:12:56.366 DEBUG [7"..., 124) = 124
[pid 32754] stat("/
[pid 32754] stat("/
[pid 32754] stat("/
[pid 32754] stat("/
[pid 32754] write(6, "2015-12-09 09:12:56.371 DEBUG [7"..., 149) = 149
[pid 32754] writev(7, [{"HTTP/1.1 404 Not Found\r\
[pid 32754] close(7) = 0
[pid 32754] writev(2, [{"[pid: 413|app: 0|req: 5172/11112"..., 231}], 1) = 231
[pid 32754] epoll_wait(4, ^CProcess 32754 detached
Creating a symlink to "../astute.log" (as /var/log/
Changed in fuel: | |
milestone: | none → 8.0 |