Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-08-03 Thread Janis Viklis | Files.fm
Solution after 2 moths of random experimenting 1) if you free up host from any vms or stop them, it gets back as UP, without any action 2) if you restart cloudstack-management server, all hosts goes to Alert state... Total resolution: UPDATE cloud.vm_instance SET host_id = NULL where id >

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix? | 4.19.0.1

2024-07-23 Thread Janis Viklis | Files.fm
Upgraded to 4.19.0.1. The same error and more new ones: Web UI: The given command 'readyForShutdown' either does not exist. [root@cs1 ~]# log | grep WARN 2024-07-23 20:48:13,896 WARN  [c.c.a.m.AgentAttache] (StatsCollector-1:ctx-0331434c) (logid:1eb04bf4) Seq 77-731834939447705632: Timed out o

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-23 Thread Janis Viklis | Files.fm
Seems similar issue to this one: https://issues.apache.org/jira/browse/CLOUDSTACK-8747 Sending Connect to listener: ComputeCapacityListener Found 5 VMs on host 27 Found 1 VM, not running on host 27 Monitor*ComputeCapacityListener *says there is an error in the connect processfor 27 due tonull

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-23 Thread Janis Viklis | Files.fm
XenCenter looks fine  - we are using it to manage existing vms on hosts: start/stop, create, access console. I upgraded Cloudstack 4.13 to 4.15.2, still the same error:  Monitor ComputeCapacityListener says there is an error in the connect process for 260 due to null java.lang.NullPointerExcep

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-03 Thread Nux
Janis, No clue, it's been a while since I used Xenserver and you are also on quite an old version as well, right? There have been many bugs fixed since 4.13. Would it be possible to include a much larger fragment from the logs or the full logs? Also, have you checked the Xcp logs, anything

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-03 Thread Janis Viklis | Files.fm
If I set valid management server id, it returns to NULL after next host check cycle. I wonder could it bet somehow related to total or cluster resources. (but i tried to find and check/change all overprovisionig multipliers) 2024-07-03 16:30:16,036 DEBUG [c.c.c.CapacityManagerImpl] (Capacity

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-03 Thread Janis Viklis | Files.fm
mgmt_server_id is *NULL *just for those 4 hosts, other hosts ar fine. Looking at logs, cs1 management server starts to connect pools at first: 2024-07-01 16:31:29,617 DEBUG [c.c.s.l.StoragePoolMonitor] (AgentTaskPool-380:ctx-f411cc14) (logid:284129f8) Host 248 connected, connecting host to sha

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-03 Thread Nux
A shot in the dark, haven't checked the log files properly. For these hosts in the disconnected state, if you check them in the DB cloud.host table (type="Routing" btw), which mgmt_server_id are they reporting? Then check cloud.mshost table and see whether the management server with that id i

Re: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-02 Thread Janis Viklis | Files.fm
(sorry, some bad formatting in previous email) Could anyone have any ideas why this error occurs and how to debug it? (248 is a host id) Monitor ComputeCapacityListener says there is an error in the connect process for 248 due to null Janis On 2024-07-01 21:44, Janis Viklis | Files.fm wro

RE: All 4 hosts disconnected in Alert state due to ComputeCapacityListener NULL: how to fix?

2024-07-02 Thread Janis Viklis | Files.fm
What could be a reason of "Monitor ComputeCapacityListener says there is an error in the connectprocess for 248 due to null"?Janis Original message From: "Janis Viklis | Files.fm" Date: 7/1/24 21:45 (GMT+02:00) To: users@cloudstack.apache.org Subject: All 4 hosts disconnected