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 918451 - virt-manager doesn't set up TCP net console mode properly
Summary: virt-manager doesn't set up TCP net console mode properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Giuseppe Scrivano
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 841211
TreeView+ depends on / blocked
 
Reported: 2013-03-06 09:26 UTC by Ľuboš Kardoš
Modified: 2016-08-01 01:28 UTC (History)
7 users (show)

Fixed In Version: virt-manager-0.9.0-20.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 06:25:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1447 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2014-10-14 01:05:46 UTC

Description Ľuboš Kardoš 2013-03-06 09:26:02 UTC
Description of problem:
I created virtual machine in virt manager and I added hardware of type serial. I set up device type: "TCP net console (tcp)" and I selected mode: "Client mode (connect)" but in /etc/libvirt/qemu/machine.xml I see:    

<console type='tcp'>
   <source mode='bind' host='127.0.0.1' service='4555'/>


Version-Release number of selected component (if applicable):
virt-manager-0.9.0-18.el6.x86_64 (RHEL-6.4)

How reproducible:
always

Steps to Reproduce:
1. Create virtual machine in virt manager before finish click on "Customize configuration before install".
2. Click on "add hardware".
3. Select "serial".
4. Select device type: "TCP net console (tcp)"
5. Select mode: "Client mode. (connect)"
6. Click "Finish"
7. Click "Begin Installation"
  
Actual results:
Incorrect configuration in /etc/libvirt/qemu/machine.xml:

<console type='tcp'>
   <source mode='bind' host='127.0.0.1' service='4555'/>

Expected results:

<console type='tcp'>
   <source mode='connect' host='127.0.0.1' service='4555'/>


Additional info:

Comment 1 CongDong 2013-04-02 09:15:45 UTC
Can reproduce

[root@localhost ~]# rpm -qa virt-manager libvirt qemu-kvm
virt-manager-0.9.0-18.el6.x86_64
libvirt-0.10.2-18.el6.x86_64
qemu-kvm-0.12.1.2-2.355.el6.x86_64
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

Comment 4 tingting zheng 2014-05-06 10:47:50 UTC
I can reproduce this bug with:
virt-manager-0.9.0-19.el6.x86_64
When follow the below steps to add serial with tcp mode connect,the xml of guest shows as:
    <serial type='tcp'>
      <source mode='bind' host='127.0.0.1' service='4555'/>
      <protocol type='raw'/>
      <target port='1'/>
      <alias name='serial1'/>
    </serial>

Tested with:
virt-manager-0.9.0-20.el6.x86_64

Steps:
1.Launch virt-manager.
2.Open a guest console,click on "add hardware"->"Serial"->"TCP net console (tcp)"
3.Select mode: "Client mode. (connect)"
4.Click "Finish"
5.Check the xml of guest,it shows as:
    <serial type='tcp'>
      <source mode='connect' host='127.0.0.1' service='4555'/>
      <protocol type='raw'/>
      <target port='1'/>
    </serial>

Refer to the above steps,move the bug to VERIFIED.

Comment 5 errata-xmlrpc 2014-10-14 06:25:45 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.

http://rhn.redhat.com/errata/RHBA-2014-1447.html


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