[Pulp-list] Pulp upgrade from 2.3 to 2.4 issues

Mark Keller mdkeller at gmail.com
Thu Sep 4 14:18:43 UTC 2014


Yes! That solved my issue! Thank you very much!

Seems like a missing dependency in a package and not very obvious error.
Hopefully the docs get updated at some point. I spent a lot of time on that
issue.

Thanks again,

Mark



On Thu, Sep 4, 2014 at 2:38 AM, Brian Bouterse <bbouters at redhat.com> wrote:

> Hi Mark,
>
> This exception is caused by an authentication error with Qpid. I believe
> you're missing a package that provides the Cyrus SASL authentication type.
> This results in the "SASL(-4): no mechanism available: No worthy mechs
> found" message. I recommend installing cyrus-sasl-plain package, and
> restarting qpidd, httpd, pulp_celerybeat, pulp_workers, and
> pulp_resource_manager. Then try it again. We have a BZ on this as a known
> issue [0].
>
> [0]: https://bugzilla.redhat.com/show_bug.cgi?id=1099954
>
> -Brian
>
>
> ----- Original Message -----
> > From: "Mark Keller" <mdkeller at gmail.com>
> > To: pulp-list at redhat.com
> > Sent: Wednesday, September 3, 2014 11:47:03 PM
> > Subject: [Pulp-list] Pulp upgrade from 2.3 to 2.4 issues
> >
> > Just upgraded my pulp server from 2.3 to 2.4 on CentOS 6. Used the
> upgrade
> > steps and now I can view my repos, but can't update them. Any help would
> be
> > appreciated. I disabled qpid auth per install instructions and ran the
> ssl
> > config script to setup SSL for qpid.
> >
> > When I run something like the following, I get:
> >
> > # pulp-admin rpm repo publish run --repo-id myrepo
> > +----------------------------------------------------------------------+
> > Publishing Repository [repo]
> > +----------------------------------------------------------------------+
> >
> > An internal error occurred on the Pulp server:
> >
> > RequestException: POST request
> > on /pulp/api/v2/repositories/cpt/actions/publish/ failed with 500 -
> Unhandled
> > Exception
> >
> >
> > Looking through the logs I see the following errors. It seems like the
> pulp
> > clients are still trying to use sasl auth to connect to qpid.
> >
> > Sep 3 23:34:12 myhost pulp: celery.worker.consumer:ERROR: consumer:
> Cannot
> > connect to qpid://guest@myhost:5671//: Error in sasl_client_start (-4)
> > SASL(-4): no mechanism available: No worthy mechs found.
> > Sep 3 23:34:12 myhost pulp: celery.worker.consumer:ERROR: Trying again in
> > 6.00 seconds...
> > Sep 3 23:34:12 myhost pulp: celery.worker.consumer:ERROR:
> > Sep 3 23:34:15 myhost python: No worthy mechs found
> > Sep 3 23:34:15 myhost pulp: celery.worker.consumer:ERROR: consumer:
> Cannot
> > connect to qpid://guest@myhost:5671//: Error in sasl_client_start (-4)
> > SASL(-4): no mechanism available: No worthy mechs found.
> > Sep 3 23:34:15 myhost pulp: celery.worker.consumer:ERROR: Trying again in
> > 8.00 seconds...
> > Sep 3 23:34:15 myhost pulp: celery.worker.consumer:ERROR:
> > Sep 3 23:34:15 myhost ) : No worthy mechs found
> > Sep 3 23:34:15 myhost ) : No worthy mechs found
> > Sep 3 23:34:15 myhost ) : No worthy mechs found
> > Sep 3 23:34:15 myhost ) : No worthy mechs found
> > Sep 3 23:34:15 myhost python: No worthy mechs found
> > Sep 3 23:34:15 myhost pulp: pulp.server.async.scheduler:ERROR: Error in
> > sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs
> > found
> > Sep 3 23:34:15 myhost python: No worthy mechs found
> > Sep 3 23:34:15 myhost pulp: celery.beat:ERROR: beat: Connection error:
> Error
> > in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy
> mechs
> > found. Trying again in 10.0 seconds...
> > Sep 3 23:34:15 myhost ) : No worthy mechs found
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: Error in
> > sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs
> > found
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: Traceback (most
> recent
> > call last):
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: File
> >
> "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/exception.py",
> > line 44, in __call__
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: return
> self.app(environ,
> > start_response)
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: File
> >
> "/usr/lib/python2.6/site-packages/pulp/server/webservices/middleware/postponed.py",
> > line 42, in __call__
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: return
> self.app(environ,
> > start_response)
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: File
> > "/usr/lib/python2.6/site-packages/web/application.py", line 279, in wsgi
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: result =
> > self.handle_with_processors()
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: File
> >
> "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py",
> > line 29, in _handle_with_processors
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: return
> > process(self.processors)
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: File
> >
> "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py",
> > line 26, in process
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: return p(lambda:
> > process(processors))
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: File
> > "/usr/lib/python2.6/site-packages/web/application.py", line 566, in
> > processor
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: return handler()
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: File
> >
> "/usr/lib/python2.6/site-packages/pulp/server/webservices/application.py",
> > line 26, in <lambda>
> > Sep 3 23:34:15 myhost pulp:
> > pulp.server.webservices.middleware.exception:ERROR: return p(lambda:
> > process(processors))
> >
> > In /etc/pulp/server.conf I have:
> >
> > [messaging]
> > url: ssl://myhost:5671
> > auth_enabled: false
> > cacert: /etc/pki/pulp/qpid/ca.crt
> > clientcert: /etc/pki/pulp/qpid/client.crt
> >
> > [tasks]
> > broker_url: qpid://myhost:5671/
> > celery_require_ssl: true
> > cacert: /etc/pki/pulp/qpid/ca.crt
> > keyfile: /etc/pki/pulp/qpid/client.crt
> > certfile: /etc/pki/pulp/qpid/client.crt
> >
> > Again, any help appreciated!
> >
> > Mark
> >
> > _______________________________________________
> > Pulp-list mailing list
> > Pulp-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/pulp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140904/bf3e6fa1/attachment.htm>


More information about the Pulp-list mailing list