juju scp and ssh fail with arg --proxy when no models are in focus
Bug #1662732 reported by
Christopher Lee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Menno Finlay-Smits | ||
2.1 |
Fix Released
|
High
|
Menno Finlay-Smits |
Bug Description
When using either scp or ssh subcommand with the '--proxy' argument when no model is in focus causes the command to error and fail.
To reproduce:
$ juju bootstrap lxd/localhost proxybug-test
$ juju add-model testing-proxy
$ juju scp -m proxybug-
$ juju scp --proxy -m proxybug-
$ juju destroy-model -y testing-proxy
# Now no models are in focus.
$ juju scp -m proxybug-
$ juju scp --proxy -m proxybug-
ERROR No model in focus.
Changed in juju: | |
importance: | Undecided → High |
milestone: | none → 2.1.0 |
Changed in juju: | |
status: | New → Triaged |
milestone: | 2.1.0 → 2.2.0-alpha1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the excellent bug report. I can repro this (with `juju ssh` too).