Bug 672741

Summary: virt-install, --serial option default mode is bind instead of connect
Product: [Fedora] Fedora Reporter: Hongqing Yang <hoyang>
Component: python-virtinstAssignee: Cole Robinson <crobinso>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 14CC: aquini, berrange, clalance, crobinso, eblake, itamar, jforbes, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-05 02:36:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Hongqing Yang 2011-01-26 06:19:22 UTC
Description of problem:
according man page of virt-install --serial option, default mode should be connect, but if the mode is leave blank, such as:

virt-install \
--name virtdemo \
--virt-type kvm \
--ram  600 \
--disk /var/lib/libvirt/images/virtdemo.img,size=10,sparse=false \
--location ftp://download.englab.nay.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ \
--accelerate \
--serial tcp,host=127.0.0.1:6080

it will give error

ERROR    internal error process exited while connecting to monitor: inet_listen_opts: bind(ipv4,127.0.0.1,6080): Address already in use
inet_listen_opts: FAILED
chardev: opening backend "socket" failed


if mode=connect is specified, it works fine.

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1.open port nc -l 0.0.0.0 6080
2.run the script above
3.
  
Actual results:
error as above

Expected results:
run smoothly

Additional info:

Comment 1 Fedora Admin XMLRPC Client 2011-09-22 17:55:30 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2011-09-22 17:58:50 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2011-11-30 19:54:15 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2011-11-30 19:56:30 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2011-11-30 19:59:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora Admin XMLRPC Client 2011-11-30 20:01:49 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Eric Blake 2011-12-06 16:00:28 UTC
virt-install belongs to python-virtinst; reassigning

Comment 8 Hongqing Yang 2012-01-05 02:36:25 UTC
This does not happen with python-virtinst-0.500.6-2.fc15.noarch, I would like to close it.