Tempest test test_attach_detach_volume is failed

Bug #1606215 reported by Sofiia Andriichenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
MOS QA Team

Bug 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: https://drive.google.com/open?id=0B2db-pBC_yblQS1WVDFDUWViWkE

Tags: area-qa
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :
Changed in mos:
status: New → Confirmed
assignee: nobody → MOS Nova (mos-nova)
importance: Undecided → Medium
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :
description: updated
tags: added: area-qa
removed: area-nova tempest
Changed in mos:
importance: Medium → High
assignee: MOS Nova (mos-nova) → MOS QA Team (mos-qa)
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

MOS QA, please see the bug above ^ and help fixing this in upstream. Until it's fixed, the test case should be skipped.

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Also, please do not use ex.ua for storing snapshots (a little bit of context: it's a semi-legal file share in Ukraine which is not accessible from Russia and possibly other countries). Re-uploaded to google drive.

Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :

Thanks,
we will skip this bug.

> Re-uploaded to google drive.
We can't upload snapshots to google drive.
Because google is blocked email, when several people try to download it.

Revision history for this message
Anna Babich (ababich) wrote :

The fix for https://bugs.launchpad.net/tempest/+bug/1600186 has been committed and verified against an env with Tempest cloned from master. So, the tempest.api.compute.volumes.test_attach_volume.AttachVolumeShelveTestJSON.test_attach_detach_volume test case should be re-run with no skipping.

Revision history for this message
Alexander Gubanov (ogubanov) wrote :
Changed in mos:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.