Remove cpu core from op_host_capacity when host is deleted #4367
Conversation
GabrielBrascher
left a comment
There was a problem hiding this comment.
LGTM based o code review.
I did not test it, though.
|
@ravening this is a bug fix, which should be merged into 4.14 as well |
|
@ravening will you backport? |
I will rebase with 4.14 |
6eb05ae to
b2c9d2e
Compare
… to maintenance When a host is put into maintenance mode or its deleted from cloudstack then delete its entries from op_host_capacity table
b2c9d2e to
bf16e4c
Compare
|
@blueoragutan package |
2 similar comments
|
@blueoragutan package |
|
@blueoragutan package |
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2259 |
|
@blueorangutan test centos7 kvm-centos7 keepEnv |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3082)
|
Description
When a host is put into maintenance mode or its deleted from
cloud stack then delete its entries from the op_host_capacity table
Currently, only memory and CPU information is deleted from the table.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Delete a host or put a host into maintenance mode.
All the entries related to this host in op_host_capacity should be deleted