You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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.
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
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...
The text was updated successfully, but these errors were encountered: