From abcd5677c0cd389e584b505669652193e59da116 Mon Sep 17 00:00:00 2001 From: frank Date: Fri, 17 Aug 2012 14:20:22 -0700 Subject: [PATCH] CS-16059 2.2.14 to 3.0.5 : Upgrade is failing fixed --- setup/db/db/schema-2214to30.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/setup/db/db/schema-2214to30.sql b/setup/db/db/schema-2214to30.sql index 6584db217c1..0accb6aa829 100755 --- a/setup/db/db/schema-2214to30.sql +++ b/setup/db/db/schema-2214to30.sql @@ -721,6 +721,20 @@ UPDATE `cloud`.`network_offerings` SET display_text='Offering for Shared Securit UPDATE `cloud`.`configuration` SET category = 'Secure' where name in ('alert.smtp.password', 'network.loadbalancer.haproxy.stats.auth', 'security.singlesignon.key', 'project.smtp.password'); UPDATE `cloud`.`configuration` SET category = 'Hidden' where name in ('secondary.storage.vm', 'xen.create.pools.in.pod', 'cloud.identifier', 'security.hash.key', 'router.ram.size'); + +UPDATE `cloud`.`guest_os` set id = 158 where id = 141; +UPDATE `cloud`.`guest_os` set id = 159 where id = 142; +UPDATE `cloud`.`guest_os` set id = 160 where id = 143; +UPDATE `cloud`.`vm_template` set guest_os_id = 158 where guest_os_id = 141; +UPDATE `cloud`.`vm_template` set guest_os_id = 159 where guest_os_id = 142; +UPDATE `cloud`.`vm_template` set guest_os_id = 160 where guest_os_id = 143; +UPDATE `cloud`.`vm_instance` set guest_os_id = 158 where guest_os_id = 141; +UPDATE `cloud`.`vm_instance` set guest_os_id = 159 where guest_os_id = 142; +UPDATE `cloud`.`vm_instance` set guest_os_id = 160 where guest_os_id = 143; +UPDATE `cloud`.`guest_os_hypervisor` set guest_os_id = 158 where guest_os_id = 141; +UPDATE `cloud`.`guest_os_hypervisor` set guest_os_id = 159 where guest_os_id = 142; +UPDATE `cloud`.`guest_os_hypervisor` set guest_os_id = 160 where guest_os_id = 143; + INSERT IGNORE INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (143, 1, 'CentOS 6.0 (32-bit)'); INSERT IGNORE INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (144, 1, 'CentOS 6.0 (64-bit)'); INSERT IGNORE INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (145, 3, 'Oracle Enterprise Linux 5.6 (32-bit)');