Hello,
I am getting the following error when I try to add two repos to a
profile. I can save the profile with an individual repo defined
though. When more than one is defined I get this error:
---
2009-04-21 12:40:13,013 - api - Exception occured: cobbler.cexceptions.CX
2009-04-21 12:40:13,013 - api - Exception value: "repo
['RHEL-5-i386-TEST', 'RHEL-5-i386-THIRDPARTY'] is not defined"
2009-04-21 12:40:13,014 - api - Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
1567, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
1392, in modify_profile
return self.__call_method(obj, attribute, arg)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
1374, in __call_method
return method(arg)
File "/usr/lib/python2.4/site-packages/cobbler/item_profile.py",
line 253, in set_repos
return utils.set_repos(self,repos,bypass_check)
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line
1123, in set_repos
raise CX(_("repo %s is not defined") % r)
---
I see both repos in the repo list:
# cobbler repo list
RHEL-5-i386-INTEG
RHEL-5-i386-PROD
RHEL-5-i386-TEST
RHEL-5-i386-UAT
RHEL-5-i386-THIRDPARTY
I did do a cobbler reposync after creating the latest repo
"RHEL-5-i386-TEST" with cobbler 1.6.3. All other repos where created
with previous versions of cobbler.
Can anyone out there help me understand what is going on here?
I am running cobbler 1.6.3 on RHEL 5 x86.
Regards,
Nick