You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/12/27 12:41:35 UTC

[GitHub] [cloudstack] shoaibjdev commented on issue #3509: 4.12 add host fail , using tls connection

shoaibjdev commented on issue #3509: 4.12 add host fail ,using tls connection
URL: https://github.com/apache/cloudstack/issues/3509#issuecomment-569262189
 
 
   It seems CloudStack agent module is still broken, have tried 4.11.x.x, 4.12.x.x and 4.13.x.x
   It fails during addition of Host from the UI.
   
   **OS**: RHEL 7.7 (Maipo)
   **OS Repo:** rhel-7-server-rpms/7Server/x86_64
   **qemu-kvm**: 1.5.3
   **libvirt**: 4.5.0
   
   Tried multiple times with clean Red Hat latest OS installation, subscribed and updated repos still fails at addition of Agent Host with errors below:
   
   **Management Server:**
   2019-12-27 11:49:07,512 WARN  [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-2:ctx-266bf136) (logid:284f2ed7) Monitor NetworkOrchestrator says there is an error in the connect process for 1 due to Unable to get an answer to the CheckNetworkCommand from agent: 1
   
   **Agent**:
    Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion
   
   Also noted, there is no issue with **KVM/QeMU or libvirt** as plain virtual machines just works fine, without any errors in libvirtd/kvm logs. After CloudStack Management server tries to update the configuration for Agent host, it messes up something on the libvirt/qemu/kvm configs which am still not able to figure out.
   
   **Reproduce**:
   1. Install RHEL 7.x from latest ISO
   2. yum update -y
   3. Setup bridge network & interface (as per Doc http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html)
   4. Setup Primary + Secondary NFS storage on CloudStack management server host
   5. Add CloudStack Repo and install CloudStack management server packages
   6. [KVM/Agent Host] yum install qemu-kvm qemu-img libvirt libvirt-python libvirt-client virt-install bridge-utils -y
   7. Add CloudStack Repo and install CloudStack Agent (Hypervisor) Host
   8. From UI Basic Setup, add the KVM Host and it will fail with above error after trying for few minutes
   
   
   Can someone from CloudStack community kindly reproduce this and assist to get the root cause?
   
   
   
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services