Notespeak opened a new issue, #6944:
URL: https://github.com/apache/cloudstack/issues/6944

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   cloudstack agent
   -->
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   Cloudstack version 4.17
   -->
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   <!--
   `Networking config`
   `auto eno1
   iface eno1 inet manual
   auto eno2
   iface eno2 inet manual
   #    address something-something
   #    gateway something-something
         #dns-* options are implemented by the resolvconf package, if installed
   #    dns-nameservers 1.1.1.1
   auto br0
   iface br0 inet static
   bridge_ports eno1
   address 185.185.58.82/26
   gateway 185.185.58.65
   dns-nameservers 1.1.1.1
   bridge_fd 15
   bridge_hello 2
   bridge_maxage 20
   bridge_stp off
   
   auto cloudbrvm0
   iface cloudbrvm0 inet manual
   bridge_ports eno2
   bridge_fd 15
   bridge_hello 2
   bridge_maxage 20
   bridge_stp off
   `
   `Host specs`
   Dell R620
   CPU E5-2695v2
   Ram 64GB DDR3 ECC RAM
   Networking 4 x 1gb/s interfaces
   VT extentions support - Yes
   Nested Virtualization support - Yes
   
   `Vm host specs`
   MacBook pro 2019 
   CPU I9-9900
   RAM 32GB DDR4
   Networking 1 bridged wifi interface
   VT extentions support - Yes
   Nested Virtualization support - Yes
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Debian 11.5.0
   
   Java -v
   openjdk version "11.0.16" 2022-07-19
   OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
   OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode, 
sharing)
   
   Python -v
   Python 3.9.2
   
   Libvirt version
   version: 7.0.0, package: 3
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   I am getting repeatable errors when installing cloudstack-agent on a fresh 
Debian 11 installation.  For some reason I am getting libvirtd errors, when I 
is installing as a dependancy of cloudstack-agent. I tried removing the pid and 
also purging libvirt and cloudstack agent, but unfortunately this didn't yield 
any results. I was also able to reproduce this behaviour on a vm.
   
   ##### STEPS TO REPRODUCE
   <!--
   Install a new OS ( Debian 11.5.0)
   Install openjdk 11.0.16+8-1~deb11u1  
   Install python3 connector
   Setup Database
   Install Cloudstack-management
   Install Cloustack-agent 
   Setup networking (networking config)
   Configure uuid in cloudstack-agent
   Observe agent failing
   Check agent log ( log snippet 1)
   Check libvirtd status ( libvirt deamon status)
   Send a sample call to libvrtd service ( log snippet 2)
   Enable debug level logs for libvirt
   
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   **log snippet 1**
   `2022-12-03 10:08:35,792 WARN  [kvm.storage.KVMStoragePoolManager] 
(main:null) (logid:) Duplicate StorageAdaptor type PowerFlex, not loading 
com.cloud.hypervisor.kvm.storage.ScaleIOStorageAdaptor
   2022-12-03 10:08:35,793 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) No libvirt.vif.driver specified. Defaults to 
BridgeVifDriver.
   2022-12-03 10:08:35,799 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to get private nic name
   2022-12-03 10:08:35,799 ERROR [cloud.agent.AgentShell] (main:null) (logid:) 
Unable to start agent: Failed to get private nic name
   `
   `● libvirtd.service - Virtualization daemon
        Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor 
preset: enabled)
        Active: active (running) since Sat 2022-12-03 10:08:49 CST; 17min ago
   TriggeredBy: ● libvirtd-ro.socket
                ● libvirtd.socket
                ● libvirtd-admin.socket
          Docs: man:libvirtd(8)
                https://libvirt.org
      Main PID: 4210 (libvirtd)
         Tasks: 19 (limit: 32768)
        Memory: 11.2M
           CPU: 257ms
        CGroup: /system.slice/libvirtd.service
                └─4210 /usr/sbin/libvirtd
   
   `
   `libvirtd -v
   2022-12-03 16:27:52.629+0000: 5169: info : libvirt version: 7.0.0, package: 
3 (Andrea Bolognani <[email protected]> Fri, 26 Feb 2021 16:46:34 +0100)
   2022-12-03 16:27:52.629+0000: 5169: info : hostname: mskn101
   2022-12-03 16:27:52.629+0000: 5169: info : virObjectNew:259 : OBJECT_NEW: 
obj=0x55b6a17dc5f0 classname=virAccessManager
   2022-12-03 16:27:52.629+0000: 5169: info : virObjectNew:259 : OBJECT_NEW: 
obj=0x55b6a17dc650 classname=virAccessManager
   2022-12-03 16:27:52.629+0000: 5169: info : virObjectRef:403 : OBJECT_REF: 
obj=0x55b6a17dc5f0
   2022-12-03 16:27:52.629+0000: 5169: info : virObjectUnref:381 : 
OBJECT_UNREF: obj=0x55b6a17dc5f0
   2022-12-03 16:27:52.629+0000: 5169: error : virPidFileAcquirePath:367 : 
Failed to acquire pid file '/run/libvirtd.pid': Resource temporarily unavailable
   2022-12-03 16:27:52.629+0000: 5169: info : virNetlinkEventServiceStopAll:956 
: stopping all netlink event services
   2022-12-03 16:27:52.629+0000: 5169: info : virNetlinkEventServiceStop:919 : 
stopping netlink event service
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   A clean installation of cloudstack-agent
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   Issues with libvirt and non operational cloudstack-agent.
   
   ~~~
   
   ~~~
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to