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

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed May 16 04:54:17 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-11861:
----------------------------------------

             Fix Version/s:     (was: 3.3.0.Beta3)
    Workaround Description: remove the key in openshift webui already named jbosstools before adding new domain or make sure you use the same key.


Problem is that we seem to only check for existence of the physical key, not if there already is a key named "jbosstools".

Thus the problem occur if you have a different key already named jbosstools.

Its annoying but can be workaround by removing the key in the web ui.

not blocking B3.
                
> 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