Bug 681289
| Summary: | pulp-migrate ends with a traceback | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Pradeep Kilambi <pkilambi> |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | mmccune |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:10:44 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
fix pushed in revision 8cfbe12..9a99e3f Build: 0.144 verified [root@preethi ~]# rpm -q pulp pulp-0.0.145-1.fc14.noarch [root@preethi ~]# pulp-migrate database migration to version 4 complete [root@preethi ~]# Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
Description of problem: $ sudo pulp-migrate clearing previous versions migration to version 2 failed, see /var/log/pulp/db.log for details 'Collection' object is not callable. If you meant to call the 'user' method on a 'Collection' object it is failing because no such method exists. Traceback (most recent call last): File "/home/pkilambi/code/pulp/src/pulp/server/db/migrate/script.py", line 87, in datamodel_migration mod.migrate() File "/home/pkilambi/code/pulp/src/pulp/server/db/migrate/versions/two.py", line 106, in migrate _migrate_consumer_model() File "/home/pkilambi/code/pulp/src/pulp/server/db/migrate/versions/two.py", line 54, in _migrate_consumer_model user = user_api.user(consumer['id']) File "/usr/lib/python2.7/site-packages/pymongo-1.9-py2.7-linux-x86_64.egg/pymongo/collection.py", line 966, in __call__ self.__name.split(".")[-1]) TypeError: 'Collection' object is not callable. If you meant to call the 'user' method on a 'Collection' object it is failing because no such method exists. migration to data model version 2 failed