weizhouapache commented on PR #11610:
URL: https://github.com/apache/cloudstack/pull/11610#issuecomment-3279133379
Tested OK
- rename /etc/cloudstack/agent/uefi.properties
- install virt-v2v
- restart cloudstack-agent
without this change
```
2025-09-11T07:50:43,734 DEBUG [cloud.agent.Agent]
(AgentRequest-Handler-5:[]) (logid:) Seq 2-1742611580815671308: { Ans: ,
MgmtId: 32986372244225, via: 2, Ver: v1, Flags: 110,
[{"com.cloud.agent.api.ReadyAnswer":{"detailsMap":{"host.virtv2v.version":"1.42.0rhel=8"},"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
}
2025-09-11T07:50:43,740 DEBUG [cloud.agent.Agent]
(AgentRequest-Handler-1:[]) (logid:) Request:Seq -1--1: { Cmd , MgmtId: -1,
via: -1, Ver: v1, Flags: 111,
[{"com.cloud.agent.api.ReadyCommand":{"_details":"java.lang.NullPointerException:
Cannot invoke "String.equals(Object)" because "uefiEnabled" is
null","wait":"0","bypassHostMaintenance":"false"}}] }
2025-09-11T07:50:43,741 DEBUG [cloud.agent.Agent]
(AgentRequest-Handler-1:[]) (logid:) Processing command:
com.cloud.agent.api.ReadyCommand
2025-09-11T07:50:43,741 DEBUG [cloud.agent.Agent]
(AgentRequest-Handler-1:[]) (logid:) Not ready to connect to mgt server:
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because
"uefiEnabled" is null
2025-09-11T07:50:43,741 INFO [cloud.agent.Agent] (AgentShutdownThread:[])
(logid:) Stopping the agent: Reason = sig.kill
2025-09-11T07:50:43,742 DEBUG [cloud.agent.Agent] (AgentShutdownThread:[])
(logid:) Sending shutdown to management server
```
with this change: no errors found
```
2025-09-11T08:20:43,535 DEBUG [cloud.agent.Agent]
(AgentRequest-Handler-5:[]) (logid:) Seq 2-7903535871058509837: { Ans: ,
MgmtId: 32986372244225, via: 2, Ver: v1, Flags: 110,
[{"com.cloud.agent.api.ReadyAnswer":{"detailsMap":{"host.virtv2v.version":"1.42.0rhel=8"},"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
}
2025-09-11T08:20:59,854 DEBUG [kvm.resource.LibvirtComputingResource]
(AgentOutRequest-Handler-1:[]) (logid:) Executing command
[/usr/share/cloudstack-common/scripts/vm/network/security_group.py
get_rule_logs_for_vms ].
```
--
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]