From e0c4bb47d9bc4b24be57882b455b3f9783c2a896 Mon Sep 17 00:00:00 2001 From: alena Date: Tue, 5 Apr 2011 13:44:44 -0700 Subject: [PATCH] bug 9234: system network offerings are HA enabled status 9234: resolved fixed Conflicts: setup/db/db/schema-222to224.sql --- setup/db/db/schema-222to224.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/db/db/schema-222to224.sql b/setup/db/db/schema-222to224.sql index 076c0bd963f..a8eac64960f 100644 --- a/setup/db/db/schema-222to224.sql +++ b/setup/db/db/schema-222to224.sql @@ -117,4 +117,6 @@ ALTER TABLE `cloud`.`op_dc_ip_address_alloc` CHANGE COLUMN `instance_id` `nic_id ALTER TABLE op_dc_ip_address_alloc ADD CONSTRAINT `fk_op_dc_ip_address_alloc__data_center_id` FOREIGN KEY (`data_center_id`) REFERENCES `data_center`(`id`) ON DELETE CASCADE; ALTER TABLE `cloud`.`op_dc_link_local_ip_address_alloc` CHANGE COLUMN `instance_id` `nic_id` bigint unsigned DEFAULT NULL; -DELETE FROM `sequence` WHERE name='snapshots_seq'; +DELETE FROM `sequence` WHERE name='snapshots_seq'; + +UPDATE `cloud`.`service_offering` s, `cloud`.`disk_offering` d SET s.ha_enabled=1 where s.id=d.id and d.system_use=1;