Bug 1080648
| Summary: | Traceback on applicability generation for a repository | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> |
| Component: | Content Management | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sachin Ghai <sghai> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.4 | CC: | cwelton, jmontleo, jsherril, sghai |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/5960 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1080647 | Environment: | |
| Last Closed: | 2014-07-02 14:05:41 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: | |||
| Bug Depends On: | 1080647 | ||
| Bug Blocks: | |||
|
Description
Mike McCune
2014-03-25 21:05:55 UTC
Reproducing in Sat6: 1. Create a content view with a repo and publish version 1 (Library/ViewA) 2. Subscribe a system to Library/ViewA 3. Cause an update to the systems package profile (uninstall/upgrade/install new package) 4. Wait for its package profile to be sent to katello (wait up to 4 hours, or restart rhsmcertd and wait 2 minutes) 5. Publish a new version of Library/ViewA Correct tracebacK:
2014-03-25 15:42:31,819 pulp.server.dispatch.task:ERROR: 'NoneType' object is unsubscriptable
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/task.py", line 137, in _run
result = call(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/managers/consumer/applicability.py", line 137, in regenerate_applicability_for_repos
self.regenerate_applicability(profile_hash, unit_profile['content_type'],
TypeError: 'NoneType' object is unsubscriptable
2014-03-25 15:43:30,806 pulp.plugins.yum_clone_distributor.distributor:INFO: Start publish time 1395776610.81
2014-03-25 15:45:16,145 pulp.plugins.yum_clone_distributor.distributor:INFO: Start publish time 1395776716.15
2014-03-25 15:45:27,437 pulp.server.dispatch.task:ERROR: 'NoneType' object is unsubscriptable
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/task.py", line 137, in _run
result = call(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/managers/consumer/applicability.py", line 137, in regenerate_applicability_for_repos
self.regenerate_applicability(profile_hash, unit_profile['content_type'],
TypeError: 'NoneType' object is unsubscriptable
verified with sat6 beta snap8 (Satellite-6.0.3-RHEL-6-20140604.0) as per steps given in comment 1. I tried with Library/ViewA as well as Dev/ViewA. But didn't get any traceback. Moving this verified. This was delivered with 6.0.3, which is the Satellite 6 Beta. |