Hi All,
Earlier this morning I cloned master and made rpms from that to get the
quickfix from https://fedorahosted.org/cobbler/ticket/547. Having installed
these RPMs I can now edit Profiles just fine, however I'm unable to add
Systems. Whether via webui or commandline, I try to add e.g.
cobbler system add --name=util.virt.local --profile=f1254-updated-virt
--kickstart=/var/lib/cobbler/kickstarts/base.ks --virt-type=qemu
--hostname=util.virt.local
... and this is the result:
### ERROR ###
Unexpected remote error, check the server side logs for further info
<type 'exceptions.AttributeError'>:System instance has no attribute
'set_template_remote_kickstarts'
cobbler.log says the following:
Wed Jan 13 08:21:32 2010 - INFO | REMOTE new_item(system); user(<DIRECT>)
Wed Jan 13 08:21:32 2010 - DEBUG | authorize; ['<DIRECT>', 'new_system',
None, None, True]
Wed Jan 13 08:21:32 2010 - INFO | REMOTE authorization result: True; user(?)
Wed Jan 13 08:21:32 2010 - INFO | REMOTE modify_item(system);
user(<DIRECT>);
object_id(___NEW___system::7/bI9fzJzVUjoW75tsgQI6Vo9tPfmRJQIw==);
attribute(profile)
Wed Jan 13 08:21:32 2010 - DEBUG | authorize; ['<DIRECT>', 'modify_system',
<cobbler.item_system.System instance at 0x7ffab00abb48>, 'profile', True]
Wed Jan 13 08:21:32 2010 - INFO | REMOTE authorization result: True; user(?)
Wed Jan 13 08:21:32 2010 - INFO | Exception occured: <type
'exceptions.AttributeError'>
Wed Jan 13 08:21:32 2010 - INFO | Exception value: System instance has no
attribute 'set_template_remote_kickstarts'
Wed Jan 13 08:21:32 2010 - INFO | Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 1737, in
_dispatch
return method_handle(*params)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 835, in
xapi_object_edit
self.modify_item(object_type,handle,k,v,token)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 752, in
modify_item
method = obj.remote_methods().get(attribute, None)
File "/usr/lib/python2.6/site-packages/cobbler/item.py", line 86, in
remote_methods
return utils.get_remote_methods_from_fields(self,self.get_fields())
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 1766, in
get_remote_methods_from_fields
ds[name] = getattr(obj,"set_%s" % name)
I've otherwise been able to use Koan to install virtual guests, so things
are generally functional; I'm just wondering if this is user/admin error on
my part (did I leave something critical unset?), or if there's something
broken here.
--
Justin Meyer
[email protected]
Cell: 408-489-0117
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler