firecracker-microvm / firecracker-demo

A demo running 4000 Firecracker microVMs.
http://firecracker-microvm.io
Apache License 2.0
247 stars 56 forks source link

Invalid header: curl PUT /logger failed with non-2xx HTTP status code #28

Closed bbros-dev closed 4 years ago

bbros-dev commented 4 years ago

Using

$ firecracker --version
Firecracker v0.21.1

and

$ curl --version
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.0.2u zlib/1.2.11
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s smb smbs smtp smtps telnet tftp 
Features: AsynchDNS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets

gives

Error: curl PUT /logger failed with non-2xx HTTP status code, output:
{ "error": "Invalid header.
All previous unanswered requests will be dropped." }HTTP 400
serban300 commented 4 years ago

Thanks for the report @bbros-dev . You're right. There have been a series of changes to the logger api lately. From what I remember:

  1. We decoupled the logger from metrics logger.
  2. We renamed log_fifo to log_path (I'm not sure if this one is in release 0.21.1)

We should update the firecracker-demo as well. Are you also interested in contributing with a PR for this issue ?