He,

I have created a repo with the following settings:

Repository Label: sles11-sp1-pool-x86_64
Repository URL: https://<my ncc username>:<my ncc
password>@nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11-x86_64/

Next i added a channel, and attached the repo to the channel.

When I sync the channel (spacewalk-repo-sync --channel
sles11-sp1-pool-x86_64 or spacewalk-repo-sync --channel
sles11-sp1-pool-x86_64 --url https://<my ncc username>:<my ncc
password>@nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11-x86_64/), i do
get the next error:

Traceback (most recent call last):
  File "/usr/bin/spacewalk-repo-sync", line 70, in ?
    sys.exit(abs(main() or 0))
  File "/usr/bin/spacewalk-repo-sync", line 64, in main
    sync.main()
  File
"/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 
111, in main
    self.import_packages(plugin, url)
  File
"/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 
311, in import_packages
    packages = plug.list_packages()
  File
"/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py",
 line 119, in list_packages
    sack.populate(repo, 'metadata', None, 0)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 168, in
populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 226, in
_check_db_version
    return repo._check_db_version(mdtype)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1233, in
_check_db_version
    repoXML = self.repoXML
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1406, in
<lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1402, in
_getRepoXML
    raise Errors.RepoError, msg
yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml)
for repository: sles11-sp1-pool-x86_64. Please verify its path and try
again

I looks like the repomd.xml cannot be found, but I am able to download
the repomd.xml by the wget command.
(wget https://<my ncc username>:<my ncc password>@nu.novell.com/repo/\
$RCE/SLES11-SP1-Pool/sle-11-x86_64/repodata/repomd.xml).

Kind regards,

Jasper Aikema



> Hi,
> 
> Am Sonntag, 19. Juni 2011, 14:02:01 schrieb Jasper Aikema:
> > Hello,
> >         
> > Can someone tell me more about the integration of SLES with spacewalk?
> >         
> > At this moment I want to do 2 things:
> >         
> > 1. Autoinstallation with a kickstart / autoyast file
> >         
> > I am able to import a autoyast file (and also change it). But I am not
> > able to create a autoyast file (like a kickstart file). When I create
> > the file, it will be a normal kickstart file (without XML).
> 
> Creating an autoyast file with the Web UI is not supported. But you can 
> import 
> an autoyast file.
>          
> > 2. Creating and synchronizing a 'sles11-sp1-pool-x86_64' channel.
> > I am able to create repository for the novell repository (with the URL
> > https://nu.novell.com/repo/$RCE/SLES11-SP1-Pool/). But I am not able to
> > synchonize this repository. I think I need to add my NCC username and
> > password, but this does not work (I tried: https://<my ncc username>:<my
> > ncc password>@nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11-x86_64/).
> 
> This should work. What is the error you see?
> 
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to