Skip to content

Usage leaves a job record after stopping #8590

@DaanHoogland

Description

@DaanHoogland
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Usage server
CLOUDSTACK VERSION
4.16.1
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

After the usage server stops it (sometimes) does not cleanup it's job, which leads to the next instance starting not processing usage events.

STEPS TO REPRODUCE
systemctl stop cloudstack-usage
mysql <auth options> cloud_usage select from usage_jobs where success is NULL;
EXPECTED RESULTS
no unprocessed jobs remaining
ACTUAL RESULTS
the job for the last instance of the process remains

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions