Hi
Sorry to be causing a lot of noise on here but once i get the basics i
think i'll be quiet!
I appear to have done something wrong, i am trying to add systems using
variables. Anyhow i have put everything back to how it was (when it
worked) i have only been editing my .ks's and trying to add a few systems.
Anyhow whenever i do anything to my system now i am left with the the
following. Can anyone help me 'reset' things as a cobbler sync blows up
with the following.
thanks for any pointers to debug these things!
tom
# cobbler system delete --name=test
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 783,
in main
BootCLI(sys.argv).run()
File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 42,
in __init__
self.api = api.BootAPI()
File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 43, in
__init__
self.deserialize()
File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 227, in
deserialize
return self._config.deserialize()
File "/usr/lib/python2.3/site-packages/cobbler/config.py", line 169,
in deserialize
if not serializer.deserialize(x,topological=True):
File "/usr/lib/python2.3/site-packages/cobbler/serializer.py", line
64, in deserialize
return storage_module.deserialize(obj,topological)
File
"/usr/lib/python2.3/site-packages/cobbler/modules/serializer_yaml.py",
line 100, in deserialize
datastruct = yaml.load(data).next() # first record
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line 84,
in next
return self.parseLines()
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line 93,
in parseLines
return self.parse_collection([], self.parse_seq_line)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
101, in parse_collection
lineParser(items)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
107, in parse_seq_line
items.append(self.parse_seq_value(value))
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
151, in parse_seq_value
return self.parse_value(value)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
166, in parse_value
value = self.parse_unaliased_value(value)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
181, in parse_unaliased_value
return self.parse_untyped_value(value)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
230, in parse_untyped_value
return self.parseLines()
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line 95,
in parseLines
return self.parse_collection(self.dictionary(), self.parse_map_line)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
101, in parse_collection
lineParser(items)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
115, in parse_map_line
self.parse_map_line_simple(items, self.line)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
134, in parse_map_line_simple
items[key] = self.parse_value(value)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
166, in parse_value
value = self.parse_unaliased_value(value)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
181, in parse_unaliased_value
return self.parse_untyped_value(value)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
230, in parse_untyped_value
return self.parseLines()
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line 93,
in parseLines
return self.parse_collection([], self.parse_seq_line)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
101, in parse_collection
lineParser(items)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line
109, in parse_seq_line
self.error("missing '-' for seq")
File "/usr/lib/python2.3/site-packages/cobbler/yaml/load.py", line 64,
in error
self.nestedDocs.error(msg, self.line)
File "/usr/lib/python2.3/site-packages/cobbler/yaml/stream.py", line
188, in error
raise YamlLoaderException(msg, self.lastLineRead(), line, self.filename)
YamlLoaderException: missing '-' for seq:
near line 19:
gateway: '192.168.10.1'
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools