Bug 672741 - virt-install, --serial option default mode is bind instead of connect
Summary: virt-install, --serial option default mode is bind instead of connect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtinst
Version: 14
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-26 06:19 UTC by Hongqing Yang
Modified: 2012-01-05 02:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-05 02:36:25 UTC
Type: ---


Attachments (Terms of Use)

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.


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