CLOUDSTACK-9589 vmName entries from host_details table for the VM's whose state is Expunging should be deleted during upgrade from older versions

This commit is contained in:
subhash yedugundla 2017-06-06 16:27:54 +05:30
parent f4eff539c4
commit 49a661be5f

View File

@ -20,3 +20,5 @@
--;
DELETE FROM `cloud`.`configuration` WHERE name='consoleproxy.loadscan.interval';
DELETE FROM `cloud`.`host_details` where name = 'vmName' and value in (select name from `cloud`.`vm_instance` where state = 'Expunging' and hypervisor_type ='BareMetal');