From b820fa1e5810bf06a0de751369be91dae55a92c8 Mon Sep 17 00:00:00 2001 From: Shlomi Livne Date: Sat, 19 Sep 2015 00:14:12 +0300 Subject: [PATCH] dist: aws ami workaround for packer throwing an error at build time Using the base fedora22 image there are many updates - for an unknown reason after doing all the rpm installs we are getting amazon-ebs: amazon-ebs: Complete! amazon-ebs: Failed to execute operation: Access denied ==> amazon-ebs: Terminating the source AWS instance... ==> amazon-ebs: No AMIs to cleanup ==> amazon-ebs: Deleting temporary keypair... Build 'amazon-ebs' errored: Script exited with non-zero exit status: 1 The workaround is to create fedora22 image that already pulled the updates Signed-off-by: Shlomi Livne --- dist/ami/scylla.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/ami/scylla.json b/dist/ami/scylla.json index 7bdbbb07bd..934cdb71ae 100644 --- a/dist/ami/scylla.json +++ b/dist/ami/scylla.json @@ -8,7 +8,7 @@ "security_group_id": "{{user `security_group_id`}}", "region": "{{user `region`}}", "associate_public_ip_address": "{{user `associate_public_ip_address`}}", - "source_ami": "ami-76dfc41e", + "source_ami": "ami-d1b1c1b4", "instance_type": "{{user `instance_type`}}", "ssh_username": "fedora", "ssh_timeout": "5m",