I uploaded channels from the spacewalk-common channels to populate my channels then I tried the sync command and got
RepoMDError: Cannot access repository. Maybe repository GPG keys are not imported

After that I tried, per the suggestions of some of the others experiencing the issue, I tried the cli
spacewalk-repo-sync -c 'centos7-x86_64'

Repository 'centos7-x86_64-extras' is invalid.
[centos7-x86_64-extras|http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http://xxx:443&proxyuser=xxx&proxypass=xxx Valid metadata not found at specified URL
History:
 - [|] Error trying to read from 'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http://xxx:443&proxyuser=xxx&proxypass=xxx!'
 - Download (curl) error for 'http://mirrorlist.centos.org/content?release=7&arch=x86_64&repo=extras&proxy=http://xxx:443&proxyuser=xxx&proxypass=xxx:
Error code: HTTP response: 400
Error message: The requested URL returned error: 400 Bad Request


Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'centos7-x86_64-extras' because of the above error.
Could not refresh the repositories because of errors.
11:19:38 RepoMDError: Cannot access repository. Maybe repository GPG keys are not imported

---------------

Len Ewen

Systems Administrator 1

Information Technology

University of Indianapolis

(317) 788-3362

UIndyIT.jpg

Confidentiality Notice: This communication and/or its content are for the sole use of the intended recipient, and may be privileged, confidential, or otherwise protected from disclosure by law. If you are not the intended recipient, please notify the sender and then delete all copies of it. Unless you are the intended recipient, your use or dissemination of the information contained in this communication may be illegal.



On Fri, Jun 26, 2020 at 11:23 AM Len Ewen <ewenf@uindy.edu> wrote:
I uploaded channels from the spacewalk-common channels to populate my channels then I tried the sync command and got
RepoMDError: Cannot access repository. Maybe repository GPG keys are not imported

After that I tried, per the suggestions of some of the others experiencing the issue, I tried the cli
spacewalk-repo-sync -c 'centos7-x86_64'

Repository 'centos7-x86_64-extras' is invalid.
[centos7-x86_64-extras|http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http://uyuni.test.uindy.edu:443&proxyuser=xxx&proxypass=xxx Valid metadata not found at specified URL
History:
 - [|] Error trying to read from 'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&proxy=http://uyuni.test.uindy.edu:443&proxyuser=xxx&proxypass=xxx!'
 - Download (curl) error for 'http://mirrorlist.centos.org/content?release=7&arch=x86_64&repo=extras&proxy=http://uyuni.test.uindy.edu:443&proxyuser=xxx&proxypass=xxx:
Error code: HTTP response: 400
Error message: The requested URL returned error: 400 Bad Request


Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'centos7-x86_64-extras' because of the above error.
Could not refresh the repositories because of errors.
11:19:38 RepoMDError: Cannot access repository. Maybe repository GPG keys are not imported
---------------

Len Ewen

Systems Administrator 1

Information Technology

University of Indianapolis

(317) 788-3362

UIndyIT.jpg

Confidentiality Notice: This communication and/or its content are for the sole use of the intended recipient, and may be privileged, confidential, or otherwise protected from disclosure by law. If you are not the intended recipient, please notify the sender and then delete all copies of it. Unless you are the intended recipient, your use or dissemination of the information contained in this communication may be illegal.



On Thu, Jun 25, 2020 at 8:53 PM Julio González Gil <jgonzalez@suse.com> wrote:
Please, provide more details:

- What are you trying to sync exactly?
- Can you paste your call to spacewalk-repo-sync?

On jueves, 25 de junio de 2020 19:41:50 (CEST) Len Ewen wrote:
> I dropped this into the glitter chat, but I'll try here as well.  When I
> try to sync the repos through the UI, it errors out saying
>
> RepoMDError: Cannot access repository. Maybe repository GPG keys are
> not imported
>
> I read in the list serv from previous months that people have seen the
> problem and
> the recommended solution is try it from the command line using
> spacewalk-repo-sync
>
> but I am still getting the same error on the command line, so I am
> unsure what is going
>
> on and what I can do to fix it.  Does anyone have any suggestions to my
> problem?
>
>
> ---------------
>
> Len Ewen
>
> Systems Administrator 1
>
> Information Technology
>
> University of Indianapolis
>
> (317) 788-3362
>
> [image: UIndyIT.jpg]
>
> Confidentiality Notice: This communication and/or its content are for the
> sole use of the intended recipient, and may be privileged, confidential, or
> otherwise protected from disclosure by law. If you are not the intended
> recipient, please notify the sender and then delete all copies of it.
> Unless you are the intended recipient, your use or dissemination of the
> information contained in this communication may be illegal.


--
Julio González Gil
Release Engineer, SUSE Manager and Uyuni
jgonzalez@suse.com