Bug 1320924 - "Process exited prior to exec" when start guest with no enough space for qemu log and virtlogd is enabled.
Summary: "Process exited prior to exec" when start guest with no enough space for qemu...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.3
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Erik Skultety
QA Contact: Yanqiu Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-24 10:23 UTC by Fangge Jin
Modified: 2019-01-04 15:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-04 15:17:38 UTC
Target Upstream Version:


Attachments (Terms of Use)
libvirt log and virtlogd log (27.12 KB, application/x-gzip)
2016-03-24 10:23 UTC, Fangge Jin
no flags Details

Description Fangge Jin 2016-03-24 10:23:45 UTC
Created attachment 1139883 [details]
libvirt log and virtlogd log

Description of problem:
There is no enough disk space for qemu log, guest starts failed:
# virsh start rhel7.2
error: Failed to start domain rhel7.2
error: internal error: Process exited prior to exec: 

Version-Release number of selected component (if applicable):
libvirt-1.3.2-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Mount a disk with little space left on /var/log/libvirt/qemu
# df
/dev/sdb3                                                        12972     12952        20 100% /var/log/libvirt/qemu

2.Guest rhel7.2 has a log file existing in the directory:
# ls /var/log/libvirt/qemu/
rhel7.2.log  rhel7.2.log.0  test.out

3.
# virsh start rhel7.2
error: Failed to start domain rhel7.2
error: internal error: Process exited prior to exec:

4.Check guest log file, the last line is incomplete:
# tail -1 /var/log/libvirt/qemu
2016-03-24 10:15:31.579+0000: starting up libvirt version: 1.3.2, package: 1.el

5.If no qemu log file exits before guest starts, guest start with clear error message:
# ls /var/log/libvirt/qemu/

# virsh start rhel7.2
error: Failed to start domain rhel7.2
error: Unable to open file: /var/log/libvirt/qemu/rhel7.2.log: No space left on device


Actual results:
Guest start failed with error "Process exited prior to exec:"

Expected results:
Guest start failed with more clear error message.

Additional info:

Comment 2 Jaroslav Suchanek 2016-04-05 14:54:59 UTC
I guess anything can go wrong when the disk is out of space. Erik please have a look.

Comment 3 Erik Skultety 2019-01-04 15:17:38 UTC
If something like this happens, then you've got bigger problems than just confusing messages. If anything, an error is reported in the daemon's log too. Closing as WONTFIX since this is a big corner case.


Note You need to log in before you can comment on or make changes to this bug.