Skip to content

Update Resource Count fails in 4.20.1 with “Unable to find account null” #11100

Open
@kanagarajb0720

Description

@kanagarajb0720

When attempting to update the resource counts for the Root Domain in CloudStack 4.20.1, the operation fails with the error message:

Unable to find account null

Image

The Update Resource Count API returns this Null error, and the following is recorded in the logs:

2025-06-27 13:53:24,390 DEBUG [c.c.u.AccountManagerImpl] (qtp1513608173-5587:[ctx-9ac86613, ctx-bf018e4c]) (logid:466bcf55) Access granted to Account [{"accountName":"stackbill","id":5,"uuid":"f01a7022-8fec-4763-bc81-48994e9ac7ad"}] to Domain {"id":1,"name":"ROOT","path":"\/","uuid":"0c3d9800-4918-11f0-aaae-bc2411264067"} by AffinityGroupAccessChecker
2025-06-27 13:53:24,390 INFO  [c.c.a.ApiServer] (qtp1513608173-5587:[ctx-9ac86613, ctx-bf018e4c]) (logid:466bcf55) Unable to find account null

This issue did not occur in CloudStack 4.20 and appears to be a regression introduced in version 4.20.1.

versions

CloudStack 4.20.1.0

The steps to reproduce the bug

  1. Log in to the CloudStack UI as the Root Admin user.
  2. Navigate to Domains.
  3. Click on the Root Domain.
  4. Click Update Resource Count.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions