[Spacewalk-list] Sync doesn't work on WebUI, but it works directly on terminal
Kleber Florentino Goncalves Gomes
kfgomes at prodam.sp.gov.br
Wed May 22 19:18:05 UTC 2013
Hello.
I've been facing troubles.
After installing and configuring Spacewalk server, I created a channel
named "centos_6" and its repositories, and then by clicking on Sync
button to populate repositories. I repeated this sync's process many
times and worked well until the first server restart. From this point,
whenever I try to Sync through the WebUI, shows the following:
Sync started: Wed May 21 11:55:57 2013
['/usr/bin/spacewalk-repo-sync', '--channel', 'centos_6', '--type',
'yum']
Repo URL: http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/
ERROR: Cannot retrieve repository metadata (repomd.xml) for repository:
centos_6. Please verify its path and try again
Repo URL: http://mirror.globo.com/epel/6/x86_64/debug/
ERROR: Cannot retrieve repository metadata (repomd.xml) for repository:
centos_6. Please verify its path and try again
Repo URL: http://mirror.centos.org/centos/6.4/os/x86_64/
ERROR: Cannot retrieve repository metadata (repomd.xml) for repository:
centos_6. Please verify its path and try again
Repo URL: http://yum.spacewalkproject.org/1.9/RHEL/6/x86_64/
ERROR: Cannot retrieve repository metadata (repomd.xml) for repository:
centos_6. Please verify its path and try again
Repo URL: http://centos.secrel.com.br/6.4/os/x86_64/
ERROR: Cannot retrieve repository metadata (repomd.xml) for repository:
centos_6. Please verify its path and try again
Sync completed.
Total time: 0:04:48
However, if I run the command above directly on the server's terminal,
it works fine:
# spacewalk-repo-sync --channel centos_6.4_x64 --type yum
Repo URL: http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/
Packages in repo: 3307
No new packages to sync.
Repo http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/ has 0
errata.
Repo URL: http://mirror.globo.com/epel/6/x86_64/debug/
Packages in repo: 1822
No new packages to sync.
Repo URL: http://mirror.globo.com/epel/6/x86_64/debug/
Packages in repo: 12
No new packages to sync.
Repo URL: http://mirror.centos.org/centos/6.4/os/x86_64/
Packages in repo: 6381
No new packages to sync.
Repo URL: http://yum.spacewalkproject.org/1.9/RHEL/6/x86_64/
Packages in repo: 141
No new packages to sync.
Repo URL: http://centos.secrel.com.br/6.4/os/x86_64/
Packages in repo: 8805
No new packages to sync.
I've ever searched for clues in logs archives (osa-dispatcher.log,
rhn-taskomatic.log and messages), but I didn't find out anything about
this that could help to solve this problem. Would someone have any tip
of what could be happening?
Regards,
Kleber Gomes.
“Esta mensagem, incluindo seus anexos, é confidencial e seu conteúdo é restrito ao destinatário da mensagem. Caso você a tenha recebido por engano, queira, por favor, retorná-la ao destinatário e apagá-la de seus arquivos. É expressamente proibido o uso não autorizado, replicação ou disseminação da mesma. As opiniões contidas nesta mensagem e seus anexos não necessariamente refletem a opinião do órgão emissor”.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130522/d3a8b0ee/attachment.htm>
More information about the Spacewalk-list
mailing list