I'm saving a profile in the Cobbler WebUI. I'm not sure which
command
is run from that:
http://cobblerserver/cobbler/web/?mode=profile_save
When did you create the repos? Also using the webapp or from the
CLI? Just then or later?
It may be we have a problem with WebUI persistence, but a bit more
details on steps to recreate from the ground up (say a clean restart of
cobblerd and a new visit to the webapp)
would be useful in trying to repro this.
Should be easy enough to take care of. So far the only caching problem
I'm aware of is images still show up in the images list after you delete
the image (and only the image) from the CLI.
--Michael
On Tue, Apr 21, 2009 at 1:09 PM, Michael DeHaan
<mdehaan(a)redhat.com> wrote:
> Nicholas Schuetz wrote:
>
>> 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:
>>
>>
>>
> What command are you running?
>
> i.e:
>
> cobbler profile edit --name=foo --repos="name1 name2 name3" ?
>
>
>
>> ---
>> 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
>> _______________________________________________
>> cobbler mailing list
>> cobbler(a)lists.fedorahosted.org
>>
https://fedorahosted.org/mailman/listinfo/cobbler
>>
>>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
>
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler