| Summary: | pulp-admin content upload fails on missing bytearray on py2.4 | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> |
| Component: | z_other | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | pkilambi |
| Target Milestone: | --- | Keywords: | Triaged |
| 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:07:46 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, 647488 | ||
Fixed: c133c9e8dde405ff4a904f2d17ec3d6f44cf409e build: 0.143 [root@dell-per805-01 ~]# rpm -qa |grep python python-2.4.3-27.el5 [root@dell-per805-01 upload]# rpm -q pulp pulp-0.0.143-1 [root@dell-per805-01 upload]# pulp-admin -u admin -p admin content upload /root/upload/grinder-0.0.81-1.noarch.rpm -r upload -v --nosig * Starting Package Upload * Performing Package Uploads to Pulp server Successfully uploaded [grinder-0.0.81-1.noarch.rpm] to server * Performing Repo Associations Package association Complete for Repo [upload]: Packages: grinder-0.0.81-1.noarch.rpm Files: None * Content Upload complete. [root@dell-per805-01 upload]# vi test.txt [root@dell-per805-01 upload]# [root@dell-per805-01 upload]# [root@dell-per805-01 upload]# pulp-admin -u admin -p admin content upload /root/upload/test.txt -r upload -v --nosig * Starting Package Upload * Performing Package Uploads to Pulp server Successfully uploaded [test.txt] to server * Performing Repo Associations Package association Complete for Repo [upload]: Packages: None Files: test.txt * Content Upload complete. [root@dell-per805-01 upload]# Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
File "/var/www/django/pulp/src/pulp/client/server.py", line 229, in _request if not isinstance(body, (type(None), bytearray,)): NameError: global name 'bytearray' is not defined bytearray was introduced in py2.6 and is not available in py2.4