kiranchavala opened a new issue, #11154:
URL: https://github.com/apache/cloudstack/issues/11154

   ### 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.
   
   ```
   
   3. 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 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to