Bug 854978
Summary: | Starting VM fails when one of the Networks on the VM is "deactivated" and not attached to any host | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | GenadiC <gcheresh> | ||||
Component: | ovirt-engine | Assignee: | Muli Salem <msalem> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | GenadiC <gcheresh> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.1.0 | CC: | acathrow, dyasny, iheim, lpeer, masayag, mavital, Rhev-m-bugs, yeylon, ykaul | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | network | ||||||
Fixed In Version: | SI18 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Proposed patch in: http://gerrit.ovirt.org/#/c/7878/ Verified in SI18 |
Created attachment 610300 [details] engine log Description of problem: Running VM (when one of its networks is not attached to any host but is inactive) fails with the following error message: "Cannot run VM. There are no available running Hosts with all the networks used by the VM." How reproducible: Always Steps to Reproduce: 1. Create new VM and attach to it network from Cluster that is not attached to any host 2. Deactive the network that is not attached to any host 3. Run VM Actual results: VM fails with the following error: "Cannot run VM. There are no available running Hosts with all the networks used by the VM." Expected results: Running VM should succeed Additional info: engine log shows the following: 2012-09-06 15:25:02,558 INFO [org.ovirt.engine.core.bll.RunVmCommand] (ajp-/127.0.0.1:8009-4) Lock Acquired to object EngineLock [exclusiveLocks= key: ad2105b2-3899-4420-aaf7-e927f442d45a value: VM , sharedLocks= ] 2012-09-06 15:25:02,562 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp-/127.0.0.1:8009-4) START, IsValidVDSCommand(storagePoolId = aea1cf61-de40-4220-bdd9-7af74fedc7f3, ignoreFailoverLimit = false, compatabilityVersion = null), log id: c91b6f1 2012-09-06 15:25:02,563 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (ajp-/127.0.0.1:8009-4) FINISH, IsValidVDSCommand, return: true, log id: c91b6f1 2012-09-06 15:25:02,604 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (ajp-/127.0.0.1:8009-4) START, IsVmDuringInitiatingVDSCommand(vmId = ad2105b2-3899-4420-aaf7-e927f442d45a), log id: 688bccfc 2012-09-06 15:25:02,604 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (ajp-/127.0.0.1:8009-4) FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 688bccfc 2012-09-06 15:25:02,610 WARN [org.ovirt.engine.core.bll.RunVmCommand] (ajp-/127.0.0.1:8009-4) CanDoAction of action RunVm failed. Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_NETWORKS 2012-09-06 15:25:02,610 INFO [org.ovirt.engine.core.bll.RunVmCommand] (ajp-/127.0.0.1:8009-4) Lock freed to object EngineLock [exclusiveLocks= key: ad2105b2-3899-4420-aaf7-e927f442d45a value: VM , sharedLocks= ]