From: Fabio Fantoni Subject: Re: xen 4.6 regression: xl create fails if domU have custom vifname Date: Fri, 28 Aug 2015 09:50:22 +0200 Message-ID: <55E012BE.9000100@m2r.biz> References: <55DF21AA.7020909@m2r.biz> <20150827144627.GR22586@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150827144627.GR22586@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: xen-devel , Ian Campbell List-Id: xen-devel@lists.xenproject.org Il 27/08/2015 16:46, Wei Liu ha scritto: > On Thu, Aug 27, 2015 at 04:41:46PM +0200, Fabio Fantoni wrote: >> Today trying xen 4.6.0-rc2 with all things needed for future production >> server I found a regression: xl create fails if domU have custom vifname. >> xl create test.cfg >> Parsing config from test.cfg >> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: >> /etc/xen/scripts/vif-bridge add [14581] exited with error status 1 >> libxl: error: libxl_device.c:1085:device_hotplug_child_death_cb: script: ip >> link set vif14.0-emu name frc-0-0-emu failed > This is the culprit. > > Did you do a clean install? > > You need to remove udev files in /etc. I should have mentioned this in > testing instructions. > > Wei. Sorry for my mistake I didn't remember to check /etc because the testing deb (with make debball) delete /etc files only if specified as considered config files. Removing the udev file solves the problem. Thanks. > >> libxl: error: libxl_create.c:1380:domcreate_attach_vtpms: unable to add nic >> devices >> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: >> /etc/xen/scripts/block remove [14615] exited with error status 1 >> libxl: error: libxl_device.c:1085:device_hotplug_child_death_cb: script: >> /etc/xen/scripts/block failed; error detected. >> libxl: error: libxl.c:1580:libxl__destroy_domid: non-existant domain 14 >> libxl: error: libxl.c:1538:domain_destroy_callback: unable to destroy guest >> with domid 14 >> libxl: error: libxl.c:1465:domain_destroy_cb: destruction of domain 14 >> failed >> >> From domU xl cfg: >> vif=['bridge=xenbr0,mac=00:16:3e:dd:e3:f1,vifname=frc-0-0'] >> >> Same domU removing only vifname is working. >> >> On production server with xen 4.4.2 or 4.5.1 domUs with vifname are working. >> >> I did a fast search without found the exact bug/regression cause. >> >> If you need more informations/tests tell me and I'll post them. >> >> Thanks for any reply and sorry for my bad english.