RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1179652 - Creating ubuntu guest on rhel7 host fails (VMWare SVGA unavailable)
Summary: Creating ubuntu guest on rhel7 host fails (VMWare SVGA unavailable)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Giuseppe Scrivano
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1147662
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-07 09:36 UTC by zhoujunqin
Modified: 2015-11-19 05:23 UTC (History)
6 users (show)

Fixed In Version: virt-manager-1.2.0-1-el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1147662
Environment:
Last Closed: 2015-11-19 05:23:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
detail debug log for virt-manager (20.22 KB, text/plain)
2015-01-07 09:36 UTC, zhoujunqin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2206 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2015-11-19 08:17:29 UTC

Description zhoujunqin 2015-01-07 09:36:11 UTC
Created attachment 977173 [details]
detail debug log for virt-manager

+++ This bug was initially created as a clone of Bug #1147662 +++

Description of problem:
Importing an Ubuntu disk image fails with 'Error: VMWare SVGA not available'
I suspect this is because the act of choosing Ubuntu as the guest type is selcting VMWare SVGA (I tried both precise and saucy )

Version-Release number of selected component (if applicable):
virt-manager-1.1.0-3.git310f6527.fc20.noarch
virt-manager-common-1.1.0-3.git310f6527.fc20.noarch
qemu-kvm-1.5.3-60.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Take an existing VM image (actually I suspect you can do this for a fresh install)
2. Create a new guest and select ubuntu precise as the guest OS
3. Try and start the VM

Actual results:
Unable to complete install: 'internal error: process exited while connecting to monitor: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
Error: VMWare SVGA not available
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1854, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 411, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 475, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3398, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
Error: VMWare SVGA not available



Expected results:

Booted guest.

Additional info:

--- Additional comment from Georg Lec on 2014-12-20 11:30:13 EST ---

I can confirm this error with choosing Raring ubuntu in the linux version dropdown and a centOS 7 host.

virt-manager 1.1.0

After leaving the linux version blank the new vm started, and the remove console worked as expected

--- Additional comment from zhoujunqin on 2015-01-07 04:32:40 EST ---

I can also reproduce this issue on rhel7,so i will clone it to rhel7.
Host build:
Rhel7.1 snapshot1: http://download.englab.nay.redhat.com/pub/rhel/rel-eng/RHEL-7.1-20141217.0/compose/Server/x86_64/os/

Related packages version:
virt-manager-1.1.0-10.el7.noarch
virt-install-1.1.0-10.el7.noarch
libvirt-1.2.8-11.el7.x86_64
qemu-kvm-rhev-2.1.2-17.el7.x86_64

Steps:
1. Launch virt-manager, then create a new vm via iso image.
   Use ubuntu guest iso:  ubuntu-12.10-server-amd64.iso &ubuntu-13.04-server-amd64.iso
2. Use default settings, click "Forward" step by step, at last click "Finish" and begin to install guest.

3. Virt-manager show following error
...
Unable to complete install: 'internal error: process exited while connecting to monitor: Error: VMWare SVGA not available
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1855, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 411, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 475, in _create_guest
    dom = self.conn.createLinustart_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3398, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinu) failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: Error: VMWare SVGA not available

More information:

Do another test and check if
> ubuntu-12.10-server-amd64.iso works when selecting VGA and that

Result: Works with VGA driver, installation finished successfully.
...
    <video>
      <model type='vga' vram='16384' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
...


> ubuntu-13.04-server-amd64.iso works when selecting QXL?
Result: Installation will succeed after custom spice+qxl by hand before installation.
...
    <graphics type='spice' port='5901' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
...
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='8192' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>

...

Comment 3 Giuseppe Scrivano 2015-02-24 13:02:14 UTC
patch posted upstream:

https://www.redhat.com/archives/virt-tools-list/2015-February/msg00056.html

Comment 4 Giuseppe Scrivano 2015-02-24 16:50:18 UTC
fixed upstream:

commit 6c61e66ff73d6c340b50af78db9eed8270914947
Author: Giuseppe Scrivano <gscrivan>
Date:   Tue Feb 24 13:32:51 2015 +0100

    Do not use vmvga on RHEL
    
    Fallback to VGA
    
    Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1179652
    
    Signed-off-by: Giuseppe Scrivano <gscrivan>

commit 7b630c00a0b6b35a5a2203373a7b0fd826954bba
Author: Giuseppe Scrivano <gscrivan>
Date:   Tue Feb 24 13:21:24 2015 +0100

    Move stable_defaults from vmmConnection to VirtualConnection
    
    Signed-off-by: Giuseppe Scrivano <gscrivan>

Comment 5 Giuseppe Scrivano 2015-02-24 18:05:54 UTC
and..

commit 00aea929efbab063bc55d81976d896c552c34767
Author: Giuseppe Scrivano <gscrivan>
Date:   Tue Feb 24 19:00:38 2015 +0100

    tests: check that vmvga is not used on RHEL
    
    And fix typo in last commit
    
    Signed-off-by: Giuseppe Scrivano <gscrivan>

Comment 6 Cole Robinson 2015-03-23 20:53:03 UTC
Just hit an issue with these changes, fixed here:

commit 590e4772eb588aeb82f8319bea8dd61a668cd153
Author: Cole Robinson <crobinso>
Date:   Mon Mar 23 16:39:49 2015 -0400

    connection: Fix error checking stable_defaults
    
    This should fail when run against actual RHEL capabilities output

diff --git a/virtinst/connection.py b/virtinst/connection.py
index 0729e05..a4e2156 100644
--- a/virtinst/connection.py
+++ b/virtinst/connection.py
@@ -337,7 +337,7 @@ class VirtualConnection(object):
             for guest in self.caps.guests:
                 for dom in guest.domains:
                     if dom.emulator.startswith("/usr/libexec"):
-                        return self.config.stable_defaults
+                        return cliconfig.stable_defaults
         return cliconfig.stable_defaults
 
     ###################



There's some test suite improvements in other commits, but they aren't essential.

Comment 8 fwu 2015-05-18 10:03:06 UTC
I can reproduce this issue with package:
virt-manager-1.1.0-12.el7.noarch

Steps are the same as those in bug description

Result:
The installation cannot complete with default option of video device.
However, it works with VGA / Cirrus / QXL driver, installation finished successfully.

Then try to verify with new build:
virt-manager-1.2.0-3.el7.noarch

Steps:
1. Launch virt-manager, then create a new vm via iso image.
   Use ubuntu guest iso: ubuntu-13.04-server-amd64.iso
2. Use default settings, click "Forward" step by step, at last click "Finish" and begin to install guest.
3. Alternatively, change video device to VMVGA  before installation and click "Begin Installation" to install guest.
4. Can also change video device other than VMVGA or default before installation and click "Begin Installation" to install guest.

Result:
1. After step 2, noticed the default option of video device was set as VGA. Installation finished successfully with VGA device.
2. After step 3, the error message shown, prevent user to install guests with VMVGA on RHEL.
3. After step 4, ubuntu is installed successfully.

According to the result shown above, move the bug from ON_QA to VERFIED

Comment 10 errata-xmlrpc 2015-11-19 05:23:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2206.html


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