Bug #32001
open
Publish of content view is aborted with Error "Validation failed: Relative path is too long (maximum is 255 characters)"
Added by Nadja Heitmann about 4 years ago.
Updated 8 months ago.
Description
We wanted to publish a content view that contains a repository with a relatively long repo_label and got the message:
Result: the publish is aborted with the error message "Validation failed: Relative path is too long (maximum is 255 characters)"
The error seems to be caused by the nature of the `relative path`, that consists of several labels (e.g. product, repository, content view, etc). The relative path itself can be up to 255 characters, and the sub-components are allowed to be 255 characters as well. This might eventually clash.
A workaround is to alter the `katello_repositories` foreman db table manually, as well as the `cp2_content` candlepin table.
- Category set to Content Views
- Status changed from New to Need more information
Hi Nadja,
Which version of Katello are you seeing this in?
- Found in Releases Katello 3.16.0 added
- Found in Releases Katello 3.18.0 added
- Found in Releases deleted (
Katello 3.16.0)
I have tested this
- on my local Forklift with Katello 3.18, Foreman 2.3
- on a system with Katello 3.16, Foreman 2.1.3
I tried to test the same on the newest Forklift with centos7-katello-devel-stable, but it would give me an SSL error when I try to publish any content views (Katello 3.18, Foreman 2.4).
- Target version set to Katello 4.1.0
- Triaged changed from No to Yes
Still any information missing? If yes, please let me know.
- Status changed from Need more information to New
- Target version changed from Katello 4.1.0 to Katello 4.2.0
- Target version deleted (
Katello 4.2.0)
- Triaged changed from Yes to No
- Target version set to Katello Backlog
- Triaged changed from No to Yes
- Target version deleted (
Katello Backlog)
Also available in: Atom
PDF