Merge lp:~adeuring/juju-core/1227574 into lp:~go-bot/juju-core/trunk
Proposed by
Abel Deuring
Status: | Merged |
---|---|
Approved by: | Abel Deuring |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2586 |
Proposed branch: | lp:~adeuring/juju-core/1227574 |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
219 lines (+167/-2) 2 files modified
provider/openstack/local_test.go (+105/-0) provider/openstack/provider.go (+62/-2) |
To merge this branch: | bzr merge lp:~adeuring/juju-core/1227574 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | Approve | ||
Review via email: mp+214520@code.launchpad.net |
Commit message
[r=TheMue][bug=1227574] Remove OpenStack security groups a machine is removed or the environment is destroyed.
Description of the change
[r=TheMue] destroy-env should remove security groups
fix for bug 1227574.
The implementation is obvious, I think. As described in bug 1300755
it can happen that a security group cannot be deleted because it is
used in another environment. The Nova API call fails in this case,
so trying this call does not affect the other environment.
Unfortunately, goose hides the original error message, so Destroy()
ans StopInstance() cannot determine the exact reason of the failure.
Hence only a warning is logged.
To post a comment you must log in.
Reviewers: mp+214520_ code.launchpad. net,
Message:
Please take a look.
Description:
destroy-env should remove security groups
fix for bug 1227574.
The implementation is obvious, I think. As described in bug 1300755
it can happen that a security group cannot be deleted because it is
used in another environment. The Nova API call fails in this case,
so trying this call does not affect the other environment.
Unfortunately, goose hides the original error message, so Destroy()
ans StopInstance() cannot determine the exact reason of the failure.
Hence only a warning is logged.
https:/ /code.launchpad .net/~adeuring/ juju-core/ 1227574/ +merge/ 214520
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/84470053/
Affected files (+168, -2 lines): openstack/ local_test. go openstack/ provider. go
A [revision details]
M provider/
M provider/