Skip to content

listUsageRecords for backup usage (type 28) isn't returning the backup storage usage #12536

@yadvr

Description

@yadvr

problem

listUsageRecords for backup usage (type 28) isn't returning the backup storage usage

    {
      "account": "admin",
      "accountid": "d7cde215-82fa-11ed-b2b0-525400110090",
      "description": "Backup usage of size 24 Hrs for VM dl-yadavcloud (6aa02af7-9782-4b08-8270-a35aea4849ca) and backup offering NAS Backup Offering (4abcf42c-356f-44e4-a477-ba3cf75c40cc, user ad-hoc/scheduled backup allowed: true)",
      "domain": "ROOT",
      "domainid": "b13960b9-82fa-11ed-b2b0-525400110090",
      "domainpath": "ROOT",
      "enddate": "2026-01-22T23:59:59+0530",
      "name": "i-2-1231-VM",
      "rawusage": "24",
      "startdate": "2026-01-22T00:00:00+0530",
      "tags": [],
      "usage": "24 Hrs",
      "usageid": "6aa02af7-9782-4b08-8270-a35aea4849ca",
      "usagetype": 28,
      "virtualmachineid": "6aa02af7-9782-4b08-8270-a35aea4849ca",
      "zoneid": "323a3a13-7758-4042-98fc-e165da1b139c"
    },

versions

ACS 4.22 with NAS B&R

The steps to reproduce the bug

  1. Create backups
  2. Ensure usage is enabled and running
  3. Check the listUsageRecords after some time (day+)
    ...

What to do about it?

The API must return the backup usage and not just the usage time (hours).

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions