[ 
https://issues.apache.org/jira/browse/BROOKLYN-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225989#comment-15225989
 ] 

Thomas Bouron commented on BROOKLYN-246:
----------------------------------------

When I added the location wizard, the first format of location described in the 
issue worked during my tests. So the bug probably comes from something merged 
at the same time or after.

> Unable to add byon locations
> ----------------------------
>
>                 Key: BROOKLYN-246
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-246
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: John McCabe
>            Priority: Blocker
>
> Running both the most recent 0.9.0-SNAPSHOT dist from maven and a freshly 
> build 0.10.0-SNAPSHOT from master I'm seeing the following behaviour.
> 1. Attempting to add a BYON location via jsgui is rejected with the following 
> error:
> {code}
> Could not resolve item 'testingid': Transformer for Brooklyn OASIS CAMP 
> interpreter gave an error creating this plan: No class or resolver found for 
> location type byon
> {code}
> 2. Trying the the generated JSON via the composer also fails:
> {code}
> brooklyn.catalog:
>   version: 0.0.1
>   items:
>   - id: testingid
>     itemType: location
>     item:
>       type: byon
>       brooklyn.config:
>         displayName: testingdisplayName
>         user: testinguser
>         password: testingpassword
>         privateKeyFile: testingprivateKeyFile
>         privateKeyPassphrase: testingprivateKeyPassphrase
>         hosts:
>         - 10.10.10.102
> {code}
> 3. *BUT* this works:
> {code}
> brooklyn.catalog:
>   version: 0.0.1
>   items:
>   - id: testingid
>     itemType: location
>     item:
>       type: byon:(hosts="10.10.10.102")
>       brooklyn.config:
>         displayName: testingdisplayName
>         user: testinguser
>         password: testingpassword
>         privateKeyFile: testingprivateKeyFile
>         privateKeyPassphrase: testingprivateKeyPassphrase
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to