Project

Profile

Help

Issue #752

closed

Suggestion to add -v remains even if you use -v

Added by amacdona@redhat.com about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
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.
Actions #1

Updated by dkliban@redhat.com about 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.

Actions #2

Updated by bmbouter about 9 years ago

  • Severity changed from Low to 1. Low
Actions #3

Updated by fdobrovo over 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fdobrovo
Actions #4

Updated by fdobrovo over 7 years ago

  • Status changed from ASSIGNED to POST

Added by fdobrovo over 7 years ago

Revision 53e6c59c | View on GitHub

752 - Fixed: Suggestion to add -v remains even if you use -v

closes #752 https://pulp.plan.io/issues/752

Added by fdobrovo over 7 years ago

Revision 53e6c59c | View on GitHub

752 - Fixed: Suggestion to add -v remains even if you use -v

closes #752 https://pulp.plan.io/issues/752

Actions #5

Updated by fdobrovo over 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by semyers over 7 years ago

  • Platform Release set to 2.11.0

Please include a link to the PR when moving issues to POST.

https://github.com/pulp/pulp/pull/2656

Actions #7

Updated by semyers over 7 years ago

  • Status changed from MODIFIED to 5
Actions #8

Updated by pcreech over 7 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF