Bug 709500
Summary: | Error when scheduling package install with --when parameter | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | z_other | Assignee: | James Slagle <jslagle> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | jconnor, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | Sprint 26 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 13:59:09 UTC | Type: | --- |
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: | |||
Bug Blocks: | 641987 |
Description
Preethi Thomas
2011-05-31 20:17:08 UTC
committed fix for this in 4041a00a74e4057cf264b81c0c6270f5639a5def There were 2 issues here, one was that the help documentation was wrong, the 2nd was a bug in the date formatting in the command output. Those should be fixed. build: 0.192 This bug was not included in build 0.192 build: 0.196 fails_qa [root@preethi ~]# rpm -q pulp pulp-0.0.200-1.fc14.noarch failing since the package install is being scheduled for a future time, the cursor should return. Currently the cursor waits for the package install to occur. [root@preethi ~]# pulp-admin package install -n zsh --consumerid pulp-client1 --when="2011-07-06T09:30:00-05:00:00" Created task id: 3e7ab76e-a7c7-11e0-a727-002564a85a58 Task is scheduled for: 2011-07-06T09:30:00-05:00:00 Waiting: [\] I added a --wait option to the package install command. If specified, the command will wait until the install is complete to exit. Otherwise, it will exit once the task has been scheduled. If --wait is specified, and the consumer is unavailable, we confirm with the user if they still want to wait since it could be an indeterminate amount of time since we're not sure if we can reach the consumer. This matches the existing behavior. committed to pulp master: 634f6695bb0a6c9324a3d97b54e7b533b5ab86eb Build 0.207. After further discussion, it makes sense to restore the previous behavior and instead change the option to be --nowait. So, if you want to kick off a package install that is far into the future, you will need to specify --nowait on the command line if you want the command to return as soon as the package install is scheduled. committed to pulp master: 8c54707fc4deae65fb11f40746cbad1d3d6b79fc build: 0.210 verified [root@preethi upload]# rpm -q pulp pulp-0.0.213-1.fc14.noarch [root@preethi upload]# pulp-admin package install -n screen --consumerid pulp-client --when="2011-07-28T09:30:00-05:00:00" --nowait Created task id: e50b311c-b88e-11e0-a105-002564a85a58 Task is scheduled for: 2011-07-28T09:30:00-05:00:00 Closing with Community Release 15 pulp-0.0.223-4. |