Project

Profile

Help

Issue #7697

closed

docker repo_repository_id name restrictions seems to be wrong

Added by jpasqualetto about 4 years ago. Updated almost 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

While the code states that:

" Docker registry repos are restricted to lower case letters, numbers, hyphens, underscores, and periods. Additionally, we allow a single slash for namespacing purposes."

pulp is returning error for any docker_registry_id containing this sequence of characters:

  _-_

Example:

# pulp-admin docker repo create --repo-id=docker_test --repo-registry-id "my_-_repo"
A validation error occurred.

The value specified for repo-registry-id: 'my_-_repo' is invalid. Registry id
must contain only lower case letters, integers, hyphens, periods, and may
include a single slash.

Also, the error message doesn't say anything about accepting underscores.

Actions #1

Updated by fao89 about 4 years ago

  • Project changed from Pulp to Container Support
  • Tags Pulp 2 added
Actions #2

Updated by ipanova@redhat.com about 4 years ago

  • Project changed from Container Support to Docker Support
Actions #3

Updated by ipanova@redhat.com almost 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

pulp2 is in maintenance mode and it accepts only security issues and critical bugfixes.

Also available in: Atom PDF