You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2018/07/26 07:21:28 UTC

[cloudstack] branch master updated: kvm: Fixes #2763 move post-renewal libvirt restart class suitably (#2764)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 7667846  kvm: Fixes #2763 move post-renewal libvirt restart class suitably (#2764)
7667846 is described below

commit 7667846bfa70704cfe785ffe29fc13f0d066a765
Author: Rohit Yadav <ro...@apache.org>
AuthorDate: Thu Jul 26 12:51:24 2018 +0530

    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 <ro...@shapeblue.com>
---
 .../resource/wrapper/LibvirtPostCertificateRenewalCommandWrapper.java   | 0
 test/integration/smoke/test_vm_life_cycle.py                            | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

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 e9970b6..5906a94 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)