Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build AMI's with Packer #79

Closed
mlococo opened this issue Jun 2, 2015 · 8 comments
Closed

Build AMI's with Packer #79

mlococo opened this issue Jun 2, 2015 · 8 comments

Comments

@mlococo
Copy link
Contributor

mlococo commented Jun 2, 2015

The process of building ami's with the presetup code is complex and unnecessary. Packer handles this elegantly.

@mlococo
Copy link
Contributor Author

mlococo commented Jun 2, 2015

Not doing the "preinstall cassandra from source" stuff in pre_2.py/install_software() because the cassandra build intermittently breaks per https://issues.apache.org/jira/browse/CASSANDRA-5543?focusedCommentId=14569419&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14569419

This has no effect on core-functionality. It was just a convenience to speed up the ant run should anyone want to manually install cassandra from source on an AMI box.

@mlococo
Copy link
Contributor Author

mlococo commented Jun 2, 2015

Work on this is happening in https://github.com/riptano/ComboAMI/tree/dev-2.6/build

This was referenced Jun 2, 2015
@mlococo
Copy link
Contributor Author

mlococo commented Jun 6, 2015

Couple test ami's built, currently available only to folks on the core-team:

==> Builds finished. The artifacts of successful builds are:
--> us-east-1-hvm-1204: AMIs were created: us-east-1: ami-abc62fc0
--> us-east-1-hvm-1404: AMIs were created: us-east-1: ami-adc62fc6
--> us-east-1-pv-1404: AMIs were created: us-east-1: ami-9fc62ff4
--> us-east-1-pv-1204: AMIs were created: us-east-1: ami-99c62ff2

@mlococo
Copy link
Contributor Author

mlococo commented Jun 11, 2015

Public beta ami's built. eu-west-1 failed due thinking I have too many buckets (400). I did temporarily run out of buckets during testing, but deleted them, I think removals are just being slow to replicate to that region. Will try again later:

==> Builds finished. The artifacts of successful builds are:
--> ap-southeast-2-1404-pv: ami-e5463ddf
--> ap-southeast-1-1404-hvm: ami-f2a09aa0
--> us-west-2-1404-pv: ami-d55368e5
--> sa-east-1-1204-hvm: ami-25f77438
--> ap-northeast-1-1204-hvm: ami-18439a18
--> us-west-1-1404-hvm: ami-b156bcf5
--> us-west-2-1204-hvm: ami-f75368c7
--> ap-southeast-2-1204-hvm: ami-db463de1
--> us-east-1-1204-pv: ami-010afe6a
--> us-east-1-1404-hvm: ami-8109fdea
--> us-west-2-1204-pv: ami-e75368d7
--> ap-southeast-2-1204-pv: ami-21453e1b
--> us-west-2-1404-hvm: ami-fb5368cb
--> ap-southeast-2-1404-hvm: ami-d1463deb
--> us-east-1-1404-pv: ami-4d0afe26
--> us-east-1-1204-hvm: ami-b309fdd8
--> us-west-1-1404-pv: ami-5d57bd19
--> sa-east-1-1204-pv: ami-55f77448
--> ap-northeast-1-1204-pv: ami-0c429b0c
--> ap-southeast-1-1404-pv: ami-eaa09ab8
--> sa-east-1-1404-hvm: ami-5bf77446
--> ap-southeast-1-1204-hvm: ami-c4a09a96
--> us-west-1-1204-hvm: ami-b956bcfd
--> ap-northeast-1-1404-hvm: ami-2a439a2a
--> sa-east-1-1404-pv: ami-51f7744c
--> ap-southeast-1-1204-pv: ami-fca09aae
--> ap-northeast-1-1404-pv: ami-1c429b1c
--> us-west-1-1204-pv: ami-5f57bd1b

@mlococo
Copy link
Contributor Author

mlococo commented Jun 16, 2015

Ok, deleted the previous public beta because I ran out of S3 buckets to test in. In the private beta builds, everything is looking good except this upstream Ubuntu bug which causes OpsCenter's free-disk metrics to break: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1465322

Looks like it's going to get fix quickly so will probably wait on that for the final bake.

@mlococo
Copy link
Contributor Author

mlococo commented Jul 17, 2015

Upstream Ubuntu bug is finally fixed, this ticket can be wrapped up now: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1465322

Probably will be next week before I pick it up again.

@mlococo
Copy link
Contributor Author

mlococo commented Jul 27, 2015

This was pushed out on Friday, last thing to do is update the default branch per #82

@mlococo mlococo closed this as completed Jul 27, 2015
@mlococo
Copy link
Contributor Author

mlococo commented Jul 27, 2015

See ami_ids.json in the 2.6 branch for the new AMI's or just search AWS community AMI's for "Datastax".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant