Bug 865265
Summary: | Beaker allows "duplicate" logs with different but equivalent path components | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | scheduler | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Qixiang Wan <qwan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.9 | CC: | asaha, dcallagh, mishin, qwan, rglasz, rmancy |
Target Milestone: | 0.10.0 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | LogStorage | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-22 06:43:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dan Callaghan
2012-10-11 05:41:07 UTC
On Gerrit: http://gerrit.beaker-project.org/1454 Verified with build 0.9.4-2.git.104.1433411. Reproduced by something like: s = xmlrpclib.ServerProxy('%s:8000/RPC2' % os.environ['LAB_CONTROLLER']) s.task_upload_file(task_id, '', 'RHBZ865265', len(task_log), task_log_md5, 0, task_log_enc) s.task_upload_file(task_id, '/', 'RHBZ865265', len(task_log), task_log_md5, 0, task_log_enc) s.result_upload_file(result_id, '', 'RHBZ865265RECIPE', len(recipe_log), recipe_log_md5, 0, recipe_log_enc) s.result_upload_file(result_id, '/', 'RHBZ865265RECIPE', len(recipe_log), recipe_log_md5, 0, recipe_log_enc) Before the fix, there are duplicate recipe/task logs with different but equivalent path. The patch fixes this issue by normalizing the "" path to "/", so there is no duplicate logs now. This has now been released |