Skip to content

Conversation

@sureshanaparti
Copy link
Contributor

Description

This PR removes the redundant parsing of VMSnapshot usage record.

Fixes #5662

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)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@sureshanaparti sureshanaparti linked an issue Jan 18, 2022 that may be closed by this pull request
@sureshanaparti sureshanaparti added this to the 4.16.1.0 milestone Jan 18, 2022
if (!parsed) {
s_logger.debug("VM Snapshot usage successfully parsed? " + parsed + " (for account: " + account.getAccountName() + ", id: " + account.getId() + ")");
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same parsing is performed at line# 955 - 960.

@sureshanaparti
Copy link
Contributor Author

@blueorangutan package

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm (no real functional changes)

@sureshanaparti
Copy link
Contributor Author

@blueorangutan package

1 similar comment
@sureshanaparti
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2250

@DaanHoogland
Copy link
Contributor

@blueorangutan test keepEnv

@blueorangutan
Copy link

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-2935)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31347 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5872-t2935-kvm-centos7.zip
Smoke tests completed. 92 look OK, 0 have errors
Only failed tests results shown below:

Test Result Time (s) Test File

@DaanHoogland DaanHoogland self-assigned this Jan 24, 2022
@DaanHoogland
Copy link
Contributor

tested in a lab, works as expected.

Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on code review

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

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Usage: Duplicated VMSnapshot usage record

4 participants