Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12031

Hard-coded OpenShift SSH key name: libra_id_rsa

    XMLWordPrintable

Details

    • Hide
      Only customers who downloaded and used the Beta releases of JBoss Developer Studio 5 may have noticed this issue, that has since been resolved.


      The former incarnation of the rhc command line tools used a fixed key name for SSH connections. The SSH configuration contained libra_id_rsa hard coded into the file ~/.ssh/config for SSH connections to OpenShift. This caused issues for users who already used a different SHH configuration. The rhc command line tools no longer include hard code keys, and instead uses the existing libra_id_rsa key or suggests using rsa_id if a key does not exist. This behaviour has been replicated in the tooling.
      Show
      Only customers who downloaded and used the Beta releases of JBoss Developer Studio 5 may have noticed this issue, that has since been resolved. The former incarnation of the rhc command line tools used a fixed key name for SSH connections. The SSH configuration contained libra_id_rsa hard coded into the file ~/.ssh/config for SSH connections to OpenShift. This caused issues for users who already used a different SHH configuration. The rhc command line tools no longer include hard code keys, and instead uses the existing libra_id_rsa key or suggests using rsa_id if a key does not exist. This behaviour has been replicated in the tooling.
    • Documented as Resolved Issue

    Description

      Note: From the end of this sprint OpenShift will use SSH key name 'id_rsa' as a default.
      Therefore my testing environment didn't have key 'libra_id_rsa' in $HOME/.ssh directory.

      1) Log on with a user which doesn't have domain created yet.
      2) Create a domain in JBoss Tools and select public key '$HOME/.ssh/id_rsa.pub'
      3) Create a new application

      Actual Result: Application is created successfully, however there's an error during cloning the repository.

      Could not clone the repository. Authentication failed.
      Please make sure that you added your private key to the ssh preferences.
      ssh://da14555e8663461383c0e80b7aa90191@myphp2012052804-myd2012052804.dev.rhcloud.com/~/git/myphp2012052804.git/: java.io.FileNotFoundException: /home/attila/.ssh/libra_id_rsa (No such file or directory)

      Expected Result: Application must be created and cloned successfully

      Possible workaround:

      cp $HOME/.ssh/id_rsa $HOME/.ssh/libra_id_rsa
      cp $HOME/.ssh/id_rsa.pub $HOME/.ssh/libra_id_rsa.pub

      Attachments

        Activity

          People

            adietish@redhat.com André Dietisheim
            anagy_jira Attila Nagy (Inactive)
            Isaac Rooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: