| Summary: | error if you schedule an errata install on a consumer that is offline and opt to not wait | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | Sprint 27 | ||
| 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:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed. build: 0.228 verified [root@preethi ~]# rpm -q pulp pulp-0.0.228-1.fc15.noarch [root@preethi ~]# pulp-admin -u admin -p admin errata install -e FEDORA-2011-6605 --consumerid=pulp-client The following consumers appear to be unavailable. You may continue with the understanding that your request will not complete until all consumers have processed the request or the request has timed out. Unavailable Consumers ------------------------------ pulp-client Continue? [y/n]:n [root@preethi ~]# Pulp v1.0 is released Closed Current Release. |
Description of problem: If the client you are trying to install the errata on is offline you get the following message Unavailable Consumers ------------------------------ pulp-client Continue? [y/n]: If you choose n the you get a Name error. [root@preethi ~]# pulp-admin -u admin -p admin errata install --consumerid=pulp-client -e FEDORA-2011-7781 The following consumers appear to be unavailable. You may continue with the understanding that your request will not complete until all consumers have processed the request or the request has timed out. Unavailable Consumers ------------------------------ pulp-client Continue? [y/n]:n Traceback (most recent call last): File "/usr/bin/pulp-admin", line 23, in <module> admin.main() File "/usr/lib/python2.7/site-packages/pulp/client/lib/cli.py", line 152, in main command.main(self.args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 129, in main action.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 211, in main self.run() File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/errata.py", line 168, in run self.on_consumer(consumerid, errataids, assumeyes=assumeyes) File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/errata.py", line 174, in on_consumer wait = self.getwait([id,]) File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/errata.py", line 260, in getwait system_exit(0) NameError: global name 'system_exit' is not defined