[root@zeus1 noarch]# cobbler check
exceptions.IOError
[Errno 21] Is a directory
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 65,
in main
return BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 44,
in run
return self.loader.run(args)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 69,
in run
return fn.run()
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py",
line 53, in run
status = self.api.check()
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 303, in
check
return check.run()
File "/usr/lib/python2.4/site-packages/cobbler/action_check.py", line
68, in run
self.check_for_default_password(status)
File "/usr/lib/python2.4/site-packages/cobbler/action_check.py", line
130, in check_for_default_password
fd = open(t)
Thanks in advance,
Rainer
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
05-30-2008, 02:54 PM
Matt Hyclak
cobbler upgrade 0.6.something to 1.0.2 on RHEL5
On Fri, May 30, 2008 at 04:41:55PM +0200, Rainer Duffner enlightened us:
> did the upgrade:
>
> now, what does that mean?
>
> [root@zeus1 noarch]# cobbler check
> exceptions.IOError
> [Errno 21] Is a directory
> File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 65,
> in main
> return BootCLI().run(sys.argv)
> File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 44,
> in run
> return self.loader.run(args)
> File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 69,
> in run
> return fn.run()
> File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py",
> line 53, in run
> status = self.api.check()
> File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 303, in
> check
> return check.run()
> File "/usr/lib/python2.4/site-packages/cobbler/action_check.py", line
> 68, in run
> self.check_for_default_password(status)
> File "/usr/lib/python2.4/site-packages/cobbler/action_check.py", line
> 130, in check_for_default_password
> fd = open(t)
>
>
>
Well, I thought so.
I'd really like to know what file he wants to read which is a
directory on my system.
If the error-message is actually representative of the error...
Rainer
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
Cobbler check is being dumb and doesn't know that all the files in
/var/lib/cobbler/kickstarts are not files. I suppose you have a
directory under version control and it's made a subdirectory in there.
I already have a fix for this in git and it will be in 1.0.1
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
05-30-2008, 03:24 PM
Rainer Duffner
cobbler upgrade 0.6.something to 1.0.2 on RHEL5
Michael DeHaan schrieb:
Cobbler check is being dumb and doesn't know that all the files in
/var/lib/cobbler/kickstarts are not files. I suppose you have a
directory under version control and it's made a subdirectory in there.
I already have a fix for this in git and it will be in 1.0.1
Indeed:
[root@zeus1 cobbler]# ll /var/lib/cobbler/kickstarts
total 48
-rw-r--r-- 1 root root 1640 May 23 12:13 kickstart-centos5-two-disk-opt.ks
-rw-r--r-- 1 root root 1508 Feb 22 09:52
kickstart-rhel4.4-cciss-vmware-server.ks
-rw-r--r-- 1 root root 1537 Mar 14 12:18 kickstart-rhel5-cciss-big-opt.ks
-rw-r--r-- 1 root root 1553 Feb 5 15:27
kickstart-rhel5-cciss-big-usr-local.ks
Though the bit about version-control was slightly over-optimistic...
Can I pull that fix from the web somehow?
The cobbler should start working again on monday ;-)
So, I need to fix it over the weekend ;-)
cheers,
Rainer
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
05-30-2008, 03:37 PM
Michael DeHaan
cobbler upgrade 0.6.something to 1.0.2 on RHEL5
Rainer Duffner wrote:
Michael DeHaan schrieb:
Cobbler check is being dumb and doesn't know that all the files in
/var/lib/cobbler/kickstarts are not files. I suppose you have a
directory under version control and it's made a subdirectory in there.
I already have a fix for this in git and it will be in 1.0.1
Indeed:
[root@zeus1 cobbler]# ll /var/lib/cobbler/kickstarts
total 48
-rw-r--r-- 1 root root 1640 May 23 12:13
kickstart-centos5-two-disk-opt.ks
-rw-r--r-- 1 root root 1508 Feb 22 09:52
kickstart-rhel4.4-cciss-vmware-server.ks
-rw-r--r-- 1 root root 1537 Mar 14 12:18 kickstart-rhel5-cciss-big-opt.ks
-rw-r--r-- 1 root root 1553 Feb 5 15:27
kickstart-rhel5-cciss-big-usr-local.ks