Woah that's an odd one. Happens with snippets too. I'll add that to the
list.
On Mar 30, 2011 2:43 PM, "Jonathan Sabo" <jsabo(a)criminal.org> wrote:
Can you also try and click on "edit" in the Cobbler
kickstart
templates and see why that's throwing exceptions as well. I'm not
positive it's related to these changes. Here is the traceback.
Environment:
Request Method: GET
Request URL:
http://192.168.69.3/cobbler_web/ksfile/edit/var/lib/cobbler/kickstarts/ks...
Django Version: 1.1.1
Python Version: 2.4.3
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'cobbler_web']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback:
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py"
in get_response
92. response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/share/cobbler/web/cobbler_web/views.py" in ksfile_edit
611. ksdata =
remote.read_or_write_kickstart_template(ksfile_name, True, "",
request.session['token'])
File "/usr/lib64/python2.4/xmlrpclib.py" in __call__
1096. return self.__send(self.__name, args)
File "/usr/lib64/python2.4/xmlrpclib.py" in __request
1383. verbose=self.__verbose
File "/usr/lib64/python2.4/xmlrpclib.py" in request
1147. return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.4/xmlrpclib.py" in _parse_response
1286. return u.close()
File "/usr/lib64/python2.4/xmlrpclib.py" in close
744. raise Fault(**self._stack[0])
Exception Type: Fault at
/ksfile/edit/var/lib/cobbler/kickstarts/ks-vmware-esxi4.1-x86_64
Exception Value: <Fault 1: "cobbler.cexceptions.CX:'tainted file
location'">
On Wed, Mar 30, 2011 at 3:02 PM, James Cammarata <jimi(a)sngx.net> wrote:
> Whoopsie... I didn't catch that. I'll send in a patch tonight, the
> remote.login() call just needs to be wrapped in a try/except.
>
> On Mar 30, 2011 12:55 PM, "Jonathan Sabo" <jsabo(a)criminal.org>
wrote:
>> On Mon, Mar 28, 2011 at 4:11 PM, Scott Henson <shenson(a)redhat.com>
wrote:
>>> On Sat, 26 Mar 2011 19:12:43 -0500, James Cammarata
<jimi(a)sngx.net>
>>> wrote:
>>>> Forgot a file:
>>>>
>>>>
>>>>
https://github.com/jimi1283/cobbler/commit/4ec3733b5ffbf8abd3059653fe4a48...
>>>
>>> Merged, thanks.
>>>
>>> --
>>> Scott Henson
>>> Red Hat CIS Operator
>>> WVU Alum BSAE/BSME
>>>
>>> _______________________________________________
>>> cobbler-devel mailing list
>>> cobbler-devel(a)lists.fedorahosted.org
>>>
https://fedorahosted.org/mailman/listinfo/cobbler-devel
>>>
>>>
>>
>> It's throwing exceptions when you log in with the wrong username or
>> password. Did you not see that when you tested it?
>