Bug 781806

Summary: [ovirt-engine-core] 'engine' management network should be changed to 'ovirtmgmt' in Default DC
Product: [Retired] oVirt Reporter: Kiril Nesenko <knesenko>
Component: ovirt-engine-coreAssignee: Doron Fediuck <dfediuck>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, dfediuck, hateya, iheim, mgoldboi, yeylon, ykaul, zfridler
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-16 15:39:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kiril Nesenko 2012-01-15 10:33:06 UTC
Description of problem:
I am not able to add host to Default DC because 'ovirtmgmt' is missing.
'engine' logical network should be changed to 'ovirtmgmt' in Default DC

Version-Release number of selected component (if applicable):
ovirt-engine-backend-3.0.0_0001-7.fc16.x86_64

How reproducible:


Steps to Reproduce:
1. Try to install host in Default DC with bridge ovirtmgmt
2.
3.
  
Actual results:
'ovirtmgmt' is missing in default dc.

Expected results:
'engine' logical network should be changed to 'ovirtmgmt' in Default DC

Additional info:

Comment 1 Haim 2012-01-16 15:24:56 UTC
Please note that second data-center is being created with correct network management network (ovirt-mgmt).

the bug seem to reside in: 

'backend/manager/dbscripts/insert_data.sql' where 'engine' is uses hard-coded: 

insert into network (id,name,description,storage_pool_id) select v_id_0009, 'engine', 'Management Network', v_storage_pool_id where not exists (select * from network)