[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Tags removed: sts-sru-needed ** Tags added: sts-sru-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Changed in: cloud-archive/newton Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Re-validated xenial-newton-proposed regression tests: == Totals == Ran: 103 tests in 1048.1681 sec. - Passed: 97 - Skipped: 6 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 596.4067 sec. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Re-validated with yakkety-proposed regression tests: == Totals == Ran: 103 tests in 1004.6364 sec. - Passed: 97 - Skipped: 6 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 553.9073 sec. == Worker Balance == - Worker 0 (103 tests) => 0:16:29.464425 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
This bug was fixed in the package cinder - 2:8.1.1-0ubuntu3~cloud0 --- cinder (2:8.1.1-0ubuntu3~cloud0) trusty-mitaka; urgency=medium . * New update for the Ubuntu Cloud Archive. . cinder (2:8.1.1-0ubuntu3) xenial; urgency=medium . * d/p/log-message-cleanup-for-volume-usage-audit.patch: Fixes broken tests introduced by 8.1.1-0ubuntu2 (LP: #1631561). . cinder (2:8.1.1-0ubuntu2) xenial; urgency=medium . * d/p/log-message-cleanup-for-volume-usage-audit.patch: Fixes LP: #1631561. ** Changed in: cloud-archive/mitaka Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Hello James, I just completed the verification for newton, before applying the current newton-proposed patch, the following exception was raised: http://paste.ubuntu.com/24450265/, after applying the latest update from newton-proposed, the exception is not longer raised and the program continues its execution correctly. Reference: http://paste.ubuntu.com/24450277/ Marking verification-newton-done ** Tags removed: verification-newton-needed ** Tags added: verification-newton-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Hello James, The patch fixes the issue for cloud-archive:mitaka, after applying the latest update from mitaka-proposed, the exception is not longer raised, and the program continues its execution correctly. Reference: http://paste.ubuntu.com/24449943/ I will mark the verification-mitaka-done. ** Tags removed: verification-mitaka-needed ** Tags added: verification-mitaka-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
This bug was fixed in the package cinder - 2:8.1.1-0ubuntu3 --- cinder (2:8.1.1-0ubuntu3) xenial; urgency=medium * d/p/log-message-cleanup-for-volume-usage-audit.patch: Fixes broken tests introduced by 8.1.1-0ubuntu2 (LP: #1631561). -- Jorge Niedbalski Thu, 06 Apr 2017 12:56:37 -0300 ** Changed in: cinder (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
@Jorge, Please can you confirm the package versions that you tested? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
This bug was fixed in the package cinder - 2:9.1.2-0ubuntu2 --- cinder (2:9.1.2-0ubuntu2) yakkety; urgency=medium * d/p/log-message-cleanup-for-volume-usage-audit.patch: Fixes LP: #1631561. -- Jorge Niedbalski Fri, 10 Mar 2017 18:20:41 -0300 ** Changed in: cinder (Ubuntu Yakkety) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Hello Lukasz, I can confirm that the current -proposed version fixes the issue on Yakkety and Xenial series. Without the patch, I can reproduce the issue as can be seen here: http://pastebin.ubuntu.com/24375830/ After enabling proposed on Xenial and Yakkety, and running through the steps to reproduce, the exception is not being triggered, as can be seen here: http://pastebin.ubuntu.com/24375842/ Many thanks for the sponsorship! ** Tags removed: verification-failed-xenial verification-needed ** Tags added: verification-done verification-done-xenial verification-done-yakkety -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Hello Huang, or anyone else affected, Accepted cinder into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cinder/2:8.1.1-0ubuntu3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: cinder (Ubuntu Xenial) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Tags removed: sts-sponsor ** Tags added: sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Patch removed: "fix-lp1631561-xenial.debdiff" https://bugs.launchpad.net/cinder/+bug/1631561/+attachment/4855819/+files/fix-lp1631561-xenial.debdiff ** Patch removed: "fix-lp-1631561-mitaka.debdiff" https://bugs.launchpad.net/cinder/+bug/1631561/+attachment/4822939/+files/fix-lp-1631561-mitaka.debdiff ** Patch added: "fix-lp1631561-xenial-proposed.debdiff" https://bugs.launchpad.net/cinder/+bug/1631561/+attachment/4856407/+files/fix-lp1631561-xenial-proposed.debdiff ** Tags added: sts-sponsor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Patch added: "fix-lp1631561-xenial.debdiff" https://bugs.launchpad.net/cinder/+bug/1631561/+attachment/4855819/+files/fix-lp1631561-xenial.debdiff ** Tags added: verification-failed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
The build is failing on Xenial due to a broken test. I will mark the verification-xenial-failed and attach a new patch to be sponsored. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Also appended the merge proposal for stable/mitaka. ** Changed in: cinder (Ubuntu Xenial) Status: Fix Committed => In Progress ** Merge proposal unlinked: https://code.launchpad.net/~niedbalski/ubuntu/+source/cinder/+git/cinder/+merge/319628 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Merge proposal linked: https://code.launchpad.net/~niedbalski/ubuntu/+source/cinder/+git/cinder/+merge/322061 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Hello Huang, or anyone else affected, Accepted cinder into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cinder/2:9.1.2-0ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: cinder (Ubuntu Yakkety) Status: In Progress => Fix Committed ** Tags added: verification-needed ** Changed in: cinder (Ubuntu Xenial) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
@corey, @zul, attached both MPs against stable/newton and stable/mitaka. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Merge proposal linked: https://code.launchpad.net/~niedbalski/ubuntu/+source/cinder/+git/cinder/+merge/319628 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Merge proposal linked: https://code.launchpad.net/~niedbalski/ubuntu/+source/cinder/+git/cinder/+merge/319623 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Hey Jorge, they're all here: https://code.launchpad.net/~ubuntu-server- dev/+git -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
@zulcss Sure I can, Could you please point me to the source branches of cinder M/N to do a rebase the patch directly against them? Many thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
Can you rediff your patches so that they apply cleanly to whats in the packaging git tree. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Tags added: canonical-bootstack -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Also affects: cloud-archive/mitaka Importance: Undecided Status: New ** Also affects: cloud-archive/newton Importance: Undecided Status: New ** Changed in: cloud-archive Status: New => Fix Released ** Changed in: cloud-archive/mitaka Status: New => In Progress ** Changed in: cloud-archive/newton Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Tags added: sts ** Description changed: - Current volume usage audit tool queries all volumes/snapshots/backups + [Impact] + + * Current volume usage audit tool queries all volumes/snapshots/backups including those resources have been deleted, as a result, every single deleted resource would trigger a few debug/exception level messages, which is too much for a running production cluster at hour/day period. + + * notify_snapshot_usage() doesn't handles the case when + when the source volume for the snapshot has been deleted. + + The following exception is raised: + + 2017-02-17 20:20:10.067 1921 ERROR cinder [req-7e273ce0-1ae8-410e-a814-0f444364c028 - - - - -] Exists snapshot notification failed: Volume 2c84e585-9947-4ad9-bd93-2fc3a5cf9a08 could not be found. + 2017-02-17 20:20:10.067 1921 ERROR cinder Traceback (most recent call last): + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/cmd/volume_usage_audit.py", line 188, in main + 2017-02-17 20:20:10.067 1921 ERROR cinder extra_info) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/volume/utils.py", line 174, in notify_about_snapshot_usage + 2017-02-17 20:20:10.067 1921 ERROR cinder usage_info = _usage_from_snapshot(snapshot, **extra_usage_info) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/volume/utils.py", line 151, in _usage_from_snapshot + 2017-02-17 20:20:10.067 1921 ERROR cinder 'availability_zone': snapshot.volume['availability_zone'], + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 67, in getter + 2017-02-17 20:20:10.067 1921 ERROR cinder self.obj_load_attr(name) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/objects/snapshot.py", line 196, in obj_load_attr + 2017-02-17 20:20:10.067 1921 ERROR cinder self.volume_id) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 181, in wrapper + 2017-02-17 20:20:10.067 1921 ERROR cinder result = fn(cls, context, *args, **kwargs) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/objects/base.py", line 166, in get_by_id + 2017-02-17 20:20:10.067 1921 ERROR cinder orm_obj = db.get_by_id(context, model, id, *args, **kwargs) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/db/api.py", line 1127, in get_by_id + 2017-02-17 20:20:10.067 1921 ERROR cinder return IMPL.get_by_id(context, model, id, *args, **kwargs) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 193, in wrapper + 2017-02-17 20:20:10.067 1921 ERROR cinder return f(*args, **kwargs) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 4451, in get_by_id + 2017-02-17 20:20:10.067 1921 ERROR cinder return _GET_METHODS[model](context, id, *args, **kwargs) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 193, in wrapper + 2017-02-17 20:20:10.067 1921 ERROR cinder return f(*args, **kwargs) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 1480, in volume_get + 2017-02-17 20:20:10.067 1921 ERROR cinder return _volume_get(context, volume_id) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 193, in wrapper + 2017-02-17 20:20:10.067 1921 ERROR cinder return f(*args, **kwargs) + 2017-02-17 20:20:10.067 1921 ERROR cinder File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 1425, in _volume_get + 2017-02-17 20:20:10.067 1921 ERROR cinder raise exception.VolumeNotFound(volume_id=volume_id) + 2017-02-17 20:20:10.067 1921 ERROR cinder VolumeNotFound: Volume 2c84e585-9947-4ad9-bd93-2fc3a5cf9a08 could not be found. + + [Test Case] + + *The steps to reproduce this bug: + + 1) Deploy Mitaka/Newton cloud + 2) Set the volumes as deleted on the database + + mysql> update volumes set deleted = 1; + Query OK, 2 rows affected (0.00 sec) + Rows matched: 2 Changed: 2 Warnings: 0 + + 3) Run the cinder-volume-usage-audit command: + + # /usr/bin/cinder-volume-usage-audit --start_time "2017-02-17 15:10:00" + --end_time "2017-02-17 15:20:00" --debug + + [Regression Potential] + + * None identified as the commit fixes a already existing misbehavior. ** Patch added: "fix-lp-1631561-newton.debdiff" https://bugs.launchpad.net/cinder/+bug/1631561/+attachment/4822938/+files/fix-lp-1631561-newton.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Patch added: "fix-lp-1631561-mitaka.debdiff" https://bugs.launchpad.net/cinder/+bug/1631561/+attachment/4822939/+files/fix-lp-1631561-mitaka.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1631561] Re: [SRU] volume usage audit print excessive debug log for deleted resources
** Summary changed: - volume usage audit print excessive debug log for deleted resources + [SRU] volume usage audit print excessive debug log for deleted resources -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1631561 Title: [SRU] volume usage audit print excessive debug log for deleted resources To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1631561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs