FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 02-17-2010, 09:10 PM
Michael Cronenworth
 
Default SSL login error on local koji instance

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):
File "/usr/share/koji-hub/kojixmlrpc.py", line 203, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/share/koji-hub/kojixmlrpc.py", line 272, in _dispatch
ret = func(*params,**opts)
File "/usr/lib/python2.6/site-packages/koji/auth.py", line 643, in sslLogin
return context.session.sslLogin(*args, **opts)
File "/usr/lib/python2.6/site-packages/koji/auth.py", line 364, in sslLogin
proxy_dns = [dn.strip() for dn in context.opts.get('ProxyDNs', ').split('|')]
AttributeError: 'NoneType' object has no attribute 'split'
Locals by frame, innermost last
Frame HandlerDispatch in /usr/lib64/python2.6/site-packages/mod_python/importer.py at line 1537
req =<mp_request object at 0x7f3dd18c7a10>
parent = None
config = {'PythonAutoReload': '0', 'PythonDebug': '0'}
self =<mod_python.apache.C
allBack instance at 0x7f3de0519e60>
cache =<ERROR WHILE PRINTING VALUE>
default_handler = handler
....

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?


Thanks,
Michael



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 02-17-2010, 11:39 PM
Mike Bonnet
 
Default SSL login error on local koji instance

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):
File "/usr/share/koji-hub/kojixmlrpc.py", line 203, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/share/koji-hub/kojixmlrpc.py", line 272, in _dispatch
ret = func(*params,**opts)
File "/usr/lib/python2.6/site-packages/koji/auth.py", line 643, in sslLogin
return context.session.sslLogin(*args, **opts)
File "/usr/lib/python2.6/site-packages/koji/auth.py", line 364, in sslLogin
proxy_dns = [dn.strip() for dn in context.opts.get('ProxyDNs', ').split('|')]
AttributeError: 'NoneType' object has no attribute 'split'
Locals by frame, innermost last
Frame HandlerDispatch in /usr/lib64/python2.6/site-packages/mod_python/importer.py at line 1537
req =<mp_request object at 0x7f3dd18c7a10>
parent = None
config = {'PythonAutoReload': '0', 'PythonDebug': '0'}
self =<mod_python.apache
.C
> allBack instance at 0x7f3de0519e60>
cache =<ERROR WHILE PRINTING VALUE>
default_handler = handler
....
>
> 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
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 02-18-2010, 01:48 PM
Michael Cronenworth
 
Default SSL login error on local koji instance

Mike Bonnet wrote:
> 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.

Ah ha... The wiki was out of date, but not any more.

Danke!
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 02:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org