pulp eats helpful validation errors from plugins and returns unhelpful PulpDataException
This issue was found after fixing a docker validation bug, pulp_docker now does the right thing and returns a helpful exception, but pulp eats it and loses all of the helpful data.
This issue has been partially fixed here:
Given Comment#9 here:
It seems like update goes through a different code path and still eats the exception.
Updated by Anonymous over 7 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp:pulp|17d401658def3bcb8639c41b7d8bb695aa37b047.
Updated by firstname.lastname@example.org over 7 years ago
- Status changed from 5 to 6
Verified. PulpDataException doesn't appear anymore.
>> rpm -qa pulp-server pulp-server-2.6.2-0.2.beta.el7.noarch >> pulp-admin docker repo update --repo-id=busybox --repo-registry-id=pulpdemo/Busybox This command may be exited via ctrl+c without affecting the request. [\] Running... Updating distributor: docker_web_distributor_name_cli Task Failed A validation error occurred. The value specified for repo-registry-id: 'pulpdemo/Busybox' is invalid. Registry id must contain only lower case letters, integers, hyphens, periods, and may include a single slash.