bootstrap must use custom image for fast iterations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Critical
|
Kapil Thangavelu |
Bug Description
The bootstrapping is set up to create a new ensemble-ready image from the ground up through cloud-init. Besides being a bit buggy, the process of setting up everything takes some time. We want development iterations to be as fast as possible, and the bootstrapping process to be stable. A pre-built image will offer us that, so we must change the EC2 provider code to work in those terms, and create a reproducible means for setting the pre-built image up.
Once the basics of this work are done, bug #614490 should be addressed so that Zookeeper listens in the internal EC2 interface. Also, bug #614508 refers to a base class for agents, which has to be kept in mind since we'll be firing the machine agent inside that base image.
Related branches
- Gustavo Niemeyer: Approve
-
Diff: 744 lines (+457/-66)12 files modifiedbin/ensemble-make-image (+377/-0)
debian/control (+1/-1)
ensemble/ftests/test_aws.py (+1/-1)
ensemble/ftests/test_connection.py (+21/-34)
ensemble/ftests/test_ec2_provider.py (+6/-15)
ensemble/providers/common.py (+2/-0)
ensemble/providers/ec2/launch.py (+14/-6)
ensemble/providers/ec2/tests/test_launch.py (+5/-2)
ensemble/providers/ec2/utils.py (+10/-4)
ensemble/state/sshclient.py (+3/-1)
ensemble/state/sshforward.py (+5/-1)
ensemble/state/tests/test_sshforward.py (+12/-1)
Changed in ensemble: | |
importance: | Undecided → High |
importance: | High → Critical |
status: | New → Confirmed |
assignee: | nobody → Kapil Thangavelu (hazmat) |
description: | updated |
description: | updated |
description: | updated |
Changed in ensemble: | |
status: | Confirmed → In Progress |
Changed in ensemble: | |
status: | In Progress → Fix Committed |
Changed in ensemble: | |
milestone: | none → 0.1 |
Changed in ensemble: | |
status: | Fix Committed → Fix Released |