Project

General

Profile

Actions

Bug #35410

closed

Pathing issue on exports

Added by Partha Aji over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by The Foreman Bot over 1 year ago

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

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.7.0 added
Actions #3

Updated by Partha Aji over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Lucy Fu over 1 year ago

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

Updated by Partha Aji over 1 year ago

  • Bugzilla link set to 2121249
Actions

Also available in: Atom PDF