Actions
Bug #36162
closedBetter error message when content-export fails due to unsynced repository
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Pull request:
Description
When you remember to set your repository's download-policy to immediate, but then forget to sync it, and you attempt hammer content-export, you get:
[vagrant@centos8-katello-devel-stable hammer-cli-katello]$ hammer repository update --id 3 --download-policy='immediate' Repository updated. [vagrant@centos8-katello-devel-stable hammer-cli-katello]$ hammer content-export complete version --id 3 [....................................................................................................................................................] [100%] Error: Remote artifacts cannot be exported. undefined method `first' for nil:NilClass
Should look into whether this can be improved from the Katello side.
Actions