Bug 471632
| Summary: | Add support for SSL/RDMA URLs in cluster's know urls list | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Gordon Sim <gsim> |
| Component: | qpid-cpp | Assignee: | Alan Conway <aconway> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Sarenik <jsarenik> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | aconway, freznice, iboverma, jonathan.robie, jsarenik, tross |
| Target Milestone: | 1.3 | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
Both Secure Sockets Layer (SSL) and Remote Direct Memory Access (RDMA) entries can now appear in the list of known URLs.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-14 16:11:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 470080 | ||
|
Description
Gordon Sim
2008-11-14 18:52:20 UTC
See qpid/Address.h,.cpp. There are currently 2 address formats, "TcpAddress" and a dummy "ExampleAddress" that is there to test multi-protocol URL parsing and demonstrate how to add parsing for a new format. ExampleAddress should be removed as soon as there is a second real protocol format. The current code does *not* provide a link from Address types to the protocol keys of the protocol plugin, nor does it allow for protocols that were unknown at the time Url.cpp was compiled to be contributed by plugins. We *can* do this under the same API but we need to change the variant to a Blob and add some traits templates. For next release we have a fixed set of protocols. We need the link to the protocol keys so that we can open connections with URLs but we can live without unknown protocols contributed by plug-ins till the follow update. I was checking the Address.h header for indication what is the new url syntax for old and new API, the qpid::messaging::Address class changed, but I was not able to find the syntax. Is there somewhere few words what is the current supported syntax? putting NEEDINFO Fixed in r943975, tested for SSL. Can't test with RDMA at the moment as the RDMA support is broken. # qpidd --auth=no --no-module-dir --load-module /usr/lib64/qpid/daemon/rdma.so --load-module /usr/lib64/qpid/daemon/cluster.so --known-hosts-url amqp:rdma:192.168.55.26 --cluster-name=ahoj --cluster-url amqp:rdma:192.168.55.26
# qpid-stat -b
Brokers
broker cluster uptime conn sess exch queue
===================================================================
192.168.55.26:5672 ahoj(ACTIVE) 10s 1 1 8 5
# qpid-cluster
Cluster Name: ahoj
Cluster Status: ACTIVE
Cluster Size: 1
Members: ID=192.168.55.26:20679 URL=amqp:rdma:192.168.55.26:5672
# qpidd --auth=no --no-module-dir --load-module /usr/lib64/qpid/daemon/rdma.so --load-module /usr/lib64/qpid/daemon/cluster.so --known-hosts-url amqp:rdma:192.168.55.26 --cluster-name=ahoj --cluster-url amqp:rdma:192.168.55.26 2010-07-09 04:12:33 notice Initializing CPG 2010-07-09 04:12:33 critical Unexpected error: Invalid URL: amqp:rdma:192.168.55.26 (qpid/Url.cpp:191) # rpm -q qpid-cpp-server-cluster qpid-cpp-server-cluster-0.7.935473-1.el5 Verified on qpid-cpp-server-cluster-0.7.946106-6.el5
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Both Secure Sockets Layer (SSL) and Remote Direct Memory Access (RDMA) entries can now appear in the list of known URLs.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2010-0773.html |