You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Duncan Grant <du...@cloudsoftcorp.com> on 2015/07/08 17:55:47 UTC
Can DynamicCluster have a SameServerEntity as its memberspec?
I'd like to have a dynamic cluster whose members are implemented by a same
server entity.
I tried the following yaml:
name: Empty large System
location: jclouds:aws-ec2:eu-west-1
services:
- type: brooklyn.entity.group.DynamicCluster
initialSize: 5
memberSpec:
$brooklyn:entitySpec:
type: brooklyn.entity.basic.SameServerEntity
brooklyn.children:
- type: brooklyn.entity.basic.EmptySoftwareProcess
and it failed with the error:
Error invoking start at DynamicClusterImpl{id=RNXdFmCp}: On start of
cluster DynamicClusterImpl{id=RNXdFmCp}, failed to get to initial size of
5; size is 1: Spec EntitySpec{type=interface
brooklyn.entity.basic.EmptySoftwareProcess} has parent
SameServerEntityImpl{id=n1mItGo8} defined, but it is defined as a child of
SameServerEntityImpl{id=zUgW3VqH}
If I set initialSize to 1 it seems happy until I try to resize the cluster
and then it fails with the same error.
thanks
Duncan
--
Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
This e-mail message is confidential and for use by the addressee only. If
the message is received by anyone other than the addressee, please return
the message to the sender by replying to it and then delete the message
from your computer. Internet e-mails are not necessarily secure. Cloudsoft
Corporation Limited does not accept responsibility for changes made to this
message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by Cloudsoft Corporation Limited in this regard and the recipient
should carry out such virus and other checks as it considers appropriate.