Remote Generic repository containing a colon appear to cause a 409 error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Remote Generic repository containing a colon appear to cause a 409 error

novasbc
We are trying to add a remote generic repo for http://download.opensuse.org/repositories/Virtualization:/Appliances/.

I created a new generic remote repo, with URL http://download.opensuse.org/repositories/Virtualization:/Appliances/.

It appears to work, I can download many files through Artifactory, but under the openSUSE_13.2 subfolder, it has problems resolving the file 'Virtualization:Appliances.repo".  It will never cache the file, and clients get a 409 error back.  The log shows the following:

2015-10-06 10:45:49,096 [http-nio-8081-exec-21] [WARN ] (o.a.r.ArtifactoryResponseBase:105) - Sending HTTP error code 409: Old metadata notation is not supported anymore: openSUSE-virtual-appliances:openSUSE_13.2/Virtualization:Appliances.repo

Am I doing something wrong here?  Is it related to the colon, since I can seem to download the RPMs just fine?
Reply | Threaded
Open this post in threaded view
|

Re: Remote Generic repository containing a colon appear to cause a 409 error

novasbc
We fixed this by using an alternative syntax to adding the repository.  The colon in the filename was indeed specific to some sort of metadata notation, not being supported.

When adding it as a repo for openSUSE, one can add it with the following notation:

sudo zypper addrepo http://myserver:8081/artifactory/openSUSE-virtual-appliances/openSUSE_13.2/ Virtualization_Appliances

So, by doing that, you avoid needing to point to the metadata file itself.