CLOUDSTACK-9864 cleanup stale worker VMs after job expiry time#2030
CLOUDSTACK-9864 cleanup stale worker VMs after job expiry time#2030karuturi merged 5 commits intoapache:masterfrom
Conversation
| public class VmwareManagerImpl extends ManagerBase implements VmwareManager, VmwareStorageMount, Listener, VmwareDatacenterService, Configurable { | ||
| private static final Logger s_logger = Logger.getLogger(VmwareManagerImpl.class); | ||
|
|
||
| private static final long MILISECONDS_PER_MINUTE = 60000; |
There was a problem hiding this comment.
MILI typo MILLISECONDS ..
| if(s_vmwareCleanOldWorderVMs.value() && letsSayNow - startTick > hungWorkerTimeout) { | ||
| if(s_logger.isInfoEnabled()) { | ||
| s_logger.info("Worker VM expired, seconds elapsed: " + (System.currentTimeMillis() - startTick) / 1000); | ||
| } |
There was a problem hiding this comment.
For timeouts you may want to use java Duration, that is much cleaner.
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-624 |
|
@blueorangutan test centos7 vmware-55u3 |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests |
|
Trillian test result (tid-983)
|
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-632 |
|
renaming and close-opening for retests. "it works on my laptop (tm)" |
|
show me the money (tm) |
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos6 ✖centos7 ✖debian. JID-641 |
|
Looks like we need to rebase here as well because of the retirement of the Midonet plugin, @DaanHoogland |
e2c0f09 to
084febb
Compare
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-649 |
|
@blueorangutan test centos7 vmware-55u3 |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-55u3) has been kicked to run smoke tests |
|
Trillian test result (tid-1007)
|
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM based on code review, marvin test results and manual verification
|
@karuturi @rhtyd @abhinandanprateek @swill @pdion891 can I get a witness? |
|
LGTM |
|
LGTM on code review. |
|
I can't review much that code, but it look good and seems to fix the issue. |
No description provided.