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

BYON Location GUI Generates Bad-formatted YAML File

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      apache-brooklyn-0.9.0-bin on Mac OS X 10.11.4

      Description

      When attempting to add a BYON location with a private key file through the GUI, the generated YAML file is improperly formatted and results in the following error when the user tries to save:

      ERROR Invalid YAML: while scanning a simple key; could not found expected ':'; in 'reader', line 12, column 1: vfyF2M3xG3z5MUPuqeCveLhkI/1t26mW ... ^

      The location can only be added after the user manually fixes the formatting in the YAML editor view.

      Here is a comparison of generated vs. manually fixed: https://gist.github.com/mikezaccardo/34ea0c38b232bf125a059f1b1913c486

      ^^ Note that the private key is a harmless / throwaway from a Vagrant box.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mike.zaccardo Mike Zaccardo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: