Shared filesystem management project for OpenStack.
Go to file
zengyingzhe 5ea4911794 Fix the broken UT of huawei driver for py34/35
The cause of failing unit tests is a bug in huawei driver.
When huawei driver logins to backend, it reads username/password from
huawei configuration file. If the username/password are configured as
plain text, huawei driver'll encode them and overwrite the encoded text
to the configuration file.

The encoding logic code is like this:
  six.text_type(base64.b64encode("***"))

For py27, this code works fine. However, for py34, this text_type
converting adds some extra words to result unicode string, like
"b'***'"('***' is the actual encoded result string).
Once driver reads the username/password again, it'll get the incorrect
text and then fail while jsonutils.dumps.

All the failed unit tests tried to call login twice, and triggered the
error condition said above.

This patch is just a workaround, because those failed tests actually
no need to login twice, the redundant login calls are removed.

Another patch will be commited to fix the problem thoroughly in huawei
driver.  Bug https://launchpad.net/bugs/1612149 has been raised for
that work, and will also analyze what changed to trigger this issue
only recently.

Change-Id: Ia6bf7bbb9ffb9644085bbdf4f5576f09215a877f
Closes-Bug: #1612149
2016-08-11 15:53:05 +00:00
api-ref/source Migrate API reference into tree 2016-07-25 15:55:00 +00:00
contrib [ZFSonLinux] Add 'manage snapshot' feature support 2016-07-27 10:51:31 +03:00
devstack Fix ZFSonLinux driver prerequisites setup 2016-08-04 13:28:37 +03:00
doc Merge "Add support for CIFS shares in HNAS driver" 2016-08-10 03:30:51 +00:00
etc Merge "Add snapshot instances admin APIs" 2016-08-01 16:39:18 +00:00
manila Fix the broken UT of huawei driver for py34/35 2016-08-11 15:53:05 +00:00
manila_tempest_tests Merge "[Tempest] Fix concurrency in "test_show_share_server" test" 2016-08-05 15:27:53 +00:00
releasenotes Merge "Add support for CIFS shares in HNAS driver" 2016-08-10 03:30:51 +00:00
tools Detect addition of executable files 2016-04-08 14:28:42 +00:00
.coveragerc Fix 'cover' tox job 2015-09-21 15:09:22 +03:00
.gitignore Migrate API reference into tree 2016-07-25 15:55:00 +00:00
.gitreview Move from stackforge to openstack 2014-09-19 21:23:02 +00:00
.testr.conf Use oslotest.base.BaseTestCase as test base class 2015-01-04 08:43:52 +01:00
babel.cfg Initialize from cinder 2013-08-08 10:34:06 -04:00
CONTRIBUTING.rst Added CONTRIBUTING file in .rst format 2015-11-15 23:45:38 +05:30
HACKING.rst Do not supply logging arguments as tuple. 2016-06-09 17:22:36 -04:00
LICENSE Initialize from cinder 2013-08-08 10:34:06 -04:00
pylintrc docs 2013-09-17 10:57:47 +03:00
README.rst Adapt readme to usual structure 2015-01-23 08:18:06 +01:00
requirements.txt Updated from global requirements 2016-08-10 11:34:27 +00:00
run_tests.sh Enable bashate during pep8 run 2015-03-18 13:40:03 +01:00
setup.cfg Add EMC Unity Driver for Manila 2016-07-28 23:13:29 -07:00
setup.py Updated from global requirements 2015-09-18 20:43:19 +00:00
test-requirements.txt Updated from global requirements 2016-08-10 11:34:27 +00:00
tox.ini Migrate API reference into tree 2016-07-25 15:55:00 +00:00

MANILA

You have come across an OpenStack shared file system service. It has identified itself as "Manila." It was abstracted from the Cinder project.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://github.com/openstack/manila.git

For developer information please see HACKING.rst

You can raise bugs here http://bugs.launchpad.net/manila

Python client

https://github.com/openstack/python-manilaclient.git