Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only
  • 1.  PAW - GIT Repository issue

    Posted Tue December 12, 2023 12:55 PM

    Hello,

    We are trying to use the new PAW feature to add TM1 objects to GIT Repository, and for some reason, we cannot make it work. 

    We have generated the SSH Public Key / Private Key, and also saved the SSH Key to GitHub, but when we enter the Repo URL / SSH Keys in PAW, we receive an error:

    TM1 Git failed to connect to remote. Reason: Failed to authenticate SSH session: Callback returned error.

    Not sure if anyone else has experienced this error

    Thank you



    ------------------------------
    Ardian Alikaj
    ------------------------------


  • 2.  RE: PAW - GIT Repository issue

    Posted Wed December 13, 2023 03:16 AM
    Edited by Renaud MARTIAL Wed December 13, 2023 03:17 AM

    Hi Ardian,

    I ran into exactly the same issue when I was performing GIT tests with an older version of PA.
    As soon as I updated it to the latest version, it went fine.

    What is your PA build number ?



    ------------------------------
    Renaud MARTIAL
    PA Applications Manager / Tech lead
    L'Oréal
    ------------------------------



  • 3.  RE: PAW - GIT Repository issue
    Best Answer

    Posted Wed December 13, 2023 04:30 AM

    i found this video by @Bob Gill very useful to get Git integration working:

    https://www.youtube.com/watch?v=NmCO-YlgG7A

    Note there is a comment on the video that mentions your issue:

    "After I add my git link, priv amd pub key i get "TM1 Git failed to connect to remote. Reason: Authentication failed." any guesses how this could be fixed?"

    "Oh btw im trying it out with an azure devops repo, the link should be just the usual clone link right? or does this only work with github"

    with the response:

    "The URL can be a bit finicky. I got that same error message when I had the wrong URL entered in the workspace UI. For GitHub it's something like git@github.com:account/repository For Azure DevOps, it's likely a different reference. It's probably something like devops@azure.microsoft.com:account/repository If you open a ticket with IBM Support, they might be able to find the right format for devops. If you could reply with it here, I imagine other folks will be trying that too."



    ------------------------------
    Edward Stuart
    ------------------------------



  • 4.  RE: PAW - GIT Repository issue

    Posted Thu December 14, 2023 10:57 AM

    Hi guys,

    For me, it works fine right now with the new release 2.0.92 SC.

    I followed the same procedure as @Bob Gill. Some new enhancements between his video and the current PAW version.

    1. Github: Create a Repository
    2. Git tool: Generate a new SSH key and add it to the ssh-agent
        a) Install Git on your local machine
        b) Use Git Bash to generate the ssh keys (Public and Private)
    3. Github: Create a new SSH keys by adding your Public SSH key (local ssh file FileName.pub under the folder .ssh)
    4. IBM PA:
        a) Right click on an instance > Add objects to repository
        b) Authentication tab:
            URL: git@github.ibm.com:GitHubUserName/RepositoryName.git
                To retrieve it, go to your repository > 'Code' button > Under 'Clone' choose 'SSH' and copy the URL
            Public key: your local Public key
            Private key: your local Private key
            Passphrase: optional
        c) Select the objects to push into your repository
        d) Select/create a branch

    Regards,



    ------------------------------
    Bilal KACEL
    ------------------------------



  • 5.  RE: PAW - GIT Repository issue

    Posted Fri December 15, 2023 01:52 AM

    Hi All,

    My steps are very similar to Bilal's.

    With 1-3 are the same, however, I had an issue when the repository had no files in it, but I found if you create the repository with the default readme file it worked. Not sure if this is still the case.

    For Step 4, I use git@github.com:UserName/Repository

    Cheers



    ------------------------------
    Karl Blackler
    ------------------------------



  • 6.  RE: PAW - GIT Repository issue

    Posted Fri December 15, 2023 03:54 AM

    Hi @Karl Blackler

    Indeed, I previously created my repo with a readme file.

    Regarding the Authentication step, the URL depends on the github used

    • IBM Github (github.ibm.com) :  then the URL: git@github.ibm.com:GitHubUserName/RepositoryName.git
    • Official Github (github.com)    :  then the URL: git@github.com:GitHubUserName/RepositoryName.git



    ------------------------------
    Bilal KACEL
    ------------------------------