Actions
Bug #31504
closedhammer content-import -: do not check for 'pulp' things
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Description
When importing from a dump we see the following error
$ hammer content-import version --content-view="Test CV" --organization="Import Organization" --metadata-file=/home/vagrant/forklift-devel/bats/metadata-1.json --path=/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2020-12-11T22-46-12-00-00 Could not import the archive.: Invalid path specified: '/var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2020-12-11T22-46-12-00-00' is not a directory $ sudo ls -l /var/lib/pulp/exports/Test_Organization/Test_CV/1.0/2020-12-11T22-46-12-00-00 total 52 -rw-r--r--. 1 pulp pulp 46855 Dec 11 22:46 export-860c625d-53f4-4ada-a3a3-56f516cdadcf-20201211_2246.tar.gz -rw-r--r--. 1 pulp pulp 333 Dec 11 22:46 export-860c625d-53f4-4ada-a3a3-56f516cdadcf-20201211_2246-toc.json
Even though the import path exists its not accessible by the foreman user and hence you get the invalid path error.
We need to instead make use of https://pulp.plan.io/issues/7549?pn=1#note-10 (when it becomes available) and remove the foreman server side checks for permissions in those directories
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9077 added
Updated by The Foreman Bot about 4 years ago
- Fixed in Releases Katello 4.0.0 added
Updated by Partha Aji about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|13d0dd0452743a80ebe01d453427788a916c7bbd.
Updated by Samir Jha about 4 years ago
- Target version set to Katello 3.18.1
- Triaged changed from No to Yes
Actions