Bug 647005
| Summary: | blockdevicemapping.build_list_parameters references 'pre' before assignment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Garrett Holmstrom <gholms> | ||||
| Component: | python-boto | Assignee: | Robert Scheck <redhat-bugzilla> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 13 | CC: | redhat-bugzilla, walters | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-boto-1.9b-6.el5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-11-18 21:24:08 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
python-boto-1.9b-4.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/python-boto-1.9b-4.fc13 python-boto-1.9b-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-boto-1.9b-4.fc14 python-boto-1.9b-4.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/python-boto-1.9b-4.fc12 python-boto-1.9b-5.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/python-boto-1.9b-5.fc14 python-boto-1.9b-6.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python-boto-1.9b-6.el5 python-boto-1.9b-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. python-boto-1.9b-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. python-boto-1.9b-6.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 455857 [details] Patch for blockdevicemapping.py Description of problem: The build_list_parameters function only contains half of the fix applied by upstream commit 79f6a6cc7b2420440091. Specifically, line 78 refers to a function parameter that was renamed. Line 78 says: pre = '%sBlockDeviceMapping.%d' % (pre, i) ...while it should say: pre = '%sBlockDeviceMapping.%d' % (prefix, i) Version-Release number of selected component (if applicable): python-boto-1.9b-2.fc13.noarch How reproducible: Attempt to call build_list_parameters with any parameters Steps to Reproduce: $ euca-run-instances --instance-type t1.micro --block-device-mapping /dev/sda1=:20 ami-266c984f local variable 'pre' referenced before assignment Additional info: A patch that fixes this is attached.