Open tcrivat opened 9 years ago
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.
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.
FYI, the creator of this script is Liviu who is now graduated.
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...