[jbosstools-issues] [JBoss JIRA] (JBIDE-11861) Cannot create a new domain while using a key that was already added to OpenShift.

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed May 16 13:52:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693312#comment-12693312 ] 

Andre Dietisheim edited comment on JBIDE-11861 at 5/16/12 1:50 PM:
-------------------------------------------------------------------

To me the simplest but effective fix in CR1 is to use a variable key-name. I'll simply add the new key with a name in the way:

{quote}
jbosstools<TIMESTAMP>
{quote}
                
      was (Author: adietish):
    To me the simplest but effective fix in CR1 is to use a variable key-name. I'll simply add the new key with a name in the way:

{quote}
jbosstools-<TIMESTAMP>
{quote}
                  
> Cannot create a new domain while using a key that was already added to OpenShift.
> ---------------------------------------------------------------------------------
>
>                 Key: JBIDE-11861
>                 URL: https://issues.jboss.org/browse/JBIDE-11861
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.Beta3
>            Reporter: Stefan Bunciak
>            Assignee: Andre Dietisheim
>            Priority: Blocker
>             Fix For: 3.3.0.CR1
>
>
> In order to recreate (create-delete-create) domain via JBT/JBDS the ssh key named 'jbosstools' must be deleted. Otherwise OpenShift returns 
> {code}
> !MESSAGE Could not create domain "rhtestdomain"
> !STACK 0
> com.openshift.client.OpenShiftSSHKeyException: Could not add new key AAAAB3NzaC1yc2EAAAADAQABAAABAQC4gsImDDgWGzFb/h791LDbgRqGRQwv76rG0wvfXylqEDK52EkKH6Ikwbi9uYl5SxF7UO8EIx11pytQhhxkNQcSLJ8J8Zkg+s62oj5mmeojJUO6XarzAXGioELat+qDZlyDxbZJuXUM6x9AL8M8n5BfjPowq0Rqkw+gmbm1vkVfCloZWYLlivf+JI+7Kom9cgC+qJBjNqcawqNdkkdKXoEiIUHdppOzyJdY/xSTb7VFyGwEgl57Imtja2c4of9I2y8AFtd1OWK2bHrsXemCkqX24XeoV/0nBiNB4RbnDcv28U5f2zFiIhRcdtpg2x+G/zwTOd72tMU3C4aQGr5JBWg5 with the name jbosstools. There already is a key for this name, key names must be unique.
> 	at com.openshift.internal.client.UserResource.putSSHKey(UserResource.java:182)
> 	at org.jboss.tools.openshift.express.internal.core.console.UserDelegate.putSSHKey(UserDelegate.java:244)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.NewDomainWizardPageModel.createDomain(NewDomainWizardPageModel.java:109)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.NewDomainDialog$1.run(NewDomainDialog.java:46)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list