Project

Profile

Help

Issue #979

closed

Long consumer name cannot be used

Added by bmbouter almost 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.6.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

0) Have pulp installed and started
1) As root, attempt to register a consumer and observe the following output:

pulp-consumer -u admin -p admin register --consumer-id 482CRZDMRSQ63ASPM0LSN1YH8VX97UM5YA72R5Y7J482CRZDMRSQ63ASPM0LSN1YH8VX97UM5YA72R5Y7J482CRZDMRSQ63ASPM0LSN1YH8VX97UM5YA72R5Y7J482CRZDMRSQ63ASPM0LSN

An unexpected error has occurred. More information can be found in the client
log file ~/.pulp/consumer.log.

2) In ~/.pulp/consumer.log observe

2015-05-12 14:17:05,920 - ERROR - Client-side exception occurred
Traceback (most recent call last):
  File "/home/bmbouter/Documents/pulp/client_lib/pulp/client/extensions/core.py", line 478, 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/bmbouter/Documents/pulp/client_lib/pulp/client/extensions/extensions.py", line 224, in execute
    return self.method(*arg_list, **clean_kwargs)
  File "/home/bmbouter/Documents/pulp/client_consumer/pulp/client/consumer/cli.py", line 148, in register
    existing_consumer = load_consumer_id(self.context)
  File "/home/bmbouter/Documents/pulp/client_lib/pulp/client/consumer_utils.py", line 47, in load_consumer_id
    return subject['CN']
KeyError: 'CN'

The length limitations of consumer names are not documented, and they could be. Another thing would be to have the CN be the database record ID which would remove the relationship between a long consumer name and the CN altogether. I recommend doing that.

Actions #1

Updated by jortel@redhat.com almost 9 years ago

  • Priority changed from Normal to Low
  • Severity changed from 2. Medium to 1. Low
  • Triaged changed from No to Yes
Actions #2

Updated by bmbouter almost 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #3

Updated by bmbouter almost 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #4

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF