Project

General

Profile

Actions

Bug #25805

closed

hammer repository info show "Red Hat Repository: no" for a Redhat enabled repository

Added by Samir Jha about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
hammer repository info show "Red Hat Repository: no" for a Redhat enabled repository

Version-Release number of selected component (if applicable):
  • candlepin-2.5.8-1.el7.noarch
  • candlepin-selinux-2.5.8-1.el7.noarch
  • foreman-1.20.1.1-1.el7sat.noarch
  • foreman-bootloaders-redhat-201801241201-3.el7sat.noarch
  • foreman-bootloaders-redhat-tftpboot-201801241201-3.el7sat.noarch
  • foreman-cli-1.20.1.1-1.el7sat.noarch
  • foreman-compute-1.20.1.1-1.el7sat.noarch
  • foreman-debug-1.20.1.1-1.el7sat.noarch
  • foreman-discovery-image-3.5.3-1.el7sat.noarch
  • foreman-ec2-1.20.1.1-1.el7sat.noarch
  • foreman-gce-1.20.1.1-1.el7sat.noarch
  • foreman-installer-1.20.0-2.el7sat.noarch
  • foreman-installer-katello-3.10.0-0.1.rc1.el7sat.noarch
  • foreman-libvirt-1.20.1.1-1.el7sat.noarch
  • foreman-openstack-1.20.1.1-1.el7sat.noarch
  • foreman-ovirt-1.20.1.1-1.el7sat.noarch
  • foreman-postgresql-1.20.1.1-1.el7sat.noarch
  • foreman-proxy-1.20.0-1.el7sat.noarch
  • foreman-rackspace-1.20.1.1-1.el7sat.noarch
  • foreman-selinux-1.20.0-1.el7sat.noarch
  • foreman-vmware-1.20.1.1-1.el7sat.noarch
  • katello-3.10.0-0.6.rc1.el7sat.noarch
  • katello-ca-consumer-dhcp-8-29-228.lab.eng.rdu2.redhat.com-1.0-3.noarch
  • katello-certs-tools-2.4.0-2.el7sat.noarch
  • katello-client-bootstrap-1.6.0-1.el7sat.noarch
  • katello-common-3.10.0-0.6.rc1.el7sat.noarch
  • katello-debug-3.10.0-0.6.rc1.el7sat.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-base-3.10.0-0.1.rc1.el7sat.noarch
  • katello-selinux-3.0.3-2.el7sat.noarch
  • katello-server-ca-1.0-1.noarch
  • katello-service-3.10.0-0.6.rc1.el7sat.noarch
  • ldapjdk-4.19-5.el7.noarch
  • openldap-2.4.44-20.el7.x86_64
  • pulp-client-1.0-1.noarch
  • pulp-docker-plugins-3.2.2-0.1.rc.el7sat.noarch
  • pulp-katello-1.0.2-5.el7sat.noarch
  • pulp-maintenance-2.18.0-0.1.rc.el7sat.noarch
  • pulp-ostree-plugins-1.3.1-1.el7sat.noarch
  • pulp-puppet-plugins-2.18.0-0.1.rc.el7sat.noarch
  • pulp-puppet-tools-2.18.0-0.1.rc.el7sat.noarch
  • pulp-rpm-plugins-2.18.0-0.1.rc.el7sat.noarch
  • pulp-selinux-2.18.0-0.1.rc.el7sat.noarch
  • pulp-server-2.18.0-0.1.rc.el7sat.noarch
  • python-ldap-2.4.15-2.el7.x86_64
  • tfm-rubygem-ldap_fluff-0.4.7-3.el7sat.noarch
  • tfm-rubygem-net-ldap-0.15.0-3.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Having an organization with a manifest
2. Goto Content > Red Hat Repositories
3. Enable a Red hat repository for example "
Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server "
4. Via hammer run (note id = 86 is the id of the rhel repo get it from the url when navigating to the repo via ui)

hammer repository info --id 86

Actual results:
ID: 86
Name: Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server
Label: Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7Server
Organization: vqipmVxujf
Red Hat Repository: no
Content Type: yum
Mirror on Sync: yes
URL: RHEL_CDN_SERVER/content/dist/rhel/server/7/7Server/x86_64/os
Publish Via HTTP: no
Published At: SAT_SERVER/pulp/repos/vqipmVxujf/Library/content/dist/rhel/server/7/7Server/x86_64/os/
Relative Path: vqipmVxujf/Library/content/dist/rhel/server/7/7Server/x86_64/os
Download Policy: on_demand

(SAT_SERVER and RHEL_CDN_SERVER values are a replacement for actual servers urls)

Expected results:
...
Red Hat Repository: yes
...

Additional info:
This behavior is true for any enabled RH repository.

hammer repository info --organization-id 19 --product "Red Hat Ansible Engine" --name "Red Hat Ansible Engine 2.7 RPMs for Red Hat Enterprise Linux 7 Server x86_64"

ID: 85
Name: Red Hat Ansible Engine 2.7 RPMs for Red Hat Enterprise Linux 7 Server x86_64
Label: Red_Hat_Ansible_Engine_2_7_RPMs_for_Red_Hat_Enterprise_Linux_7_Server_x86_64
Organization: vqipmVxujf
Red Hat Repository: no
Content Type: yum
Mirror on Sync: yes
URL: RHEL_CDN_SERVER/content/dist/rhel/server/7/7Server/x86_64/ansible/2.7/os
Publish Via HTTP: no
Published At: SAT_SERVER/pulp/repos/vqipmVxujf/Library/content/dist/rhel/server/7/7Server/x86_64/ansible/2.7/os/
Relative Path: vqipmVxujf/Library/content/dist/rhel/server/7/7Server/x86_64/ansible/2.7/os
Download Policy: on_demand
Product:
ID: 228
Name: Red Hat Ansible Engine
GPG Key:

Sync:
Status: Success
Last Sync Date: 36 minutes
Created: 2018/12/17 14:33:23
Updated: 2018/12/17 14:33:23
Content Counts:
Packages: 9
Source RPMS: 0
Package Groups: 0
Errata: 4
Module Streams: 0

Actions #1

Updated by Samir Jha about 6 years ago

  • Assignee set to Samir Jha
Actions #2

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7913 added
Actions #3

Updated by The Foreman Bot about 6 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/612 added
Actions #4

Updated by Anonymous about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Jonathon Turel about 6 years ago

  • Target version set to Katello 3.11.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF