Hi Will,

  Does your /etc/cobbler/settings have these 2 stanzas?


# external proxy - used by: get-loaders, reposync, signature update
# eg: proxy_url_ext: "http://192.168.1.1:8080";
proxy_url_ext: ""

# internal proxy - used by systems to reach cobbler for kickstarts
# eg: proxy_url_int: "http://10.0.0.1:8080";
proxy_url_int: ""

:D
  Andy

On Thu, Oct 23, 2014 at 8:03 AM, Will Dennis <[email protected]> wrote:
> I had copied an existing profile, changed the KS on the new one, and when I
> clicked “Save” I got the following traceback:
>
>
>
>
>
> Traceback:
>
>
>
> Environment:
>
>
>
>
>
> Request Method: POST
>
> Request URL: http://192.168.1.150/cobbler_web/profile/save
>
>
>
> Django Version: 1.4.14
>
> Python Version: 2.6.6
>
> Installed Applications:
>
> ('django.contrib.auth',
>
> 'django.contrib.contenttypes',
>
> 'django.contrib.sessions',
>
> 'django.contrib.sites',
>
> 'cobbler_web')
>
> Installed Middleware:
>
> ('django.middleware.common.CommonMiddleware',
>
> 'django.middleware.csrf.CsrfViewMiddleware',
>
> 'django.contrib.sessions.middleware.SessionMiddleware',
>
> 'django.contrib.auth.middleware.AuthenticationMiddleware')
>
>
>
>
>
> Traceback:
>
> File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in
> get_response
>
>   109.                         response = callback(request, *callback_args,
> **callback_kwargs)
>
> File "/usr/lib/python2.6/site-packages/django/views/decorators/http.py" in
> inner
>
>   41.             return func(request, *args, **kwargs)
>
> File "/usr/lib/python2.6/site-packages/django/utils/decorators.py" in
> _wrapped_view
>
>   91.                     response = view_func(request, *args, **kwargs)
>
> File "/usr/share/cobbler/web/cobbler_web/views.py" in generic_save
>
>   1168.     fields = get_fields(what, subobject)
>
> File "/usr/share/cobbler/web/cobbler_web/views.py" in get_fields
>
>   173.             elem["value"] = settings[key]
>
>
>
> Exception Type: KeyError at /profile/save
>
> Exception Value: 'proxy_url_int'
>
>
>
>
>
>
>
> It is reproducible on my system.
>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to