Bug 797250

Summary: [rfe] Inject some key presses before taking screenshot
Product: [Retired] CloudForms Cloud Engine Reporter: Daniel BerrangĂ© <berrange>
Component: ozAssignee: Ian McLeod <imcleod>
Status: CLOSED EOL QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.0CC: cpelland, dajohnso, hbrock, morazi, whayutin
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:33:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Daniel Berrangé 2012-02-24 16:58:37 UTC
Description of problem:
When Oz fails it tries to take a screenshot of the guest. All the screenshots I've seen have just been a black screen. This is because the guest OS has not had any mouse or keyboard input during install & thus has blanked the screen.

Oz should use virsh send-key (or equivalent) to inject some key presses to wake up the screen. eg just send a couple of 'Shift' keys, and wait 1 second before taking the screenshot.

Version-Release number of selected component (if applicable):
oz-0.7.0-3.fc16.noarch

How reproducible:
Sometimes

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 wes hayutin 2012-02-27 19:08:26 UTC
huh.. hadnt seen that.. interesting