Bug 1037787

Summary: virt-manager: reds.c:3958:do_spice_init: statistics shm_open failed, Invalid argument
Product: [Fedora] Fedora Reporter: Zbigniew JÄ™drzejewski-Szmek <zbyszek>
Component: glibcAssignee: Siddhesh Poyarekar <spoyarek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, codonell, crobinso, fweimer, jakub, law, mnewsome, pfrankli, spoyarek, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-04 08:25:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Zbigniew Jędrzejewski-Szmek 2013-12-03 19:53:46 UTC
Unable to complete install: 'internal error: process exited while connecting to monitor: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
((null):30008): Spice-ERROR **: reds.c:3958:do_spice_init: statistics shm_open failed, Invalid argument
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1959, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 389, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 454, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2897, 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.
((null):30008): Spice-ERROR **: reds.c:3958:do_spice_init: statistics shm_open failed, Invalid argument


Clicked "New VM" from virt-manager gui, selected ISO image, no disk, generic/generic, 1024MB, 1CPU (the defaults), "finish".

In the journal:

Dec 03 14:34:41 bupkis libvirtd[28703]: failed to connect to monitor socket: No such process
Dec 03 14:34:41 bupkis libvirtd[28703]: internal error: process exited while connecting to monitor: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
                                        ((null):30008): Spice-ERROR **: reds.c:3958:do_spice_init: statistics shm_open failed, Invalid argument

With virt-install:
% sudo virt-install --name vm1 --ram 2048 --nodisks --cdrom=Fedora-15-x86_64-Live-Desktop.iso

Starting install...
ERROR    internal error: process exited while connecting to monitor: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
((null):31001): Spice-ERROR **: reds.c:3958:do_spice_init: statistics shm_open failed, Invalid argument

Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start vm1
otherwise, please restart your installation.

qemu-1.7.0-0.2.rc1.fc20.x86_64
virt-manager-0.10.0-5.git1ffcc0cc.fc20.noarch
libvirt-1.1.4-2.fc20.x86_64

Comment 1 Cole Robinson 2013-12-03 23:30:44 UTC
I think this is:

https://sourceware.org/bugzilla/show_bug.cgi?id=16274

Saw another mention of this affecting recent rawhide builds. It's fixed upstream, but doesn't appear to be in fedora yet.

Comment 2 Carlos O'Donell 2013-12-04 02:22:15 UTC
(In reply to Cole Robinson from comment #1)
> I think this is:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=16274
> 
> Saw another mention of this affecting recent rawhide builds. It's fixed
> upstream, but doesn't appear to be in fedora yet.

Cole,

Yes, I just finished reviewing the fix for this in upstream glibc. The original patch that had gone in had been overzealous in what it rejected and a defect in the regression test caused us not to detect this. We've since fixed the regression test and the bug.

Siddhesh,

Would you mind syncing rawhide with upstream?

Comment 3 Siddhesh Poyarekar 2013-12-04 08:25:33 UTC
Done.  Please reopen if the rebase did not work so that we can look at it closer.