Browse code

install euca2ools for tempest preparation

euca-bundle-image can be run only if euca2ools is installed.
but now it doesn't installed and several tests for EC2 doesn't run.

Change-Id: Ib3824052d5f4155d3cb5c0ef6fe334d44de5153c

Andrey Pavlov authored on 2015/03/31 02:49:22
Showing 1 changed files
... ...
@@ -562,6 +562,8 @@ function init_tempest {
562 562
             echo "Prepare aki/ari/ami Images"
563 563
             mkdir -p $BOTO_MATERIALS_PATH
564 564
             ( #new namespace
565
+                # euca2ools should be installed to call euca-* commands
566
+                is_package_installed euca2ools || install_package euca2ools
565 567
                 # tenant:demo ; user: demo
566 568
                 source $TOP_DIR/accrc/demo/demo
567 569
                 euca-bundle-image -r ${CIRROS_ARCH} -i "$kernel" --kernel true -d "$BOTO_MATERIALS_PATH"