Bug 1698373
| Summary: | Some communication between pcsd daemons does not work over IPv6 addresses | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Miroslav Lisik <mlisik> | ||||
| Component: | pcs | Assignee: | Tomas Jelinek <tojeline> | ||||
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 8.0 | CC: | aherr, cfeist, cluster-maint, idevat, nhostako, omular, tojeline, toneata | ||||
| Target Milestone: | rc | Keywords: | EasyFix, ZStream | ||||
| Target Release: | 8.1 | Flags: | pm-rhel:
mirror+
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | pcs-0.10.1-6.el8 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Cause:
IPv6 addresses specified in 'pcs host auth' command.
Consequence:
Some pcs commands are unable to connect to cluster nodes.
Fix:
Wrap IPv6 addresses in [] when constructing URLs to connect to.
Result:
Pcs is able to communicate with nodes over IPv6.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1710067 (view as bug list) | Environment: | |||||
| Last Closed: | 2019-11-05 20:40:02 UTC | Type: | Bug | ||||
| 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: | 1710067 | ||||||
| Attachments: |
|
||||||
|
Description
Miroslav Lisik
2019-04-10 09:10:38 UTC
Created attachment 1554300 [details]
proposed fix
Also parsing of port when ipv6 address is used should be improved:
[root@virt-157 ~]# pcs host auth node-01 -u hacluster -p password addr=2620:52:0:25a4:1800:ff:fe00:9d:3224
Error: Unable to communicate with node-01
[root@virt-157 ~]# echo $?
1
[root@virt-157 ~]# pcs host auth node-01 -u hacluster -p password addr=2620:52:0:25a4:1800:ff:fe00:9d:3224 --debug | tail -n 20
Error: Unable to communicate with node-01
"sync_successful": true,
"sync_nodes_err": [
],
"sync_responses": {
}
},
"log": [
"I, [2019-04-11T11:29:43.957895 #5344] INFO -- : PCSD Debugging enabled\n",
"D, [2019-04-11T11:29:43.957955 #5344] DEBUG -- : Detected systemd is in use\n",
"I, [2019-04-11T11:29:44.159604 #5344] INFO -- : Connecting to: https://[2620:52:0:25a4:1800:ff:fe00:9d:3224]:2224/remote/auth\n",
"I, [2019-04-11T11:29:44.168959 #5344] INFO -- : No response from: 2620:52:0:25a4:1800:ff:fe00:9d:3224 request: auth, error: couldnt_resolve_host\n"
]
}
--Debug Stdout End--
--Debug Stderr Start--
--Debug Stderr End--
Scratch comment 3. Brackets should be used on command line when port is given: [root@virt-157 ~]# pcs host auth node-01 -u hacluster -p password addr=[2620:52:0:25a4:1800:ff:fe00:9d]:3224 node-01: Authorized After fix: [root@rhel81-node1 ~]# rpm -q pcs pcs-0.10.1-6.el8.x86_64 [root@rhel81-node1 ~]# pcs host auth -uhacluster ::1 Password: ::1: Authorized [root@rhel81-node1 ~]# pcs status pcsd ::1 ::1: Online Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:3311 |