Maybe some more infos are helpful:

I use this command:

cobbler system add --name=testtest --mac-address=aa:aa:aa:aa:aa:aa 
--ip-address=1xx.xx.xx.x

With 

cobbler system list

i see no new entrys. The same in the WebGUI.

I the log i found this, but i can't interprete it:

Wed May 30 09:43:25 2012 - DEBUG | REMOTE CLI Authorized; user(?)
Wed May 30 09:43:25 2012 - DEBUG | get_item; ['system', 'testtest']
Wed May 30 09:43:25 2012 - DEBUG | done with get_item; ['system', 'testtest']
Wed May 30 09:43:25 2012 - INFO | Exception occured: <class 
'cobbler.cexceptions.CX'>
Wed May 30 09:43:25 2012 - INFO | Exception value: 'internal error, unknown 
system name testtest'
Wed May 30 09:43:25 2012 - INFO | Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 862, in 
xapi_object_edit
    handle = self.get_item_handle(object_type, object_name)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 655, in 
get_item_handle
    raise CX("internal error, unknown %s name %s" % (what,name))

Wed May 30 09:43:25 2012 - INFO | REMOTE new_item(system); user(<DIRECT>)
Wed May 30 09:43:25 2012 - DEBUG | REMOTE CLI Authorized; user(?)
Wed May 30 09:43:25 2012 - INFO | REMOTE modify_item(system); user(<DIRECT>); 
object_id(___NEW___system::i1ih1EiVPKDi7oxsInsleVq83Bi+n4Y+
Zg==); attribute(in_place)
Wed May 30 09:43:25 2012 - DEBUG | REMOTE CLI Authorized; user(?)
Wed May 30 09:43:25 2012 - INFO | REMOTE modify_item(system); user(<DIRECT>); 
object_id(___NEW___system::i1ih1EiVPKDi7oxsInsleVq83Bi+n4Y+
Zg==); attribute(name)
Wed May 30 09:43:25 2012 - DEBUG | REMOTE CLI Authorized; user(?)
Wed May 30 09:43:25 2012 - INFO | REMOTE modify_item(system); user(<DIRECT>); 
object_id(___NEW___system::i1ih1EiVPKDi7oxsInsleVq83Bi+n4Y+
Zg==); attribute(modify_interface)
Wed May 30 09:43:25 2012 - DEBUG | REMOTE CLI Authorized; user(?)
Wed May 30 09:43:25 2012 - INFO | find_items; ['system']
Wed May 30 09:43:25 2012 - INFO | find_items; ['system']
Wed May 30 09:43:25 2012 - INFO | REMOTE save_item(system); user(<DIRECT>); 
object_id(___NEW___system::i1ih1EiVPKDi7oxsInsleVq83Bi+n4Y+Zg
==)
Wed May 30 09:43:25 2012 - DEBUG | REMOTE CLI Authorized; user(?)
Wed May 30 09:43:25 2012 - INFO | add_item(system); ['testtest']
Wed May 30 09:43:25 2012 - DEBUG | get_items; ['system']
Wed May 30 09:43:25 2012 - DEBUG | done with get_items; ['system']


So, what is wrong?

Detlev


--
  Detlev  | Institut fuer Mikroelektronische Systeme
  Habicht | D-30167 Hannover +49 511 76219662 [email protected]
  --------+-------- Handy    +49 172 5415752  ---------------------------

Am 29.05.2012 um 21:05 schrieb Detlev Habicht:

> 
> Hi all,
> 
> i am using Cobbler 2.2.2 and i activated DHCP management.
> 
> This is working fine with profiles, pxe and so on.
> 
> But when i try to install a host only for DHCP, i have no
> entrys. No DHCP entry and no system entry in Cobbler. 
> I want to set only MAC, IP and hostname.
> 
> So, what is the right way to setup a DHCP-only entry
> via Web or CLI?
> 
> Thanx for any help.
> 
> Detlev
> 
> --
>   Detlev  | Institut fuer Mikroelektronische Systeme
>   Habicht | D-30167 Hannover +49 511 76219662 [email protected]
>   --------+-------- Handy    +49 172 5415752  ---------------------------
> 
> 
> 
> 
> 
> 
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to