[et-mgmt-tools] Cobbler API - Mac registration problem

Michael DeHaan mdehaan at redhat.com
Wed Apr 30 11:32:50 UTC 2008


Pablo Iranzo Gómez wrote:
> 	Is it possible to have the script to play with it?
>
> 	Will try to check how this works and possible usages :)
>
> 	Thanks!
> 	Pablo
>
>   

Mac registration has been revamped.   It works /very/ well in 0.9.X (the 
devel branch) at this point.
There is a new registration enabling option in settings to turn on but 
it works a lot more smoothly.

If you would like to play with the devel version before we have a test 
release, see the instructions at

https://fedorahosted.org/cobbler/wiki/QuickDevelRpmBuildGuide

We will have a test release probably next week with source rpms but 
there's no reason you couldn't try it
now...

> El mié, 30-04-2008 a las 09:42 +0100, Eamonn Walsh escribió:
>   
>> Hi Guys,
>>
>> Doing some work with the cobbler api and getting the fallowing error
>>
>> Traceback (most recent call last):
>>   File "rpc-cobbler-test", line 20, in ?
>>     remote.modify_system(system_id, 'interfaces : mac_address',
>> 'FF:EE:DD:CC:BB:AA', token)
>>   File "/usr/lib/python2.4/xmlrpclib
>> .py", line 1096, in __call__
>>     return self.__send(self.__name, args)
>>   File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
>>     verbose=self.__verbose
>>   File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
>>     return self._parse_response(h.getfile(), sock)
>>   File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in
>> _parse_response
>>     return u.close()
>>   File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
>>     raise Fault(**self._stack[0])
>> xmlrpclib.Fault: <Fault 1: "cobbler.cexceptions.CX:'object has no
>> method: mac'">
>>
>> Line of code causing this problem:
>>
>> remote.modify_system(sys_id, 'mac', 'AA:BB:CC:DD:EE:FF', token)
>>
>> Any ideas? Using cobbler 0.8.3-3.el5
>>
>> Thanks,
>>
>> Eamonn
>> _______________________________________________
>> et-mgmt-tools mailing list
>> et-mgmt-tools at redhat.com
>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>     
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> et-mgmt-tools mailing list
>> et-mgmt-tools at redhat.com
>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools




More information about the et-mgmt-tools mailing list