Bug 1315451 - unable to use_tcp option use_tls=0 set
unable to use_tcp option use_tls=0 set
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt (Show other bugs)
7.2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Libvirt Maintainers
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-07 14:12 EST by Vasu Kulkarni
Modified: 2016-03-08 05:08 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-03-08 05:08:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vasu Kulkarni 2016-03-07 14:12:57 EST
Description of problem:

For simplified testing with Ceph RBD volumes, I want to use tcp and have disabled tls but this doesn't seem to work

[ubuntu@magna077 qemu_test]$ sudo cat /etc/libvirt/libvirtd.conf
listen_tcp = 1
tcp_port = "16509"
auth_tcp = "none"
listen_tls = 0
LIBVIRTD_ARGS="--listen"


Version-Release number of selected component (if applicable):
[ubuntu@magna077 qemu_test]$ rpm -qa | grep libvirt
libvirt-daemon-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-network-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-storage-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-config-nwfilter-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-secret-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-qemu-1.2.17-13.el7_2.3.x86_64
libvirt-client-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-config-network-1.2.17-13.el7_2.3.x86_64
libvirt-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-interface-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.3.x86_64
libvirt-daemon-driver-lxc-1.2.17-13.el7_2.3.x86_64


How reproducible:


Steps to Reproduce:
[ubuntu@magna077 qemu_test]$ sudo systemctl stop libvirtd
[ubuntu@magna077 qemu_test]$ sudo systemctl start libvirtd                                                                                                                   
[ubuntu@magna077 qemu_test]$ sudo netstat -lntp                                                                                                                              
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      2605/rpcbind        
tcp        0      0 0.0.0.0:20048           0.0.0.0:*               LISTEN      2609/rpc.mountd     
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      2725/dnsmasq        
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1361/sshd           
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2604/master         
tcp        0      0 0.0.0.0:50173           0.0.0.0:*               LISTEN      1562/rpc.statd      
tcp        0      0 0.0.0.0:35360           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      -                   
tcp6       0      0 :::50506                :::*                    LISTEN      1562/rpc.statd      
tcp6       0      0 :::111                  :::*                    LISTEN      2605/rpcbind        
tcp6       0      0 :::59568                :::*                    LISTEN      -                   
tcp6       0      0 :::20048                :::*                    LISTEN      2609/rpc.mountd     
tcp6       0      0 :::22                   :::*                    LISTEN      1361/sshd           
tcp6       0      0 ::1:25                  :::*                    LISTEN      2604/master         
tcp6       0      0 :::2049                 :::*                    LISTEN      -                   
[ubuntu@magna077 qemu_test]$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.2 (Maipo)



Actual results:
libvirtd doesn't listen on tcp


Expected results:


Additional info:
Comment 2 Ján Tomko 2016-03-08 03:20:43 EST
LIBVIRTD_ARGS is an option for /etc/sysconfig/libvirtd

It does not do anything in libvirtd.conf.
Comment 3 Daniel Berrange 2016-03-08 05:08:40 EST
Closing based on comment #2

Note You need to log in before you can comment on or make changes to this bug.