Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1139687

Summary: oVirt Live: Cannot run VM
Product: [Retired] oVirt Reporter: Sandro Bonazzola <sbonazzo>
Component: ovirt-liveAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.5CC: bugs, danken, ecohen, eedri, gklein, iheim, rbalakri, sbonazzo, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-live-el6-3.5.0_rc2.iso
Whiteboard: integration
Fixed In Version: ovirt-live-el6-3.5.0_rc2.iso Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:20:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs
none
screenshots
none
vdsm caps none

Description Sandro Bonazzola 2014-09-09 12:56:44 UTC
Created attachment 935672 [details]
logs

Description of problem:


Version-Release number of selected component (if applicable):
ovirt-3.5-snapshot at 2014-09-07 and higher, not tested with older releases on 3.5.
It works with ovirt-3.4-snapshot at the same date.

How reproducible:
100%

Steps to Reproduce:
1. take latest iso from http://jenkins.ovirt.org/job/ovirt_live_create_iso/
2. boot ovirt-live iso
3. use automatic configuration

Actual results:
It fails to start the VM:
    Cannot run VM. There is no host that satisfies current scheduling
    constraints. See below for details:
    The host local_host did not satisfy internal filter Network because
    network(s) are missing.

Expected results:
It should be able to run VMs.

Additional info:

Comment 1 Sandro Bonazzola 2014-09-09 12:57:56 UTC
Created attachment 935673 [details]
screenshots

Comment 2 Sandro Bonazzola 2014-09-09 12:58:34 UTC
Created attachment 935684 [details]
vdsm caps

Comment 3 Dan Kenigsberg 2014-09-10 14:41:43 UTC
In 3.5 we started reporting [cfg][BOOTPROTO] even when the ifcfg file was completely missing (bug 987813, http://gerrit.ovirt.org/25170).

I wonder if this is what confuses Engine. Could you comment out the line

    _cfgBootprotoCompat(d)

in lib/vdsm/netinfo.py's get() function, to see if this wild guess is related?

Comment 4 Sandro Bonazzola 2014-09-12 11:50:02 UTC
Looks like the file should be there:
http://gerrit.ovirt.org/gitweb?p=ovirt-live.git;a=tree;f=centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts;h=513782045e59cb63274b77fee294c9731a423d94;hb=refs/heads/ovirt-live-3.5

I've seen that some options are missing there compared to the same file generated by VDSM version 4.16.4-0.el6 like:

 -BOOTPROTO=static
 +BOOTPROTO=none
 +STP=off
 +DEFROUTE=yes
 +HOTPLUG=no

So I'm now trying again adding the missing lines.

Comment 5 Sandro Bonazzola 2014-09-15 10:56:44 UTC
oVirt Live 3.5.0 RC2 includes the fix: see URL field for downloading the ISO.

Comment 6 Petr Kubica 2014-10-01 16:20:09 UTC
Verified in ovirt-live-el6-3.5.0_rc3.iso

Comment 7 Sandro Bonazzola 2014-10-17 12:20:19 UTC
oVirt 3.5 has been released and should include the fix for this issue.