3 Replies Latest reply on Nov 16, 2015 4:57 AM by shivabadaja

    Git repository not found

    tiago.matias

      On a freshly installation of Fuse 6.2, I entered this:

       

      JBossFuse:admin@root> fabric:create

      JBossFuse:admin@root> fabric:profile-create --parents feature-camel-jms  my-base-profile

       

      Which got me this warning in the logs:

       

      2015-10-28 00:22:06,996 | INFO  | Thread-125   | ProfileServiceImpl           | ?                               ? | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | createProfile: Profile[ver=1.0,id=my-base-profile,atts={parents=feature-camel-jms}]
      2015-10-28 00:22:07,298 | INFO  | Thread-125   | DefaultPullPushPolicy        | ?                               ? | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://DESKTOP-JRFU5KR:8181/git/fabric/
      2015-10-28 00:22:07,346 | WARN  | Thread-125   | DefaultPullPushPolicy        | ?                               ? | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://DESKTOP-JRFU5KR:8181/git/fabric/: Git repository not found

       

      No further configurations were made (except un-commenting the last line of \etc\users.properties ). I then tried to stop and start bundle #79

       

      [  79] [Active ] [        ] [   ] [   80] Fabric8 :: Git (1.2.0.redhat-133)

       

      JBossFuse:admin@root> stop 79

      JBossFuse:admin@root> start 79

       

      2015-10-28 00:22:32,353 | INFO  | Thread-125   | GitDataStoreImpl             | ?                               ? | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Starting up GitDataStore io.fabric8.git.internal.GitDataStoreImpl@72b8603b
      2015-10-28 00:22:32,354 | INFO  | Thread-125   | GitDataStoreImpl             | ?                               ? | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Using ZooKeeper SharedCount to react when master git repo is changed, so we can do a git pull to the local git repo.
      2015-10-28 00:22:32,362 | INFO  | Thread-125   | DefaultPullPushPolicy        | ?                               ? | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Performing a pull on remote URL: http://DESKTOP-JRFU5KR:8181/git/fabric/
      2015-10-28 00:22:32,366 | WARN  | Thread-125   | DefaultPullPushPolicy        | ?                               ? | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pull failed because of: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin

       

      So, what are these warning ? This is the minimal set of operations that causes this error. On previous experiments I noticed that the container keeps trying to push stuff to GIT ad infinitum and never really finishes provisioning

       

      Thank you

        • 1. Re: Git repository not found
          shivabadaja

          Hi Tiago Matias,

           

          I am facing the same issue.

          Were you able to resolve this?

           

           

          Regards,

          Shiva

          • 2. Re: Git repository not found
            mimer

            Im seeing something similar in my installation, which apparently slows down profile-edit quite a bit:

             

            2015-11-20 12:13:31,038 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | createProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:13:31,548 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:13:31,566 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

            2015-11-20 12:13:42,662 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | updateProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:13:43,125 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:13:43,160 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

            2015-11-20 12:13:53,727 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | updateProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:13:54,133 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:13:54,160 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

            2015-11-20 12:14:04,658 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | updateProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:14:05,155 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:14:05,175 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

            2015-11-20 12:14:15,182 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | updateProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:14:15,619 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:14:15,641 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

            ...

            2015-11-20 12:16:41,466 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | updateProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:16:41,752 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:16:41,770 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

            2015-11-20 12:16:53,815 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | updateProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:16:54,136 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:16:54,151 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

            2015-11-20 12:17:05,528 | INFO  | Thread-505       | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | updateProfile: Profile[ver=1.0,id=ProfileGroup-ProfileName,atts={parents=feature-camel}]

            2015-11-20 12:17:05,973 | INFO  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://127.0.0.1:8181/git/fabric/

            2015-11-20 12:17:05,990 | WARN  | Thread-505       | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Cannot push because of: org.eclipse.jgit.api.errors.TransportException: http://127.0.0.1:8181/git/fabric/: Git repository not found

             

            Each profile-edit step takes between 9 and 15 seconds to complete, which seems like a long time, and gives a total deployment time of almost 4 minutes, even though the profile is fairly simple:

             

            profile-create --parent feature-camel ProfileGroup-ProfileName

            profile-edit --bundle mvn:commons-dbcp/commons-dbcp/1.4 ProfileGroup-ProfileName

            profile-edit --bundle wrap:file:/E:/deployments/kei/sqljdbc42.jar ProfileGroup-ProfileName

            profile-edit --bundle file:/E:/deployments/kei/Kubas2Efecte-1.0.8-SNAPSHOT.jar ProfileGroup-ProfileName

            profile-edit --feature cxf ProfileGroup-ProfileName

            profile-edit --feature war ProfileGroup-ProfileName

            profile-edit --feature camel-cxf ProfileGroup-ProfileName

            profile-edit --feature camel-jaxb ProfileGroup-ProfileName

            profile-edit --feature camel-jackson ProfileGroup-ProfileName

            profile-edit --feature camel-servlet ProfileGroup-ProfileName

            profile-edit --feature camel-mail ProfileGroup-ProfileName

            profile-edit --feature camel-bean-validator ProfileGroup-ProfileName

            profile-edit --feature camel-jasypt ProfileGroup-ProfileName

            profile-edit --feature activemq-camel ProfileGroup-ProfileName

            profile-edit --feature camel-jms ProfileGroup-ProfileName

            profile-edit --feature camel-http4 ProfileGroup-ProfileName

            profile-edit --feature camel-sql ProfileGroup-ProfileName

            profile-edit --feature fabric-cxf ProfileGroup-ProfileName

            profile-edit --feature fabric-cxf-registry ProfileGroup-ProfileName

            profile-edit --feature fabric-groups ProfileGroup-ProfileName

             

             

            Regards

            Dennis

            • 3. Re: Git repository not found
              tiago.matias

              Hi Dennis,

               

              Eventually I reinstaled a fresh copy of fuse and the problem went away.