Skip to content

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

Closed

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.

Activity

  1. added this to the 4.20.2 milestone on Jun 30, 2025
  2. added theissue type on Jun 30, 2025
  3. DaanHoogland commented on Jul 18, 2025

    @DaanHoogland
    Contributor

    @kanagarajb0720 can you please look at and test #11138?

  4. DaanHoogland commented on Jul 18, 2025

    @DaanHoogland
    Contributor

    fixed in #11138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions