|
Block SIGINT during bootstrap
This change is to catch SIGINT during bootstrap
for all providers. Also, if SIGINT is delivered
while tools are being uploaded, the upload will
be cancelled.
If the user Ctrl-C's while the local provider's
bootstrap script is being executed, it will be
interrupted and will return and error to juju.
Juju will then attempt to destroy the environment
and remove the .jenv file.
We will now also send some very basic feedback to
stderr when uploading tools.
Fixes lp:1296475
https://code.launchpad.net/~axwalk/juju-core/lp1296475-block-sigint-bootstrap/+merge/212558
(do not edit description out of merge proposal)
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+203 lines, -23 lines) |
Patch |
|
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cmd/juju/bootstrap.go
|
View
|
1
2
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
cmd/juju/bootstrap_test.go
|
View
|
1
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
cmd/juju/common.go
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
environs/bootstrap/bootstrap_test.go
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
A |
environs/bootstrap/export_test.go
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
environs/bootstrap/interruptiblestorage.go
|
View
|
1
2
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
environs/bootstrap/interruptiblestorage_test.go
|
View
|
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
M |
environs/bootstrap/synctools.go
|
View
|
1
2
|
5 chunks |
+20 lines, -5 lines |
0 comments
|
Download
|
|
M |
environs/interface.go
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
provider/common/bootstrap.go
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
provider/dummy/environs.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
provider/local/environ.go
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
provider/manual/environ.go
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6
|