Skip to content

Commit 49a661b

Browse files
author
subhash yedugundla
committed
CLOUDSTACK-9589 vmName entries from host_details table for the VM's whose state is Expunging should be deleted during upgrade from older versions
1 parent f4eff53 commit 49a661b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup/db/db/schema-4930to41000-cleanup.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@
2020
--;
2121

2222
DELETE FROM `cloud`.`configuration` WHERE name='consoleproxy.loadscan.interval';
23+
24+
DELETE FROM `cloud`.`host_details` where name = 'vmName' and value in (select name from `cloud`.`vm_instance` where state = 'Expunging' and hypervisor_type ='BareMetal');

0 commit comments

Comments
 (0)