Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-39108

Configure public SSH key from existing key not work

XMLWordPrintable

    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • Yes
    • ---
    • ---
    • Urgent

      Description of problem:

      In Overview -> Settings -> User -> Manage SSH keys, when adding an existing key in the namespace whose key you are configuring, the UI indicates that a new key is saved with a randomly generated suffix; however, the key isn't actually created. If you navigate away and back again "Not configured" is displayed. 
      

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      100%

      Steps to Reproduce:

      1. Add an existing key in the namespace whose key you are configuring
      2. After clicking save the UI will display a new key with a random suffix
      3. Navigate away and back
      

      Actual results:

      The UI displays "Not configured" instead of the secret name that was displayed previously. The key whose name was displayed was never created.

      Expected results:

      The existing key is configured instead of creating a new key with a random suffix.
      

      Additional info:

      It seems the bug caused by the design of adding key from another projects, some random strings are added to the key, this behavior should only happen while selecting key from another project. If it's the current project, it should use the same key name.
      

            phbailey@redhat.com Phillip Rhodes
            gouyang1@redhat.com Guohua Ouyang
            Guohua Ouyang Guohua Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: