Skip to content

Jailer unable to use put logging correctly #1100

@xibz

Description

@xibz

I noticed that when I attempt to use the put logger API I receive a 400 bad request. Which is odd, because it is the literally the same request being sent when it is not jailed. I have created the fifos in the jailer's proper chroot. Also uses v0.16.0 of the jailer

Here is the error:

The API server received a synchronous Put request on "/logger" with body "{\"level\":\"Debug\",\"log_fifo\":\"/tmp/jailer-test118456457/firecracker/b/root/firecracker.log\",\"metrics_fifo\":\"/tmp/jailer-test118456457/firecracker/b/root/firecracker-metrics\",\"options\":[],\"show_level\":true,\"show_log_origin\":false}\n".
2019-05-20T21:50:15.863225585 [b:ERROR] Received Error on synchronous Put request on "/logger" with body "{\"level\":\"Debug\",\"log_fifo\":\"/tmp/jailer-test118456457/firecracker/b/root/firecracker.log\",\"metrics_fifo\":\"/tmp/jailer-test118456457/firecracker/b/root/firecracker-metrics\",\"options\":[],\"show_level\":true,\"show_log_origin\":false}\n". Status code: 400 Bad Request.

Metadata

Metadata

Assignees

Labels

Priority: MediumIndicates than an issue or pull request should be resolved ahead of issues or pull requests labelledType: QuestionIndicates that an issue, pull request, or discussion needs more information

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions