juju attach does not like to be canceled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned | ||
juju-core |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I was running a `juju attach` command on a unreliable network. I was not getting the file uploaded so I used Ctl+C to cancel the upload. Afterward I was not able to upload the file as I got errors.
$ juju upgrade-charm kubernetes-master --path=
$ juju attach kubernetes-master kubernetes=
ERROR failed to upload resource "kubernetes": PUT https:/
$ juju attach kubernetes-master kubernetes=
ERROR failed to upload resource "kubernetes": PUT https:/
I understand Ctl+C is not good to do, but we should have some kind of recovery scenario or good error message to help users with their mistakes.
summary: |
- juju attach does not like to be cancelled + juju attach does not like to be canceled |
Changed in juju-core: | |
status: | New → Invalid |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.1.0 |
Changed in juju: | |
milestone: | 2.1-rc2 → none |
tags: | added: sts |
Changed in juju: | |
importance: | Medium → High |
milestone: | none → 3.0.0 |
Changed in juju: | |
milestone: | 3.0.0 → 3.0.1 |
Changed in juju: | |
milestone: | 3.0.1 → 3.0.2 |
Changed in juju: | |
milestone: | 3.0.2 → 3.0.3 |
Changed in juju: | |
milestone: | 3.0.3 → 3.0.4 |
I experienced the same thing, except I didn't Ctrl-C the attach. It just timed out after several minutes. The kubernetes resource is about 1G in size.