[Spacewalk-list] VM hangs during provisioning

Florian Casse florian.casse.mail at gmail.com
Wed Apr 22 09:11:28 UTC 2015


I found a workaround, I
edited /usr/lib/python2.4/site-packages/koan/virtinstall.py and replaced
this:
    if no_gfx:
        cmd += "--nographics "
    else:
        cmd += "--vnc "
with that:
    if no_gfx:
        cmd += "--nographics "
    else:
#        cmd += "--vnc "
        cmd += "--nographics "
Para-virt provisioning is now working. I found spacewalk-koan code from
releases 1.x and it shows:
k.no_gfx = 1
In 2.2.4. it shows:
no_gfx=False,
But if I rollback my modification and replace no_gfx=False,
with no_gfx=True, the issue is still there.

Florian

2015-04-21 16:14 GMT+02:00 Florian Casse <florian.casse.mail at gmail.com>:

> Hi,
>
> From what I saw, Xen default settings disable vfb:
> http://wiki.xen.org/wiki/Xen_3.x_Configuration_File_Options
> So I assume Spacewalk is sending provisioning commands with vfb, but I
> can't see any reference in site-packages folder (where are stored
> virt-install and spacewalk Python scripts).
> I'm stuck because if there is an error during VM provisioning, I can't see
> the error.
>
> I would greatly appreciate any help you can give me in working this
> problem.
>
> Florian
>
>
> 2015-04-16 16:12 GMT+02:00 Florian Casse <florian.casse.mail at gmail.com>:
>
>> Hi,
>>
>> I just upgraded Spacewalk from 1.3 to 2.2. When I'm provisioning a
>> para-virtual machine using Spacewalk, VM console hangs at the following
>> step:
>> Write protecting the kernel read-only data: 483k
>> After looking at the virtual machine configuration, I saw the following
>> line that was not present when provisioning VM with Spacewalk 1.3:
>> vfb = [ "type=vnc,vncunused=1,keymap=fr" ]
>> rhn_check logs :
>> - install is still running, sleeping for 1 minute (5)
>> So I assume virtual machine is being installed, but no way to see Xen VM
>> console.
>> Any idea on how to avoid this line from being added to VM configuration
>> file?
>>
>> Thanks!
>> Florian
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150422/a160bd18/attachment.htm>


More information about the Spacewalk-list mailing list