Bug 1539576 - ovn localnet - Engine should schedule VMs only on hosts where phys_net is attached
Summary: ovn localnet - Engine should schedule VMs only on hosts where phys_net is att...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.2.1.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ovirt-4.3.0
: 4.3.0
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-29 08:53 UTC by Michael Burman
Modified: 2019-02-13 07:48 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-4.3.0_alpha
Clone Of:
Environment:
Last Closed: 2019-02-13 07:48:06 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.3+
mburman: testing_plan_complete-
mburman: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 88569 0 'None' 'MERGED' 'core: Update network policy for external networks' 2019-11-21 13:33:51 UTC
oVirt gerrit 88570 0 'None' 'MERGED' 'core: Validate plugging/detaching of external network' 2019-11-21 13:33:51 UTC
oVirt gerrit 90681 0 'None' 'ABANDONED' 'core: Update network policy for external networks' 2019-11-21 13:33:51 UTC

Description Michael Burman 2018-01-29 08:53:55 UTC
Description of problem:
ovn localnet - Engine should scheduled VMs only on hosts where phys_net is attached.

Engine should schedule and run VMs only on hosts with phys_net attached networks, if there is no available host, VM shouldn't start. 
This behaviour is only(and will be) relevant for OVS type clusters. 

Currently VM can run when the underlying phys_net is not attached to the host.

Version-Release number of selected component (if applicable):
4.2.1.3-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Create phys_net with vlan and don't attach to host in OVS type cluster
2. Create ovn network on external provider(via UI) + select the phys_net from data center networks
3. Run VM 

Actual results:
VM started

Expected results:
VM shouldn't run. There shouldn't be available host for this VM as it has no phys_net attached to the host

Comment 1 Michael Burman 2018-08-21 11:55:55 UTC
Verified on - 4.3.0-0.0.master.20180819104048.git932969e.el7 with vdsm-4.30.0-531.git26b1bd3.el7.x86_64

Comment 2 Sandro Bonazzola 2018-11-02 14:31:04 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Comment 3 Sandro Bonazzola 2018-11-02 14:51:38 UTC
Closed by mistake, moving back to qa -> verified

Comment 4 Sandro Bonazzola 2019-02-13 07:48:06 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.