You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/05/20 15:00:04 UTC

[jira] [Commented] (QPID-6549) `service qpidd status` returns 1 - hidden error is "ConnectionError: connection-forced: Connection must be encrypted.(320)" (edit)

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

ASF subversion and git services commented on QPID-6549:
-------------------------------------------------------

Commit 1680552 from [~aconway] in branch 'qpid/trunk'
[ https://svn.apache.org/r1680552 ]

QPID-6549: `service qpidd status` returns 1 - hidden error is "ConnectionError: connection-forced: Connection must be encrypted.(320)"

The qpidd init script uses qpid-ha to probe the state of the broker.
In the bug reported security configuration on the broker was preventing qpid-ha from connecting.

The qpid-ha checks are only necessary when HA is configured, so this commit disables those
checks if it is not configured.

>  `service qpidd status` returns 1 - hidden error is "ConnectionError: connection-forced: Connection must be encrypted.(320)" (edit) 
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6549
>                 URL: https://issues.apache.org/jira/browse/QPID-6549
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>
> See also https://bugzilla.redhat.com/show_bug.cgi?id=1193762
> Description of problem:
> `service qpidd status` returns 1 even when the service is running:
> # ps ax | grep qpid | grep -v grep
> 29123 ?        Ssl    2:39 /usr/sbin/qpidd --config /etc/qpid/qpidd.conf --daemon --data-dir=/var/lib/qpidd --close-fd 9
> Hidden error is "ConnectionError: connection-forced: Connection must be encrypted.(320)". To display it change following in /etc/init.d/qpidd in function qpid_ping:
> -    $QPID_HA $QPID_HA_OPTIONS ping >/dev/null 2>&1
> +    $QPID_HA $QPID_HA_OPTIONS ping
> Version-Release number of selected component (if applicable):
> Satellite-6.1.0-RHEL-6-20150210.0-Satellite-x86_64
> How reproducible:
> always
> Steps to Reproduce:
> 1. Install Satellite without Capsule:
>    # katello-installer --foreman-admin-email 'root@localhost' \
>      --foreman-admin-username 'admin' --foreman-admin-password '<pass>'
> 2. # service qpidd status; echo $?
> Actual results:
> Exit code is 1, no error (or other output) is printed
> Expected results:
> Status check of the qpidd service should return 0 and should print "is running..."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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