Strange generation when COMPOSER_PATH not set
Bug #1504109 reported by
Merlijn Sebrechts
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Use-case: You are just starting with Charm Layers, made some layers locally (in JUJU_REPOSITORY
What I expect: Charm compose throws an error saying "I couldn't find the layer remotely and COMPOSER_PATH is unset. Please set COMPOSER_PATH if you are referencing local layers".
What I get: Charm gets generated without errors. However, there is no hooks directory, so when deploying the Charm, you get strange errors such as "unit is not assigned to machine".
Common use-case and common error for someone who starts using charm layers so the warning should be very informative.
To post a comment you must log in.