Bug 1822236
| Summary: | Add support for newer glusterfs [rhel-7.8.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | RAD team bot copy to z-stream <autobot-eus-copy> |
| Component: | qemu-kvm-rhev | Assignee: | Miroslav Rezanina <mrezanin> |
| Status: | CLOSED ERRATA | QA Contact: | Xueqiang Wei <xuwei> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.9 | CC: | coli, jinzhao, jmaloy, juzhang, mlevitsk, mrezanin, mtessun, virt-bugs, virt-maint |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-rhev-2.12.0-44.el7_8.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1802216 | Environment: | |
| Last Closed: | 2020-05-13 14:00:20 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: | 1802216 | ||
| Bug Blocks: | |||
|
Description
RAD team bot copy to z-stream
2020-04-08 14:27:03 UTC
I tried to verify this bug as below. Not hit any issue, so set this bug as verified. Thanks.
Tested with:
kernel-3.10.0-1127.5.1.el7.x86_64
qemu-kvm-rhev-2.12.0-44.el7_8.2
# rpm -qa | grep glusterfs
glusterfs-libs-6.0-29.el7.x86_64
glusterfs-client-xlators-6.0-29.el7.x86_64
glusterfs-devel-6.0-29.el7.x86_64
samba-vfs-glusterfs-4.10.4-10.el7.x86_64
glusterfs-cloudsync-plugins-6.0-29.el7.x86_64
glusterfs-6.0-29.el7.x86_64
glusterfs-api-6.0-29.el7.x86_64
glusterfs-api-devel-6.0-29.el7.x86_64
uwsgi-plugin-glusterfs-2.0.17.1-2.el7.x86_64
glusterfs-rdma-6.0-29.el7.x86_64
glusterfs-debuginfo-6.0-29.el7.x86_64
glusterfs-fuse-6.0-29.el7.x86_64
glusterfs-cli-6.0-29.el7.x86_64
1. Create images with different formats.
qcow2:
# qemu-img create -f qcow2 gluster://10.73.196.181/gv0/test1.qcow2 20G
Formatting 'gluster://10.73.196.181/gv0/test1.qcow2', fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off refcount_bits=16
[2020-04-15 09:58:08.270063] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 09:58:08.270274] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
[2020-04-15 09:58:10.471116] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 09:58:10.471315] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
# qemu-img info gluster://10.73.196.181/gv0/test1.qcow2
[2020-04-15 09:59:02.447274] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 09:59:02.447521] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
image: gluster://10.73.196.181/gv0/test1.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 193K
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
raw:
# qemu-img create -f raw gluster://10.73.196.181/gv0/test1.raw 2G
Formatting 'gluster://10.73.196.181/gv0/test1.raw', fmt=raw size=2147483648
[2020-04-15 10:03:13.226167] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 10:03:13.226399] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
# qemu-img info gluster://10.73.196.181/gv0/test1.raw
[2020-04-15 10:03:53.164833] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 10:03:53.165069] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
image: gluster://10.73.196.181/gv0/test1.raw
file format: raw
virtual size: 2.0G (2147483648 bytes)
disk size: 0
luks:
# qemu-img create --object secret,id=sec0,data=base -o key-secret=sec0 -f luks gluster://10.73.196.181/gv0/test1.luks 2G
Formatting 'gluster://10.73.196.181/gv0/test1.luks', fmt=luks size=2147483648 key-secret=sec0
[2020-04-15 10:04:50.801528] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 10:04:50.801737] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
[2020-04-15 10:04:58.222681] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 10:04:58.222898] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
# qemu-img info gluster://10.73.196.181/gv0/test1.luks
[2020-04-15 10:05:32.284051] E [MSGID: 108006] [afr-common.c:5313:__afr_handle_child_down_event] 0-gv0-replicate-0: All subvolumes are down. Going offline until at least one of them comes back up.
[2020-04-15 10:05:32.284313] I [io-stats.c:4027:fini] 0-gv0: io-stats translator unloaded
image: gluster://10.73.196.181/gv0/test1.luks
file format: luks
virtual size: 2.0G (2147483648 bytes)
disk size: 256K
encrypted: yes
Format specific information:
ivgen alg: plain64
hash alg: sha256
cipher alg: aes-256
uuid: ae16adfc-8ce0-4590-8c8f-eac7137cd490
cipher mode: xts
slots:
[0]:
active: true
iters: 112604
key offset: 4096
stripes: 4000
[1]:
active: false
key offset: 262144
[2]:
active: false
key offset: 520192
[3]:
active: false
key offset: 778240
[4]:
active: false
key offset: 1036288
[5]:
active: false
key offset: 1294336
[6]:
active: false
key offset: 1552384
[7]:
active: false
key offset: 1810432
payload offset: 2068480
master key iters: 28760
2. Install guest over a image with qcow2 format, reboot, and shutdown.
/usr/libexec/qemu-kvm \
-name 'guest-rhel' \
-machine q35 \
-nodefaults \
-vga qxl \
-drive id=drive_cd1,if=none,snapshot=off,aio=threads,cache=unsafe,media=cdrom,file=/home/RHEL-7.8-20200225.1-Server-x86_64-dvd1.iso \
-device ide-cd,id=cd1,drive=drive_cd1,bus=ide.0,unit=0 \
-drive id=drive_image1,if=none,snapshot=off,aio=threads,cache=none,format=qcow2,file=gluster://10.73.196.181/gv0/test1.qcow2 \
-device virtio-blk-pci,id=virtio_blk_pci0,drive=drive_image1,bus=pcie.0,addr=05 \
-vnc :0 \
-monitor stdio \
-m 8192 \
-smp 8 \
-device virtio-net-pci,mac=9a:b5:b6:b1:b2:b3,id=idMmq1jH,vectors=4,netdev=idxgXAlm,bus=pcie.0,addr=0x9 \
-netdev tap,id=idxgXAlm \
-chardev socket,id=qmp_id_qmpmonitor1,path=/var/tmp/timao/monitor-qmpmonitor1-20180220-094308-h9I6hRsI,server,nowait \
-mon chardev=qmp_id_qmpmonitor1,mode=control \
Result:
Creation works fine, and install,reboot, shutdown all work fine.
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/RHBA-2020:2137 |