Re: [et-mgmt-tools] cobbler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick Vinyard wrote:
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@xxxxxxxxxx <mailto:mdehaan@xxxxxxxxxx>> 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@xxxxxxxxxx <mailto:et-mgmt-tools@xxxxxxxxxx>
    > 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@xxxxxxxxxx <mailto:et-mgmt-tools@xxxxxxxxxx>
    https://www.redhat.com/mailman/listinfo/et-mgmt-tools
    <https://www.redhat.com/mailman/listinfo/et-mgmt-tools>


------------------------------------------------------------------------

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

This error appears to be due to something in the config files themselves confusing the YAML deserializer. If you can tar up and send me /var/lib/cobbler/* off list, I'll check it out. I actually only need /var/lib/cobbler/{settings|repos|profiles|distros|systems} so you can skip the other files if you like.

Also it would be helpful to know if this was a clean install or an upgrade.

--Michael



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux