[openstack-dev] [qa] How to run tempest.thirdparty.boto.test_ec2_instance_run?

Sean Dague sean at dague.net
Thu Apr 24 12:22:14 UTC 2014


On 04/24/2014 07:39 AM, Joe Hakim Rahme wrote:
> Hi,
> 
> I am trying to run the EC2 tests in Tempest. On a devstack, here's what I run:
> 
>     $ nosetests -sv tempest.thirdparty.boto.test_ec2_instance_run
>     SKIP: EC2 InstanceRunTest: requires ami/aki/ari manifest
> 
>     ----------------------------------------------------------------------
>     Ran 0 tests in 0.648s
> 
>     OK (SKIP=1)
> 
> What are these manifests and how can I create them?
> For the record:
> 
>     $ glance image-list
>     +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
>     | ID                                   | Name                            | Disk Format | Container Format | Size      | Status |
>     +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
>     | bfd32134-abf2-4c12-9b20-a4ad3b2189a3 | cirros-0.3.1-x86_64-uec         | ami         | ami              | 25165824  | active |
>     | c34374d6-2496-4804-840a-aa20d1ccbdd7 | cirros-0.3.1-x86_64-uec-kernel  | aki         | aki              | 4955792   | active |
>     | 9c172eb3-6a37-4075-8665-6c10c3295106 | cirros-0.3.1-x86_64-uec-ramdisk | ari         | ari              | 3714968   | active |
>     +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
> 
> Thank you,

In the tempest config under the [boto] section you need to specify those
manifests:
https://github.com/openstack/tempest/blob/master/etc/tempest.conf.sample#L155-L162

Because each site might be different we require being explicit about
what image you want to run with.

	-Sean

-- 
Sean Dague
http://dague.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140424/28739498/attachment.pgp>


More information about the OpenStack-dev mailing list