Bug 1278447

Summary: ceph.conf properties override qemu's command-line properties
Product: Red Hat Enterprise Linux 7 Reporter: Stefan Hajnoczi <stefanha>
Component: qemu-kvm-rhevAssignee: Stefan Hajnoczi <stefanha>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.2CC: areis, chayang, dyuan, huding, jdillama, jdurgin, jinzhao, jkurik, juzhang, kdreyer, knoel, michen, mrezanin, rbalakri, virt-bugs, virt-maint, xfu, yama, yanyang, yisun
Target Milestone: rcKeywords: ZStream
Target Release: 7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-rhev-2.6.0-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1277248
: 1279391 (view as bug list) Environment:
Last Closed: 2016-11-07 20:52:56 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: 1277248    
Bug Blocks: 1279391, 1288337    

Comment 4 Miroslav Rezanina 2015-11-18 10:07:19 UTC
Fix included in qemu-kvm-rhev-2.3.0-31.el7_2.2

Comment 6 Mike McCune 2016-03-28 23:37:25 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 8 jingzhao 2016-05-19 06:26:29 UTC
1.Reproduced with qemu-kvm-1.5.3-105.el7.x86_64

[root@intel-3323-24-2 qemu2]# /usr/libexec/qemu-kvm -M pc -S -monitor stdio -vnc none -smp 1 -m 4096 -vga none -drive file=rbd:libvirt-pool/rhel72.raw:mon_host=10.66.144.75,id='rbd',format=raw,cache=none
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) info block
rbd: removable=0 io-status=ok file=rbd:libvirt-pool/rhel72.raw:mon_host=10.66.144.75 ro=0 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted]
floppy0: removable=1 locked=0 tray-open=0 [not inserted]
sd0: removable=1 locked=0 tray-open=0 [not inserted]

[root@intel-3323-24-2 ceph]# ceph --admin-daemon /var/run/ceph/ceph-client.admin.5734.140180343873536.asok config show |grep rbd_cache
    "rbd_cache": "true",

2.Verified it with qemu-kvm-rhev-2.6.0-1.el7.x86_64

[root@localhost ceph]# /usr/libexec/qemu-kvm -M pc -S -monitor stdio -vnc none -smp 1 -m 4096 -vga none -drive file=rbd:libvirt-pool/rhel7.raw:mon_host=10.66.144.75,id='rbd',format=raw,cache=none
QEMU 2.5.94 monitor - type 'help' for more information
(qemu) warning: host doesn't support requested feature: CPUID.80000001H:ECX.sse4a [bit 6]

(qemu) info block
rbd (#block135): rbd:libvirt-pool/rhel7.raw:mon_host=10.66.144.75 (raw)
    Cache mode:       writeback, direct

ide1-cd0: [not inserted]
    Removable device: not locked, tray closed

floppy0: [not inserted]
    Removable device: not locked, tray closed

sd0: [not inserted]
    Removable device: not locked, tray closed
(qemu) 

[root@localhost ceph]# ceph --admin-daemon /var/run/ceph/ceph-client.admin.18104.140701324165120.asok config show |grep rbd_cache
    "rbd_cache": "false",

Comment 9 Stefan Hajnoczi 2016-06-03 18:23:53 UTC
(In reply to jingzhao from comment #8)
> 1.Reproduced with qemu-kvm-1.5.3-105.el7.x86_64
> 
> [root@intel-3323-24-2 qemu2]# /usr/libexec/qemu-kvm -M pc -S -monitor stdio
> -vnc none -smp 1 -m 4096 -vga none -drive
> file=rbd:libvirt-pool/rhel72.raw:mon_host=10.66.144.75,id='rbd',format=raw,
> cache=none
> QEMU 1.5.3 monitor - type 'help' for more information
> (qemu) info block
> rbd: removable=0 io-status=ok
> file=rbd:libvirt-pool/rhel72.raw:mon_host=10.66.144.75 ro=0 drv=raw
> encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
> ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted]
> floppy0: removable=1 locked=0 tray-open=0 [not inserted]
> sd0: removable=1 locked=0 tray-open=0 [not inserted]
> 
> [root@intel-3323-24-2 ceph]# ceph --admin-daemon
> /var/run/ceph/ceph-client.admin.5734.140180343873536.asok config show |grep
> rbd_cache
>     "rbd_cache": "true",
> 
> 2.Verified it with qemu-kvm-rhev-2.6.0-1.el7.x86_64
> 
> [root@localhost ceph]# /usr/libexec/qemu-kvm -M pc -S -monitor stdio -vnc
> none -smp 1 -m 4096 -vga none -drive
> file=rbd:libvirt-pool/rhel7.raw:mon_host=10.66.144.75,id='rbd',format=raw,
> cache=none
> QEMU 2.5.94 monitor - type 'help' for more information
> (qemu) warning: host doesn't support requested feature:
> CPUID.80000001H:ECX.sse4a [bit 6]
> 
> (qemu) info block
> rbd (#block135): rbd:libvirt-pool/rhel7.raw:mon_host=10.66.144.75 (raw)
>     Cache mode:       writeback, direct
> 
> ide1-cd0: [not inserted]
>     Removable device: not locked, tray closed
> 
> floppy0: [not inserted]
>     Removable device: not locked, tray closed
> 
> sd0: [not inserted]
>     Removable device: not locked, tray closed
> (qemu) 
> 
> [root@localhost ceph]# ceph --admin-daemon
> /var/run/ceph/ceph-client.admin.18104.140701324165120.asok config show |grep
> rbd_cache
>     "rbd_cache": "false",

What is the status of this bug?  Should it be set to VERIFIED?

Comment 10 Chao Yang 2016-06-13 08:27:37 UTC
(In reply to Stefan Hajnoczi from comment #9)
> (In reply to jingzhao from comment #8)
> > 1.Reproduced with qemu-kvm-1.5.3-105.el7.x86_64
> > 
> > [root@intel-3323-24-2 qemu2]# /usr/libexec/qemu-kvm -M pc -S -monitor stdio
> > -vnc none -smp 1 -m 4096 -vga none -drive
> > file=rbd:libvirt-pool/rhel72.raw:mon_host=10.66.144.75,id='rbd',format=raw,
> > cache=none
> > QEMU 1.5.3 monitor - type 'help' for more information
> > (qemu) info block
> > rbd: removable=0 io-status=ok
> > file=rbd:libvirt-pool/rhel72.raw:mon_host=10.66.144.75 ro=0 drv=raw
> > encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
> > ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted]
> > floppy0: removable=1 locked=0 tray-open=0 [not inserted]
> > sd0: removable=1 locked=0 tray-open=0 [not inserted]
> > 
> > [root@intel-3323-24-2 ceph]# ceph --admin-daemon
> > /var/run/ceph/ceph-client.admin.5734.140180343873536.asok config show |grep
> > rbd_cache
> >     "rbd_cache": "true",
> > 
> > 2.Verified it with qemu-kvm-rhev-2.6.0-1.el7.x86_64
> > 
> > [root@localhost ceph]# /usr/libexec/qemu-kvm -M pc -S -monitor stdio -vnc
> > none -smp 1 -m 4096 -vga none -drive
> > file=rbd:libvirt-pool/rhel7.raw:mon_host=10.66.144.75,id='rbd',format=raw,
> > cache=none
> > QEMU 2.5.94 monitor - type 'help' for more information
> > (qemu) warning: host doesn't support requested feature:
> > CPUID.80000001H:ECX.sse4a [bit 6]
> > 
> > (qemu) info block
> > rbd (#block135): rbd:libvirt-pool/rhel7.raw:mon_host=10.66.144.75 (raw)
> >     Cache mode:       writeback, direct
> > 
> > ide1-cd0: [not inserted]
> >     Removable device: not locked, tray closed
> > 
> > floppy0: [not inserted]
> >     Removable device: not locked, tray closed
> > 
> > sd0: [not inserted]
> >     Removable device: not locked, tray closed
> > (qemu) 
> > 
> > [root@localhost ceph]# ceph --admin-daemon
> > /var/run/ceph/ceph-client.admin.18104.140701324165120.asok config show |grep
> > rbd_cache
> >     "rbd_cache": "false",
> 
> What is the status of this bug?  Should it be set to VERIFIED?

Yes.

Moving to VERIFIED per Comment 8

Comment 12 errata-xmlrpc 2016-11-07 20:52:56 UTC
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://rhn.redhat.com/errata/RHBA-2016-2673.html