Bug 1317735

Summary: [intservice_public_203] Failed to build origin logging images
Product: OKD Reporter: chunchen <chunchen>
Component: LoggingAssignee: Luke Meyer <lmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: chunchen <chunchen>
Severity: high Docs Contact:
Priority: high    
Version: 3.xCC: aos-bugs, ewolinet, rmeggins, wsun, xiazhao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 17:15:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
build logging images logs none

Description chunchen 2016-03-15 02:56:45 UTC
Description of problem:
When trying to build origin logging images with github source code, will meet below errors:
"
Failed to install io.fabric8.elasticsearch/openshift-elasticsearch-plugin/0.10, reason: failed to download out of all possible locations..., use --verbose to get detailed information
The command '/bin/sh -c ${HOME}/install.sh' returned a non-zero code: 74
"

codes:  https://github.com/ewolinetz/origin-aggregated-logging/blob/de3d3a55cdbdf0aeaf3faebd765fd057817eab6a/elasticsearch/install.sh#L18

Version-Release number of selected component (if applicable):
openshift v1.1.4-4-gd41c3de
kubernetes v1.2.0-origin-41-g91d3e75
etcd 2.2.5

How reproducible:
always

Steps to Reproduce:
1. Git clone origin-aggregated-logging repo
git clone https://github.com/openshift/origin-aggregated-logging.git

2. Build logging images
cd origin-aggregated-logging/hack
./build-images.sh

Actual results:
Met download errors, please refer to the detail logs in attachment.

Expected results:
Should build origin logging images successfully.

Additional info:

Comment 1 chunchen 2016-03-15 02:58:41 UTC
Created attachment 1136357 [details]
build logging images logs

Comment 2 Luke Meyer 2016-03-15 13:25:04 UTC
Did the openshift-elasticsearch-plugin/0.10 get published to maven?

Comment 4 Luke Meyer 2016-03-15 14:05:49 UTC
Wondering if maven central is having some caching issue.

$ curl -I https://repo1.maven.org/maven2/io/fabric8/elasticsearch/openshift-elasticsearch-plugin/0.9/openshift-elasticsearch-plugin-0.9.zip
HTTP/1.1 200 OK
x-amz-meta-last-modified-epoch: 1455812540000
ETag: "39ec83053f44cf63f040e7b5a2fa85b3"
Content-Type: application/zip
Last-Modified: Thu, 18 Feb 2016 16:22:20 GMT
X-Checksum-MD5: 39ec83053f44cf63f040e7b5a2fa85b3
X-Checksum-SHA1: 4a5a41fcec62213b6d0fcff3ed72368eb7a19b9e
Content-Length: 7929686
Accept-Ranges: bytes
Date: Tue, 15 Mar 2016 14:03:50 GMT
Via: 1.1 varnish
Connection: keep-alive
X-Served-By: cache-iad2138-IAD
X-Cache: HIT
X-Cache-Hits: 0
X-Timer: S1458050630.277870,VS0,VE2

$ curl -I https://repo1.maven.org/maven2/io/fabric8/elasticsearch/openshift-elasticsearch-plugin/0.10/openshift-elasticsearch-plugin-0.10.zip
HTTP/1.1 404 Not Found
Last-Modified: Wed, 27 Jan 2016 19:51:30 GMT
ETag: "1fb066da6a67c7c02962f59b4b8cd1ee"
x-amz-error-code: NoSuchKey
x-amz-error-message: The specified key does not exist.
x-amz-error-detail-Key: maven2/io/fabric8/elasticsearch/openshift-elasticsearch-plugin/0.10/openshift-elasticsearch-plugin-0.10.zip
Content-Type: text/html
Via: 1.1 varnish
Fastly-Debug-Digest: 48c52982eb8ad7c8bb2c1891d1991c8092f1dcc9d03a42a39390ff8fdcb8cd65
Content-Length: 554
Accept-Ranges: bytes
Date: Tue, 15 Mar 2016 14:04:02 GMT
Via: 1.1 varnish
Age: 58823
Connection: keep-alive
X-Served-By: cache-iad2148-IAD, cache-atl6233-ATL
X-Cache: HIT, HIT
X-Cache-Hits: 1, 1
X-Timer: S1458050642.152260,VS0,VE6

Comment 7 Xia Zhao 2016-03-16 01:48:08 UTC
Logging images can be built successfully from upstream now. Closing this issue as fixed. Thanks!