Skip to content

Configuring Repository for RPM-based platforms fails on EL9 #11154

Open
@kiranchavala

Description

@kiranchavala

problem

Configuring Repository for RPM-based platforms fails on EL9

versions

Cloudstack 4.20, 4.19

The steps to reproduce the bug

  1. Install a Management server on a EL9 system

  2. Execute the rpm import command


root@ol90 ~]# rpm --import http://packages.shapeblue.com/release.asc
error: http://packages.shapeblue.com/release.asc: key 1 import failed.

  1. As a workaround perform the following steps
[root@ol90 ~]# curl -O http://packages.shapeblue.com/release.asc

[root@ol90 ~]# gpg --import release.asc

[root@ol90 ~]# gpg --list-keys --with-fingerprint
/root/.gnupg/pubring.kbx
------------------------
pub   rsa2048 2014-10-24 [SC]
      7203 0CA1 18C1 A275 68B1  37C4 BDF0 E176 584D F93F
uid           [ unknown] Rohit Yadav (ShapeBlue Repo) <[email protected]>
sub   rsa2048 2014-10-24 [E]

[root@ol90 ~]# gpg --export 72030CA118C1A27568B137C4BDF0E176584DF93F > /etc/pki/rpm-gpg/RPM-GPG-KEY-shapeblue

[root@ol90 ~]# file /etc/pki/rpm-gpg/RPM-GPG-KEY-shapeblue
/etc/pki/rpm-gpg/RPM-GPG-KEY-shapeblue: PGP/GPG key public ring (v4) created Fri Oct 24 07:33:56 2014 RSA (Encrypt or Sign) 2048 bits MPI=0xd4dd2d884b28188b..

[root@ol90 ~]# cat /etc/yum.repos.d/cloudstack.repo
[cloudstack-4.20]
name=cloudstack
baseurl=http://packages.shapeblue.com/cloudstack/upstream/el9/4.20
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-shapeblue

[root@ol90 ~]# yum install cloudstack-management

What to do about it?

There should be no error during

rpm --import http://packages.shapeblue.com/release.asc

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions