DaanHoogland commented on issue #10094:
URL: https://github.com/apache/cloudstack/issues/10094#issuecomment-2539193437
> > is package `libvirt-daemon-driver-storage-rbd` installed ?
>
> This is what I could find on the manager's log:
>
> ```
> 2024-12-12 16:22:20,356 DEBUG [c.c.s.l.StoragePoolMonitor]
(AgentConnectTaskPool-30:ctx-d5cbf4cb) (logid:4690904e) Host 146 connected,
connecting host to shared pool id 33 and sending storage pool information ...
> 2024-12-12 16:22:20,357 DEBUG [c.c.s.StorageManagerImpl]
(AgentConnectTaskPool-30:ctx-d5cbf4cb) (logid:4690904e) Adding pool Ceph
Storage to host 146
> 2024-12-12 16:22:20,359 DEBUG [o.a.c.s.d.p.DefaultHostListener]
(AgentConnectTaskPool-30:ctx-d5cbf4cb) (logid:4690904e) Sending modify storage
pool command to agent: 146 for storage pool: 33 with timeout 300 seconds
> 2024-12-12 16:22:20,364 DEBUG [c.c.a.t.Request]
(AgentConnectTaskPool-30:ctx-d5cbf4cb) (logid:4690904e) Seq
146-2554666888625913858: Sending { Cmd , MgmtId: 73209801370656, via:
146(NODExx), Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true","pool":{"id":"33","uuid":"c56c2378-288e-37ef-8549-ac569f7ab3b8","host":"172.xx.xx.xx,172.xx.xx.xx,172.xx.xx.xx","path":"cloudstack_RO","port":"0","type":"RBD"},"localPath":"/mnt//61b0126b-2e47-3ad5-b9c4-af4a8f0c199f","wait":"300","bypassHostMaintenance":"false"}}]
}
> 2024-12-12 16:22:20,457 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-12:null) (logid:) Ping from Routing host 146(NODExx)
> 2024-12-12 16:22:20,458 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(AgentManager-Handler-12:null) (logid:) Process host VM state report from ping
process. host: 146
> 2024-12-12 16:22:20,458 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(AgentManager-Handler-12:null) (logid:) Process VM state report. host: 146,
number of records in report: 0
> 2024-12-12 16:22:20,458 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-11:null) (logid:) Seq 146-2554666888625913857:
Processing: { Ans: , MgmtId: 73209801370656, via: 146, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.Answer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
}
> 2024-12-12 16:22:20,463 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(AgentManager-Handler-12:null) (logid:) Done with process of VM state report.
host: 146
> 2024-12-12 16:22:20,472 INFO [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-12:null) (logid:) PingMap for agent: 146 will not be
updated because agent is no longer in the PingMap
> 2024-12-12 16:22:20,476 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-12:null) (logid:) Not processing PingRoutingCommand for
agent id=0; can't find the host in the DB
> 2024-12-12 16:22:20,584 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-15:null) (logid:) Seq 146-2554666888625913857:
Processing: { Ans: , MgmtId: 73209801370656, via: 146, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.Answer":{"result":"true","details":"","wait":"0","bypassHostMaintenance":"false"}}]
}
> ```
these entries seem to be consequential, as the host is already removed from
the DB. Can you try adding the host again and keep the log from the start of
the API call till the end?
In addition can you add the log /var/log/cloudstack/agent/agent.log from the
KVM 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]