mirror of https://github.com/apache/cloudstack.git
bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
status 9618: resolved fixed Conflicts: setup/db/db/schema-222to224.sql
This commit is contained in:
parent
5116abbcc5
commit
d8ceebffe5
|
|
@ -139,8 +139,6 @@ UPDATE `cloud`.`service_offering` s, `cloud`.`disk_offering` d SET s.ha_enabled=
|
|||
UPDATE `cloud`.`data_center` SET is_security_group_enabled=1 WHERE networktype='Basic';
|
||||
UPDATE `cloud`.`networks` SET is_security_group_enabled=1 WHERE guru_name='DirectPodBasedNetworkGuru';
|
||||
|
||||
UPDATE `cloud`.`host` SET resource='com.cloud.hypervisor.xen.resource.XenServer56FP1Resource' WHERE resource='com.cloud.hypervisor.xen.resource.XenServer56FP1PremiumResource';
|
||||
|
||||
UPDATE `cloud`.`nics` SET ip_type='Ip4';
|
||||
UPDATE `cloud`.`nics` SET broadcast_uri='vlan://untagged', isolation_uri='ec2://untagged', strategy='Create' where reserver_name='DirectPodBasedNetworkGuru';
|
||||
|
||||
|
|
@ -162,8 +160,6 @@ ALTER TABLE `cloud`.`storage_pool` MODIFY COLUMN `uuid` varchar(255) UNIQUE;
|
|||
ALTER TABLE `cloud`.`user_statistics` DROP KEY `account_id`;
|
||||
ALTER TABLE `cloud`.`user_statistics` ADD UNIQUE KEY `account_id` (`account_id`,`data_center_id`, `public_ip_address`, `device_id`,`device_type`);
|
||||
|
||||
UPDATE `cloud`.`host` SET resource='com.cloud.hypervisor.xen.resource.XenServer56FP1Resource' WHERE resource='com.cloud.hypervisor.xen.resource.XenServer56FP1PremiumResource';
|
||||
|
||||
|
||||
UPDATE `cloud`.`vm_instance` SET ha_enabled=0 WHERE type='ConsoleProxy';
|
||||
|
||||
|
|
@ -178,5 +174,4 @@ DROP TABLE `cloud`.`load_balancer`;
|
|||
UPDATE `cloud`.`nics` SET strategy='Create' where reserver_name='DirectNetworkGuru';
|
||||
|
||||
UPDATE storage_pool SET cluster_id=(SELECT cluster_id FROM host INNER JOIN storage_pool_host_ref WHERE host.id=storage_pool_host_ref.host_id AND storage_pool_host_ref.pool_id=storage_pool.id) WHERE pool_type='LVM';
|
||||
|
||||
UPDATE `cloud`.`service_offering` s, `cloud`.`disk_offering` d SET s.ha_enabled=1 where s.id=d.id and d.system_use=1
|
||||
UPDATE `cloud`.`host` SET resource='com.cloud.hypervisor.xen.resource.XenServer56FP1Resource' WHERE resource='com.cloud.hypervisor.xen.resource.XenServer56FP1PremiumResource';
|
||||
|
|
|
|||
Loading…
Reference in New Issue