More verbose error when issue occurs in config.yaml

Bug #885515 reported by Marco Ceppi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Undecided
Kapil Thangavelu

Bug Description

When executing any command against a charm: juju deploy, juju upgrade-charm, and there's a syntax error in the config.yaml file the error simply states:

juju deploy --repository charms local:steam
Charm 'local:oneiric/steam' not found in repository /home/marco/Projects/juju/charms
2011-11-02 21:17:38,858 ERROR Charm 'local:oneiric/steam' not found in repository /home/marco/Projects/juju/charms

After reviewing and updating the config.yaml file, or removing it all together the charm updates/deploys without issue. It'd be more friendly if it could catch issues with the config.yaml file as far as syntax is concerned and display that as an error rather than "Charm not found"

Related branches

Changed in juju:
milestone: none → florence
status: New → In Progress
assignee: nobody → Kapil Thangavelu (hazmat)
Changed in juju:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.