cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

usage: add virtualmachineid to volume usage record

Open sbrueseke opened this issue 2 years ago • 0 comments

ISSUE TYPE
  • Enhancement Request
COMPONENT NAME
USAGE
CLOUDSTACK VERSION
4.18.0.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

If a volume is attached to a VM usage should add virtualmachineid to the usage record of that volume. If you attach/detach a volume to/from a VM it should create a usage record of a new type in usage_cloud.usage_event database. Use case is to map a volume only using the records of listUsageRecords to the VM which the volume was attached to at that timeframe.

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

sbrueseke avatar Apr 04 '23 14:04 sbrueseke