Skip to content

cloudstack-agent in restart loop #11730

@rohityadavcloud

Description

@rohityadavcloud

problem

On my arm64/KVM host, ovftool & virt-v2v isn't available and it kills the agent when the version isn't found:

2025-09-26 13:05:09,277 INFO  [kvm.storage.LibvirtStorageAdaptor] (AgentRequest-Handler-2:[]) (logid:075c27e6) Attempting to create storage pool dc9afbc9-aec9-30ff-81c8-9a9aa1485c68 (NetworkFilesystem) in libvirt
2025-09-26 13:05:09,279 INFO  [kvm.storage.LibvirtStorageAdaptor] (AgentRequest-Handler-2:[]) (logid:075c27e6) Found existing defined storage pool dc9afbc9-aec9-30ff-81c8-9a9aa1485c68, using it.
2025-09-26 13:05:09,290 INFO  [kvm.storage.LibvirtStorageAdaptor] (AgentRequest-Handler-2:[]) (logid:075c27e6) Trying to fetch storage pool dc9afbc9-aec9-30ff-81c8-9a9aa1485c68 from libvirt
2025-09-26 13:05:09,570 INFO  [cloud.agent.Agent] (AgentRequest-Handler-3:[]) (logid:075c27e6) Processing agent ready command, agent id = 179, uuid = 9b3bc304-101e-46f5-a399-ad2d596a3dcd, name = kvmpi.onprem.in
2025-09-26 13:05:09,573 INFO  [cloud.agent.Agent] (AgentRequest-Handler-3:[]) (logid:075c27e6) Ready command is processed for agent [id: 179, uuid: 9b3bc304-101e-46f5-a399-ad2d596a3dcd, name: kvmpi.onprem.in]
2025-09-26 13:05:09,838 WARN  [utils.script.Script] (AgentRequest-Handler-3:[]) (logid:075c27e6) Execution of process [3140165] for command [/bin/bash -c ovftool --version ] failed.
2025-09-26 13:05:09,839 WARN  [utils.script.Script] (AgentRequest-Handler-3:[]) (logid:075c27e6) Process [3140165] for command [/bin/bash -c ovftool --version ] encountered the error: [127].
2025-09-26 13:05:09,888 INFO  [cloud.agent.Agent] (AgentShutdownThread:[]) (logid:) Stopping the agent: Reason = sig.kill

versions

ACS 4.21, KVM on both arm64 & x86

The steps to reproduce the bug

No response

What to do about it?

It should report tools arent' available but not kill the agent; for env that don't want to use virt-v2v or ovftool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions