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

Adding a OpenShift account fails if there is no SSH key

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 3.3.0.Beta2
    • 3.3.0.Beta1
    • openshift
    • None
    • Hide
      1. EXEC: Open the Openshift view in eclipse
      2. ASSERT: make sure you have a user-account on OpenShift that has no ssk-key yet (Web-GUI)
      3. EXEC: Add this account (for which there is no pub ssh key on the server and no private key on the client) to the OpenShift Express Console
      4. EXEC: Enter your username and password for the openshift account
      5. You should now see the error above.
      Show
      EXEC: Open the Openshift view in eclipse ASSERT: make sure you have a user-account on OpenShift that has no ssk-key yet (Web-GUI) EXEC: Add this account (for which there is no pub ssh key on the server and no private key on the client) to the OpenShift Express Console EXEC: Enter your username and password for the openshift account You should now see the error above.

    Description

      When I try to add a new Account to the OpenShift view, if there is no SSH key I get the following error after putting in the username and password and pressing next

      Could not check user credentials: Could not unmarshall response "{"api_c":["placeholder"],"broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"api":"1.1.2","exit_code":0,"result":"","messages":"","debug":"","data":{"user_info":{"rhlogin":"spousty+mongo@redhat.com","uuid":"8e863f72f2f743b58003257077d700dd","rhc_domain":"rhcloud.com","vip":false,"ssh_type":"","max_gears":5,"ssh_keys":{},"ssh_key":"","consumed_gears":0,"namespace":"spousty0mongo"},"app_info":{}}}".

      It is caused by there not being an SSH key in place for that account.
      We should either allow the user to specify a SSH key or give a better error message.
      Thanks
      Steve

      Attachments

        Activity

          People

            adietish@redhat.com André Dietisheim
            scitronp@redhat.com Steven Pousty (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: