Project

General

Profile

Actions

Bug #36162

closed

Better error message when content-export fails due to unsynced repository

Added by Jeremy Lenz about 1 year ago. Updated 6 months ago.

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

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 #1

Updated by Jeremy Lenz about 1 year ago

  • Target version set to Katello 4.9.0
  • Triaged changed from No to Yes
Actions #2

Updated by Jeremy Lenz 10 months ago

  • Target version changed from Katello 4.9.0 to Katello 4.11.0
  • Triaged changed from Yes to No
Actions #3

Updated by Ian Ballou 10 months ago

  • Target version changed from Katello 4.11.0 to Katello 4.10.0
  • Triaged changed from No to Yes
Actions #4

Updated by Jeremy Lenz 9 months ago

  • Bugzilla link set to 2222725
Actions #5

Updated by Ian Ballou 8 months ago

  • Category changed from Repositories to Inter Server Sync
Actions #6

Updated by Jeremy Lenz 7 months ago

  • Target version changed from Katello 4.10.0 to Katello 4.11.0
  • Triaged changed from Yes to No
Actions #7

Updated by Lucy Fu 6 months ago

  • Triaged changed from No to Yes
Actions #8

Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/Katello/katello/pull/10751 added
Actions #9

Updated by The Foreman Bot 6 months ago

  • Fixed in Releases Katello 4.11.0 added
Actions #10

Updated by Jeremy Lenz 6 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF