Bug 1315451 - unable to use_tcp option use_tls=0 set
Summary: unable to use_tcp option use_tls=0 set
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-07 19:12 UTC by Vasu Kulkarni
Modified: 2016-03-08 10:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-08 10:08:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Vasu Kulkarni 2016-03-07 19:12:57 UTC
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 08:20:43 UTC
LIBVIRTD_ARGS is an option for /etc/sysconfig/libvirtd

It does not do anything in libvirtd.conf.

Comment 3 Daniel Berrangé 2016-03-08 10:08:40 UTC
Closing based on comment #2


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