Uploaded image for project: 'Brooklyn'
  1. Brooklyn
  2. BROOKLYN-246

Unable to add byon locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • None

    Description

      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:

      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
      

      2. Trying the the generated JSON via the composer also fails:

      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
      

      3. BUT this works:

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            johnmccabe John McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: