Bug 2111813
| Summary: | nbd_shutdown fails with: gnutls_record_recv: The TLS connection was non-properly terminated. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Richard W.M. Jones <rjones> |
| Component: | libnbd | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED ERRATA | QA Contact: | Vera <vwu> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | lersek, rjones, tzheng, virt-maint, vwu |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libnbd-1.12.6-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 09:50:16 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: | |||
| Deadline: | 2022-08-15 | ||
|
Description
Richard W.M. Jones
2022-07-28 08:51:49 UTC
Upstream fix: https://listman.redhat.com/archives/libguestfs/2022-July/029545.html https://listman.redhat.com/archives/libguestfs/2022-July/029546.html Reproduce with
qemu-img-7.0.0-9.el9.x86_64
libnbd-1.12.5-1.el9.x86_64
Steps to Reproduce:
1. Set up a qemu-nbd + TLS server using steps 1.-4
2. Run one of these commands against the server
# nbdsh -c 'h.set_tls_certificates("/var/tmp/pki")' -c 'h.connect_uri("nbds://10.73.178.63")' -c 'h.shutdown()'
nbdsh: command line script failed: nbd_shutdown: gnutls_record_recv: The TLS connection was non-properly terminated.
Verified with
qemu-img-7.0.0-9.el9.x86_64
libnbd-1.12.6-1.el9.x86_64
Steps:
1. Set up a qemu-nbd + TLS server using steps 1.-4
2. Run one of these commands against the server:
# nbdsh -c 'h.set_tls_certificates("/var/tmp/pki")' -c 'h.connect_uri("nbds://10.73.178.63")' -c 'h.shutdown()'
#
# nbdcopy nbds://10.73.178.63?tls-certificates=/var/tmp/pki null:
#
Mark Verified:Tested. Moving to VERIFIED.
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 (libnbd bug fix and enhancement update), 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/RHBA-2022:7944 |