On Thu, 31 Mar 2011 17:20:14 -0400, "Jaganathan, Selvakumar" 
<[email protected]> wrote:
> Hi there,
> 
> I ran the below command to remove system in cobbler version 1.6.6

Is there a reason you haven't upgraded to 2.0.x yet?

> [root@cobbler-server ~]# cobbler system remove --name=systemname
> [root@cobbler-server ~]#
> 
> Then, when I add the system, I get the below errors.
> [root@cobbler-server ~]# cobbler system add --name=systemname 
> --profile=rhel5-test --hostname=systemname --netboot-enabled=0 
> --interface=eth0 --ip=xxxxxxxx --static=1 --subnet=255.255.255.0 
> --gateway=xxxxxxx --kopts="ksdevice=eth0 ip=xxxxxxxx netmask=255.255.255.0 
> gateway=xxxxxxxx"
> 
> [Errno 21] Is a directory
>   File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 83, in main
>     rc = BootCLI().run(sys.argv)
> 
>   File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 45, in 
> __init__
>     self.api = api.BootAPI(is_cobblerd=False)
> 
>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 110, in 
> __init__
>     self.deserialize()
> 
>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 623, in 
> deserialize
>     return self._config.deserialize()
> 
>   File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 213, in 
> deserialize
>     serializer.deserialize(self._profiles)
> 
>   File "/usr/lib/python2.4/site-packages/cobbler/serializer.py", line 135, in 
> deserialize
>     rc = storage_module.deserialize(obj,topological)
> 
>   File 
> "/usr/lib/python2.4/site-packages/cobbler/modules/serializer_catalog.py", 
> line 176, in deserialize
>     datastruct = deserialize_raw(obj.collection_type())
> 
>   File 
> "/usr/lib/python2.4/site-packages/cobbler/modules/serializer_catalog.py", 
> line 142, in deserialize_raw
>     fd = open(f)
> 
> [root@cobbler-server ~]#
> 
> 
> I am not able to run any cobbler, I get the above error messages.
> 
> Appreciate your help on this.

Can you give me a directory listing of /var/lib/cobbler/config? Thanks.

-- 
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME

Attachment: pgpAOu8e16fFY.pgp
Description: PGP signature

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

Reply via email to