Bug 1071173

Summary: [origin_cartridge_108]Failed to create jboss-vertx-2.1 app due to the mirror dns cannot be resolved
Product: OpenShift Online Reporter: chunchen <chunchen>
Component: ImageAssignee: Nick Scavelli <nscavell>
Status: CLOSED WORKSFORME QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: bmeng, bparees, chunchen, dingham, mfojtik, nscavell, wsun, xtian
Target Milestone: ---Keywords: Reopened, TestBlocker, UpcomingRelease
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-24 19:37:27 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:
Embargoed:
Attachments:
Description Flags
creating jboss-vertx log in development.log none

Description chunchen 2014-02-28 08:13:12 UTC
Created attachment 868888 [details]
creating jboss-vertx log in development.log

Description of problem:
It's failed to create jboss-vertx-2.1 app due to the mirror dns cannot be resolved, will meet "wget: unable to resolve host address `966b.http.dal05.cdn.softlayer.net" error, and please refer to the detail log at attachment.

Version-Release number of selected component (if applicable):
devenv_4437

How reproducible:
always

Steps to Reproduce:
1. Create a jboss-vertx-2.1 app
rhc app cv cvert jboss-vertx-2.1

Actual results:
Application Options
-------------------
Domain:     cdm
Cartridges: jboss-vertx-2.1
Gear Size:  default
Scaling:    no

Creating application 'cv' ... 
--2014-02-28 02:24:28--  http://dl.bintray.com/vertx/downloads/vert.x-2.1M5.tar.gz
Resolving dl.bintray.com... 108.168.194.92, 108.168.194.91
Connecting to dl.bintray.com|108.168.194.92|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://966b.http.dal05.cdn.softlayer.net/data-production/29695bdce55908823423596aeca344bc142c31cb?filename=vert.x-2.1M5.tar.gz [following]
--2014-02-28 02:24:28--  http://966b.http.dal05.cdn.softlayer.net/data-production/29695bdce55908823423596aeca344bc142c31cb?filename=vert.x-2.1M5.tar.gz
Resolving 966b.http.dal05.cdn.softlayer.net... failed: Name or service not known.
wget: unable to resolve host address `966b.http.dal05.cdn.softlayer.net'

Expected results:
Should create jboss-vertx-2.1 app successfully.

Additional info:

Comment 1 Ben Parees 2014-02-28 15:12:02 UTC
Appears to be working for me this morning.  Can you please try again?

CCing Nick in case he's aware of any issues w/ the content hosting.

Comment 2 Nick Scavelli 2014-02-28 15:43:08 UTC
Nope, not aware of any issues. Do you know how long it was unavailable (assuming it works now) ?

Comment 3 chunchen 2014-03-03 02:05:35 UTC
It's fixed, verified on devenv_4446, please refer to the following results:

$ rhc app create cvert2 jboss-vertx-2.1
Application Options
-------------------
Domain:     cdm
Cartridges: jboss-vertx-2.1
Gear Size:  default
Scaling:    no

Creating application 'cvert2' ... done


Waiting for your DNS name to be available ... done

Cloning into 'cvert2'...
Warning: Permanently added 'cvert2-cdm.dev.rhcloud.com' (RSA) to the list of known hosts.

Your application 'cvert2' is now available.

  URL:        http://cvert2-cdm.dev.rhcloud.com/
  SSH to:     5313e30be8b702fc3d0000a5.rhcloud.com
  Git remote: ssh://5313e30be8b702fc3d0000a5.rhcloud.com/~/git/cvert2.git/
  Cloned to:  /home/chunchen/test/cvert2

Run 'rhc show-app cvert2' for more details about your app.

Comment 4 Chai Baoyang 2014-03-26 05:26:58 UTC
The same error appears in devenv_4574.


the error is listed below
<----------snip---------->
Shell command '/sbin/runuser -s /bin/sh 53325bd903ef64342f000031 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c3,c258' /bin/sh -c \"/var/lib/openshift/53325bd903ef64342f000031/vertx/bin/install --version 2.1\""' returned an error. rc=4


<----------snip---------->
<severity>error</severity>
      <text>--2014-03-26 00:47:35--  http://dl.bintray.com/vertx/downloads/vert.x-2.1RC1.tar.gz
Resolving dl.bintray.com... 108.168.194.92, 108.168.194.91
Connecting to dl.bintray.com|108.168.194.92|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://966b.http.dal05.cdn.softlayer.net/data-production/c3dd58f8266470fc17194d4c73993a871f171614?filename=vert.x-2.1RC1.tar.gz [following]
--2014-03-26 00:47:35--  http://966b.http.dal05.cdn.softlayer.net/data-production/c3dd58f8266470fc17194d4c73993a871f171614?filename=vert.x-2.1RC1.tar.gz
Resolving 966b.http.dal05.cdn.softlayer.net... failed: Name or service not known.
wget: unable to resolve host address `966b.http.dal05.cdn.softlayer.net'
</text>
      <exit-code>157</exit-code>

Comment 5 Meng Bo 2014-03-26 05:35:38 UTC
The issue should be gone now, but during the period that ec2 vm cannot resolve the cdn host, I can visit the same site from my local.


# curl -I http://966b.http.dal05.cdn.softlayer.net/data-production/c3dd58f8266470fc17194d4c73993a871f171614?filename=vert.x-2.1RC1.tar.gz
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Disposition: attachment;filename=vert.x-2.1RC1.tar.gz
Content-Type: application/octet-stream
Date: Wed, 26 Mar 2014 05:28:43 GMT
Etag: d4df6a585f02d028db698c3424763ec3
Last-Modified: Wed, 26 Feb 2014 13:55:47 GMT
Server: ECAcc (hhp/F7A7)
X-Cache: HIT
X-Object-Meta-Etag: c3dd58f8266470fc17194d4c73993a871f171614
X-Timestamp: 1393422947.07420
X-Trans-Id: txc50e32a5d10b4fcd8ddd63b11faa5625
Content-Length: 5115739

Comment 6 Ben Parees 2014-03-26 13:21:09 UTC
This sounds like an amazon infrastructure issue then?  Not sure what we can do about it other than host the files elsewhere.