Actions
Issue #752
closedSuggestion to add -v remains even if you use -v
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
2.11.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:
Description
Description
When pulp-admin fails, it helpfully suggests that you include the -v flag for more information. However if you do, it continues to suggest the flag.
This isn't really a problem, but it is silly.
$ pulp-admin rpm repo list --details
+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+
An unexpected error has occurred. More information may be found using the -v
flag.
Why thank you, I think I will take that suggestion:
$ pulp-admin -v rpm repo list --details
+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+
2015-03-11 15:25:08,178 - ERROR - Client-side exception occurred
Traceback (most recent call last):
File "/home/austin/devel/pulp/client_lib/pulp/client/extensions/core.py", line 474, in run
exit_code = Cli.run(self, args)
File "/usr/lib/python2.7/site-packages/okaara/cli.py", line 974, in run
exit_code = command_or_section.execute(self.prompt, remaining_args)
File "/home/austin/devel/pulp/client_lib/pulp/client/extensions/extensions.py", line 211, in execute
return self.method(*arg_list, **clean_kwargs)
File "/home/austin/devel/pulp/client_lib/pulp/client/commands/repo/cudl.py", line 339, in run
self.display_repositories(**kwargs)
File "/home/austin/devel/pulp/client_lib/pulp/client/commands/repo/cudl.py", line 370, in display_repositories
repo_list = self.get_repositories(query_params, **kwargs)
File "/home/austin/devel/pulp_rpm/extensions_admin/pulp_rpm/extensions/admin/repo_list.py", line 38, in get_repositories
imp_config = r['importers'][0]['config'] # there can only be one importer
IndexError: list index out of range
An unexpected error has occurred. More information may be found using the -v
flag.
Updated by dkliban@redhat.com over 9 years ago
- Severity set to Low
- Triaged changed from No to Yes
- Tags Easy Fix added
If using -v, it should suggest -vv, and when using -vv nothing else should be suggested.
Updated by fdobrovo over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fdobrovo
Added by fdobrovo over 8 years ago
Added by fdobrovo over 8 years ago
Revision 53e6c59c | View on GitHub
752 - Fixed: Suggestion to add -v remains even if you use -v
Updated by fdobrovo over 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|53e6c59c72eb2e4984d2e188e27f4ae0eebd68e9.
Updated by semyers over 8 years ago
- Platform Release set to 2.11.0
Please include a link to the PR when moving issues to POST.
Updated by pcreech almost 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
752 - Fixed: Suggestion to add -v remains even if you use -v
closes #752 https://pulp.plan.io/issues/752