[Pulp-list] New Pulp installation - unknown errors

Jay Dobies jason.dobies at redhat.com
Tue Jan 25 21:06:19 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This looks like a python version issue. What version of python are you
using? What operating system?

If it's python 2.4, we've only just sorted these issues out in our
testing build (built yesterday, as compared to the community release
which does not contain the fixes).

The testing repository is hosted along side the community release (be
sure to append the appropriate os/arch to the following URL):
http://repos.fedorapeople.org/repos/pulp/pulp/testing/

And the installation instructions:
https://fedorahosted.org/pulp/wiki/UGInstallation

Please let me know if you keep running into issues.



On 01/25/2011 04:01 PM, Kevin Holmes wrote:
> Hi everyone,
> 
> New Pulp install and I'm having a problem.
> 
> I cannot seem to issue any commands with the pulp cli tools.
> 
> For instance:
> 
> [root at blueberry pub]# pulp-admin auth login -u admin -p admin
> Traceback (most recent call last):
>   File "/usr/bin/pulp-admin", line 147, in ?
>     admin.main()
>   File "/usr/lib/python2.4/site-packages/pulp/client/cli/base.py", line
> 98, in main
>     command.main(args[1:])
>   File "/usr/lib/python2.4/site-packages/pulp/client/core/base.py", line
> 118, in main
>     action.main(args[1:])
>   File "/usr/lib/python2.4/site-packages/pulp/client/core/base.py", line
> 229, in main
>     self.run()
>   File "/usr/lib/python2.4/site-packages/pulp/client/core/auth.py", line
> 47, in run
>     cert_dict = self.authconn.admin_certificate()
>   File "/usr/lib/python2.4/site-packages/pulp/client/connection.py",
> line 671, in admin_certificate
>     return self.conn.request_get(method)
>   File "/usr/lib/python2.4/site-packages/pulp/client/connection.py",
> line 126, in request_get
>     return self._request("GET", method)
>   File "/usr/lib/python2.4/site-packages/pulp/client/connection.py",
> line 114, in _request
>     self.validateResponse(response)
>   File "/usr/lib/python2.4/site-packages/pulp/client/connection.py",
> line 122, in validateResponse
>     raise RestlibException(response.status, response.read())
>   File "/usr/lib/python2.4/site-packages/pulp/client/connection.py",
> line 50, in __init__
>     super(RestlibException, self).__init__(code, msg)
> TypeError: super() argument 1 must be type, not classobj
> 
> Corresponding Apache logs:
> 
> ==> ssl_access_log <==
> 127.0.0.1 - - [25/Jan/2011:15:46:47 -0500] "GET
> /pulp/api//users/admin_certificate/ HTTP/1.1" 500 609
> 
> ==> ssl_error_log <==
> [Tue Jan 25 15:48:47 2011] [error] [client 127.0.0.1] Premature end of
> script headers: webservices.wsgi
> 
> ==> ssl_request_log <==
> [25/Jan/2011:15:46:47 -0500] 127.0.0.1 TLSv1 DHE-RSA-AES256-SHA "GET
> /pulp/api//users/admin_certificate/ HTTP/1.1" 609
> 
> 
> Running user update also fails, but nothing shows up in my Apache logs.
> 
> [root at blueberry pub]# pulp-admin user update
> Traceback (most recent call last):
>   File "/usr/bin/pulp-admin", line 147, in ?
>     admin.main()
>   File "/usr/lib/python2.4/site-packages/pulp/client/cli/base.py", line
> 98, in main
>     command.main(args[1:])
>   File "/usr/lib/python2.4/site-packages/pulp/client/core/base.py", line
> 118, in main
>     action.main(args[1:])
>   File "/usr/lib/python2.4/site-packages/pulp/client/core/base.py", line
> 228, in main
>     self.setup_connections()
>   File "/usr/lib/python2.4/site-packages/pulp/client/core/user.py", line
> 37, in setup_connections
>     system_exit(-1, ce.message)
> AttributeError: CredentialError instance has no attribute 'message'
> 
> So far this seems like a really cool project. I hope to get it working
> on our systems in the future.
> 
> - Kevin
> 
> 
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list


- -- 
Jay Dobies
RHCE# 805008743336126
Freenode: jdob
http://pulpproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNPztLAAoJEOMmcTqOSQHCEPQH/2GbVxGk57sz8K+RJ2Ecu/xe
9Kb6tT8vC8gRKV85DaVOyAouUET8b80vH9Ne38FaJVjLTRukvqSYjXg16BZQVszp
e7on2JVNxCqPR01BdfwI2CnoysWJ3VdXgXKGg1/ivi/Hle+7SNrs7UgBFv65cjXa
HwFedOMMJjHYXtflt0TT7Lpa4S+gORTpPNYLXDj+pTKqQwY4Kl5x/6jPVlomBTSp
v4sTP/Z929GTUk6h87TkJwi5V4+YG9CnK32ya1poWrhTmU36yZuruWIRe5D5/8N7
IwHf+sQQXqbO2GThrUeBu0SfO5T0xd3+EdKZaSlK9v8q5Vo18QgSl7F8sifEAVE=
=ksb6
-----END PGP SIGNATURE-----




More information about the Pulp-list mailing list