Bug 682760

Summary: /etc/qemu-ifdown: could not launch network script while script=no
Product: Red Hat Enterprise Linux 6 Reporter: Lubos Kocman <lkocman>
Component: qemu-kvmAssignee: jason wang <jasowang>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: bcao, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-22 07:41:50 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 Lubos Kocman 2011-03-07 14:12:19 UTC
Description of problem:

qemu-kvm is trying to use network script even if it was told to not use any (script=no).

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

qemu-kvm-0.12.1.2-2.149.el6.x86_64


How reproducible:


Steps to Reproduce:
1.sudo QEMU_AUDIO=spice /usr/libexec/qemu-kvm  -vga qxl -spice port=3001,disable-ticketing -soundhw ac97 -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -m 1024 -net nic -net tap,ifname=tap0,script=no /dev/rootvg/gst_win7x32
2. shutdown guest (rhel 6.1 x64 used)
  
Actual results:

do_spice_init: starting 0.7.3
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
Using CPU model "cpu64-rhel6"
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
spice_server_add_interface: SPICE_INTERFACE_RECORD
spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
handle_dev_destroy_surfaces: 
handle_dev_input: start
reds_handle_main_link: 
reds_show_new_channel: channel 1:0, connected successfully, over Non Secure link
reds_main_handle_message: net test: invalid values, latency 0 roundtrip 1503. assuming highbandwidth
reds_show_new_channel: channel 5:0, connected successfully, over Non Secure link
reds_show_new_channel: channel 6:0, connected successfully, over Non Secure link
reds_show_new_channel: channel 4:0, connected successfully, over Non Secure link
red_dispatcher_set_cursor_peer: 
handle_dev_input: cursor connect
reds_show_new_channel: channel 2:0, connected successfully, over Non Secure link
red_dispatcher_set_peer: 
handle_dev_input: connect
handle_new_display_channel: jpeg disabled
handle_new_display_channel: zlib-over-glz disabled
reds_show_new_channel: channel 3:0, connected successfully, over Non Secure link
inputs_link: 
/etc/qemu-ifdown: could not launch network script


Expected results:

this should not appear => /etc/qemu-ifdown: could not launch network script

Additional info:

Comment 2 Mike Cao 2011-03-08 02:01:13 UTC
FYI .
you should use downscript=no instead of script=no