| Summary: | PackageInfo instance has no attribute 'checksum_type' | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | pkilambi |
| 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: | 2012-02-24 20:13:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 563609 | ||
fix is already in newest qe build. moving to on_qa All right, already fixed, I should search through closed bugs next time. Sorry for the noise. [root@preethi ~]# rpm -qa pulp pulp-0.0.244-5.fc15.noarch [root@preethi ~]# pulp-admin -u admin -p admin content upload upload/gofer-0.32-1.fc14.noarch.rpm -r upload -v * Starting Content Upload * Performing Content Uploads to Pulp server Package [upload/gofer-0.32-1.fc14.noarch.rpm] is not signed. Please use --nosig. Skipping error: No applicable content to associate. [root@preethi ~]# pulp-admin -u admin -p admin content upload upload/gofer-0.32-1.fc14.noarch.rpm -r upload -v --nosig * Starting Content Upload * Performing Content Uploads to Pulp server Successfully uploaded [gofer-0.32-1.fc14.noarch.rpm] to server * Performing Repo Associations * Metadata generation has been scheduled for repository [upload] with a task id [e0a6bbde-0a21-11e1-9868-002564a85a58]; use `pulp-admin repo generate_metadata --status` to check the status. Content association Complete for Repo [upload]: Packages: gofer-0.32-1.fc14.noarch.rpm Files: None * Content Upload complete. [root@preethi ~]# pulp-admin -u admin -p admin content upload upload/pulp-0.0.168-1.fc14.noarch.rpm -r upload -v --nosig * Starting Content Upload * Performing Content Uploads to Pulp server Successfully uploaded [pulp-0.0.168-1.fc14.noarch.rpm] to server * Performing Repo Associations * Metadata generation has been scheduled for repository [upload] with a task id [f47ffbc2-0a21-11e1-9a7d-002564a85a58]; use `pulp-admin repo generate_metadata --status` to check the status. Content association Complete for Repo [upload]: Packages: pulp-0.0.168-1.fc14.noarch.rpm Files: None * Content Upload complete. Pulp v1.0 is released Closed Current Release. |
This is what I got on a package upload: ServerRequestError: (500, "AttributeError: PackageInfo instance has no attribute 'checksum_type'", 'Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/services.py", line 187, in POST return self.ok(capi.process()) File "/usr/lib/python2.6/site-packages/pulp/server/api/upload.py", line 284, in process return self.__import_rpm() File "/usr/lib/python2.6/site-packages/pulp/server/api/upload.py", line 347, in __import_rpm pkg = bsync.import_package(packageInfo, repo_id=None) File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 395, in import_package newpkg = self.__import_package_with_retry(package, repo_defined) File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 346, in __import_package_with_retry hashtype = package.checksum_type')