DB upgrade - update LVM storage with correct cluster id

This commit is contained in:
alena 2011-05-06 17:49:09 -07:00
parent 2df6b0a6e1
commit fe3f74a56a
1 changed files with 2 additions and 0 deletions

View File

@ -167,3 +167,5 @@ 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';