[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: CI automation location for RPMs is moving



Don't you need to build your repo file by setting the baseUrl to https://rpms.svc.ci.openshift.org/openshift-origin-v3.11/ and then give it a run ?



On Mon, Oct 15, 2018 at 7:08 AM Anton Hughes <anton c hughes gmail com> wrote:
I'm trying to repo using ansible, like so:

name: update yum repos
command: curl -O https://rpms.svc.ci.openshift.org/openshift-origin-v3.11/ > /etc/yum.repos.d/openshift-origin-3.11.repo && yum update
But I am getting the following error:

FAILED! => {"changed": true, "cmd": ["curl", "-O", "https://rpms.svc.ci.openshift.org/openshift-origin-v3.11/", ">", "/etc/yum.repos.d/openshift-origin-3.11.repo", "&&", "yum", "update"], "delta": "0:00:00.108763", "end": "2018-10-15 08:02:53.835727", "msg": "non-zero return code", "rc": 7, "start": "2018-10-15 08:02:53.726964", "stderr": "curl: Remote file name has no length!\ncurl: try 'curl --help' or 'curl --manual' for more information\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: >; Unknown error\ncurl: (3) <url> malformed\ncurl: (6) Could not resolve host: &&; Unknown error\ncurl: (7) Failed connect to yum:80; Connection refused\ncurl: (7) Failed connect to update:80; Connection refused", "stderr_lines": ["curl: Remote file name has no length!", "curl: try 'curl --help' or 'curl --manual' for more information", "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current", "                                 Dload  Upload   Total   Spent    Left  Speed", "", "  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: >; Unknown error", "curl: (3) <url> malformed", "curl: (6) Could not resolve host: &&; Unknown error", "curl: (7) Failed connect to yum:80; Connection refused", "curl: (7) Failed connect to update:80; Connection refused"], "stdout": "", "stdout_lines": []}


Can someone tell me what I am doing wrong?

Thanks and kind regards

On Wed, 10 Oct 2018 at 16:03, Rich Megginson <rmeggins redhat com> wrote:
On 10/9/18 8:14 PM, Clayton Coleman wrote:
> What website?

curl -Lvsk https://rpms.svc.ci.openshift.org/openshift-origin-v3.11 just hangs

> Just use a slash at the end - all the CI jobs look like
> their working


Yep - curl -Lvsk https://rpms.svc.ci.openshift.org/openshift-origin-v3.11/ works fine.


Thanks!


>> On Oct 9, 2018, at 10:10 PM, Rich Megginson <rmeggins redhat com> wrote:
>>
>> Was this ever fixed?  Is this the cause of the website being currently unresponsive?
>>
>>
>>> On 9/10/18 2:33 PM, Clayton Coleman wrote:
>>> Interesting, might be an HAProxy router bug.  Can you file one?
>>>
>>> On Mon, Sep 10, 2018 at 3:08 PM Seth Jennings <sjenning redhat com <mailto:sjenning redhat com>> wrote:
>>>
>>>     There is a bug in the webserver configuration.  Main page links to https://rpms.svc.ci.openshift.org/openshift-origin-v3.11 which gets redirected to
>>>     http://rpms.svc.ci.openshift.org:8080/openshift-origin-v3.11/ (drops https and adds port number).
>>>
>>>     On Sat, Sep 8, 2018 at 9:27 PM Clayton Coleman <ccoleman redhat com <mailto:ccoleman redhat com>> wrote:
>>>
>>>         Previously, all RPMs used by PR and the test automation or Origin were located in GCS.  Starting with 3.11 and continuing forward, RPMs will be served from the api.ci <http://api.ci>
>>>         cluster at:
>>>
>>>         https://rpms.svc.ci.openshift.org
>>>
>>>         You can get an rpm repo file for a release by clicking on one of the links on the page above or via curling the name directly:
>>>
>>>             $ curl https://rpms.svc.ci.openshift.org/openshift-origin-v3.11.repo > /etc/yum.repos.d/openshift-origin-3.11.repo
>>>
>>>         The contents of this repo will be the same as the contents of the image:
>>>
>>>         docker.io/openshift/origin-artifacts:v3.11 <http://docker.io/openshift/origin-artifacts:v3.11>
>>>
>>>         in the /srv/repo dir.
>>>
>>>         PR jobs for 3.11 and onwards will now use this URL to fetch content.  The old location on GCS will no longer be updated as we are sunsetting the jobs that generated and used that content
>>>         _______________________________________________
>>>         dev mailing list
>>>         dev lists openshift redhat com <mailto: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
>>
>> _______________________________________________
>> 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
_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]