RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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:
Embargoed:


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.