GithubHelp home page GithubHelp logo

Comments (6)

gklein avatar gklein commented on July 30, 2024

Rolling back to an earlier build will workaround this broken build.

In:

https://github.com/openshift-metalkube/dev-scripts/blob/ecf60de2ea62593bb1613c5ee1af2a888ed3d261/common.sh#L52

Change line 52 to:

export RHCOS_LATEST="$(curl ${RHCOS_IMAGE_URL}/builds.json | jq -r ".builds[1]")"

from dev-scripts.

hardys avatar hardys commented on July 30, 2024

Looking at openshift/installer@8599867 it seems openshift/installer moved to a new location, and it seems like authentication is needed to access, currently looking at how we can align with that.

from dev-scripts.

hardys avatar hardys commented on July 30, 2024

Hmm https://releases-rhcos.svc.ci.openshift.org/storage/releases/ootpa/builds.json is still working, @gklein do you know if this is a one-off broken build so we can temporarily pin as a workaround, or do we need to be moving to the new https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/ootpa/ location?

from dev-scripts.

gklein avatar gklein commented on July 30, 2024

@hardys I don't know what is the best resource, but given my check,
2 broken builds in https://releases-rhcos.svc.ci.openshift.org/storage/releases/ootpa
0 broken builds in https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/ootpa/

So I guess https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/ootpa/ is a safer option.

#!/bin/bash

IMAGE_URL_PREFIX=$1
BUILDS_JSON="builds.json"
BUILDS="$(curl -s ${IMAGE_URL_PREFIX}/${BUILDS_JSON} | jq -r '.builds[]')"

for build in $BUILDS
do
echo "Build: $build"
echo -e "\t$(curl -s ${IMAGE_URL_PREFIX}/${build}/meta.json | jq -r '.images.openstack.path')"

# ./checkBuilds.sh https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/ootpa/
Build: 410.8.20190412.2
rhcos-410.8.20190412.2-openstack.qcow2
Build: 410.8.20190412.1
rhcos-410.8.20190412.1-openstack.qcow2
Build: 410.8.20190412.0
rhcos-410.8.20190412.0-openstack.qcow2
Build: 410.8.20190411.1
rhcos-410.8.20190411.1-openstack.qcow2
Build: 410.8.20190411.0
rhcos-410.8.20190411.0-openstack.qcow2
Build: 410.8.20190410.0
rhcos-410.8.20190410.0-openstack.qcow2
Build: 410.8.20190408.1
rhcos-410.8.20190408.1-openstack.qcow2
Build: 410.8.20190408.0
rhcos-410.8.20190408.0-openstack.qcow2
Build: 410.8.20190405.1
rhcos-410.8.20190405.1-openstack.qcow2
Build: 410.8.20190405.0
rhcos-410.8.20190405.0-openstack.qcow2
Build: 410.8.20190404.0
rhcos-410.8.20190404.0-openstack.qcow2
Build: 410.8.20190322.0
rhcos-410.8.20190322.0-openstack.qcow2
Build: 410.8.20190315.0
rhcos-410.8.20190315.0-openstack.qcow2
Build: 410.8.20190314.0
rhcos-410.8.20190314.0-openstack.qcow2

# ./checkBuilds.sh https://releases-rhcos.svc.ci.openshift.org/storage/releases/ootpa
Build: 410.8.20190412.3
null
Build: 410.8.20190412.2
rhcos-410.8.20190412.2-openstack.qcow2
Build: 410.8.20190412.1
null
Build: 410.8.20190412.0
rhcos-410.8.20190412.0-openstack.qcow2
Build: 410.8.20190410.0
rhcos-410.8.20190410.0-openstack.qcow2
Build: 410.8.20190405.0
rhcos-410.8.20190405.0-openstack.qcow2
Build: 410.8.20190404.0
rhcos-410.8.20190404.0-openstack.qcow2
Build: 410.8.20190402.0
rhcos-410.8.20190402.0-openstack.qcow2
Build: 410.8.20190401.0
rhcos-410.8.20190401.0-openstack.qcow2
Build: 410.8.20190330.0
rhcos-410.8.20190330.0-openstack.qcow2
Build: 410.8.20190328.1
rhcos-410.8.20190328.1-openstack.qcow2
Build: 410.8.20190328.0
rhcos-410.8.20190328.0-openstack.qcow2
Build: 410.8.20190327.1
rhcos-410.8.20190327.1-openstack.qcow2
Build: 410.8.20190327.0
rhcos-410.8.20190327.0-openstack.qcow2
Build: 410.8.20190326.0
rhcos-410.8.20190326.0-openstack.qcow2
Build: 410.8.20190325.0
rhcos-410.8.20190325.0-openstack.qcow2
Build: 410.8.20190322.0
rhcos-410.8.20190322.0-openstack.qcow2
Build: 410.8.20190320.1
rhcos-410.8.20190320.1-openstack.qcow2
Build: 410.8.20190320.0
rhcos-410.8.20190320.0-openstack.qcow2
Build: 410.8.20190319.0
rhcos-410.8.20190319.0-openstack.qcow2
Build: 410.8.20190315.1
rhcos-410.8.20190315.1-openstack.qcow2
Build: 410.8.20190315.0
rhcos-410.8.20190315.0-openstack.qcow2
Build: 410.8.20190314.0
rhcos-410.8.20190314.0-openstack.qcow2
Build: 410.8.20190313.0
rhcos-410.8.20190313.0-openstack.qcow2

from dev-scripts.

gklein avatar gklein commented on July 30, 2024

Looking at openshift/installer@8599867 it seems openshift/installer moved to a new location, and it seems like authentication is needed to access, currently looking at how we can align with that.

I don't think we need to authenticate in order to get an image. It is publicly available if we get the version right:

#curl -I -L "https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/ootpa/410.8.20190412.2/rhcos-410.8.20190412.2-openstack.qcow2"
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.12.1
Date: Mon, 15 Apr 2019 12:12:57 GMT
Content-Type: text/html
Content-Length: 161
Location: https://art-rhcos-ci.s3.amazonaws.com/releases/ootpa/410.8.20190412.2/rhcos-410.8.20190412.2-openstack.qcow2
Set-Cookie: e864b3c9d0a263df2fa2591326969fb0=46b51d3581ea839913cb0632f75480f8; path=/; HttpOnly; Secure

HTTP/1.1 200 OK
x-amz-id-2: 9iuQW6DyC/NidECVxbg3n49ZeJHrFYS6z4N1+eFnhA9P6r3FUtwIWwwcSRXdRErWySgqLHQgIsc=
x-amz-request-id: FC9DB601BB21AA1D
Date: Mon, 15 Apr 2019 12:12:58 GMT
Last-Modified: Fri, 12 Apr 2019 20:08:51 GMT
ETag: "92bb79409af103b62856eb0267044b4d-92"
Content-Disposition: inline; filename=rhcos-410.8.20190412.2-openstack.qcow2
Content-Encoding: gzip
Accept-Ranges: bytes
Content-Type: binary/octet-stream
Content-Length: 769156524
Server: AmazonS3

from dev-scripts.

russellb avatar russellb commented on July 30, 2024

Fixed by #359

from dev-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.