[jbosstools-issues] [JBoss JIRA] (JBIDE-11861) Deleting domain doesn't delete 'jbosstools' ssh key on OpenShift
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Tue May 15 10:00:18 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12692967#comment-12692967 ]
Andre Dietisheim commented on JBIDE-11861:
------------------------------------------
The solution must be the other way round:
The keys are not bound to the domain, they're not related. We should therefore not delete the key (when deleting the domain) but we should not add it a 2nd time.
> Deleting domain doesn't delete 'jbosstools' ssh key on 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.Beta3, 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