wqmeng edited a comment on issue #3509: 4.12 add host fail ,using tls connection URL: https://github.com/apache/cloudstack/issues/3509#issuecomment-559091942 Hello, I have reinstall many time with latest cloudstack 4.13.0, and continue get this error when add the Host. ERROR [kvm.resource.LibvirtConnection] (Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion . And the libvirtd works fine. ``` [root@localhost ~]# /bin/systemctl status libvirtd.service ● libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2019-11-27 05:18:10 PST; 18min ago Docs: man:libvirtd(8) https://libvirt.org Main PID: 26297 (libvirtd) Tasks: 17 (limit: 32768) CGroup: /system.slice/libvirtd.service └─26297 /usr/sbin/libvirtd -l Nov 27 05:18:09 2278.xxxx.com systemd[1]: Starting Virtualization daemon... Nov 27 05:18:10 2278.xxxx.com systemd[1]: Started Virtualization daemon. Nov 27 05:18:10 2278.xxxx.com libvirtd[26297]: 2019-11-27 13:18:10.978+0000: 26313: info : libvirt version: 4.5.0, package: 23.el7_7.1 (CentOS BuildSystem <http://bugs.centos.org>, 2019-09-13-18:...ys.centos.org) Nov 27 05:18:10 2278.xxxx.com libvirtd[26297]: 2019-11-27 13:18:10.978+0000: 26313: info : hostname: 2278.xxxx.com Nov 27 05:18:10 2278.xxxx.com libvirtd[26297]: 2019-11-27 13:18:10.978+0000: 26313: warning : virSecurityManagerNew:189 : Configured security driver "none" disables default policy to create confined guests ``` ``` [root@localhost ~]# /bin/systemctl status cloudstack-agent.service ● cloudstack-agent.service - CloudStack Agent Loaded: loaded (/usr/lib/systemd/system/cloudstack-agent.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2019-11-27 05:27:33 PST; 17min ago Docs: http://www.cloudstack.org/ Main PID: 27937 (java) Tasks: 177 CGroup: /system.slice/cloudstack-agent.service └─27937 /usr/bin/java -Djava.io.tmpdir=/usr/share/cloudstack-agent/tmp -Xms256m -Xmx2048m -cp /usr/share/cloudstack-agent/lib/*:/usr/share/cloudstack-agent/plugins/*:/etc/cloudstack/agent:/usr/share/cl... Nov 27 05:44:22 2278.xxxx.com java[27937]: INFO [utils.nio.NioClient] (Agent-Handler-5:) (logid:) SSL: Handshake done Nov 27 05:44:22 2278.xxxx.com java[27937]: INFO [utils.nio.NioClient] (Agent-Handler-5:) (logid:) Connected to 111.111.111.111:8250 Nov 27 05:44:22 2278.xxxx.com sudo[26170]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/grep InitiatorName= /etc/iscsi/initiatorname.iscsi Nov 27 05:44:22 2278.xxxx.com java[27937]: INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:) (logid:) Attempting to create storage pool c82dfc97-c60c-4681-92ff-f29a5e9c96c9 (Filesystem) in libvirt Nov 27 05:44:22 2278.xxxx.com java[27937]: libvirt: Domain Config error : invalid connection pointer in virConnectGetVersion Nov 27 05:44:22 2278.xxxx.com java[27937]: ERROR [kvm.resource.LibvirtConnection] (Agent-Handler-1:) (logid:) Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion Nov 27 05:44:22 2278.xxxx.com java[27937]: INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:) (logid:) Found existing defined storage pool c82dfc97-c60c-4681-92ff-f29a5e9c96c9, using it. Nov 27 05:44:22 2278.xxxx.com java[27937]: INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:) (logid:) Trying to fetch storage pool c82dfc97-c60c-4681-92ff-f29a5e9c96c9 from libvirt Nov 27 05:44:23 2278.xxxx.com java[27937]: INFO [cloud.agent.Agent] (Agent-Handler-5:) (logid:) Connected to the host: 111.111.111.111 Nov 27 05:44:27 2278.xxxx.com java[27937]: INFO [cloud.agent.Agent] (Agent-Handler-5:) (logid:) Connected to the host: 111.111.111.111 ``` ``` [root@localhost ~]# lsmod | grep kvm kvm_intel 188644 0 kvm 621480 1 kvm_intel irqbypass 13503 1 kvm ```
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
