Bug 680859
| Summary: | pulp-server init fails | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | jason.dobies, mmccune, tsanders |
| Target Milestone: | --- | ||
| Target Release: | Sprint 21 | ||
| 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:06:23 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: | 563609, 647488 | ||
I changed the migrate and validate scripts to get the collections from the model objects instead of the API objects. Sorry I don't have the commit information, it was done Monday, February 28th before roughly 10am EST. Build: 0.144 [root@nec-em8 ~]# rpm -q pulp pulp-0.0.145-1 [root@nec-em8 ~]# service pulp-server init Starting mongod: [ OK ] no crontab for root database migration to version 4 complete [root@nec-em8 ~]# Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
Latest build (RPMs from fedora-pulp-testing) works, but latest code from GIT ends with: $ service pulp-server init RepoApi instance has no attribute '_getcollection' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/script.py", line 87, in datamodel_migration mod.migrate() File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/versions/two.py", line 108, in migrate _migrate_repo_model() File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/versions/two.py", line 63, in _migrate_repo_model collection = RepoApi()._getcollection() AttributeError: RepoApi instance has no attribute '_getcollection'