settingsLogin | Registersettings

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

0 votes

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,


Joe H. Rahme
IRC: rahmu
asked Apr 24, 2014 in openstack-dev by Joe_Hakim_Rahme (240 points)   1
retagged Jan 28, 2015 by admin

2 Responses

0 votes

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:

responded Apr 24, 2014 by Sean_Dague (66,200 points)   4 11 19
0 votes

Hey,

Thank you Sean for your answer. I should?ve been a bit more explicit about my
question:

What are these xml files and where can I find them?
Should I write them myself by hand or are there tools to do it?
Is there any documentation on how to do it?

Thanks again,


Joe H. Rahme
IRC: rahmu

On 24 Apr 2014, at 14:22, Sean Dague wrote:

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.testec2instance_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-x8664-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


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Apr 24, 2014 by Joe_Hakim_Rahme (240 points)   1
...