Red Hat Bugzilla – Bug 847987
Missing check for vm required networks on run vm
Last modified: 2015-10-27 19:56:36 EDT
Description of problem:
when running a vm with some networks,
but no host in the cluster has one of these networks,
the vm fails to run, but no error is produced to the user.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. have vm with nic attached to a network, that no host is attached to
2. run vm.
vm fails to run, in the engine.log you can see:
2012-08-13 16:20:23,747 INFO [org.ovirt.engine.core.bll.RunVmOnceCommand] (http--0.0.0.0-8080-1) [246a5f1a] Running command: RunVmOnceCommand internal: false. Entities affected : ID: 79cd00f2-4098-4979-a38f-ef784d6a5766 Type: VM
2012-08-13 16:20:23,757 ERROR [org.ovirt.engine.core.bll.RunVmCommand] (http--0.0.0.0-8080-1) [246a5f1a] Cant find VDS to run the VM 79cd00f2-4098-4979-a38f-
ef784d6a5766 on, so this VM will not be run.
2012-08-13 16:20:23,774 ERROR [org.ovirt.engine.core.bll.RunVmOnceCommand] (http--0.0.0.0-8080-1) [246a5f1a] Transaction rolled-back for command: org.ovirt.engine.core.bll.RunVmOnceCommand.
User should get an error with explanation why the vm can't run (Can-Do-Action type of message as in other cases of lack of memory/cpu..)
*** This bug has been marked as a duplicate of bug 841586 ***