[Spacewalk-list] problem provisioning a VM through spacewalk
Bill Gunter
bill.gunter at ni.com
Wed Mar 5 11:56:09 UTC 2014
Ah, yes, sorry, I was misinterpreting what's happening in the code.
Anyway, I've tried both an HVM and a PVM and get the "Invalid function
call attempted" for both. Here's the error for a PVM:
D: handle_action{'action': "<?xml
version='1.0'?>\n<methodCall>\n<methodName>kickstart_guest.initiate</methodName>\n<params>\n<param>\n<value><string>kyle.natinst.com</string></value>\n</param>\n<param>\n<value><string>viola:1:destiny1</string></value>\n</param>\n<param>\n<value><string>xenpv</string></value>\n</param>\n<param>\n<value><int>46</int></value>\n</param>\n<param>\n<value><string>destiny1</string></value>\n</param>\n<param>\n<value><int>2048</int></value>\n</param>\n<param>\n<value><int>7</int></value>\n</param>\n<param>\n<value><int>50</int></value>\n</param>\n<param>\n<value><string>xenbr0</string></value>\n</param>\n<param>\n<value><string>/var/lib/xen/images/destiny1</string></value>\n</param>\n<param>\n<value><string>
</string></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2,
'id': 8318}
D: handle_action actionid = 8318, version = 2
D: do_call kickstart_guest.initiate('kyle.natinst.com',
'viola:1:destiny1', 'xenpv', 46, 'destiny1', 2048, 7, 50, 'xenbr0',
'/var/lib/xen/images/destiny1', ' '){'cache_only': None}
D: Attempt to call an unsupported action
kickstart_guest.initiate('kyle.natinst.com', 'viola:1:destiny1', 'xenpv',
46, 'destiny1', 2048, 7, 50, 'xenbr0', '/var/lib/xen/images/destiny1', '
')
D: Sending back response(6, 'Invalid function call attempted', {})
--
Bill Gunter, RHCSA | Unix Administrator | National Instruments Ireland |
bill.gunter at ni.com | Ph:+353 1 247 5935
From: Milan Zázrivec <mzazrivec at redhat.com>
To: spacewalk-list at redhat.com,
Date: 05/03/2014 11:24
Subject: Re: [Spacewalk-list] problem provisioning a VM through
spacewalk
Sent by: spacewalk-list-bounces at redhat.com
On Tuesday 04 March 2014 17:11:00 Bill Gunter wrote:
> I've been trying to initiate a kickstart on a Xen host and running into
a
> problem. I've tried this with both Spacewalk 2.0 and 2.1 (installed just
> today). rhn_check -vvvv is throwing this:
>
> D: logininfo:{'X-RHN-Server-Id': 1000010670, 'X-RHN-Auth-Server-Time':
> '1393952210.29', 'X-RHN-Auth': 'P/qYAiT/RnrstqsawvaYqA==',
> 'X-RHN-Auth-Channels': [['oracle5-base-x86_64', '20130220083757', '1',
> '1'], ['oracle-epel5-x86_64', '20140221052303', '0', '1'],
> ['oracle-spacewalk-client-x86_64', '20140304094033', '0', '1'],
> ['oracle5-ni-x86_64', '20130408082427', '0', '1'],
['oracle5-q313-x86_64',
> '20130604030750', '0', '1']], 'X-RHN-Auth-User-Id': '',
> 'X-RHN-Auth-Expire-Offset': '3600.0'}
> D: handle_action{'action': "<?xml
>
version='1.0'?>\n<methodCall>\n<methodName>kickstart_guest.initiate</methodN
>
ame>\n<params>\n<param>\n<value><string>kyle.natinst.com</string></value>\n<
>
/param>\n<param>\n<value><string>viola:1:destiny1</string></value>\n</param>
>
\n<param>\n<value><string>xenfv</string></value>\n</param>\n<param>\n<value>
>
<int>44</int></value>\n</param>\n<param>\n<value><string>destiny1</string></
>
value>\n</param>\n<param>\n<value><int>2048</int></value>\n</param>\n<param>
>
\n<value><int>7</int></value>\n</param>\n<param>\n<value><int>50</int></valu
>
e>\n</param>\n<param>\n<value><string>xenbr0</string></value>\n</param>\n<pa
>
ram>\n<value><string>/var/lib/xen/images/destiny1</string></value>\n</param>
> \n<param>\n<value><string>
> </string></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2,
> 'id': 8299}
> D: handle_action actionid = 8299, version = 2
> D: do_call kickstart_guest.initiate('kyle.natinst.com',
> 'viola:1:destiny1', 'xenfv', 44, 'destiny1', 2048, 7, 50, 'xenbr0',
> '/var/lib/xen/images/destiny1', ' '){'cache_only': None}
> D: Attempt to call an unsupported action
> kickstart_guest.initiate('kyle.natinst.com', 'viola:1:destiny1',
'xenfv',
> 44, 'destiny1', 2048, 7, 50, 'xenbr0', '/var/lib/xen/images/destiny1', '
> ')
> D: Sending back response(6, 'Invalid function call attempted', {})
>
> I checked /usr/share/rhn/actions/kickstart_guest.py on the host (from
> spacewalk-koan-2.1.4-1.el5) and see that the import of kickstart_guest
is
> remmed out:
>
> import sys
>
> rhnpath="/usr/share/rhn"
> if rhnpath not in sys.path:
> sys.path.append(rhnpath)
>
> #from rhnkickstart import kickstart_guest
> from spacewalkkoan import spacewalkkoan
>
> Why is spacewalk asking the host to run something that seems to be
> deprecated?
This is OK, it's just an unnedded import (I removed it now).
Calling kickstart_guest.initiate() by rhn_check translates to
calling initiate() from /usr/share/rhn/actions/kickstart_guest.py
Do I understand correctly that you're trying to create a fully virtualized
xen guest?
-MZ
_________________________
______________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
National Instruments Ireland Resources Ltd.
Unit 302 | Omni Business Park | Swords Road | Santry | Dublin 9
Registered Office: 39/40 Upper Mount Street, Dublin 1
Company Registered No.377471
Tel: +353 1 2475900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140305/cb009a8a/attachment.htm>
More information about the Spacewalk-list
mailing list