Bug 1529256
Summary: | Error message is not correct when "vol-upload" a non-existing file with vol-key in logical/iscsi pool | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Fangge Jin <fjin> |
Component: | libvirt | Assignee: | John Ferlan <jferlan> |
Status: | CLOSED ERRATA | QA Contact: | yisun |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.5 | CC: | dyuan, jferlan, lmen, xuzhang, yisun |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-4.3.0-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 09:52:20 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: |
Description
Fangge Jin
2017-12-27 10:42:02 UTC
Patch posted upstream: https://www.redhat.com/archives/libvir-list/2018-April/msg01353.html Patch pushed: $ git describe 0d6e8341031ab1b23b89c15574b2b0a08ef3c3b1 v4.2.0-259-g0d6e834103 $ test with libvirt-4.3.0-1.virtcov.el7.x86_64 and PASSED Steps: 1. having a iscsi/logical pool # virsh pool-dumpxml iscsi <pool type='iscsi'> <name>iscsi</name> <uuid>978f4cd7-e782-4cec-8687-5f67b13cb7ac</uuid> <capacity unit='bytes'>2097152000</capacity> <allocation unit='bytes'>2097152000</allocation> <available unit='bytes'>0</available> <source> <host name='127.0.0.1'/> <device path='iqn.2016-03.com.virttest:logical-pool.target'/> </source> <target> <path>/dev/disk/by-path</path> </target> </pool> 2. having existing vol # virsh vol-list iscsi Name Path ------------------------------------------------------------------------------ unit:0:0:0 /dev/disk/by-path/ip-127.0.0.1:3260-iscsi-iqn.2016-03.com.virttest:logical-pool.target-lun-0 # virsh vol-key --pool iscsi --vol unit:0:0:0 36001405a6218f03f3914101b114b8693 3. do the vol-upload # virsh vol-upload --pool iscsi --vol 36001405a6218f03f3914101b114b8693 /tmp/upload-file-aaaaaaaaaaaaaaaaaaaaaaa error: cannot read /tmp/upload-file-aaaaaaaaaaaaaaaaaaaaaaa The error message is clear now. 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/RHSA-2018:3113 |