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

register-image-ec2-ebs.sh does not work #66

Open
tcrivat opened this issue Sep 19, 2014 · 3 comments
Open

register-image-ec2-ebs.sh does not work #66

tcrivat opened this issue Sep 19, 2014 · 3 comments

Comments

@tcrivat
Copy link
Contributor

tcrivat commented Sep 19, 2014

The script that registers a custom ConPaaS image on Amazon EC2 (register-image-ec2-ebs.sh) does not work anymore in Ubuntu 14.04. It fails during the last step (register_ebs_ami) with the following error:

'BlockDeviceMapping' object has no attribute 'build_list_params'

It seems that python-boto, a dependency of euca2ools (the tool used by the script to actually register the image), has changed an API function (build_list_params is replaced by ec2_build_list_params), possibly some other changes. The solution seems to be to use a newer version of euca2ools, that is updated to work with the new python-boto...

@tcrivat
Copy link
Contributor Author

tcrivat commented Sep 19, 2014

The newer version of euca2ools has a different syntax, probably that's why the script used a specific older version.

I finally managed to register the new image by running the latest step of the script (register_ebs_ami) inside another VM running Debian 6. However the reported issue still remains, register-image-ec2-ebs.sh does not work on newer systems.

@tcrivat
Copy link
Contributor Author

tcrivat commented Mar 23, 2015

This script does not work even on older systems (Debian 6). Every time I created a new ConPaaS services image, I had to execute the last step from the script manually.

@tcrivat tcrivat changed the title register-image-ec2-ebs.sh does not work under Ubuntu 14.04 register-image-ec2-ebs.sh does not work Mar 23, 2015
@kavvv
Copy link

kavvv commented Mar 23, 2015

FYI, the creator of this script is Liviu who is now graduated.

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

No branches or pull requests

2 participants