Reading https://www.uyuni-project.org/uyuni-docs/en/uyuni/administration/
custom-channels.html#_creating_custom_channels_and_repositories
But this part could be more clear, so I will create a card about it, for our
doc squad.
For now, what I can tell for sure is that if you use `spacewalk-repo-sync`, to
sync one of the channels where the repository is used, you will get a question
to trust (forever, for now, or to avoid trusting) the GPG key.
On lunes, 12 de julio de 2021 16:17:49 (CEST) Heiner Wulfhorst wrote:
> Hi List,
>
> i added "
> https://downloads.linux.hpe.com/SDR/repo/spp-gen10/SUSE/15/x86_64/current/"
> as a custom channel in Uyuni.
> If i want to sync its repo with checked "Has Signed Metadata?" Box i always
> get this error in my reposync log:
> RepoMDError: Cannot access repository. Maybe repository GPG keys are not
> imported
> If that box is unchecked it syncs fine.
>
> - I filled out the "Security: GPG" Fields with data from "
> https://downloads.linux.hpe.com/SDR/keys.html"
> - added the Key to "Systems > Autoinstallation > GPG and SSL Keys", and
> - did rpm --import on my uyuni server
>
> Is there a way to add more verbosity to that log so i can ensure i really
> added the right key (should be gpg-pubkey-26c2b797-5669d0b9)?
>
>
> Thanks,
> Heiner
--
Julio González Gil
Release Engineer, SUSE Manager and Uyuni
jgonzalez@suse.com