Bug 1059430
Summary: | dao: always use management bridge name from vdc_options | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Alon Bar-Lev <alonbl> |
Component: | ovirt-engine | Assignee: | Eli Mesika <emesika> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Pavlik <mpavlik> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.4.0 | CC: | acathrow, alonbl, eedri, emesika, gklein, iheim, lpeer, pstehlik, Rhev-m-bugs, sbonazzo, sherold, yeylon |
Target Milestone: | --- | ||
Target Release: | 3.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | av1 | 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: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alon Bar-Lev
2014-01-29 20:38:07 UTC
(In reply to Alon Bar-Lev from comment #0) Its is not just the DAO , there are SPs & Views referring to the network name and making this change impractical Why not : 1) Have a default for MGMT_BRIDGE in config.sql 2) Ask for @MGMT_BRIDGE@ value in setup before creating the database 3) concatenate a call to fn_db_update_config_value with the value accepted to the end of config.sql , this will override the former setting no matter what it is 4) insert_data.sql will be modified to get the network name from MGMT_BRIDGE in vdc_options 5) upon installation the right value is updated in config.sql and network table will be initialized with the selected name Sad to read... :( Easier for me is just to update the database post installation. Can you please provide an update statement I can use that will work both on clean database and upgrade? Thanks! Better... can you please provide stp I can call to set management bridge name, this stp will do whatever required (vdc_option, this table, etc...) referenced patches have been merged, shouldn't this be in modified? (In reply to Sandro Bonazzola from comment #4) > referenced patches have been merged, shouldn't this be in modified? yes. Eli, can you please advise on how to test this? using the next 3.4 snapshot after installation/upgrade you should see that rhevm bridge name is used for management bridge. if you see the ovirtmgmt then something is wrong. verified on Red Hat Enterprise Virtualization Manager Version: 3.4.0-0.2.master.el6ev host is installed with rhevm as management bridge Closing as part of 3.4.0 |