Yum does not require the directory of the baseurl to exist as an http
location.  That’s just a convention from people hosting with older web
servers like Apache.

On Apr 1, 2018, at 9:39 AM, Nakayama Kenjiro <nakayamakenj...@gmail.com>
wrote:

Although curl access gets NoSuchKey as you mentioned, dnf/yum can find
and download RPMs without any problem.

```
$ sudo dnf repoquery --disablerepo=*  --repofrompath=origin,
https://storage.googleapis.com/origin-ci-test/logs/test_branch_origin_extended_conformance_gce_39/23/artifacts/rpms
Added origin repo from
https://storage.googleapis.com/origin-ci-test/logs/test_branch_origin_extended_conformance_gce_39/23/artifacts/rpms
Last metadata expiration check: 0:06:37 ago on Sun 01 Apr 2018 10:16:20 PM
JST.
origin-0:3.9.0-1.0.191fece.x86_64
origin-clients-0:3.9.0-1.0.191fece.x86_64
origin-cluster-capacity-0:3.9.0-1.0.191fece.x86_64
origin-docker-excluder-0:3.9.0-1.0.191fece.noarch
origin-excluder-0:3.9.0-1.0.191fece.noarch
origin-federation-services-0:3.9.0-1.0.191fece.x86_64
origin-master-0:3.9.0-1.0.191fece.x86_64
origin-node-0:3.9.0-1.0.191fece.x86_64
origin-pod-0:3.9.0-1.0.191fece.x86_64
origin-sdn-ovs-0:3.9.0-1.0.191fece.x86_64
origin-service-catalog-0:3.9.0-1.0.191fece.x86_64
origin-template-service-broker-0:3.9.0-1.0.191fece.x86_64
origin-tests-0:3.9.0-1.0.191fece.x86_64
```

So, if you put the repo file under etc/yum.repos.d/*.repo, you
can install origin v3.9. I guess that storage.googleapis.com returns
"No such object" unless we accesses to exact file name. For example,
following URL could return repo data correctly.


https://storage.googleapis.com/origin-ci-test/logs/test_branch_origin_extended_conformance_gce_39/23/artifacts/rpms/repodata/repomd.xml

Regards,
Kenjiro


On Sun, Apr 1, 2018 at 9:33 PM, Aleksandar Lazic <
openshift-...@me2digital.com> wrote:

> Hi.
>
> looks like the file does not point to a valid repo.
>
> ```
> curl -sSL $(curl -sSL
> https://storage.googleapis.com/origin-ci-test/releases/
> openshift/origin/v3.9.0/origin.repo
> |egrep baseurl|cut -d= -f2)
>
> <?xml version='1.0'
> encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified
> key does not exist.</Message><Details>No such object:
> origin-ci-test/logs/test_branch_origin_extended_conformance_gce_39/23/
> artifacts/rpms</Details></Error>
> ```
>
> Regards
> Aleks
> Am 31.03.2018 um 01:33 schrieb Clayton Coleman:
> > The v3.9.0 OpenShift release has been tagged
> > https://github.com/openshift/origin/releases/tag/v3.9.0 and images
> > have been pushed to the Docker Hub.
> >
> > RPMs are available at:
> >
> >
> > https://storage.googleapis.com/origin-ci-test/releases/
> openshift/origin/v3.9.0/origin.repo
> >
> > Starting in v3.9.0, the Origin release images published to the Docker
> > Hub are now rolling tags - v3.9 and v3.9.0 will be updated whenever
> > changes are merged to the release-3.9 branch.
> >
> >
> > _______________________________________________
> > dev mailing list
> > dev@lists.openshift.redhat.com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
> _______________________________________________
> dev mailing list
> dev@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>



-- 
Kenjiro NAKAYAMA <nakayamakenj...@gmail.com>
GPG Key fingerprint = ED8F 049D E67A 727D 9A44  8E25 F44B E208 C946 5EB9
_______________________________________________
dev mailing list
dev@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to