Description of problem:
setup_package_repos in RHUI 3.0 Beta 2 for RHEL 7 ISO doesn't import beta gpg key. It prevent to install 'yum -y rhui-installer'.
Version-Release number of selected component (if applicable):
setup_package_repos in RHUI 3.0 Beta 2 for RHEL 7 ISO
Steps to Reproduce:
1. Run ./setup_package_repos
2. Run yum -y rhui-installer
Packages in local rhui repository can not be installed.
Packages in local rhui repository can be installed successfully.
setup_package_repos in RHUI 3.0 Beta 2 for RHEL 7 ISO contains following definition.
# Figure out where we are running
INSTALL_FILE = os.path.abspath(__file__)
PWD = os.path.dirname(INSTALL_FILE)
REPO_FILE = "/etc/yum.repos.d/rhui-local.repo"
DEST_DIR = "/opt/rhui/"
GPG_FILE needs to point /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta because RHUI3.0 is still in beta.
Manual import with 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta' resolve this issue.
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.