CLOUDSTACK-9589 vmName entries from host_details table for the VM's w… - #1759
Conversation
| -- Schema cleanup from 4.8.0 to 4.8.1; | ||
| --; | ||
|
|
||
| DELETE FROM `cloud`.`host_details` where name = 'vmName' and value in (select name from `cloud`.`vm_instance` where state = 'Expunging' and hypervisor_type ='BareMetal'); |
There was a problem hiding this comment.
Why is this change scoped only to the baremetal hypervisor? It would seem that it should apply to all hypervisors.
|
This change has been added to the Also, the base branch for this PR is master. However, the database change is targeted at 4.8. Therefore, the base branch should be changed to 4.8. |
|
@jburwell |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-174 |
|
Move this to 4.9 or master branch. |
1006096 to
0bf8a98
Compare
|
@rhtyd rebased to 4.9 branch as suggested |
0bf8a98 to
128833f
Compare
|
@yvsubhash can you move the changes to 490to4910.sql ? Also rebase against latest 4.9, squash your changes. |
128833f to
4103aec
Compare
|
@rhtyd can you suggest me the branch for rebasing this commit against? |
4103aec to
d4474a4
Compare
|
LGTM |
af24f59 to
3a2ae6e
Compare
ACS CI BVT RunSumarry: Link to logs Folder (search by build_no): https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0 Failed tests:
Skipped tests: Passed test suits: |
|
tag:mergeready |
…hose state is Expunging should be deleted during upgrade from older versions
3a2ae6e to
49a661b
Compare
Corrige o uso de _storages_ locais do tipo `VMFS` Closes apache#1759 See merge request scclouds/scclouds!717
CLOUDSTACK-9589 vmName entries from host_details table for the VM's whose state is Expunging should be deleted during upgrade from older versions
Having vmName entries for VMs in 'expunging' states would cause with deploying VMs with matching host tags fail. So removing them during upgrade