[et-mgmt-tools] cobbler

Rick Vinyard rick.vinyard at gmail.com
Thu Jun 7 20:17:55 UTC 2007


Tried cobbler rpms 0.4.8-1 and 0.4.7-5 with identical results.

$ mount -o loop F-7-x86_64-DVD.iso tmpmount
$ cobbler import --name=F-7-x86_64 --mirror=tmpmount
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 636, in
main
    BootCLI(sys.argv).run()
  File "/usr/lib/python2.5/site-packages/cobbler/cobbler.py", line 37, in
__init__
    self.api = api.BootAPI()
  File "/usr/lib/python2.5/site-packages/cobbler/api.py", line 41, in
__init__
    self.deserialize()
  File "/usr/lib/python2.5/site-packages/cobbler/api.py", line 171, in
deserialize
    return self._config.deserialize()
  File "/usr/lib/python2.5/site-packages/cobbler/config.py", line 158, in
deserialize
    if not serializer.deserialize(x):
  File "/usr/lib/python2.5/site-packages/cobbler/serializer.py", line 69, in
deserialize
    datastruct = yaml.load(data).next()  # first record
  File "/usr/lib/python2.5/site-packages/cobbler/yaml/load.py", line 83, in
next
    self.nestedDocs.nestToNextLine()
  File "/usr/lib/python2.5/site-packages/cobbler/yaml/stream.py", line 131,
in nestToNextLine
    indentation = indentLevel(line)
  File "/usr/lib/python2.5/site-packages/cobbler/yaml/stream.py", line 6, in
indentLevel
    while n < len(line) and line[n] == ' ':
TypeError: object of type 'NoneType' has no len()
$

On 6/7/07, Michael DeHaan <mdehaan at redhat.com> wrote:
>
> Rick Vinyard wrote:
> > Is there currently a bug in cobbler?
> >
> > Trying a cobbler import on F7-i386 results in a python type error.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > et-mgmt-tools mailing list
> > et-mgmt-tools at redhat.com
> > https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
> Please post the full command line used and the traceback, plus what
> cobbler version you are using.
>
> Thanks,
>
> Michael
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070607/29e69d51/attachment.htm>


More information about the et-mgmt-tools mailing list