| Summary: | pulp-migrate fails if consumergroup have no description | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | user-experience | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | dgao |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | mmccune, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 30 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
dgao
2011-11-04 14:44:25 UTC
If pulp-server init fails, repo deletion seems to be effected as well.
[root@pulp-qe ~]# pulp-admin -u admin -p admin repo delete --id=errata_test_repo
error: error: operation failed: AttributeError: 'NoneType' object has no attribute 'find'
2011-11-04 09:29:57,943 6509:140074129491712: pulp.server.webservices.controllers.decorators:ERROR: decorators:52 Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error
return method(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator
value = method(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py", line 308, in GET
task = scheduled_sync.find_scheduled_task(repo['id'], '_sync')
File "/usr/lib/python2.7/site-packages/pulp/server/api/scheduled_sync.py", line 148, in find_scheduled_task
for task in async.find_async(method_name=method_name):
File "/usr/lib/python2.7/site-packages/pulp/server/async.py", line 105, in find_async
return _queue.find(**kwargs)
AttributeError: 'NoneType' object has no attribute 'find'
The first bug is fixed, but the traceback from comment 1 is unrelated. build: 0.248 [root@pulp-qe pulp]# pulp-admin -u admin -p admin consumergroup create --id=foo Successfully created Consumer group [ foo ] with description [ None ] [root@pulp-qe pulp]# /etc/init.d/pulp-server init data model in use matches the current version database migration to version 29 complete [root@pulp-qe pulp]# tail /var/log/pulp/db.log validation on previous data model version started validation complete; data model at version 25 migration to data model version 26 started migration to data model version 26 complete migration to data model version 27 started migration to data model version 27 complete migration to data model version 28 started migration to data model version 28 complete migration to data model version 29 started migration to data model version 29 complete [root@pulp-qe pulp]# pulp-admin -u admin -p admin repo list No repositories available to list Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |