[ https://issues.apache.org/jira/browse/STRATOS-603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lahiru Sandaruwan updated STRATOS-603: -------------------------------------- Fix Version/s: (was: 4.1.0 M3) FUTURE > Validate Git URL > ---------------- > > Key: STRATOS-603 > URL: https://issues.apache.org/jira/browse/STRATOS-603 > Project: Stratos > Issue Type: Improvement > Components: CLI, UI > Affects Versions: 4.0.0 Alpha > Reporter: Isuru Perera > Assignee: Isuru Perera > Fix For: FUTURE > > > We should validate the git URL provided. > Otherwise the users may not noticed any issue until their instance get > activated. > Noticed following in Cartridge Agent Log. > 2014-04-11 14:17:54,546 [-] [Artifact Update Thread - /var/www/] WARN > GitBasedArtifactRepository Git pull unsuccessful for tenant 1, No value for > key branch.master.merge found in configuration > 2014-04-11 14:17:54,959 [-] [Artifact Update Thread - /var/www/] ERROR > GitBasedArtifactRepository Git clone operation for tenant 1 failed > org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin > at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134) > at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:179) > at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) > at > org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl.GitBasedArtifactRepository.cloneRepository(GitBasedArtifactRepository.java:653) > at > org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl.GitBasedArtifactRepository.pullArtifacts(GitBasedArtifactRepository.java:551) > at > org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl.GitBasedArtifactRepository.checkout(GitBasedArtifactRepository.java:459) > at > org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.git.impl.GitBasedArtifactRepository$ArtifactSyncTask.run(GitBasedArtifactRepository.java:718) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: > https://github.com/chrishantha/stratos-drupal: > https://github.com/chrishantha/stratos-drupal/info/refs?service=git-upload-pack > not found > at > org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:468) > at > org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:308) > at > org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) > at > org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) > at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1104) > at org.eclipse.jgit -- This message was sent by Atlassian JIRA (v6.3.4#6332)