On 02/17/2010 11:10 PM, Michael Cronenworth wrote:
> I have building of packages working from the koji CLI, but I can't seem
> to figure out why I'm getting an error when trying to login through Koji
> web. The error:
>
> Traceback (most recent call last):
> File "/usr/share/koji-web/lib/kojiweb/publisher.py", line 16, in
> publish_object
> return old_publish_object(req, object)
> File "/usr/lib64/python2.6/site-packages/mod_python/publisher.py", line
> 425, in publish_object
> return publish_object(req,util.apply_fs_data(object, req.form, req=req))
> File "/usr/lib64/python2.6/site-packages/mod_python/util.py", line 554, in
> apply_fs_data
> return object(**args)
> File "/usr/share/koji-web/scripts/index.py", line 183, in login
> if not _sslLogin(req, session, username):
> File "/usr/share/koji-web/scripts/index.py", line 70, in _sslLogin
> proxyuser=username)
> File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1458, in
> ssl_login
> sinfo = self.callMethod('sslLogin', proxyuser)
> File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1503, in
> callMethod
> return self._callMethod(name, args, opts)
> File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1548, in
> _callMethod
> raise err
> Fault:<Fault 1: 'Traceback (most recent call last):\n File
> "/usr/share/koji-hub/kojixmlrpc.py", line 203, in _marshaled_dispatch\n
> response = self._dispatch(method, params)\n File
> "/usr/share/koji-hub/kojixmlrpc.py", line 272, in _dispatch\n ret =
> func(*params,**opts)\n File "/usr/lib/python2.6/site-packages/koji/auth.py",
> line 643, in sslLogin\n return context.session.sslLogin(*args, **opts)\n
> File "/usr/lib/python2.6/site-packages/koji/auth.py", line 364, in sslLogin\n
> proxy_dns = [dn.strip() for dn in context.opts.get(\'ProxyDNs\',
> \'\').split(\'|\')]\nAttributeError: \'NoneType\' object has no attribute
> \'split\'\nLocals by frame, innermost last\nFrame HandlerDispatch in
> /usr/lib64/python2.6/site-packages/mod_python/importer.py at line 1537\n
> req =<mp_request object at 0x7f3dd18c7a10>\n
> parent = None\n config = {\'PythonAutoReload\': \'0\',
> \'PythonDebug\': \'0\'}\n self =<mod_python.apache
.C
> allBack instance at 0x7f3de0519e60>\n cache =<ERROR WHILE
> PRINTING VALUE>\n default_handler = handler\n....
>
> The traceback goes on for a while. I have all my certs in order, I believe,
> and the koji CLI is working great. I also created a new account, but I get
> the same error. Any ideas?
You need to uncomment the ProxyDNs config entry in hub.conf. It should
be set to the DN of the WebCert referenced in kojiweb.conf. This is how
you setup a trust relationship between the hub and web, and allow the
web user to login to the hub on behalf of other users.
> Thanks,
> Michael
>
>
>
> --
> buildsys mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
--
buildsys mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/buildsys