Bug 1383258 - hammer repository info should show the mirror-on-sync setting
Summary: hammer repository info should show the mirror-on-sync setting
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer - Content
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-10 10:04 UTC by Peter Ondrejka
Modified: 2019-04-01 20:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:31:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17031 0 None None None 2016-10-19 20:44:49 UTC

Description Peter Ondrejka 2016-10-10 10:04:22 UTC
When creating a repository in cli you can set the mirror-on-sync option:

hammer repository create --mirror-on-sync=false ...

However, the value of mirror-on-sync is not displayed in the output of `hammer repository info`. You have to view the repository in UI to find this information.

Comment 2 Brad Buckingham 2016-10-19 20:44:45 UTC
Created redmine issue http://projects.theforeman.org/issues/17031 from this bug

Comment 3 Brad Buckingham 2016-10-19 20:50:23 UTC
Upstream hammer-cli-katello PR: https://github.com/Katello/hammer-cli-katello/pull/460

Comment 4 Bryan Kearney 2016-10-20 20:19:20 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17031 has been resolved.

Comment 5 Oleksandr Shtaier 2017-07-17 10:14:17 UTC
Verified on latest 6.3 build:

hammer -v -u admin -p changeme  repository info --id="5"
ID:                 5
Name:               cYShngDpxiLmXAm
Label:              cYShngDpxiLmXAm
Organization:       nuDWvn
Red Hat Repository: no
Content Type:       yum
Mirror on Sync:     no
URL:                http://inecas.fedorapeople.org/fakerepos/zoo3/
Publish Via HTTP:   yes
Published At:       http://server_name/pulp/repos/nuDWvn/Library/custom/sUhzJcONSQLnrwPQWNkE/cYShngDpxiLmXAm/
Relative Path:      nuDWvn/Library/custom/sUhzJcONSQLnrwPQWNkE/cYShngDpxiLmXAm
Download Policy:    on_demand
Product:            
    ID:   3
    Name: cgBuUDivDl
GPG Key:            

Sync:               
    Status: Not Synced
Created:            2017/07/17 10:00:27
Updated:            2017/07/17 10:00:28
Content Counts:     
    Packages:       0
    Package Groups: 0
    Errata:         0
...

Comment 6 Oleksandr Shtaier 2017-07-18 12:39:34 UTC
Re-verified by automation

Comment 7 Bryan Kearney 2018-02-21 16:31:43 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.