From 7667846bfa70704cfe785ffe29fc13f0d066a765 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 26 Jul 2018 12:51:24 +0530 Subject: [PATCH] kvm: Fixes #2763 move post-renewal libvirt restart class suitably (#2764) This fixes #2763 by moving a post cert-renewal class for kvm plugin/hypervisor to src/main/java. The regression is due to change in file-system layout due to maven standard refactoring on master and issue was not caught during forward-merging of a PR from 4.11 branch. Signed-off-by: Rohit Yadav --- .../wrapper/LibvirtPostCertificateRenewalCommandWrapper.java | 0 test/integration/smoke/test_vm_life_cycle.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename plugins/hypervisors/kvm/src/{ => main/java}/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java (100%) diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java similarity index 100% rename from plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java rename to plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py index e9970b6f212..5906a94869c 100644 --- a/test/integration/smoke/test_vm_life_cycle.py +++ b/test/integration/smoke/test_vm_life_cycle.py @@ -918,7 +918,7 @@ class TestSecuredVmMigration(cloudstackTestCase): cmd = provisionCertificate.provisionCertificateCmd() cmd.hostid = host.id cmd.reconnect = True - self.apiclient.updateConfiguration(cmd) + self.apiclient.provisionCertificate(cmd) for host in self.hosts: self.check_connection(secured='true', host=host)