Bug 1152237
Summary: | sync status for repositories via hammer returns no information | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Og Maciel <omaciel> |
Component: | Hammer | Assignee: | Eric Helms <ehelms> |
Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | Nightly | CC: | bbuckingham |
Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/7941 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:23:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Og Maciel
2014-10-13 16:34:11 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. UPDATE: turns out that the same is happening with YUM custom repos as well: 2014-10-13 13:00:00 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output csv repository create --product-id='484' --name='SEXSfPrIKTjdRgP' --publish-via-http='true' --url='http://inecas.fedorapeople.org/fakerepos/zoo3/' --content-type='yum' 2014-10-13 13:00:00 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x105350490 2014-10-13 13:00:06 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x105350490 2014-10-13 13:00:06 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x105350490 2014-10-13 13:00:06 - robottelo.common.ssh - DEBUG - <<< Message,Id,Name Repository created,91,SEXSfPrIKTjdRgP 2014-10-13 13:00:06 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id='91' 2014-10-13 13:00:06 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x10534da90 2014-10-13 13:00:08 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x10534da90 2014-10-13 13:00:08 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x10534da90 2014-10-13 13:00:08 - robottelo.common.ssh - DEBUG - <<< ID: 91 Name: SEXSfPrIKTjdRgP Label: SEXSfPrIKTjdRgP Organization: 7SHwV0 Red Hat Repository: no Content Type: yum URL: http://inecas.fedorapeople.org/fakerepos/zoo3/ Publish Via HTTP: yes Published At: http://qe-foreman-rhel65.usersys.redhat.com/pulp/repos/7SHwV0/Library/custom/xSledNffwxbuBGvRzabg/SEXSfPrIKTjdRgP Product: ID: 484 Name: WEyxAnrjWypoPmrisZIi GPG Key: Sync: Status: Created: 2014/10/13 16:59:47 Updated: 2014/10/13 16:59:51 Content Counts: Upstream issue is http://projects.theforeman.org/issues/7941 Connecting redmine issue http://projects.theforeman.org/issues/7941 from this bug Upstream bug assigned to paji Upstream bug assigned to ehelms Moving to POST since upstream bug http://projects.theforeman.org/issues/7941 has been closed ------------- Eric Helms Applied in changeset commit:hammer-cli-katello|9a739879db522689aed22e04ea1ce10cdddc3b15. Verified that both RHEL (yum) and Docker based repositories show the proper information under the "Sync" property. [root@ibm-x3250m4-01 ~]# LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id 14 ID: 14 Name: Ubuntu Label: Ubuntu Organization: Default Organization Red Hat Repository: no Content Type: docker URL: https://registry-1.docker.io Publish Via HTTP: yes Published At: SERVER:5000/default_organization-docker-ubuntu Relative Path: default_organization-docker-ubuntu Upstream Repository Name: ubuntu Container Repository Name: default_organization-docker-ubuntu Product: ID: 14 Name: Docker GPG Key: Sync: Status: Last Sync Date: less than a minute Created: 2016/03/02 08:02:12 Updated: 2016/03/02 08:02:13 Content Counts: Docker Manifests: 102 Docker Tags: 102 [root@ibm-x3250m4-01 ~]# LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id 1 ID: 1 Name: Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server Label: Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7Server Organization: Default Organization Red Hat Repository: yes Content Type: yum Checksum Type: sha1 URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os Publish Via HTTP: no Published At: https://SERVER/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os Relative Path: Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os Download Policy: immediate Product: ID: 9 Name: Red Hat Enterprise Linux Server GPG Key: Sync: Status: Success Last Sync Date: 19 days Created: 2016/02/28 16:56:40 Updated: 2016/02/28 17:38:28 Content Counts: Packages: 10330 Package Groups: 71 Errata: 1094 This also works for unsynchronized repositories: [root@ibm-x3250m4-01 ~]# LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id 15 ID: 15 Name: newrepo Label: newrepo Organization: Default Organization Red Hat Repository: no Content Type: docker URL: https://registry-1.docker.io/ Publish Via HTTP: yes Published At: SERVER:5000/default_organization-docker-newrepo Relative Path: default_organization-docker-newrepo Upstream Repository Name: mysql Container Repository Name: default_organization-docker-newrepo Product: ID: 14 Name: Docker GPG Key: Sync: Status: Not Synced Created: 2016/03/18 20:06:16 Updated: 2016/03/18 20:06:17 Content Counts: Docker Manifests: 0 Docker Tags: 0 Verified on Satellite 6.2.0 SNAP 4.0 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/RHBA-2016:1501 |