cloudstack/engine
Rohit Yadav 1d14552590
kvm: Fixed removal of hosts from certsmap when running certificate auto-renewal (#4156) (#117)
When a host connects to a management server, the host IP address and the certificate are stored in memory on the management server. This mapping is checked periodically to determine if any certificates are due to expire.

Before a certificate is renewed, a few checks are done to determine if the host is connected to the management server by fetching the host record from the database. The problem here is if the wrong record is fetched, the host is not checked for renewal.

This PR improves the host record fetch from the database by looking only at hosts that are not removed.

Fixes: #4129
(cherry picked from commit 7b881517b7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Co-authored-by: Spaceman1984 <49917670+Spaceman1984@users.noreply.github.com>
2021-10-08 12:48:31 +05:30
..
api Fix for "Reboot skips network plugin" and Added addl functionality (details below) support for PowerFlex/ScaleIO volume operations (#112) 2021-02-19 12:54:13 +05:30
components-api powerflex: Gateway client improvements (#114) 2021-06-02 15:32:49 +05:30
network Updating pom.xml version numbers for release 4.14.0.0 2020-05-11 15:03:14 +01:00
orchestration Fix for "Reboot skips network plugin" and Added addl functionality (details below) support for PowerFlex/ScaleIO volume operations (#112) 2021-02-19 12:54:13 +05:30
schema kvm: Fixed removal of hosts from certsmap when running certificate auto-renewal (#4156) (#117) 2021-10-08 12:48:31 +05:30
service Updating pom.xml version numbers for release 4.14.0.0 2020-05-11 15:03:14 +01:00
storage Clean up the dest volume when it's creation failed on migrate volume operation (#113) 2021-02-26 10:50:30 +05:30
pom.xml Updating pom.xml version numbers for release 4.14.0.0 2020-05-11 15:03:14 +01:00