qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3483) Unable to run qpid in a cluster under cman
Date Tue, 15 Jul 2014 20:42:06 GMT

    [ https://issues.apache.org/jira/browse/QPID-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062619#comment-14062619
] 

Alan Conway commented on QPID-3483:
-----------------------------------

Sorry for the lack of explanation!

The workaround for this problem is to run qpidd as root. That is not ideal but we are not
planning to fix it because the old active-active cluster plugin has been replaced by the new
active-passive cluster module, available since  the qpid 0.22 release. 

See http://qpid.apache.org/releases/qpid-0.28/cpp-broker/book/chapter-ha.html


> Unable to run qpid in a cluster under cman
> ------------------------------------------
>
>                 Key: QPID-3483
>                 URL: https://issues.apache.org/jira/browse/QPID-3483
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Clustering
>    Affects Versions: 0.13
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>
> Description of problem:
> Section 7.1 of user guide "Starting a Broker in a Cluster" describes a way how
> to start qpidd in a cluster under cman. That does not work on RHEL 6.x where
> corosync requires /etc/corosync/uidgid.d to authenticate non-root access to
> corosync. But when corosync runs under cman, cman overrides configuration
> parser of corosync by its own parser, taking into account only
> /etc/cluster/cluster.conf configuration. That file has no option to setup
> uidgid at all.
> At the end, as qpidd runs under qpidd user, there is no way to run qpidd in a
> RHEL6.x cluster under cman.
> Version-Release number of selected component (if applicable):
> MRG 2.0 & RHEL 6.x
> How reproducible:
> 100%
> Steps to Reproduce (apply the below to at least 3 nodes in a cluster):
> 1. Edit /etc/corosync/uidgid.d/qpidd per manuals
> 2. Setup /etc/cluster/cluster.conf to have some working cman configuration
> (e.g. use file from https://access.redhat.com/kb/docs/DOC-58232)
> 3. /etc/qpidd.conf has:
> cluster-mechanism=PLAIN
> cluster-username=guest
> cluster-password=guest
> cluster-name=TEST
> cluster-cman=yes
> 4. service cman start
> 5. service qpidd start
> Actual results:
> qpidd will fail with:
> Starting Qpid AMQP daemon: Daemon startup failed: Failed to initialize CPG.:
> security (100)
> Expected results:
> qpidd will start properly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message