Project

General

Profile

Bug #17949

255 character length too short for content view names

Added by Brad Buckingham about 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1365312

Description of problem:
Pulp id naming convention creates names longer than 255 characters not allowing for content views to publish/promote

Refer to discussion on bugzilla for more information from a pulp perspective. Is there anything that can be done from katello to improve the user experience in this case?

How reproducible:
easy

Steps to Reproduce:
1.Create content view
2.Use a name of 254 characters
3.Try to publish

Actual results:
Content view fails with following error in the logs:
Validation failed: Pulp is too long (maximum is 255 characters)

Expected results:
Content view to publish/promote

Additional info:
The pulp id consists of the Organization name, lifecycle environment, product, repository name, and content view version. The content view can be less than 254 characters for this to work, but the concatenation of all these can produce names longer than 255 characters in length.

Associated revisions

Revision 7e3bb1b6 (diff)
Added by Justin Sherrill about 2 years ago

Fixes #17949 - adjust generation of pulp_id

This changes how we generate a pulp_id. Now
for all library instances, we generate a random uuid
and then for each clone we construct a combination of
org id, env label, cv label, and the library instance's uuid.

This also seperates the pulp_id and the docker repository name in pulp
allowing for these to be different

History

#1 Updated by Brad Buckingham about 2 years ago

  • Subject changed from 255 character length too short for content view names to 255 character length too short for content view names
  • Legacy Backlogs Release (now unused) set to 114

#2 Updated by Justin Sherrill about 2 years ago

  • Category changed from Content Views to Repositories
  • Assignee set to Justin Sherrill
  • Target version set to 163
  • Difficulty set to medium

#3 Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Legacy Backlogs Release (now unused) deleted (114)
  • Pull request https://github.com/Katello/katello/pull/6596 added

#4 Updated by Eric Helms about 2 years ago

  • Legacy Backlogs Release (now unused) set to 211

#5 Updated by Justin Sherrill about 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/6437 added

#7 Updated by Justin Sherrill about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/6622 added

#8 Updated by Justin Sherrill about 2 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/6437)

Also available in: Atom PDF