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

   ##### ISSUE TYPE
    * Bug Report
   
   
   ##### COMPONENT NAME
   - 4.18.0.0
   
   ##### CLOUDSTACK VERSION
   1.  cloudstack-management
   ```
   # cat /etc/os-release 
   NAME="CentOS Linux"
   VERSION="7 (Core)"
   ID="centos"
   ID_LIKE="rhel fedora"
   VERSION_ID="7"
   PRETTY_NAME="CentOS Linux 7 (Core)"
   ANSI_COLOR="0;31"
   CPE_NAME="cpe:/o:centos:centos:7"
   HOME_URL="https://www.centos.org/";
   BUG_REPORT_URL="https://bugs.centos.org/";
   
   CENTOS_MANTISBT_PROJECT="CentOS-7"
   CENTOS_MANTISBT_PROJECT_VERSION="7"
   REDHAT_SUPPORT_PRODUCT="centos"
   REDHAT_SUPPORT_PRODUCT_VERSION="7"
   
   # rpm -qa | grep cloudstack
   cloudstack-management-4.18.0.0-1.el7.x86_64
   cloudstack-common-4.18.0.0-1.el7.x86_64
   ```
   2. cloudstack-agent
   
   ```
   # cat /etc/os-release 
   NAME="Oracle Linux Server"
   VERSION="8.8"
   ID="ol"
   ID_LIKE="fedora"
   VARIANT="Server"
   VARIANT_ID="server"
   VERSION_ID="8.8"
   PLATFORM_ID="platform:el8"
   PRETTY_NAME="Oracle Linux Server 8.8"
   ANSI_COLOR="0;31"
   CPE_NAME="cpe:/o:oracle:linux:8:8:server"
   HOME_URL="https://linux.oracle.com/";
   BUG_REPORT_URL="https://github.com/oracle/oracle-linux";
   
   ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
   ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
   ORACLE_SUPPORT_PRODUCT="Oracle Linux"
   ORACLE_SUPPORT_PRODUCT_VERSION=8.8
   
   # rpm -qa | grep cloudstack
   cloudstack-common-4.18.0.0-1.x86_64
   cloudstack-agent-4.18.0.0-1.x86_64
   ```
   
   
   ##### SUMMARY
   when I upgrade the cloudstack-agent from 4.17.2.0 to 4.18.0.0, the 
cloudstack-agent can not work fine.
   
   The cloudstack agent status 
   ```
   # systemctl status cloudstack-agent
   ● cloudstack-agent.service - CloudStack Agent
      Loaded: loaded (/usr/lib/systemd/system/cloudstack-agent.service; 
enabled; vendor preset: disabled)
      Active: activating (auto-restart) (Result: exit-code) since Fri 
2023-06-30 12:16:48 CST; 3s ago
        Docs: http://www.cloudstack.org/
     Process: 113054 ExecStart=/usr/bin/java $JAVA_OPTS $JAVA_DEBUG -cp 
$CLASSPATH $JAVA_CLASS (code=exited, status=1/FAILURE)
    Main PID: 113054 (code=exited, status=1/FAILURE)
   ```
   
   and the detail error log is
   ```
   ```
   
   I checked the https://github.com/apache/cloudstack/issues/3509 , the agent 
env is 
   ```
   # rpm -qa | grep libvirt
   
libvirt-daemon-driver-nodedev-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-config-nwfilter-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-lock-sanlock-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-gluster-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-docs-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-libs-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-logical-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-core-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-config-network-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-scsi-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-devel-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-gobject-3.0.0-1.el8.x86_64
   
libvirt-daemon-driver-interface-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-iscsi-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-client-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-secret-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-mpath-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-nss-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   python3-libvirt-8.0.0-2.module+el8.8.0+20990+60c1530a.x86_64
   libvirt-dbus-1.3.0-2.module+el8.8.0+20990+60c1530a.x86_64
   
libvirt-daemon-driver-network-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-disk-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-gconfig-3.0.0-1.el8.x86_64
   
libvirt-daemon-driver-storage-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-wireshark-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   pcp-pmda-libvirt-5.3.7-16.0.2.el8.x86_64
   
libvirt-daemon-driver-storage-iscsi-direct-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-daemon-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
libvirt-daemon-driver-storage-rbd-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-glib-3.0.0-1.el8.x86_64
   
libvirt-daemon-driver-nwfilter-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-daemon-driver-qemu-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   libvirt-daemon-kvm-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
   # # rpm -qa | grep qemu
   qemu-guest-agent-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-ui-opengl-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-ui-spice-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-hw-usbredir-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-block-ssh-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-docs-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-block-rbd-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-common-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-block-curl-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-core-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-img-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-block-iscsi-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   qemu-kvm-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   ipxe-roms-qemu-20181214-11.git133f4c47.el8.noarch
   qemu-kvm-block-gluster-6.2.0-32.module+el8.8.0+21044+01700444.x86_64
   libvirt-daemon-driver-qemu-8.0.0-19.0.2.module+el8.8.0+21112+1cc1a24b.x86_64
   
   # uname -a
   Linux test001 5.4.17-2136.321.4.el8uek.x86_64 #2 SMP Mon Jun 26 18:17:37 PDT 
2023 x86_64 x86_64 x86_64 GNU/Linux
   ```
   
   I restart the agent node and system, It still can not work.
   
   I think it is a  libvirtd and cloudstack connection problem,  cloud you give 
some advices? I config the libvirtd using 
:https://www.sbarjatiya.com/notes_wiki/index.php/CentOS_8.x_Cloudstack_4.15_Setup_KVM_host
   
   The unupgrade agent node (4.17.2.0) is still work fine.
   
   


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