Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2138

Cannot git clone right after RHPAM boot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • 2019 Week 32-34
    • Hide
      • Start RHPAM
      • Import an example project (e.g. Evaluation_Process)
      • Stop RHPAM
      • Start RHPAM
      • Run git clone (before accessing business-central)
        git clone git://localhost:9418/MySpace/example-Evaluation_Process
        
      Show
      Start RHPAM Import an example project (e.g. Evaluation_Process) Stop RHPAM Start RHPAM Run git clone (before accessing business-central) git clone git://localhost:9418/MySpace/example-Evaluation_Process
    • NEW
    • NEW

    Description

      After RHPAM is up, the port 9418/8001 is open but we cannot yet git clone from command line.

      e.g.

      $ git clone git://localhost:9418/MySpace/example-Evaluation_Process
      Cloning into 'example-Evaluation_Process'...
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      After I login to business-central and go to "Menu"->"Projects" (so MySpace is displayed), now we can do "git clone".

      Probably git service was not yet fully initialized on boot time?

      DEBUG log after "Menu"->"Projects")

      2019-08-02 11:25:11,539 DEBUG [org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider] (default task-10) Accessing uri git://system/system
      2019-08-02 11:25:11,570 DEBUG [org.guvnor.structure.backend.repositories.git.GitMetadataStoreImpl] (default task-10) Initializing GitMetadataStoreImpl default://system/metadata
      2019-08-02 11:25:11,570 DEBUG [org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider] (default task-10) Accessing uri git://master@system/metadata/readme.md
      2019-08-02 11:25:11,603 DEBUG [org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider] (default task-10) Accessing uri git://system/system
      2019-08-02 11:25:11,618 DEBUG [org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider] (default task-10) Accessing uri git://system/system
      

      This JIRA requests that users can "git clone" right after RHPAM startup.

      Attachments

        Issue Links

          Activity

            People

              abakos@redhat.com Alexandre Bakos
              eignatow Eder Ignatowicz
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: