3157 Commits

Author SHA1 Message Date
Jenkins
44c186bc70 Merge "Use assert(Not)In/Greater(Equal)/LessEqual/IsNotNone" 2016-10-13 10:33:53 +00:00
Jenkins
c64115e9a6 Merge "Manila install guide: Fix wrong instructions" 2016-10-12 20:17:19 +00:00
Jenkins
5faab23a36 Merge "Avoid Forcing the Translation of Translatable Variables" 2016-10-11 16:24:43 +00:00
Jenkins
75c9aaf50d Merge "Enable release notes translation" 2016-10-11 11:51:52 +00:00
Jenkins
a47950d006 Merge "[Container] Fix deletion of veths" 2016-10-10 15:25:43 +00:00
Jenkins
b50d63110f Merge "Modify use of assertTrue(A in B)" 2016-10-10 13:38:23 +00:00
Valeriy Ponomaryov
8401c150f3 [Container] Fix deletion of veths
In '_teardown_server' method driver was searching for all matches of
'veth' prefix and looping them for deletion. But using Xenial host
it finds each such veth name twice and tries to delete the same veth
twice too getting following error:

ovs-vsctl: no row "veth7ac5738" in table Interface

So, fix it by translating 'list' of veths to 'set' that
will have only unique names.

Change-Id: I819a885547f9fc595b15f98e4c94de21e33914ac
Closes-Bug: #1630512
2016-10-07 14:36:06 +03:00
OpenStack Proposal Bot
dd3bfeb722 Updated from global requirements
Change-Id: Id1c5b4acea148bba9477935781ab2e73975f0f51
2016-10-07 05:31:26 +00:00
Jenkins
92d054658b Merge "Files with no code must be left completely empty" 2016-10-06 20:32:08 +00:00
Jenkins
c0ef52c29c Merge "TrivialFix: Remove default=None when set defaul value in Config" 2016-10-06 20:11:45 +00:00
Andreas Jaeger
e83ec9b675 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I6d9eac9c512935a728f3d3919b1ac2f560efe403
2016-10-06 20:29:39 +02:00
Jenkins
0e82442c41 Merge "Fix devstack for ubuntu-xenial" 2016-10-06 14:15:23 +00:00
OpenStack Proposal Bot
5c3132ef4c Updated from global requirements
Change-Id: Ibdf857736a229328fcbcd3daed54f3f5ae7faef6
2016-10-06 03:27:18 +00:00
Jenkins
eb370f6715 Merge "Update the home page" 2016-10-06 02:56:39 +00:00
Luong Anh Tuan
4c6ce2f938 Avoid Forcing the Translation of Translatable Variables
Whenever possible translation should not be forced by use of six.text_type()
or str() on messages being used with a format string.

http://docs.openstack.org/developer/oslo.i18n/guidelines.html#avoid-forcing-the-translation-of-translatable-variables

Change-Id: If8eeeebd6fafc647a632bdff5636f82d383e2164
2016-10-06 01:09:57 +00:00
Jenkins
ac260f6a3a Merge "Remove tempest.test usage from manila tests" 2016-10-05 15:23:30 +00:00
Jenkins
020d781a1f Merge "Fix typo in test_gpfs.py" 2016-10-05 13:04:20 +00:00
Jenkins
3032ec34b4 Merge "cephfs_native: doc fixes" 2016-10-05 11:45:47 +00:00
Jenkins
5177d58bf2 Merge "Remove redundant 'the'" 2016-10-05 10:55:37 +00:00
Valeriy Ponomaryov
4c0e763d3e Fix devstack for ubuntu-xenial
for ZFSonLinux and LVM drivers.

Change-Id: I7e6aee341981b8305f993a5b8030b7104dc650b4
Closes-Bug: #1628896
2016-10-05 13:16:53 +03:00
Nishant Kumar
5041d4a710 Stop adding ServiceAvailable group option
Service available group already exists.Therefore we don't need to
register this group here again.

Change-Id: I9680abe0a177a80860ec6ba1dbacc04fac41758d
Closes-Bug: #1621036
2016-10-04 20:38:15 +05:30
Ramana Raja
326f7b111d cephfs_native: doc fixes
Update doc about a user, for releases after Mitaka, being able to
retrieve the access key of a Ceph auth ID using a client API.

Include other trivial fixes to improve clarity.

Closes-Bug: #1616563
Change-Id: Idb4e5f264070da32c1c302d7af4a754a38d817b8
2016-10-03 16:54:11 +05:30
Marc Koderer
a0163f4c20 Remove tempest.test usage from manila tests
Manila tempest tests should be independent from tempest code
as much as possible. The decorator test.attr is widely used in
all tests to set testcase attrs. This decorator doesn't
really do anyting else than calling testtools.testcase.attr.

Change-Id: If10beb9ae7562524f602a6fd7254aa95ef24d70e
Partially-Implements: bp tempest-no-deps
2016-09-30 12:47:17 +00:00
zhangyanxian
cc6428cedb Fix typo in test_gpfs.py
TrivialFix

Change-Id: Ia60a1a9d743e4c14592e53775a1fa200885cb569
2016-09-30 09:11:16 +00:00
Béla Vancsics
f33ac181b0 Use assert(Not)In/Greater(Equal)/LessEqual/IsNotNone
Instead of using assertTrue(A * B) / assertFalse(A * B)
developers should use assertNotIn, assertIn, assertGreater,
assertGreaterEqual or assertLessEqual or assertIsNotNone.
They are compatible with Python 2.7[1] and 3.4[2]

[1]: https://docs.python.org/2.7/library/unittest.html
[2]: https://docs.python.org/3.4/library/unittest.html

Change-Id: I26ab3bc3cad5e1dddc812388b864d51c73f53f58
2016-09-30 09:43:49 +02:00
Jenkins
360be9607e Merge "[api-ref] Refactor Manila security service API" 2016-09-29 21:45:10 +00:00
Jenkins
c291559cab Merge "Updated from global requirements" 2016-09-29 21:44:26 +00:00
Jenkins
5525232a2f Merge "Use method is_ipv6_enabled from oslo.utils" 2016-09-29 16:18:00 +00:00
OpenStack Proposal Bot
28577f72e2 Updated from global requirements
Change-Id: Ie972e5a5f18b669072de329d47d536825bf4d278
2016-09-29 13:28:41 +00:00
Jenkins
b4032496ac Merge "Updated Hitachi NAS Platform Driver documentation" 2016-09-29 12:43:45 +00:00
ChangBo Guo(gcb)
63524af89d Use method is_ipv6_enabled from oslo.utils
oslo.utils provides similar function[1] to check if ipv6 is supported.
Though Manila and oslo.utils implemented in different way, we can
improve the version of oslo.utils to make it suitable to other projects.

[1]https://github.com/openstack/oslo.utils/blob\
/d1e08f533d4351f10b8103e24c254004b6627a29/oslo_utils/netutils.py#L170

TrivialFix

Change-Id: I4ff99189943f4ca56f0532e58b1aedc63516074d
2016-09-29 20:35:18 +08:00
Jenkins
a2b79e1d5f Merge "[api-ref] Remove temporary block in conf.py" 2016-09-29 11:00:53 +00:00
Jenkins
297d8bef3b Merge "Adjust doc about threading" 2016-09-28 15:30:58 +00:00
Jenkins
f25fb7132e Merge "[TrivialFix] Correct file mode settings" 2016-09-28 12:13:09 +00:00
Cao Xuan Hoang
1d1028633c Files with no code must be left completely empty
As per OpenStack licensing guide lines [1]:
[H104] Files with no code shouldn't contain any license header nor
comments, and must be left completely empty.

[1] http://docs.openstack.org/developer/hacking/#openstack-licensing

Change-Id: I7704e9defc555373f47036b28cfa2287ad67b0f8
2016-09-28 17:00:30 +07:00
Luong Anh Tuan
ac8b894d4b TrivialFix: Remove default=None when set defaul value in Config
By default oslo.cfg sets the default values as None [1], there is
no need to explicitly do this.

[1] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L829

Change-Id: I65fbfdf20ca98441cc88b2a62b5029001144e31d
2016-09-28 09:20:00 +00:00
xiaozhuangqing
82a4244eff [TrivialFix] Correct file mode settings
Drop the undesired executable bit for the following files:
  1. manila_tempest_tests/services/share/v2/json/shares_client.py
  2. manila_tempest_tests/tests/api/test_share_networks.py

Also add pep8 check for new executable files under manila_tempest_tests.

Change-Id: Iaa509fdf4e0ebeb60d71b053f62459992c938468
2016-09-28 17:02:24 +08:00
Ha Van Tu
9152425f2f [api-ref] Refactor Manila security service API
This patch make security service api reference to be more readable
and maintainable.

Change-Id: I802f09baee7dda91999983947aca8406a57d445e
2016-09-28 09:30:10 +07:00
Anh Tran
ac89ea065d Remove redundant 'the'
TrivialFix

Change-Id: I131d72082382d0fa003271954065558446e6be55
2016-09-28 09:21:30 +07:00
ChangBo Guo(gcb)
7b0505bf5e Adjust doc about threading
There are two ways to give other greenthread chance to run:
greenthread.sleep(0) or time.sleep(0). Add the second way in
threading.rst and recommend the first way for contributors.

Also, PyMySQL works well with eventlet [1], and it's the default MySQL
DB API driver for oslo.db now[2].
So adjust 'threading model' doc with such info.

[1] https://wiki.openstack.org/wiki/PyMySQL_evaluation
[2] http://docs.openstack.org/developer/oslo.db/installation.html

Change-Id: Ifcf48cddcf52ce720ceb275cc3eb4d6be61a3ca5
2016-09-28 02:15:26 +00:00
Jenkins
5c794d4f98 Merge "Updated from global requirements" 2016-09-27 15:41:57 +00:00
tpsilva
53198f068a Updated Hitachi NAS Platform Driver documentation
This patch updates the documentation for the Hitachi NAS Platform
File Services Driver for OpenStack.

Closes-bug: #1536812
Closes-bug: #1614833
Closes-bug: #1616618
Closes-bug: #1623105

Change-Id: I0291efcadf244b7911969cfb367387a5998f1a23
2016-09-27 08:44:30 -03:00
OpenStack Proposal Bot
15a7538e87 Updated from global requirements
Change-Id: I9ded29337245774fad055854cee7fa11e61640cf
2016-09-27 10:01:04 +00:00
ChangBo Guo(gcb)
e071dc0f26 Remove unused methods
Manila doesn't use methods ensure_tree and delete_if_exists anywhere,
and oslo.utils provides same methods in module fileutils. We can use
them from oslo.utils if we need in the futrue.

TrivialFix

Change-Id: I280b674dca3738d26c2bed2cf71e94775b370cd5
2016-09-27 09:59:34 +08:00
Jenkins
e34d9f52ba Merge "Fix check for nfsd presence" 2016-09-26 13:23:02 +00:00
Jenkins
856d5a3221 Merge "Bring remote and local executors into accord" 2016-09-26 12:43:10 +00:00
ChangBo Guo(gcb)
5e333fc0f8 Use fnmatch from oslo.utils
Standard library fnmatch in Python versions <= 2.7.9 has thread safe
issue[1], we can use thread safe version from oslo.utils.

[1]https://bugs.python.org/issue23191

Change-Id: I42e9deed338ef6a9a75bb84fa9efd1aaf2baeccd
2016-09-26 13:29:36 +08:00
Jenkins
8b277fd7d8 Merge "Updated from global requirements" 2016-09-23 18:02:38 +00:00
Jenkins
77d245618f Merge "Fix huawei driver cannot delete qos while status is idle" 2016-09-23 15:33:30 +00:00
OpenStack Proposal Bot
9bf3f2eb42 Updated from global requirements
Change-Id: Idbc657cc22d72a0390f9a504ee6cf9f9d548e545
2016-09-23 15:24:45 +00:00