lack "capabilities:" prefix when set volume_backend_name in test_multi_backend

Bug #1295050 reported by Jerry Cai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Low
Jerry Cai

Bug Description

In tempest/api/volume/admin/test_multi_backend.py:
Multiple backend cases set volume_backend_name into extra_specs, but need to set "capabilities:volume_backend_name" rather than "volume_backend_name", as cinder-scheduler uses all the "capabilities:" to scope the cinder-volume. With no "capabilities:" prefix in extra_spec, it will be no effect from cinder-scheduler.

Need to add "capabilities:" prefix.

Jerry Cai (caimin)
Changed in tempest:
assignee: nobody → Jerry Cai (caimin)
Changed in tempest:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/81842

Changed in tempest:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/81842
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=6e5eed243400a2391bdea2abca2751f0c2d0bac7
Submitter: Jenkins
Branch: master

commit 6e5eed243400a2391bdea2abca2751f0c2d0bac7
Author: Jerry Cai <email address hidden>
Date: Thu May 8 20:48:08 2014 +0800

    Add "capabilities:" to multiple_backends extra-spec key

    cinder-scheduler uses all the "capabilities:" to scope the
    cinder-volume. With no "capabilities:" prefix set in extra_spec,
    it will be no effect from cinder-scheduler to schedule the
    cinder-volume, which is not the purpose of the testcase.
    To address the review comment, This change will not remove but
    adds 2 cases for the "capabilities:" prefix to volume type key:
    extra-spec "capabilities:volume_backend_name".

    Change-Id: Ie870091f2a5657b3ab6a0171de2cffe6945a0f7c
    Closes-Bug: #1295050

Changed in tempest:
status: In Progress → 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.