Skip to content

kvm: fix exception in volume stats after storage migration#3884

Merged
yadvr merged 1 commit into
apache:4.13from
ustcweizhou:4.13-fix-volume-stats-exception
Feb 19, 2020
Merged

kvm: fix exception in volume stats after storage migration#3884
yadvr merged 1 commit into
apache:4.13from
ustcweizhou:4.13-fix-volume-stats-exception

Conversation

@ustcweizhou
Copy link
Copy Markdown
Contributor

Description

on kvm, the 'path' of volume is the file name on primary storage. we should use 'path' instead of 'uuid' in volume statistics.

Fixes: #3878

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

  1. storage migration
  2. volume statistics every 10 minutes (default)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Volume metrics doesn't update after volume migration

8 participants