<div dir="ltr">I deployed a single node devstack on Ubuntu 14.04.<br>This devstack belongs to Juno.<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">When i am running tempest api volume test, i am getting some tests failed.</span></div>
<div><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px"><b><u>Below are steps for devstack deployment:</u></b></span><br><br>1) git clone <a href="https://github.com/openstack-dev/devstack.git">https://github.com/openstack-dev/devstack.git</a><br>
2)cd devstack<br>3)vi local.conf<br><br>[[local|localrc]]<br><br>ADMIN_PASSWORD=some_password<br>DATABASE_PASSWORD=$ADMIN_PASSWORD<br>RABBIT_PASSWORD=$ADMIN_PASSWORD<br>SERVICE_PASSWORD=$ADMIN_PASSWORD<br>SERVICE_TOKEN=ADMIN<br>
#FLAT_INTERFACE = eth0<br>FIXED_RANGE=<a href="http://192.168.2.80/29">192.168.2.80/29</a><br>#FLOATING_RANGE=<a href="http://192.168.20.0/25">192.168.20.0/25</a><br>HOST_IP=192.168.2.64<br>LOGFILE=$DEST/logs/stack.sh.log<br>
SCREEN_LOGDIR=$DEST/logs/screen<br>SYSLOG=True<br>SYSLOG_HOST=$HOST_IP<br>SYSLOG_PORT=516<br>RECLONE=yes<br>CINDER_ENABLED_BACKENDS=client:client_driver<br><br>[[post-config|$CINDER_CONF]]<br><br>[client_driver]<br>volume_driver=cinder.volume.drivers.san.client.iscsi.client_iscsi.ClientISCSIDriver<br>
san_ip = 192.168.2.192<br>san_login = some_name<br>san_password =some_password<br>client_iscsi_ips = 192.168.2.193<br><br>4)./stack.sh<br><br><b><u>Below is step and portion of failed test :</u></b></div><div>cd /opt/stack/tempest<br>
./run_tempest.sh tempest.api.volume<b><u><br></u></b><br>Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_get.py",<br>line 157, in test_volume_create_get_update_delete_as_clone<br>
origin = self.create_volume()<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br>
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume 4c195bdd-5fea-4da5-884e-69a2026d9ca0<br>
failed to build and is in ERROR status<br><br><br>======================================================================<br>FAIL: tempest.api.volume.test_volumes_get.VolumesV1GetTest.test_volume_create_get_update_delete_from_image[gate,image,smoke]<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>_StringException: Empty attachments:<br> stderr<br> stdout<br><br>pythonlogging:'': {{{<br>2014-07-30 18:42:49,462 16328 INFO [tempest.common.rest_client]<br>
Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image):<br>200 POST <a href="http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes">http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes</a><br>
0.300s<br>2014-07-30 18:42:49,545 16328 INFO [tempest.common.rest_client]<br>Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image):<br>200 GET <a href="http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040">http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040</a><br>
0.082s<br>2014-07-30 18:42:50,626 16328 INFO [tempest.common.rest_client]<br>Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image):<br>200 GET <a href="http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040">http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040</a><br>
0.079s<br>2014-07-30 18:42:50,698 16328 INFO [tempest.common.rest_client]<br>Request (VolumesV1GetTest:_run_cleanups): 202 DELETE<br><a href="http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040">http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040</a><br>
0.069s<br>2014-07-30 18:42:50,734 16328 INFO [tempest.common.rest_client]<br>Request (VolumesV1GetTest:_run_cleanups): 404 GET<br><a href="http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040">http://192.168.2.64:8776/v1/f0cd225e70f249b3a2e40daafb5e34bd/volumes/6e6585a9-6f7b-42c0-b099-ec72c13a4040</a><br>
0.035s<br>}}}<br><br>Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 128, in wrapper<br> return f(self, *func_args, **func_kwargs)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_get.py",<br>
line 153, in test_volume_create_get_update_delete_from_image<br> self._volume_create_get_update_delete(imageRef=CONF.compute.image_ref)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_get.py",<br>
line 63, in _volume_create_get_update_delete<br> self.client.wait_for_volume_status(volume['id'], 'available')<br> File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>
line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume 6e6585a9-6f7b-42c0-b099-ec72c13a4040<br>failed to build and is in ERROR status<br>
<br><br>======================================================================<br>FAIL: setUpClass (tempest.api.volume.test_volumes_list.VolumesV1ListTestJSON)<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br> f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_list.py",<br>
line 68, in setUpClass<br> volume = cls.create_volume(metadata=cls.metadata)<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br>
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>
in ERROR status<br>Details: Volume 7a138090-d3b5-4e2f-a47f-e349b4ff730a failed to build<br>and is in ERROR status<br><br><br>======================================================================<br>FAIL: setUpClass (tempest.api.volume.test_volumes_list.VolumesV1ListTestXML)<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br>
f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_list.py",<br>line 68, in setUpClass<br> volume = cls.create_volume(metadata=cls.metadata)<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>
create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br> File "/opt/stack/tempest/tempest/services/volume/xml/volumes_client.py",<br>line 205, in wait_for_volume_status<br>
raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>in ERROR status<br>Details: Volume 73642c6f-cb61-479a-886f-4e2d1b531732 failed to build<br>
and is in ERROR status<br><br><br>======================================================================<br>FAIL: setUpClass (tempest.api.volume.test_volumes_list.VolumesV2ListTestJSON)<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br> f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_list.py",<br>
line 68, in setUpClass<br> volume = cls.create_volume(metadata=cls.metadata)<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br>
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>
in ERROR status<br>Details: Volume 9c1b4c90-2902-4a8f-85ed-b861bc70c84e failed to build<br>and is in ERROR status<br><br><br>======================================================================<br>FAIL: setUpClass (tempest.api.volume.test_volumes_list.VolumesV2ListTestXML)<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br>
f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_list.py",<br>line 68, in setUpClass<br> volume = cls.create_volume(metadata=cls.metadata)<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>
create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br> File "/opt/stack/tempest/tempest/services/volume/xml/volumes_client.py",<br>line 205, in wait_for_volume_status<br>
raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>in ERROR status<br>Details: Volume 28585cba-13cd-4cf4-9fe9-739a756b7b76 failed to build<br>
and is in ERROR status<br><br><br>======================================================================<br>FAIL: setUpClass<br>(tempest.api.volume.test_volumes_negative.VolumesV1NegativeTest)<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br> f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py",<br>
line 35, in setUpClass<br> cls.volume = cls.create_volume()<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br>
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>
in ERROR status<br>Details: Volume 9f306c25-c8f7-4232-b156-c4f4f8cdb6b0 failed to build<br>and is in ERROR status<br><br><br>======================================================================<br>FAIL: setUpClass<br>(tempest.api.volume.test_volumes_negative.VolumesV1NegativeTestXML)<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br>
f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py",<br>line 35, in setUpClass<br> cls.volume = cls.create_volume()<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>
create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br> File "/opt/stack/tempest/tempest/services/volume/xml/volumes_client.py",<br>line 205, in wait_for_volume_status<br>
raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>in ERROR status<br>Details: Volume 5995eb28-8f20-4d67-8666-623274bbc984 failed to build<br>
and is in ERROR status<br><br><br>======================================================================<br>FAIL: setUpClass<br>(tempest.api.volume.test_volumes_negative.VolumesV2NegativeTest)<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br> f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py",<br>
line 35, in setUpClass<br> cls.volume = cls.create_volume()<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br>
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>
in ERROR status<br>Details: Volume 04a70e0f-fc11-485d-9d4e-ece8c975fa8b failed to build<br>and is in ERROR status<br><br><br>======================================================================<br>FAIL: setUpClass<br>(tempest.api.volume.test_volumes_negative.VolumesV2NegativeTestXML)<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br>
f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_negative.py",<br>line 35, in setUpClass<br> cls.volume = cls.create_volume()<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>
create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br> File "/opt/stack/tempest/tempest/services/volume/xml/volumes_client.py",<br>line 205, in wait_for_volume_status<br>
raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>in ERROR status<br>Details: Volume 326e5b3c-cc76-4171-8d00-82961465bef8 failed to build<br>
and is in ERROR status<br><br><br>======================================================================<br>FAIL: <b>setUpClass </b>(tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTest)<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br> f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_snapshots.py",<br>
line 30, in setUpClass<br> cls.volume_origin = cls.create_volume()<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br>
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>
in ERROR status<br>Details: Volume 8f3ae686-42d0-4617-bbd2-9daafda52976 failed to build<br>and is in ERROR status<br><br><br>======================================================================<br>FAIL: <b>setUpClass</b><br>
(tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTestXML)<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br>
File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br> f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/test_volumes_snapshots.py",<br>line 30, in setUpClass<br> cls.volume_origin = cls.create_volume()<br>
File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br> File "/opt/stack/tempest/tempest/services/volume/xml/volumes_client.py",<br>
line 205, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>in ERROR status<br>Details: Volume fa8ded5d-95be-4a41-a6bd-f37ce744c012 failed to build<br>
and is in ERROR status<br><br><br>======================================================================<br>FAIL: <b>setUpClass</b> (tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestJSON)<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br> f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/v2/test_volumes_list.py",<br>
line 44, in setUpClass<br> volume = cls.create_volume(metadata=cls.metadata)<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br>
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py",<br>line 162, in wait_for_volume_status<br> raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>
in ERROR status<br>Details: Volume 250fcdcc-503b-40e6-bc6d-b778930c8f16 failed to build<br>and is in ERROR status<br><br><br>======================================================================<br>FAIL: <b>setUpClass </b>(tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestXML)<br>
----------------------------------------------------------------------<br>Traceback (most recent call last):<br>_StringException: Traceback (most recent call last):<br> File "/opt/stack/tempest/tempest/test.py", line 76, in decorator<br>
f(cls)<br> File "/opt/stack/tempest/tempest/api/volume/v2/test_volumes_list.py",<br>line 44, in setUpClass<br> volume = cls.create_volume(metadata=cls.metadata)<br> File "/opt/stack/tempest/tempest/api/volume/base.py", line 103, in<br>
create_volume<br> cls.volumes_client.wait_for_volume_status(volume['id'], 'available')<br> File "/opt/stack/tempest/tempest/services/volume/xml/volumes_client.py",<br>line 205, in wait_for_volume_status<br>
raise exceptions.VolumeBuildErrorException(volume_id=volume_id)<br>VolumeBuildErrorException: Volume %(volume_id)s failed to build and is<br>in ERROR status<br>Details: Volume 7960cfa1-f259-4b69-a38a-f91a6f8ca30f failed to build<br>
and is in ERROR status<br><br><br>Ran 141 tests in 839.342s<br><br>FAILED (failures=36)<br><br></div></div>