[tempest/defcore] Configure volume device name 19/30419/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 9 Mar 2017 12:43:02 +0000 (16:43 +0400)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 14 Mar 2017 13:02:12 +0000 (13:02 +0000)
commite0e3c606a009d151e8f4ba24f9d04a288bd403a7
tree8d056b5aa45334645e5255e5a11ebd6358dcd8cb
parentd1c4c53c88e50cf566ea9677a6e250ab806c8a1c
[tempest/defcore] Configure volume device name

Actually attach_detach_volume must be skipped because the device name
ain't reliable and that's using a hard-coded device name in config.
This test should just get the device info after the attach and use
that rather than the hard-coded config option in Tempest that ain't
likely to work - the test should have been written more dynamically.

However, set volume device name to "vdc" since "vdb" is used for config
drive when force_config_drive=True is in action.

Change-Id: Ic70de93a609df932c7749a94f71505e927df1b79
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 3b006a6a3742325c0fe4ccc557b7a8e140f2cab2)
functest/ci/config_functest.yaml
functest/opnfv_tests/openstack/tempest/conf_utils.py
functest/opnfv_tests/openstack/tempest/custom_tests/defcore_req.txt