John McCabe created BROOKLYN-246:
------------------------------------
Summary: 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 'john': 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)