"scenario" tests do not respect config opt "multitenancy_enabled"

Bug #1483686 reported by Marcus V R Nascimento
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Julia Varlamova

Bug Description

The current Scenario tests don't work with drivers configured as DHSS (driver_handles_share_servers) = False

The following error is raised:

2015-08-10 16:41:22.279 ERROR oslo_messaging.rpc.dispatcher [req-dfd3d9b3-6883-467e-99ab-396d318c3671 437aa76e38284905a0f1917d637f09ef aec17371aaf9409daa0f59990a298cbc] Exception during message handling:
 Driver does not expect share-network to be provided with current configuration.
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher executor_callback))
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher executor_callback)
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher File "/opt/stack/manila/manila/share/manager.py", line 357, in create_share
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher "Driver does not expect share-network to be provided "
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher ManilaException: Driver does not expect share-network to be provided with current configuration.
2015-08-10 16:41:22.279 TRACE oslo_messaging.rpc.dispatcher

Tags: tempest
description: updated
tags: added: tempest
Changed in manila:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
assignee: nobody → Julia Varlamova (jvarlamova)
status: New → In Progress
Changed in manila:
milestone: none → liberty-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/218801
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=d459e76fdc0eb1dc1d3968d50ba824da4c174232
Submitter: Jenkins
Branch: master

commit d459e76fdc0eb1dc1d3968d50ba824da4c174232
Author: Julia Varlamova <email address hidden>
Date: Mon Aug 31 06:28:28 2015 -0400

    Make scenario tests able to run with DHSS=False

    Change Manila tempest scenario tests to be able to work
    with drivers in 'driver_handles_share_servers = False' mode.

    Closes-bug: #1483686

    Change-Id: Iefa6718e8b537468e5f4f9ce50cccdf0cafe737d

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-rc1 → 1.0.0
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.