Bug 797250 - [rfe] Inject some key presses before taking screenshot
Summary: [rfe] Inject some key presses before taking screenshot
Keywords:
Status: CLOSED EOL
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: oz
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
Assignee: Ian McLeod
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 16:58 UTC by Daniel Berrangé
Modified: 2020-03-27 18:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 18:33:42 UTC


Attachments (Terms of Use)

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


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