Permalink
Browse files

latest merge from eee

  • Loading branch information...
2 parents c8d6bea + e26724e commit da48119bebcc31c4118879a27d9ab25d57d24416 Daniel Nurmi committed Dec 2, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 clc/modules/core/conf/upgrade/upgrade_20_30.groovy
View
4 clc/modules/core/conf/upgrade/upgrade_20_30.groovy
@@ -619,6 +619,10 @@ class upgrade_20_30 extends AbstractUpgradeScript {
def oldHome = System.getProperty( "euca.upgrade.old.dir" );
def newHome = System.getProperty( "euca.upgrade.new.dir" );
+ if (!has_table('eucalyptus_config', 'config_vmwarebroker')) {
+ return true;
+ }
+
connMap['eucalyptus_config'].rows('SELECT * FROM config_vmwarebroker').each{
EntityWrapper<VMwareBrokerConfiguration> dbcfg = EntityWrapper.get(VMwareBrokerConfiguration.class);
VMwareBrokerConfiguration broker = new VMwareBrokerConfiguration(it.config_component_name, it.config_component_name + '_vmbroker', it.config_component_hostname, it.config_component_port);

0 comments on commit da48119

Please sign in to comment.