Project

General

Profile

Bug #28949

hammer repository info shows blank sync status if the repository sync is in warning/error state.

Added by Suraj Patil 9 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1799480

Description of problem:

If the repository sync is failed with an error/warning then the sync status in the output of hammer repository info shows a blank status.
When the repository sync is successful then it correctly shows sync status as success.

Version-Release number of selected component (if applicable):
Red Hat Satellite 6.6

How reproducible:
Always

Steps to Reproduce:
1. Any repository with sync failed or in warning state will show blank sync status
  1. hammer repository info --id X

Actual results:
Sync status is blank
~~~~~~~~~~~~~~~~~~
Sync:
Status:
~~~~~~~~~~~~~~~~~~

Expected results:

Sync status should show the status of the sync task.

Additional info:

Associated revisions

Revision e5d46a7a (diff)
Added by Suraj Patil 5 months ago

Fixes #28949 - added warning key in hash

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/723 added

#2 Updated by Jonathon Turel 9 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.0

#3 Updated by Ian Ballou 6 months ago

  • Target version changed from Katello 3.16.0 to 1223

#4 Updated by Jonathon Turel 5 months ago

  • Target version changed from 1223 to Katello 4.0.0

#5 Updated by Suraj Patil 5 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Ian Ballou 4 months ago

  • Target version changed from Katello 4.0.0 to Katello 3.16.0

#7 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/735 added

Also available in: Atom PDF