[
https://issues.jboss.org/browse/JBIDE-11861?page=com.atlassian.jira.plugi...
]
Andre Dietisheim updated JBIDE-11861:
-------------------------------------
Fix Version/s: 3.3.0.Beta3
Steps to Reproduce:
# ASSERT: make sure you have an account on OpenShift, but no domain yet
# EXEC: create a domain, create the key for it
# EXEC: delete your domain, delete your key
# EXEC: create a new domain, create a new key for it
Result:
The wizard errors telling you that your new key cannot be added.
The wizard actually tried to add the new key with the very same name. The wizard uses a
constant name for the key. We need to make sure we use a new name on every key addition.
Workaround Description: (was: remove the key in openshift webui already named
jbosstools before adding new domain or make sure you use the same key.)
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.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