hammer content-view version export / import in need of update to handle new /var/lib/pulp structure
I'm having difficulties with the hammer content-view version export on the current master branch of https://github.com/Katello/hammer-cli-katello.
[vagrant@centos7-katello-hammer-devel-1 hammer-cli-katello]$ hammer content-view version export --id 2 --export-dir /tmp/test2 Warning: An error occured while loading module hammer_cli_csv. Warning: An error occured while loading module hammer_cli_foreman_admin. Warning: An error occured while loading module hammer_cli_foreman_remote_execution. Warning: An error occured while loading module hammer_cli_foreman_virt_who_configure. Could not export the content view: Error: No such file or directory @ dir_chdir - /var/lib/pulp/published/yum/https/repos/
/var/lib/pulp/published/yum/https/repos no longer exists and I note some other differences in /var/lib/pulp when comparing to a Satellite 6.8 system that seems to indicate that hammer content-view version export / import will need to be updated for the functionality to work.
#5 Updated by Chris Roberts over 1 year ago
- Target version set to Katello Backlog
The PR you are working on is for Pulp 2, the new export/import stuff is in the content-export command in hammer: