How to download artifact from the configured maven repository using ssh container referenced by a fabric profile?

Solution Unverified - Updated -

Issue

  • ssh container does not download new artifact form artifactory
  • new software version on the artifactory repository but the ssh container is not able to download it
  • only on the root container used to manage the ssh container we found following warning messagges:
 2015-12-09 10:43:56,051 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1886ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:43:59,260 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 2949ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:44:13,375 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 2124ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:44:14,391 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1012ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:44:17,079 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1186ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:44:19,409 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1360ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:45:12,858 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1507ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:47:46,957 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1016ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:47:50,254 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 3263ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:47:54,441 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 2137ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:47:56,488 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 2044ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:47:58,289 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1766ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:47:59,470 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1174ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:48:15,256 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1046ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:48:33,431 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1517ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
2015-12-09 10:49:32,166 | WARN  | SyncThread:0     | FileTxnLog                       | er.server.persistence.FileTxnLog  321 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | fsync-ing the write ahead log in SyncThread:0 took 1376ms which will adversely effect operation latency. See the ZooKeeper troubleshooting guide
  • The log file from debug level set
2015-12-11 09:47:42,946 | DEBUG | ool-331-thread-1 | GitDataStore                     | abric8.git.internal.GitDataStore  967 | 86 - io.fabric8.fabric-git - 1.0.0.redhat-412 | Push failed. This will be ignored.
org.eclipse.jgit.api.errors.TransportException: http://0.0.0:8181/git/fabric/: cannot open git-receive-pack
    at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:160)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at io.fabric8.git.internal.GitDataStore.doPush(GitDataStore.java:965)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at io.fabric8.git.internal.GitDataStore.gitOperation(GitDataStore.java:926)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at io.fabric8.git.internal.GitDataStore.gitOperation(GitDataStore.java:876)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at io.fabric8.git.internal.GitDataStore.gitOperation(GitDataStore.java:871)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at io.fabric8.git.internal.GitDataStore.push(GitDataStore.java:1240)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at io.fabric8.git.internal.GitDataStore$1.run(GitDataStore.java:180)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[:1.7.0_79]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[:1.7.0_79]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.7.0_79]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
    at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
Caused by: org.eclipse.jgit.errors.TransportException: http://0.0.0:8181/git/fabric/: cannot open git-receive-pack
    at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:499)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:398)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:154)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at org.eclipse.jgit.transport.Transport.push(Transport.java:1170)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:156)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    ... 13 more
Caused by: java.net.UnknownHostException: 0.0.0
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)[:1.7.0_79]
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[:1.7.0_79]
    at java.net.Socket.connect(Socket.java:579)[:1.7.0_79]
    at sun.net.NetworkClient.doConnect(NetworkClient.java:175)[:1.7.0_79]
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)[:1.7.0_79]
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)[:1.7.0_79]
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)[:1.7.0_79]
    at sun.net.www.http.HttpClient.New(HttpClient.java:308)[:1.7.0_79]
    at sun.net.www.http.HttpClient.New(HttpClient.java:326)[:1.7.0_79]
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)[:1.7.0_79]
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:976)[:1.7.0_79]
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)[:1.7.0_79]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)[:1.7.0_79]
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)[:1.7.0_79]
    at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:167)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:462)[86:io.fabric8.fabric-git:1.0.0.redhat-412]
    ... 17 more
2015-12-11 09:47:42,955 | DEBUG | SyncThread:0     | FinalRequestProcessor            | per.server.FinalRequestProcessor   88 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | Processing request:: sessionid:0x1518b3a7e690015 type:getData cxid:0x1ab388 zxid:0xfffffffffffffffe txntype:unknown reqpath:/fabric/authentication/containers/crsm
2015-12-11 09:47:42,955 | DEBUG | SyncThread:0     | FinalRequestProcessor            | per.server.FinalRequestProcessor  160 | 57 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-412 | sessionid:0x1518b3a7e690015 type:getData cxid:0x1ab388 zxid:0xfffffffffffffffe txntype:unknown reqpath:/fabric/authentication/containers/crsm
  • Host is not recognized

Environment

  • Red Hat JBoss Fuse
    • 6.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.