diff --git a/setup/db/db/schema-222to224.sql b/setup/db/db/schema-222to224.sql index 2c0a65e0737..37c5ff6325a 100644 --- a/setup/db/db/schema-222to224.sql +++ b/setup/db/db/schema-222to224.sql @@ -166,3 +166,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';