Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6911)

Issue 5671086: ec2: avoid deleting security groups if we can.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by rog
Modified:
12 years, 2 months ago
Reviewers:
mp+93628
Visibility:
Public.

Description

It takes ages to delete a security group if an instance has been using it, so this change adjusts the old group to have the required permissions instead. https://code.launchpad.net/~rogpeppe/juju/go-ec2-check-group-perms/+merge/93628 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : ec2: avoid deleting security groups if we can. #

Patch Set 3 : ec2: avoid deleting security groups if we can. #

Patch Set 4 : onec2: avoid deleting security groups if we can. #

Patch Set 5 : ec2: avoid deleting security groups if we can. #

Patch Set 6 : ec2: avoid deleting security groups if we can. #

Patch Set 7 : ec2: avoid deleting security groups if we can. #

Total comments: 4

Patch Set 8 : ec2: avoid deleting security groups if we can. #

Patch Set 9 : ec2: avoid deleting security groups if we can. #

Patch Set 10 : ec2: avoid deleting security groups if we can. #

Patch Set 11 : ec2: avoid deleting security groups if we can. #

Total comments: 21

Patch Set 12 : ec2: avoid deleting security groups if we can. #

Patch Set 13 : ec2: avoid deleting security groups if we can. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -105 lines) Patch
M environs/ec2/auth.go View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -11 lines 0 comments Download
M environs/ec2/ec2.go View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +127 lines, -50 lines 0 comments Download
M environs/ec2/live_test.go View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +57 lines, -44 lines 0 comments Download

Messages

Total messages: 17
rog
Please take a look.
12 years, 2 months ago (2012-02-17 18:32:29 UTC) #1
rog
Please take a look.
12 years, 2 months ago (2012-02-21 15:56:18 UTC) #2
rog
Please take a look.
12 years, 2 months ago (2012-02-21 16:11:37 UTC) #3
rog
Please take a look.
12 years, 2 months ago (2012-02-21 16:12:01 UTC) #4
rog
Please take a look.
12 years, 2 months ago (2012-02-21 16:14:22 UTC) #5
rog
Please take a look.
12 years, 2 months ago (2012-02-21 16:18:19 UTC) #6
fwereade
LGTM. https://codereview.appspot.com/5671086/diff/10001/environs/ec2/ec2.go File environs/ec2/ec2.go (right): https://codereview.appspot.com/5671086/diff/10001/environs/ec2/ec2.go#newcode310 environs/ec2/ec2.go:310: var zg ec2.SecurityGroup At first glance, this looks ...
12 years, 2 months ago (2012-02-21 16:55:08 UTC) #7
rog
Please take a look.
12 years, 2 months ago (2012-02-22 12:01:31 UTC) #8
rog
Please take a look.
12 years, 2 months ago (2012-02-22 13:21:36 UTC) #9
rog
Please take a look.
12 years, 2 months ago (2012-02-22 13:22:35 UTC) #10
rog
Please take a look.
12 years, 2 months ago (2012-02-22 16:06:59 UTC) #11
niemeyer
https://codereview.appspot.com/5671086/diff/7008/environs/ec2/ec2.go File environs/ec2/ec2.go (right): https://codereview.appspot.com/5671086/diff/7008/environs/ec2/ec2.go#newcode306 environs/ec2/ec2.go:306: descr := fmt.Sprintf("juju group for %s machine %d", e.name, ...
12 years, 2 months ago (2012-02-22 20:12:08 UTC) #12
rog
Please take a look.
12 years, 2 months ago (2012-02-23 09:41:36 UTC) #13
rog
PTAL https://codereview.appspot.com/5671086/diff/10001/environs/ec2/ec2.go File environs/ec2/ec2.go (right): https://codereview.appspot.com/5671086/diff/10001/environs/ec2/ec2.go#newcode310 environs/ec2/ec2.go:310: var zg ec2.SecurityGroup On 2012/02/21 16:55:08, fwereade wrote: ...
12 years, 2 months ago (2012-02-23 09:45:45 UTC) #14
fwereade
LGTM
12 years, 2 months ago (2012-02-23 13:21:12 UTC) #15
niemeyer
LGTM, thanks.
12 years, 2 months ago (2012-02-24 15:03:21 UTC) #16
rog
12 years, 2 months ago (2012-02-24 15:12:05 UTC) #17
*** Submitted:

ec2: avoid deleting security groups if we can.

It takes ages to delete a security group if an
instance has been using it, so this change
adjusts the old group to have the required
permissions instead.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/5671086
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b