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

Bill Farner updated AURORA-1198:
--------------------------------
    Component/s: Usability
                 Client

> Unhelpful error messages when attempting to submit malformed .aurora
> --------------------------------------------------------------------
>
>                 Key: AURORA-1198
>                 URL: https://issues.apache.org/jira/browse/AURORA-1198
>             Project: Aurora
>          Issue Type: Bug
>          Components: Client, Usability
>            Reporter: Hussein Elgridly
>            Priority: Minor
>
> Because I'm a stupid programmer, I did this:
> {code}
> #oops.aurora
> my_ps = Process( name = "my_ps", ...snip... )
> my_task = Task( name = "my_task", ...snip... )
> my_job = Job( name = "my_job", ...snip... )
> #This line should be jobs = [ my_job ], but I'm a stupid programmer who makes 
> mistakes sometimes.
> jobs = [ my_task ]
> {code}
> And then I try to submit it, and get this:
> {code}
> $ aurora job create cluster/role/devel/my_job oops.aurora
> Error executing command: Error loading configuration: Task has no attribute 
> cluster
> {code}
> So then I go hunting in the documentation to see where Task requires the 
> attribute cluster, because I've never had to add it before, and only realise 
> my error ten minutes later.
> TLDR: Less misleading error messages please.



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

Reply via email to