Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add yum repositories #68

Closed
mkmet opened this issue Aug 24, 2016 · 4 comments
Closed

Can't add yum repositories #68

mkmet opened this issue Aug 24, 2016 · 4 comments

Comments

@mkmet
Copy link
Contributor

mkmet commented Aug 24, 2016

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 3.8.7
  • Ruby: 2.0.0p598
  • Distribution: CentOS 7.2.1511
  • Module version: 2.2.0

Can't add yum repositories in CentOS with repo class due to new repositories location for GlusterFS 3.8 and later. More at https://download.gluster.org/pub/gluster/glusterfs/3.8/LATEST/EPEL.repo/.

@bastelfreak
Copy link
Member

Hi @mkmet, we recently merged #69, can you please test if this fixes your issues?

@mkmet
Copy link
Contributor Author

mkmet commented Oct 18, 2016

Hi @bastelfreak. Still no success:

Error: /Stage[main]/Gluster::Install/Package[glusterfs-fuse]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install glusterfs-fuse' returned 1: warning: /var/cache/yum/x86_64/7/glusterfs-x86_64/packages/glusterfs-3.8.4-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e451e5b5: NOKEY


The GPG keys listed for the "CentOS-7 - Gluster 3.8" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


 Failing package is: glusterfs-3.8.4-1.el7.x86_64
 GPG Keys are configured as: http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7

It looks like currently GPG key for standard CentOS repo is downloaded. However CentOS storage SIG uses separate key for they packages.

@tux-o-matic
Copy link
Contributor

The CentOS SIG in charge of distributing GlusterFS packages for EL sign those packages with a separate key which is installed by 'centos-release-storage-common', a package from the CentOS Extras.

So in other words, that CentOS choice leads to problems for RHEL or Scientific Linux where you'd need to manually install CentOS rpm to skip the Extras repo.

@bastelfreak, if you agree, I'll do a PR to change the URL source of the GPG key from general one to the Storage SIG one which is sadly only available (outside an rpm) on GitHub.

@mkmet
Copy link
Contributor Author

mkmet commented Oct 19, 2016

I already prepared changes with key from GitHub and created PR #74 yesterday. I only forgot to reference issue ...sorry :-).

bastelfreak added a commit that referenced this issue Oct 21, 2016
Fixed CentOS storage SIG GPG key (issue #63 #68) and server package name
@mkmet mkmet closed this as completed Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants