Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1512362 - Failed to take screenshot for guest with long domain name
Summary: Failed to take screenshot for guest with long domain name
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Meina Li
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-13 02:04 UTC by yafu
Modified: 2017-11-13 09:12 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-11-13 09:12:42 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description yafu 2017-11-13 02:04:38 UTC
Description of problem:
Failed to take screenshot for guest with long domain name

Version-Release number of selected component (if applicable):

How reproducible:

1.Prepare a guest with domain name longer than 231
#virsh start 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
Domain 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 started

2.Take screenshot for the guest:
# virsh screenshot 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
error: cannot create file 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111-2017-11-10-18:55:06.ppm

error: One or more references were leaked after disconnect from the hypervisor

Actual results:
Failed to take screenshot for guest with long domain name

Expected results:
Can take screeshot successfully for guest with long domain name

Comment 2 Peter Krempa 2017-11-13 09:12:42 UTC
You can use the optional argument --file for the 'screenshot' command to save it to a more reasonable location.

I don't think this is worth fixing.

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