Eli Mesika has posted comments on this change.

Change subject: core: add 3.5 support
......................................................................


Patch Set 2:

(7 comments)

http://gerrit.ovirt.org/#/c/27613/2//COMMIT_MSG
Commit Message:

Line 6: 
Line 7: core: add 3.5 support
Line 8: 
Line 9: This patch adds 3.5 support in code, tests and DB configuration
Line 10: It also creates default 3,5 DC and Cluster and enables to create
> s/3,5/3.5/
Done
Line 11: new 3.5 DCs and Clusters
Line 12: 
Line 13: Change-Id: Icb0c3ce202789d983cae95b0b1ea4ef0ead73e0d
Line 14: Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095258


http://gerrit.ovirt.org/#/c/27613/2/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Version.java
File 
backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Version.java:

Line 14:     private int minor;
Line 15:     private int build;
Line 16:     private int revision;
Line 17: 
Line 18:     public static final Version v2_2 = new Version(2, 2);
> Not part of THIS patch, but shouldn't we get rid of 2.2 already?
Yea , will push that in a separate patch
Line 19:     public static final Version v3_0 = new Version(3, 0);
Line 20:     public static final Version v3_1 = new Version(3, 1);
Line 21:     public static final Version v3_2 = new Version(3, 2);
Line 22:     public static final Version v3_3 = new Version(3, 3);


http://gerrit.ovirt.org/#/c/27613/2/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
File packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql:

Line 386: select fn_db_add_config_value('MaxNumOfCpuPerSocket','16','3.1');
Line 387: select fn_db_add_config_value('MaxNumOfCpuPerSocket','16','3.2');
Line 388: select fn_db_add_config_value('MaxNumOfCpuPerSocket','16','3.3');
Line 389: select fn_db_add_config_value('MaxNumOfCpuPerSocket','16','3.4');
Line 390: select fn_db_add_config_value('MaxNumOfCpuPerSocket','16','3.5');
> Probably not part of this patch - but since it's always the same value, reg
This may change , see in the following comment , so I would leave that as is
Line 391: select fn_db_add_config_value('MaxNumOfVmCpus','64','3.0');
Line 392: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.1');
Line 393: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.2');
Line 394: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.3');


Line 392: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.1');
Line 393: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.2');
Line 394: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.3');
Line 395: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.4');
Line 396: select fn_db_add_config_value('MaxNumOfVmCpus','160','3.5');
> Probably not part of this patch - but since it's always the same value, reg
Here this is an example for something that has '64' in 3.0 and was changed to 
'160' from 3.1
Line 397: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.0');
Line 398: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.1');
Line 399: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.2');
Line 400: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.3');


Line 398: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.1');
Line 399: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.2');
Line 400: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.3');
Line 401: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.4');
Line 402: select fn_db_add_config_value('MaxNumOfVmSockets','16','3.5');
> Probably not part of this patch - but since it's always the same value, reg
This may change , see in the following comment , so I would leave that as is
Line 403: select fn_db_add_config_value('MaxRerunVmOnVdsCount','3','general');
Line 404: select 
fn_db_add_config_value('MaxStorageVdsDelayCheckSec','5','general');
Line 405: select 
fn_db_add_config_value('MaxStorageVdsTimeoutCheckSec','30','general');
Line 406: select fn_db_add_config_value('MaxVdsMemOverCommit','200','general');


Line 542: select fn_db_add_config_value('UserDefinedVMProperties','','3.1');
Line 543: select fn_db_add_config_value('UserDefinedVMProperties','','3.2');
Line 544: select fn_db_add_config_value('UserDefinedVMProperties','','3.3');
Line 545: select fn_db_add_config_value('UserDefinedVMProperties','','3.4');
Line 546: select fn_db_add_config_value('UserDefinedVMProperties','','3.5');
> Probably not part of this patch - but since it's always the same value, reg
Yes, we should consider that
Line 547: select fn_db_add_config_value('UserRefreshRate','3600','general');
Line 548: select 
fn_db_add_config_value('UserSessionTimeOutInterval','30','general');
Line 549: select 
fn_db_add_config_value('UtilizationThresholdInPercent','80','general');
Line 550: select fn_db_add_config_value('ValidNumOfMonitors','1,2,4','general');


Line 635: select fn_db_add_config_value('CustomDeviceProperties', '', '3.1');
Line 636: select fn_db_add_config_value('CustomDeviceProperties', '', '3.2');
Line 637: select fn_db_add_config_value('CustomDeviceProperties', '', '3.3');
Line 638: select fn_db_add_config_value('CustomDeviceProperties', '', '3.4');
Line 639: select fn_db_add_config_value('CustomDeviceProperties', '', '3.5');
> Probably not part of this patch - but since it's always the same value, reg
Really , this may be general, requires a separate patch and virt ack
Line 640: 
Line 641: -- Network Custom Properties
Line 642: select fn_db_add_config_value('NetworkCustomPropertiesSupported', 
'false', '3.0');
Line 643: select fn_db_add_config_value('NetworkCustomPropertiesSupported', 
'false', '3.1');


-- 
To view, visit http://gerrit.ovirt.org/27613
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Icb0c3ce202789d983cae95b0b1ea4ef0ead73e0d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to