brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Zaccardo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BROOKLYN-270) BYON Location GUI Generates Bad-formatted YAML File
Date Wed, 18 May 2016 15:53:12 GMT

     [ https://issues.apache.org/jira/browse/BROOKLYN-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mike Zaccardo updated BROOKLYN-270:
-----------------------------------
    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.

  was:
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


> BYON Location GUI Generates Bad-formatted YAML File
> ---------------------------------------------------
>
>                 Key: BROOKLYN-270
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-270
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>         Environment: apache-brooklyn-0.9.0-bin on Mac OS X 10.11.4
>            Reporter: Mike Zaccardo
>              Labels: byon, gui
>
> 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.



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

Mime
View raw message