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

   <!--
   After upgrade from 4.18.0 to 4.18.1 cloudstack-agent not starting and 
getting failed
   -->
   
   ##### ISSUE TYPE
    * Other
   
   ##### COMPONENT NAME
   <!--
   Hypervisor not coming up after  upgrade
   -->
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   4.18.0 to 4.18.1
   -->
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   <!--
   Advance networking and backend storage is mix in zone like dell powerflex, 
ceph , local mount
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   OEL9
   -->
   
   
   ##### SUMMARY
   We are trying to upgrade from 4.18.0 to 4.18.1. 
   We have upgarde ,management node and its up with systemVM version 4.18.1 .
   While upgrading hypervisors cloudstack-agent is not starting afetr package 
upgrade. 
   Below are logs :- 
   2024-02-02 14:26:39,507 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Implementation Version is 4.18.1.0
   2024-02-02 14:26:39,508 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
agent.properties found at /etc/cloudstack/agent/agent.properties
   2024-02-02 14:26:39,546 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to using properties file for storage
   2024-02-02 14:26:39,546 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to the constant time backoff algorithm
   2024-02-02 14:26:39,580 INFO  [cloud.utils.LogUtils] (main:null) (logid:) 
log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
   2024-02-02 14:26:39,581 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Using default Java settings for IPv6 preference for agent connection
   2024-02-02 14:26:39,655 INFO  [cloud.agent.Agent] (main:null) (logid:) id is 0
   2024-02-02 14:26:39,665 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) uefi properties file not found due to: Unable to find file 
uefi.properties.
   2024-02-02 14:26:39,706 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find passphrase for keystore: cloud.jks
   2024-02-02 14:26:39,709 INFO  [kvm.resource.LibvirtConnection] (main:null) 
(logid:) No existing libvirtd connection found. Opening a new one
   2024-02-02 14:26:39,799 WARN  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Ignoring libvirt error.
   org.libvirt.LibvirtException: Network not found: no network with matching 
name 'default'
        at org.libvirt.ErrorHandler.processError(Unknown Source)
        at org.libvirt.ErrorHandler.processError(Unknown Source)
        at org.libvirt.Connect.networkLookupByName(Unknown Source)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:1081)
        at com.cloud.agent.Agent.<init>(Agent.java:190)
        at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:452)
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
        at com.cloud.agent.AgentShell.start(AgentShell.java:511)
        at com.cloud.agent.AgentShell.main(AgentShell.java:541)
   2024-02-02 14:26:39,916 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) IO uring driver for Qemu: disabled
   2024-02-02 14:26:39,977 INFO  [kvm.storage.KVMStoragePoolManager] 
(main:null) (logid:) adding storage adaptor for 
com.cloud.hypervisor.kvm.storage.LinstorStorageAdaptor
   2024-02-02 14:26:39,980 INFO  [kvm.storage.KVMStoragePoolManager] 
(main:null) (logid:) adding storage adaptor for 
com.cloud.hypervisor.kvm.storage.StorPoolStorageAdaptor
   2024-02-02 14:26:39,980 WARN  [kvm.storage.KVMStoragePoolManager] 
(main:null) (logid:) Duplicate StorageAdaptor type PowerFlex, not loading 
com.cloud.hypervisor.kvm.storage.ScaleIOStorageAdaptor
   2024-02-02 14:26:39,980 INFO  [kvm.storage.KVMStoragePoolManager] 
(main:null) (logid:) adding storage adaptor for 
com.cloud.hypervisor.kvm.storage.IscsiAdmStorageAdaptor
   2024-02-02 14:26:39,981 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) No libvirt.vif.driver specified. Defaults to 
BridgeVifDriver.
   2024-02-02 14:26:40,116 INFO  [cloud.serializer.GsonHelper] (main:null) 
(logid:) Default Builder inited.
   2024-02-02 14:26:40,116 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) iscsi session clean up is disabled
   2024-02-02 14:26:40,118 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Skipping the memory balloon stats period setting, since 
there are no VMs (active Libvirt domains) on this host.
   2024-02-02 14:26:40,119 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) The [vm.memballoon.stats.period] property is set to '0', 
this prevents memory statistics from being displayed correctly. Adjust 
(increase) the value of this parameter to correct this.
   
   We are using kvm native bridge as networking. 
   
   On management server we can see error in exception - 
   2024-02-02 14:46:06,722 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentConnectTaskPool-1175:ctx-9a210df2) (logid:139886e2) Failed to handle host 
connection: 
   java.lang.IllegalArgumentException: Can't add host: x.x.x.x with hostOS, 
"Red Hat Enterprise Linux"into a cluster, in which there are "Oracle Linux 
Server" hosts added.
   
   ##### STEPS TO REPRODUCE
   <!--
   Can be tried to upgrade 
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   
   
   ##### EXPECTED RESULTS
   <!-- cloudstack-agent should come back without any manual fix after upgrade. 
 -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


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