Katello Installation failur, pymongo

I just ran through the Katello installation instructions, and now I'm
trying to install the capsule on a separate node. However, when I restart
the pulp_resource_manager, I get the following error:

/sbin/service pulp_resource_manager restart

celery init v10.0.
Using config script: /etc/default/pulp_resource_manager
celery multi v3.1.11 (Cipater)
> resource_manager@katello-capsule.localdomain: DOWN
celery multi v3.1.11 (Cipater)
> Starting nodes…


ImportError: cannot import name Connection

  • Child terminated with errorcode 255
    FAILED

It looks like newer versions of PyMongo no longer include "Connection":

The installation appears to have pulled down pymongo 3.0:

rpm -qa | grep pymongo

python-pymongo-3.0.3-1.el6.x86_64
python-pymongo-gridfs-3.0.3-1.el6.x86_64

Has anyone else bumped into this? I'm installing on CentOS 6.7, following
this document for the capsule:
http://www.katello.org/docs/2.4/installation/capsule.html

Kyle

> I just ran through the Katello installation instructions, and now I'm
> trying to install the capsule on a separate node. However, when I restart
> the pulp_resource_manager, I get the following error:
>
> # /sbin/service pulp_resource_manager restart
> celery init v10.0.
> Using config script: /etc/default/pulp_resource_manager
> celery multi v3.1.11 (Cipater)
> > resource_manager@katello-capsule.localdomain: DOWN
> celery multi v3.1.11 (Cipater)
> > Starting nodes…
>
> …
> ImportError: cannot import name Connection
> * Child terminated with errorcode 255
> FAILED
>
>
> It looks like newer versions of PyMongo no longer include "Connection":
> http://stackoverflow.com/questions/29690786/python-mogo-importerror-cannot-import-name-connection
>
> The installation appears to have pulled down pymongo 3.0:
>
> # rpm -qa | grep pymongo
> python-pymongo-3.0.3-1.el6.x86_64
> python-pymongo-gridfs-3.0.3-1.el6.x86_64

Where are you getting pymongo 3.0? EPEL has 2.5, which is compatible
with Katello.

yum info python-pymongo will show it if you're not sure.

··· On Tue, Oct 20, 2015 at 10:43:30AM -0700, Kyle Flavin wrote:

Has anyone else bumped into this? I’m installing on CentOS 6.7, following
this document for the capsule:
http://www.katello.org/docs/2.4/installation/capsule.html

Kyle


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Best Regards,

Stephen Benjamin
Red Hat Engineering

Ack, had the epel-testing repo enabled and it looks like it came from there.

Thanks.

··· On Tuesday, October 20, 2015 at 11:09:17 AM UTC-7, stephen wrote: > > On Tue, Oct 20, 2015 at 10:43:30AM -0700, Kyle Flavin wrote: > > I just ran through the Katello installation instructions, and now I'm > > trying to install the capsule on a separate node. However, when I > restart > > the pulp_resource_manager, I get the following error: > > > > # /sbin/service pulp_resource_manager restart > > celery init v10.0. > > Using config script: /etc/default/pulp_resource_manager > > celery multi v3.1.11 (Cipater) > > > resource_manager@katello-capsule.localdomain: DOWN > > celery multi v3.1.11 (Cipater) > > > Starting nodes... > > > > .... > > ImportError: cannot import name Connection > > * Child terminated with errorcode 255 > > FAILED > > > > > > It looks like newer versions of PyMongo no longer include "Connection": > > > http://stackoverflow.com/questions/29690786/python-mogo-importerror-cannot-import-name-connection > > > > The installation appears to have pulled down pymongo 3.0: > > > > # rpm -qa | grep pymongo > > python-pymongo-3.0.3-1.el6.x86_64 > > python-pymongo-gridfs-3.0.3-1.el6.x86_64 > > > Where are you getting pymongo 3.0? EPEL has 2.5, which is compatible > with Katello. > > `yum info python-pymongo` will show it if you're not sure. > > > > > Has anyone else bumped into this? I'm installing on CentOS 6.7, > following > > this document for the capsule: > > http://www.katello.org/docs/2.4/installation/capsule.html > > > > Kyle > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Best Regards, > > Stephen Benjamin > Red Hat Engineering >