juju plugins which exit > 0 report a subprocess ERROR
Bug #1503029 reported by
Marco Ceppi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Casey Marshall |
Bug Description
When running a plugin via `juju <plugin>` if the plugin exits with a code greater than 0 juju prints
ERROR subprocess encountered error code #
where # is the error code. This creates a confused user experience. To reproduce:
$ cd /tmp
$ sudo apt-get install charm-tools
$ juju charm create -t bash foo
$ juju charm proof foo
[ Error is produced ]
$ charm proof foo
[ Error line isn't included]
---
marco@galago:/tmp⟫ charm proof foo
I: No icon.svg file.
W: no copyright file
W: no README file
marco@galago:/tmp⟫ juju charm proof foo
I: No icon.svg file.
W: no copyright file
W: no README file
ERROR subprocess encountered error code 100
Changed in juju-core: | |
assignee: | charmers (charmers) → Casey Marshall (cmars) |
tags: | added: charmers |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.26-alpha1 |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 1.26-alpha1 → 1.26-alpha2 |
Changed in juju-core: | |
milestone: | 1.26-alpha2 → 1.26-beta1 |
Changed in juju-core: | |
milestone: | 1.26-beta1 → 2.0-alpha2 |
Changed in juju-core: | |
milestone: | 2.0-alpha2 → 2.0-beta1 |
Changed in juju-core: | |
milestone: | 2.0-beta1 → 2.0-beta2 |
Changed in juju-core: | |
milestone: | 2.0-beta2 → 2.0-beta3 |
Changed in juju-core: | |
milestone: | 2.0-beta3 → 2.0-beta4 |
To post a comment you must log in.
http:// reviews. vapour. ws/r/2833/