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

   <!--
   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
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   HA, KVM
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.20
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   
   Zone type : Advanced Network
   Primary Storage: ShareMountPoint
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   Hosts OS: Ubuntu 22.04 (HPE ProLiant BL460c Gen10)
   Management Server OS: Ubuntu 22.04
   out-of-band management driver: IPMI
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   Hello, I configured out-of-band management on my hosts, however, the HA 
status of my hosts is always between Suspect or DEGRADED, I have already 
checked the IPMI communication and everything is working, my servers are also 
on and operational.
   
   
![image](https://github.com/user-attachments/assets/e00576a3-53f9-4c08-917b-c617fd31454d)
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Configure Hosts KVM
   Configure HA provider with KVMHAProvider
   Configure out-of-band management with IPMI driver
   Enable HA and see HA State
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   HA hosts with AVAILABLE state
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? --> 
   <!-- Paste verbatim command output between quotes below -->
   Managemente Server logs: 
   ~~~
   @MSLOG@:2025-01-07 00:29:25,698 DEBUG [o.a.c.h.HAManagerImpl] 
(pool-4-thread-21:[]) HA state post-transition:: new state=[Suspect], old 
state=[Checking], for resource id=[3], status=[true], ha config state=[Suspect].
   @MSLOG@:2025-01-07 00:29:25,707 DEBUG [o.a.c.h.HAManagerImpl] 
(pool-4-thread-21:[]) Transitioned host HA state from:Checking to:Suspect due 
to event:TooFewActivityCheckSamples for the host id:3
   @MSLOG@:2025-01-07 00:29:41,622 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-2:[ctx-28440d8d]) HA state post-transition:: new 
state=[Checking], old state=[Suspect], for resource id=[2], status=[true], ha 
config state=[Checking].
   @MSLOG@:2025-01-07 00:29:41,629 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-2:[ctx-28440d8d]) Transitioned host HA state 
from:Suspect to:Checking due to event:PerformActivityCheck for the host id:2
   
   2025-01-07 15:44:06,928 DEBUG [o.a.c.u.p.ProcessRunner] 
(pool-2-thread-11:[]) Process standard output for command [/usr/bin/ipmitool -I 
lanplus -R 1 -v -H 10.16.20.21 -p 623 -U cloudstack -P ***** chassis power 
status]: [Chassis Power is on
   ].
   2025-01-07 15:44:06,928 DEBUG [o.a.c.u.p.ProcessRunner] 
(pool-2-thread-11:[]) Process standard error output command [/usr/bin/ipmitool 
-I lanplus -R 1 -v -H 10.16.20.21 -p 623 -U cloudstack -P ***** chassis power 
status]: [Running Get PICMG Properties my_addr 0x20, transit 0, target 0x20
   Error response 0xc1 from Get PICMG Properities
   Running Get VSO Capabilities my_addr 0x20, transit 0, target 0x20
   Invalid completion code received: Invalid command
   Discovered IPMB address 0x0
   ].
   2025-01-07 15:44:06,929 DEBUG 
[o.a.c.o.d.i.IpmitoolOutOfBandManagementDriver] (pool-2-thread-11:[]) The 
command [/usr/bin/ipmitool -I lanplus -R 1 -v -H 10.16.20.21 -p 623 -U 
cloudstack -P PASSWORD  chassis power status] was successful and got the result 
[Chassis Power is on].
   
   ~~~
   
   KVM hosts logs: 
   
   ~~~
   2025-01-07 15:49:52,534 DEBUG [kvm.resource.KVMHAChecker] 
(pool-1067-thread-1:[]) (logid:) Checking heart beat with KVMHAChecker for host 
IP [IP_SERVER] in pools []
   2025-01-07 15:49:52,534 WARN  [kvm.resource.KVMHAChecker] 
(pool-1067-thread-1:[]) (logid:) All checks with KVMHAChecker for host IP 
[IP_SERVER] in pools [] considered it as dead. It may cause a shutdown of the 
host.
   ~~~


-- 
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: commits-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to