Hi,

I am about to start a new research project that focuses on testing elastic 
cloud-based applications, and I am considering Brooklyn as Case Study.

At the moment, I am trying to deploy the WebClusterDatabaseExample on a private 
OpenStack installation. However I am stuck with something that
should be simple, but apparently it is not: setting a KeyPair for the VM.

I configured the OpenStack location in the brooklyn.properities file as below, 
but I am probably missing something.
Maybe you can help.


The deployment goes smooth up to the point of launching the three VMs 
(loadbalancer, jboss and mysql), but it gets stuck there.
The machines run but the Brooklyn manager cannot ssh to them.

From the Web console of OpenStack I see that the machines have no KeyPair, but 
from the startup logs of the VMs I see that they received 2 public keys.
(Of course, none of them match the one specified in the properties file)

Many thanks

— Alessio

========================================================

brooklyn.location.named.OpenStack=XXXX
brooklyn.location.named.OpenStack.identity=XXXX
brooklyn.location.named.OpenStack.credential=XXXX
brooklyn.location.named.OpenStack.imageId=XXXX

# m1.micro
brooklyn.location.named.OpenStack.hardwareId=myregion/000000960

# Security Configuration
brooklyn.location.named.OpenStack.loginUser=ubuntu
brooklyn.location.named.OpenStack.loginPrivateKeyFile=~/.ssh/brooklyn_rsa
brooklyn.location.named.OpenStack.loginPublicKeyFile=~/.ssh/brooklyn_rsa.pub

brooklyn.location.named.OpenStack.securityGroups=default
brooklyn.location.named.OpenStack.extraSshPublicKeyData=~/.ssh/id_rsa.pub


========================================================



Dr. Alessio Gambi, PhD
Distributed Systems Group (DSG)
Vienna University of Technology, Austria
[email protected]




Reply via email to