Project

Profile

Help

Issue #117

Validation message for docker repo create does not make sense

Added by pthomas@redhat.com almost 7 years ago. Updated over 2 years ago.

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

Description

Validation message should be clear when its failing on repo name.

[root@cloud-qe-17 docker]# rpm -qa pulp-server
pulp-server-2.6.0-0.5.beta.el7.noarch
[root@cloud-qe-17 docker]#

1. Create a docker repo wih the --repo-id with a capital letter

See the error message

[root@cloud-qe-17 docker]# pulp-admin docker repo create --repo-id Docker-test
The server indicated one or more values were incorrect. The server provided the
following error message:

Pulp exception occurred: PulpDataException

More information can be found in the client log file ~/.pulp/admin.log.

In rpm here is the message we get

root@cloud-qe-17 docker]# pulp-admin rpm repo create --repo-id Docker-test.test%
Validation failed for argument [--repo-id]: value must contain only letters,
numbers, underscores, periods and hyphens


Related issues

Is duplicate of Pulp - Issue #683: Pulp throws away validation error information from distributorsCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by pthomas@redhat.com almost 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter

#2 Updated by pthomas@redhat.com almost 7 years ago

  • Status changed from ASSIGNED to POST

#3 Updated by pthomas@redhat.com almost 7 years ago

  • Status changed from POST to ASSIGNED

#4 Updated by pthomas@redhat.com almost 7 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (bmbouter)

#5 Updated by skarmark@redhat.com almost 7 years ago

  • Status changed from NEW to 5
  • Assignee set to amacdona@redhat.com
  • Triaged changed from No to Yes

#6 Updated by amacdona@redhat.com almost 7 years ago

I believe that this issue was fixed by this PR. https://github.com/pulp/pulp/pull/1487

#7 Updated by amacdona@redhat.com almost 7 years ago

pulp_docker actually does create a helpful exception, but Pulp throws the message away. Closing and reopening as a pulp bug.

https://bugzilla.redhat.com/show_bug.cgi?id=1187200

#8 Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from 5 to 7

#9 Updated by bmbouter over 6 years ago

  • Is duplicate of Issue #683: Pulp throws away validation error information from distributors added

#10 Updated by bmbouter over 6 years ago

  • Status changed from 7 to CLOSED - DUPLICATE

#11 Updated by bmbouter over 2 years ago

  • Severity set to 2. Medium

#12 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF