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
2016-04-08 14:28:42 +00:00
2015-09-21 15:09:22 +03:00
2016-07-25 15:55:00 +00:00
2014-09-19 21:23:02 +00:00
2013-08-08 10:34:06 -04:00
2013-08-08 10:34:06 -04:00
2013-09-17 10:57:47 +03:00
2015-01-23 08:18:06 +01:00
2015-03-18 13:40:03 +01:00
2016-07-28 23:13:29 -07:00
2015-09-18 20:43:19 +00:00
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

Description
Shared filesystem management project for OpenStack.
Readme 178 MiB
Languages
Python 99.3%
Shell 0.7%