Sorry to be replying to my own message … If I change all the keep_updated to ‘y’
from ‘1’ in /var/lib/cobbler/repos the error I was seeing goes
away.
From: All- I was interested in trying out the new reposync stuff and
after I grabbed the source from git, rebuilt it and ran a command I got this: %cobbler sync Traceback (most recent call last): File
"/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 711, in
main BootCLI(sys.argv).run() File
"/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 42, in
__init__ self.api = api.BootAPI() File
"/usr/lib/python2.4/site-packages/cobbler/api.py", line 43, in
__init__ self.deserialize() File
"/usr/lib/python2.4/site-packages/cobbler/api.py", line 227, in
deserialize return self._config.deserialize() File
"/usr/lib/python2.4/site-packages/cobbler/config.py", line 165, in
deserialize if not serializer.deserialize(x,topological=True): File
"/usr/lib/python2.4/site-packages/cobbler/serializer.py", line 45, in
deserialize return
storage_module.deserialize(obj,topological) File
"/usr/lib/python2.4/site-packages/cobbler/modules/serializer_yaml.py",
line 92, in deserialize obj.from_datastruct(datastruct) File
"/usr/lib/python2.4/site-packages/cobbler/collection.py", line 137,
in from_datastruct item =
self.factory_produce(self.config,seed_data) File
"/usr/lib/python2.4/site-packages/cobbler/collection_repos.py", line
37, in factory_produce return
repo.Repo(config).from_datastruct(seed_data) File
"/usr/lib/python2.4/site-packages/cobbler/item_repo.py", line 52, in
from_datastruct self.set_keep_updated(self.keep_updated) File "/usr/lib/python2.4/site-packages/cobbler/item_repo.py",
line 79, in set_keep_updated if not keep_updated.lower() in
["yes","y","yup","yeah","1","true"]: AttributeError: 'int' object has no attribute 'lower'
|
_______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools