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

Issue 14326044: Support root-disk constraint on EC2

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by natefinch
Modified:
10 years, 6 months ago
Reviewers:
mue, mp+189386, fwereade, rog
Visibility:
Public.

Description

Support root-disk constraint on EC2 We now can support the root-disk constraint on EC2... except that instead of constraining the images, we just use it to request that amount of disk space from amazon, since any image can have a variable amount of space. We store the requested amount in the hardware characteristics of the machine (and just assume it's the same as what is actually on the machine for now). https://code.launchpad.net/~natefinch/juju-core/017-ec2-rootdisk/+merge/189386 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Support root-disk constraint on EC2 #

Total comments: 8

Patch Set 3 : Support root-disk constraint on EC2 #

Patch Set 4 : Support root-disk constraint on EC2 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -49 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M dependencies.tsv View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M provider/ec2/ec2.go View 1 2 3 6 chunks +39 lines, -23 lines 1 comment Download
M provider/ec2/export_test.go View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M provider/ec2/instancetype.go View 19 chunks +2 lines, -23 lines 0 comments Download

Messages

Total messages: 8
natefinch
Please take a look.
10 years, 7 months ago (2013-10-04 17:22:05 UTC) #1
natefinch
Please take a look.
10 years, 6 months ago (2013-10-07 14:14:38 UTC) #2
natefinch
Please take a look.
10 years, 6 months ago (2013-10-07 14:26:20 UTC) #3
rog
Looks good, with a couple of suggestions below, and... some tests would be nice. https://codereview.appspot.com/14326044/diff/7001/provider/ec2/ec2.go ...
10 years, 6 months ago (2013-10-07 14:32:48 UTC) #4
mue
LGTM, only minor comments. https://codereview.appspot.com/14326044/diff/7001/provider/ec2/ec2.go File provider/ec2/ec2.go (right): https://codereview.appspot.com/14326044/diff/7001/provider/ec2/ec2.go#newcode384 provider/ec2/ec2.go:384: // default size for ec2 ...
10 years, 6 months ago (2013-10-07 14:33:28 UTC) #5
fwereade
Needs one significant change, but it's a structure one not a logic one. https://codereview.appspot.com/14326044/diff/7001/provider/ec2/ec2.go File ...
10 years, 6 months ago (2013-10-07 15:02:57 UTC) #6
natefinch
Please take a look.
10 years, 6 months ago (2013-10-08 15:02:05 UTC) #7
fwereade
10 years, 6 months ago (2013-10-09 08:49:58 UTC) #8
LGTM, one trivial.

https://codereview.appspot.com/14326044/diff/15001/provider/ec2/ec2.go
File provider/ec2/ec2.go (right):

https://codereview.appspot.com/14326044/diff/15001/provider/ec2/ec2.go#newcod...
provider/ec2/ec2.go:429: })
Would it make sense to move the devices assignment outside the if block? If
we're ever setting it, it seems nicer to always set it in the same way.
Sign in to reply to this message.

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