| Summary: | package install returns a type error | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | mmccune, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 22 | ||
| 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:08:27 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: | 647488 | ||
fixed pushed Fixed in build 0.163. verified [root@preethi ~]# pulp-admin package install --consumerid=pulp-client -n zsh Created task id: 2d26c39e-66aa-11e0-803e-002564a85a58 Task is scheduled for: 2011-04-14 11:16 Waiting: [\] [[['zsh-4.3.10-5.fc14.x86_64', 'zsh-4.3.10-5.fc14.x86_64'], None]] installed on pulp-client Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
Seems like the latest scheduling work borked it. [root@pulp-nightly pulp]# pulp-admin package install --consumerid=fred -n patb error: operation failed: TypeError: a float is required ==> pulp.log <== 2011-04-08 11:08:43,427 [ERROR][Dummy-5] report_error() @ base.py:56 - Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/base.py", line 52, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/base.py", line 131, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/consumers.py", line 543, in POST return action(id) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/consumers.py", line 403, in installpackages scheduled_time = datetime.utcfromtimestamp(data["scheduled_time"]) TypeError: a float is required