In order to recreate (create-delete-create) domain via JBT/JBDS the ssh key named 'jbosstools' must be deleted. Otherwise OpenShift returns
!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)
- is related to
-
JBIDE-11912 Improve SSH key management
-
- Closed
-