Tempest test test_live_block_migration is failed

Bug #1606201 reported by Sofiia Andriichenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Oleksiy Butenko

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.admin.test_live_migration.LiveBlockMigrationTestJSON.test_live_block_migration

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/admin/test_live_migration.py", line 126, in test_live_block_migration

    self._test_live_migration()

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/api/compute/admin/test_live_migration.py", line 110, in _test_live_migration

    self._migrate_server_to(server_id, target_host, volume_backed)

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/api/compute/admin/test_live_migration.py", line 72, in _migrate_server_to

    disk_over_commit=False)

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/services/compute/servers_client.py", line 390, in live_migrate_server

    return self.action(server_id, 'os-migrateLive', **kwargs)

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/services/compute/servers_client.py", line 159, in action

    post_body)

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/common/rest_client.py", line 270, in post

    return self.request('POST', url, extra_headers, headers, body, chunked)

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/services/compute/base_compute_client.py", line 48, in request

    method, url, extra_headers, headers, body, chunked)

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/common/rest_client.py", line 664, in request

    resp, resp_body)

  File "/home/rally/.rally/tempest/for-deployment-64051203-f222-4e8c-b56a-a34ebaefde33/tempest/lib/common/rest_client.py", line 767, in _error_checker

    raise exceptions.BadRequest(resp_body, resp=resp)

tempest.lib.exceptions.BadRequest: Bad request

Details: {u'message': u'node-6.test.domain.local is not on local storage: Block migration can not be used with shared storage.', u'code': 400}

Tags: tempest
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :
Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :

reproduce for tempest test test_live_block_migration_paused

Revision history for this message
Oleksiy Butenko (obutenko) wrote :

root cause: incorrect tempest.conf

Changed in mos:
assignee: nobody → Oleksiy Butenko (obutenko)
importance: Undecided → High
status: New → Confirmed
tags: removed: area-nova
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

fix merged to ci job

Changed in mos:
status: Confirmed → Fix Committed
Revision history for this message
Tatyana Kuterina (tkuterina) wrote :

Verified on 9.1 snapshot #81 and snapshot #82

tags: added: on-verification
Changed in mos:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.