libvirt console logs can expand infinitely

Bug #1895713 reported by Alexander Diana
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
High
Jeffrey Zhang

Bug Description

What happened:
libvirt console.log consumed >100GB of disk on a single vm, DoSing the compute node.

What you expected to happen:
libvirt should be using virtlogd which supports rotation and has sane defaults, and this wouldn't happen, as this was fixed upstream.

How to reproduce it:
Boot a vm, run anything in the serial console which outputs infinitely, wait until compute node crashes.

yes > /dev/stdout

or from any root shell, write infinitely to kmesg/printk.

Upstream refs:
https://bugs.launchpad.net/nova/+bug/832507
https://blueprints.launchpad.net/nova/+spec/libvirt-virtlogd

Mark Goddard (mgoddard)
Changed in kolla-ansible:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :
Changed in kolla-ansible:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
Revision history for this message
Tom Fifield (fifieldt) wrote :

Appears to be fixed in the patch noted in comment #1.

Changed in kolla-ansible:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.