2016-07-25 14:00:28 |
Roman Podoliaka |
description |
Detailed bug description:
9.1 snapshot #47
Configuration:
Settings:
Storage Backends - Ceph RBD for volumes (Cinder), Ceph RBD for ephemeral volumes (Nova), Ceph RBD for images (Glance), Ceph RadosGW for objects (Swift API)
Additional services - Install Sahara
In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR
Nodes: controller, compute, Ceph, Telemetry - MongoDB
Steps to reproduce:
1. Deploy ISO in configuration see (Detailed bug description)
2. Navigate to controller node
3. Install git (use apt-get install git)
4. Clone script to deploy rally + tempest
# git clone https://github.com/obutenko/mos-rally-verify.git
5. Navigate to the https://github.com/obutenko/mos-rally-verify
6. Execute necessary steps to deploy tempest
7. Tun test in debug mode
#rally --debug verify start --regex tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_detach_volume
Expected results:
Test is passed
Actual result:
Test is Failed
(see comments)
Reproducibility:
See attachment
Workaround:
---
Impact:
---
Description of the environment:
See (Detailed bug description)
Additional information:
Trace:
Traceback (most recent call last):
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/api/compute/volumes/test_attach_volume.py", line 122, in test_attach_detach_volume
'SHUTOFF')
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/common/waiters.py", line 39, in wait_for_server_status
body = client.show_server(server_id)['server']
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/services/compute/servers_client.py", line 106, in show_server
self.validate_response(schema.get_server, resp, body)
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/common/rest_client.py", line 896, in validate_response
raise exceptions.InvalidHTTPResponseBody(msg)
tempest.lib.exceptions.InvalidHTTPResponseBody: HTTP response body is invalid json or xml
Details: HTTP response body is invalid (Additional properties are not allowed (u'delete_on_termination' was unexpected)
Failed validating 'additionalProperties' in schema['properties']['server']['properties']['os-extended-volumes:volumes_attached']['items']:
{'additionalProperties': False,
'properties': {'id': {'type': 'string'}},
'type': 'object'}
On instance['server']['os-extended-volumes:volumes_attached'][0]:
{u'delete_on_termination': False,
u'id': u'e2396305-21d8-4ede-bd98-07bc06fec202'})
Snapshot: http://www.ex.ua/957837273445 |
Detailed bug description:
9.1 snapshot #47
Configuration:
Settings:
Storage Backends - Ceph RBD for volumes (Cinder), Ceph RBD for ephemeral volumes (Nova), Ceph RBD for images (Glance), Ceph RadosGW for objects (Swift API)
Additional services - Install Sahara
In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR
Nodes: controller, compute, Ceph, Telemetry - MongoDB
Steps to reproduce:
1. Deploy ISO in configuration see (Detailed bug description)
2. Navigate to controller node
3. Install git (use apt-get install git)
4. Clone script to deploy rally + tempest
# git clone https://github.com/obutenko/mos-rally-verify.git
5. Navigate to the https://github.com/obutenko/mos-rally-verify
6. Execute necessary steps to deploy tempest
7. Tun test in debug mode
#rally --debug verify start --regex tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_detach_volume
Expected results:
Test is passed
Actual result:
Test is Failed
(see comments)
Reproducibility:
See attachment
Workaround:
---
Impact:
---
Description of the environment:
See (Detailed bug description)
Additional information:
Trace:
Traceback (most recent call last):
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/api/compute/volumes/test_attach_volume.py", line 122, in test_attach_detach_volume
'SHUTOFF')
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/common/waiters.py", line 39, in wait_for_server_status
body = client.show_server(server_id)['server']
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/services/compute/servers_client.py", line 106, in show_server
self.validate_response(schema.get_server, resp, body)
File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/common/rest_client.py", line 896, in validate_response
raise exceptions.InvalidHTTPResponseBody(msg)
tempest.lib.exceptions.InvalidHTTPResponseBody: HTTP response body is invalid json or xml
Details: HTTP response body is invalid (Additional properties are not allowed (u'delete_on_termination' was unexpected)
Failed validating 'additionalProperties' in schema['properties']['server']['properties']['os-extended-volumes:volumes_attached']['items']:
{'additionalProperties': False,
'properties': {'id': {'type': 'string'}},
'type': 'object'}
On instance['server']['os-extended-volumes:volumes_attached'][0]:
{u'delete_on_termination': False,
u'id': u'e2396305-21d8-4ede-bd98-07bc06fec202'})
Snapshot: https://drive.google.com/open?id=0B2db-pBC_yblQS1WVDFDUWViWkE |
|