cloudstack/engine
Spaceman1984 7b881517b7
kvm: Fixed removal of hosts from certsmap when running certificate auto-renewal (#4156)
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
2020-07-15 15:58:07 +05:30
..
api server: Enable sending hypervior host name via metadata - VR and Config Drive (#3976) 2020-07-01 08:44:11 +05:30
components-api Merge remote-tracking branch 'origin/4.14' 2020-07-07 12:53:05 +05:30
network Updating pom.xml version numbers for release 4.15.0.0-SNAPSHOT 2020-05-23 10:18:39 +01:00
orchestration server: Enable sending hypervior host name via metadata - VR and Config Drive (#3976) 2020-07-01 08:44:11 +05:30
schema kvm: Fixed removal of hosts from certsmap when running certificate auto-renewal (#4156) 2020-07-15 15:58:07 +05:30
service Updating pom.xml version numbers for release 4.15.0.0-SNAPSHOT 2020-05-23 10:18:39 +01:00
storage [VMware] Enable unmanaging guest VMs (#4103) 2020-06-26 08:31:43 -03:00
pom.xml Updating pom.xml version numbers for release 4.15.0.0-SNAPSHOT 2020-05-23 10:18:39 +01:00