Panic if local charms in bundle not found
Bug #1783595 reported by
Marc André Audet
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Harry Pidcock |
Bug Description
At first I tried to deploy a bundle with an invalid path (had a typo) and got the following error:
charm path in application "my-charm" does not exist: /Users/
After fixing the path I got the following panic + stack trace:
https:/
I feel like this was supposed to work, but that I got an unexpected error.
If I'm wrong, it should output an error rather than panic in my opinion.
tags: | added: bundles deploy |
Changed in juju: | |
importance: | Medium → High |
milestone: | none → 2.7-beta1 |
Changed in juju: | |
milestone: | 2.7-beta1 → 2.7-rc1 |
Changed in juju: | |
milestone: | 2.7-rc1 → 2.7.1 |
Changed in juju: | |
milestone: | 2.7.1 → 2.7.2 |
Changed in juju: | |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I switched to absolute paths and it worked.
So my guess is that the first check works with relative paths, but not the second.
A solution would be to resolve the relative path.