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

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


The following commit(s) were added to refs/heads/4.14 by this push:
     new db55910  packaging: missing python3 libvirt dependency for CentOS7 
(#4124)
db55910 is described below

commit db55910f6bc032b708afa84d56c463c648ceb9b3
Author: NuxRo <[email protected]>
AuthorDate: Thu Jun 4 02:39:14 2020 +0100

    packaging: missing python3 libvirt dependency for CentOS7 (#4124)
    
    Missing python3 libvirt bindings on CentOS7 effectively break security 
groups.
    There are 0 firewall rules added. The agent logs report:
    
    ```2020-06-02 10:58:34,346 DEBUG [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Traceback (most recent call last):  File 
"/usr/share/cloudstack-common/scripts/vm/network/security_group.py", line 26, 
in <module>    import libvirtModuleNotFoundError: No module named 'libvirt'
    ```
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 packaging/centos7/cloud.spec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packaging/centos7/cloud.spec b/packaging/centos7/cloud.spec
index 6a8a160..8b26086 100644
--- a/packaging/centos7/cloud.spec
+++ b/packaging/centos7/cloud.spec
@@ -110,6 +110,7 @@ Requires: iproute
 Requires: ipset
 Requires: perl
 Requires: libvirt-python
+Requires: python36-libvirt
 Requires: qemu-img
 Requires: qemu-kvm
 Provides: cloud-agent

Reply via email to