Project

General

Profile

Actions

Bug #17792

open

Enabling the Satellite Capsule 6 Beta via hammer CLI does not reflect in the web ui

Added by Walden Raines over 7 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1212536
Description of problem:

I used the hammer cli to enable the "Satellite Capsule 6 Beta" repository for both RHEL 6 and RHEL 7, and that worked fine:

  1. hammer -u $ADMIN_USER -p $ADMIN_PASSWORD repository-set enable --name="Red Hat Satellite Capsule 6 Beta (for RHEL 6 Server) (RPMs)" --basearch="x86_64" --releasever="6Server" --product "Red Hat Satellite Capsule Beta" --organization="${ORGANIZATION}"

But when I went to the web ui to confirm that the repositories had been enabled I noticed two issues:

1. The repository was not enabled as far as the Red Hat Repositories page showed
2. The actual name of the repository (Red Hat Capsule 6 Beta for RHEL 6 Server RPMs x86_64) was missing the release version, which is how other similar repositories are named. In other words:

- Red Hat Capsule 6 Beta for RHEL 6 Server RPMs x86_64
+ Red Hat Capsule 6 Beta for RHEL 6 Server RPMs x86_64 6Server

I'm not sure if the release version is what's causing the discrepancy in the web ui but I can actually see via the Content > Products page that the repositories are enabled and I can sync them. The command line also shows that the repository is enabled:

  1. hammer repository-set info --organization "Default Organization" --product "Red Hat Satellite Capsule Beta" --name "Red Hat Satellite Capsule 6 Beta (for RHEL 6 Server) (RPMs)"
    [Foreman] Username: admin
    [Foreman] Password for admin:
    ID: 3504
    Name: Red Hat Satellite Capsule 6 Beta (for RHEL 6 Server) (RPMs)
    Type: yum
    URL: /content/beta/rhel/server/6/6Server/$basearch/sat-capsule/6/os
    GPG Key: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    Label: rhel-server-6-satellite-capsule-6-beta-rpms
    Enabled Repositories:
    1) ID: 11
    Name: Red Hat Satellite Capsule 6 Beta for RHEL 6 Server RPMs x86_64 6Server

Version-Release number of selected component (if applicable):

Official Beta for Satellite 6.1

How reproducible:

Steps to Reproduce:
1. Enable the aforementioned repository using the hammer cli
2. Visit the Content > Red Hat Repositories page and check if the repository is enabled in the Beta tab
3.

Actual results:

Expected results:

Additional info:

Actions #1

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 114
Actions

Also available in: Atom PDF