[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] New Pulp installation - unknown errors



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

FYI, these CentOS instructions can also be found on pulpproject.org:

http://pulpproject.org/ug/UGInstallCentOS.html

Notes have been added to the installation guide to indicate their need
on CentOS installations as well.


On 01/31/2011 11:53 AM, Jeff Ortel wrote:
> Kevin and Christian,
> 
> The FAQ [1] has been updated with instructions for building the QPID
> rpms from source on (and for) CentOS.  If you run into any issues or
> have any questions, please let me know.
> 
> Hope this helps.
> 
> Regards,
> 
> Jeff
> 
> [1]
> https://fedorahosted.org/pulp/wiki/UGFAQ#HowdoIbuildtheQPIDrpmsforCentOS5
> 
> 
> 
> On 01/26/2011 01:38 PM, Masopust, Christian wrote:
>>
>> Hello Kevin,
>>
>> yes, you're right, Scientific Linux (the "CERN-distro") contains them.
>> I'd pull the source-rpms
>> for my RHEL6 system from there and build it myself.
>>
>> christian
>>
>> -----Urspr√ľngliche Nachricht-----
>> Von: pulp-list-bounces redhat com
>> [mailto:pulp-list-bounces redhat com] Im Auftrag von Kevin Holmes
>> Gesendet: Mittwoch, 26. Jänner 2011 16:29
>> An: pulp-list redhat com
>> Betreff: Re: [Pulp-list] New Pulp installation - unknown errors
>>
>> I can confirm the Mongo directory problem happens with CentOS 5.5 -
>> however that was fixed quickly thanks to your FAQ :)
>>
>> Another problem is the lack of a suitable CentOS repository for
>> qpid-cpp-server* packages. I believe the CERN distribution includes
>> them, but CentOS does not.
>>
>> I haven't made any progress on this, looking forward to seeing what
>> Jay finds.
>>
>> - Kevin
>>
>> ----- Original Message -----
>> From: "Jay Dobies"<jason dobies redhat com>
>> To: pulp-list redhat com
>> Sent: Wednesday, January 26, 2011 8:14:33 AM
>> Subject: Re: [Pulp-list] New Pulp installation - unknown errors
>>
> What Christian mentioned is a potential problem; some packagings of
> Mongo do not correctly install. Check out this entry on the FAQ:
> http://pulpproject.org/ug/UGFAQ.html#MongodwontstartwheninstalledfromEL5
> 
> I'm going to set up a CentOS guest this morning and see if there are any
> steps specific to CentOS that need to be taken.
> 
> 
> On 01/25/2011 05:56 PM, Kevin Holmes wrote:
>>>>
>>>> For Python:
>>>>
>>>> Python 2.4.3 (#1, Nov 11 2010, 13:30:19)
>>>> [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
>>>>
>>>> Operating system is CentOS:
>>>>
>>>> Linux blueberry 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST
>>>> 2011 x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>> I just updated to the testing repository and ran a yum update. That
>>>> was successful, the error has changed now:
>>>>
>>>> [root blueberry log]# pulp-admin auth login -u admin -p admin
>>>> error: operation failed:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
>>>> 2.0//EN">
>>>> <html><head>
>>>> <title>500 Internal Server Error</title>
>>>> </head><body>
>>>> <h1>Internal Server Error</h1>
>>>> <p>The server encountered an internal error or
>>>> misconfiguration and was unable to complete
>>>> your request.</p>
>>>> <p>Please contact the server administrator,
>>>>   root localhost and inform them of the time the error occurred,
>>>> and anything you might have done that may have
>>>> caused the error.</p>
>>>> <p>More information about this error may be available
>>>> in the server error log.</p>
>>>> <hr>
>>>> <address>Apache/2.2.3 (CentOS) Server at blueberry Port 443</address>
>>>> </body></html>
>>>>
>>>> Apache Logs:
>>>>
>>>> ==>  ssl_access_log<==
>>>> 127.0.0.1 - - [25/Jan/2011:17:31:22 -0500] "GET
>>>> /pulp/api//users/admin_certificate/ HTTP/1.1" 500 609
>>>>
>>>> ==>  ssl_error_log<==
>>>> [Tue Jan 25 17:33:22 2011] [error] [client 127.0.0.1] Premature end
>>>> of script headers: webservices.wsgi
>>>>
>>>> ==>  ssl_request_log<==
>>>> [25/Jan/2011:17:31:22 -0500] 127.0.0.1 TLSv1 DHE-RSA-AES256-SHA "GET
>>>> /pulp/api//users/admin_certificate/ HTTP/1.1" 609
>>>>
>>>> ==>  access_log<==
>>>> 127.0.0.1 - - [25/Jan/2011:17:34:01 -0500] "GET / HTTP/1.1" 200 1301
>>>> "-" "check_http/v1.4.15 (nagios-plugins 1.4.15)"
>>>>
>>>> Just using curl gives me the same outcome:
>>>>
>>>> [root blueberry pulp]# curl -k -u admin:admin
>>>> https://blueberry/pulp/api/repositories
>>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>>> <html><head>
>>>> <title>500 Internal Server Error</title>
>>>> </head><body>
>>>> <h1>Internal Server Error</h1>
>>>> <p>The server encountered an internal error or
>>>> misconfiguration and was unable to complete
>>>> your request.</p>
>>>> <p>Please contact the server administrator,
>>>>   root localhost and inform them of the time the error occurred,
>>>> and anything you might have done that may have
>>>> caused the error.</p>
>>>> <p>More information about this error may be available
>>>> in the server error log.</p>
>>>> <hr>
>>>> <address>Apache/2.2.3 (CentOS) Server at blueberry Port 443</address>
>>>> </body></html>
>>>>
>>>> Apache logs:
>>>>
>>>> ==>  ssl_access_log<==
>>>> 127.0.0.1 - - [25/Jan/2011:17:41:14 -0500] "GET
>>>> /pulp/api/repositories HTTP/1.1" 500 609
>>>>
>>>> ==>  ssl_error_log<==
>>>> [Tue Jan 25 17:43:14 2011] [error] [client 127.0.0.1] Premature end
>>>> of script headers: webservices.wsgi
>>>>
>>>> ==>  ssl_request_log<==
>>>> [25/Jan/2011:17:41:14 -0500] 127.0.0.1 TLSv1 DHE-RSA-AES256-SHA "GET
>>>> /pulp/api/repositories HTTP/1.1" 609
>>>>
>>>>
>>>> So it's looking like that probably fixed the original problem. But
>>>> now I may have hit some kind of configuration issue? The errors here
>>>> are not very descriptive. Your help is appreciated. I've gone through
>>>> the install page and followed the directions as closely as possible.
>>>>
>>>> - Kevin
>>>>
>>>> ----- Original Message -----
>>>> From: "Jay Dobies"<jason dobies redhat com>
>>>> To: pulp-list redhat com
>>>> Sent: Tuesday, January 25, 2011 4:06:19 PM
>>>> Subject: Re: [Pulp-list] New Pulp installation - unknown errors
>>>>
>>>> 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 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 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 redhat com
>>>>> https://www.redhat.com/mailman/listinfo/pulp-list
>>>>
>>>>
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list redhat com
> https://www.redhat.com/mailman/listinfo/pulp-list
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list redhat com
> https://www.redhat.com/mailman/listinfo/pulp-list
> 
> 
>>
_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list
>>
_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list
>>
_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list

> _______________________________________________
> Pulp-list mailing list
> Pulp-list 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/

iQEcBAEBAgAGBQJNSE1xAAoJEOMmcTqOSQHC9CcIAIi0nFXbazDfk9llSNAXayVQ
IR/F8GkP3lT/FlK8zi01EehzOqv48MmREiwblHzzSNlJtmWFBz+9mCCy20mB6l4i
4g43Ee1kcM6APYAm92+rbTwNSTNJBRVgIwjDJfzue8ngfG0+Kodrd1eyP4diFbez
pkYEyn7JjrAWpyXor1dXPKfK8R3pzVZ9rM1qFsjBg6HvJu6jYuXFNsTOOl90lmg3
agKXC25KcDS9j6rIbs1BuwaVfsKatp5H2aNH//lyk7ijFAtCGpsBy7bX6iA3nqRp
fxdhuWaho3Ie5+uDtGUd13xxjkX4W8v77Gk2yKA9ydbWmw3INUuIoA/YGno8gOk=
=hMwW
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]