Project

General

Profile

Bug #35410

Pathing issue on exports

Added by Partha Aji 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Syncable Exports introduced an issue with path names. It uses the content view name + version and generates paths that look like

/var/lib/pulp/exports/Test_Organization/Test CV/1.0/2022-08-03T00-17-11-00-00/metadata.json
instead of
/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2022-08-03T00-17-11-00-00/metadata.json

The CV name has a space in it on the expanded path. While this in itself is not a big issue it seems break the bats tests.

  • Create a CV name with a space in it
  • Add a simple custom repo or rh repo with `immediate` download policy
  • Publish
  • Export the content view version via hammer.
    hammer content-export complete version --id=<cvv-id> 

Actual path

/var/lib/pulp/exports/Test_Organization/Test CV/1.0/2022-08-03T00-17-11-00-00/metadata.json
with the space

Expected path

/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2022-08-03T00-17-11-00-00/metadata.json
with no space

Associated revisions

Revision 491e8af0 (diff)
Added by Partha Aji 3 months ago

Fixes #35410 - Fix a pathing issue (#10223)

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10223 added

#2 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.7.0 added

#3 Updated by Partha Aji 3 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Lucy Fu 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.7.0

#5 Updated by Partha Aji 3 months ago

  • Bugzilla link set to 2121249

Also available in: Atom PDF