3216 Commits

Author SHA1 Message Date
Jenkins
781d7d9e3b Merge "Correct the order of parameters in assertEqual()" 2016-11-16 12:50:16 +00:00
OpenStack Proposal Bot
e2a4151df0 Updated from global requirements
Change-Id: I535fa12ff2b29dacc1ca75bd81065c34cb9f1210
2016-11-15 19:51:18 +00:00
Jenkins
d2cbb01669 Merge "Check ceph backend connection on driver setup" 2016-11-15 13:20:56 +00:00
Jan Provaznik
af79b9f5b7 Check ceph backend connection on driver setup
Check that ceph connection really works when setting up
the driver instead of doing real connect later in init_host
phase. This mitigates the risk that the service crashes/respawns
in an infinite loop because of a connection error.

Change-Id: Ia71b55dab1535ce351310108aaf53304b15ab757
Closes-Bug: 1640169
2016-11-15 12:35:39 +01:00
melissaml
34f5274931 Replaces uuid.uuid4 with uuidutils.generate_uuid()
Openstack common has a wrapper for generating uuids.
We should only use that function when generating uuids for consistency.

Change-Id: Ie68850e529eee51c66e8d29a9025e1390576bc1a
Closes-bug: #1082248
2016-11-14 10:51:24 -05:00
Jenkins
dbab8415ea Merge "Remove unused link" 2016-11-14 12:33:47 +00:00
liyanhang
ca22725fdb Remove unused link
Change-Id: Ic05556dfa6a979a9e465dbbc3172d8b5e37a3eef
2016-11-14 10:20:48 +00:00
Jenkins
bcb064becb Merge "[install] Make the rabbitmq configuration simpler" 2016-11-13 01:39:15 +00:00
chenxing
e01af35b88 [install] Make the rabbitmq configuration simpler
Update from this commit https://review.openstack.org/#/c/389971/1
in the openstack-manuals project.

Change-Id: I862d3b4e310136c7b9bc151fdfa82b07e8c04978
2016-11-12 14:58:44 +00:00
Jenkins
eb380e23fb Merge "Use cors.set_defaults instead of cfg.set_defaults" 2016-11-12 12:08:03 +00:00
Jenkins
7db7cb7718 Merge "Fix share manage tempest test cleanup" 2016-11-11 16:18:06 +00:00
Jenkins
ed4de010de Merge "Add support of endpoint_type and region_name to clients manila uses" 2016-11-11 13:40:54 +00:00
Jenkins
641596dfc8 Merge "Fix missing 'migration_completing' task state" 2016-11-10 19:10:38 +00:00
Daniel Mellado
8d8371de60 Add testscenario to test-requirements
As Manila bundling oslo.db is not installing testscenario, all python
gates are failing when trying to import it. This commit fixes it so the
gates won't be blocked.

This is a workaround of oslo.db not having testscenarios on its
requirements file.

Closes-Bug: #1640774

Change-Id: I660322666565408f6015da7aa82723a842d62a2d
2016-11-10 14:43:16 +00:00
tpsilva
1eadb5a51c Fix share manage tempest test cleanup
test_share_manage.ManageNFSShareTest might leave undeleted shares on
backend if some tests are not run. This happens because the shares are
created and unmanaged on resource_setup and are expected to be managed
and deleted on the tests. If the tests don't run, the cleanup will not
delete the shares because they are already unmanaged, thus leaving them
created on the backend.

This patch fixes this issue by moving the share creation and unmanage
operations from resource_setup to the tests themselves.

Closes-bug: #1639848

Change-Id: I2d1790f0a323fdc7b11805842985ca5907dd23c3
2016-11-10 09:36:44 -02:00
OpenStack Proposal Bot
1c5446e302 Updated from global requirements
Change-Id: I8ba18e21d8d22c2895c75d57fc3e976eaeeac59f
2016-11-08 21:23:41 +00:00
Jenkins
4c5e69d268 Merge "Add utility of boolean value parser" 2016-11-08 19:35:43 +00:00
Jenkins
5dfeebb536 Merge "Remove fake CG support from Generic share driver" 2016-11-05 02:31:27 +00:00
Valeriy Ponomaryov
e77cf5bdaf [Devstack] Create additional custom share types by default
They are useful for case we install several back ends with different
drivers, their modes and capabilities.

New share types have fixed names based on driver modes:
- dhss_true
- dhss_false

It is possible to define their extra specs using following env vars:
- MANILA_DHSS_TRUE_SHARE_TYPE_EXTRA_SPECS
- MANILA_DHSS_FALSE_SHARE_TYPE_EXTRA_SPECS

that defaults to existing following env var:
- MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS

Use case in CI: we are able to use more than one predefined share_type
in tempest and rally tests.

Change-Id: I7278a897bb89f0562e1eda449b725d965cb10566
2016-11-04 19:01:42 +03:00
Valeriy Ponomaryov
899941c60e Remove fake CG support from Generic share driver
Generic share driver has fake support of consistency groups. It was
implemented only for testing purpose. Now, it is redundant, because
we have 'dummy' share driver that already used to test this behavior.

So, drop fake CG support from Generic share driver and disable
appropriate tempest tests.

Change-Id: I6ce07fd3a11cd62a3a01ba4ee7c424b839a62757
Closes-Bug: #1638994
2016-11-04 16:41:54 +02:00
Li Wei
f8b962b9c8 Correct the order of parameters in assertEqual()
The order of parameters should be assertEqual(expected, actual).

Change-Id: I0815b1d76fd1f8a90ad3d5f08d70fc5cc4e5d7b7
2016-11-04 15:40:21 +08:00
Li Wei
ed59f6bd1a Use cors.set_defaults instead of cfg.set_defaults
Cors has been added setdefaults method, just use it.
Related link:
https://review.openstack.org/#/c/285368/

Change-Id: I26e1ecdf4a92ab55eeb794a0df7ba6a323f9141a
2016-11-04 14:48:51 +08:00
Rodrigo Barbieri
3f6fb58810 Fix missing 'migration_completing' task state
For driver-assisted migration, 'migration_completing' task state
was not being set when accepting migration-complete requests.

APIImpact

Change-Id: Ie0ccd587232a4a8007c45d855f0f575a30b881b2
Closes-bug: #1638896
2016-11-03 10:14:16 -02:00
OpenStack Proposal Bot
08285a764d Updated from global requirements
Change-Id: Idd8b0051f1b4f0543a5b7f8f54d24b5e0e25e199
2016-11-02 21:54:33 +00:00
Jenkins
ef91e54df4 Merge "[Tempest] Fix visibility of test_quotas.py module" 2016-11-02 20:02:18 +00:00
Valeriy Ponomaryov
11b38f3188 Add support of endpoint_type and region_name to clients manila uses
Since change [1] it is impossible to set endpoint_type and region_name
for nova, cinder and neutron clients that are used by manila in some
cases.
So, to fix it, add additional options called 'endpoint_type' and
'region_name' for each of config groups related to these clients.
These options can be defined in appropriate config group as following:

[nova]
endpoint_type = publicURL
region_name = SomeRegionName

[cinder]
endpoint_type = internalURL
region_name = SomeRegionName

[neutron]
endpoint_type = adminURL
region_name = SomeRegionName

[1] Ic211a11308a3295409467efd88bff413482ee58d

Change-Id: I6be0e77bbc0e4b1e9905eba7a7b48ff540e9e377
Closes-Bug: #1633454
2016-11-02 18:14:04 +02:00
OpenStack Proposal Bot
b442ee349a Updated from global requirements
Change-Id: I8b2078292034d425e5c022df4220c63d0d2c339a
2016-11-02 03:35:06 +00:00
Jenkins
6d7b758f5a Merge "Clarify language in release notes" 2016-11-01 15:37:13 +00:00
Jenkins
2ac0077041 Merge "Remove broken modindex link from devref" 2016-11-01 15:37:06 +00:00
Jenkins
6cd83cd148 Merge "Fix concurrency issues in container driver" 2016-11-01 15:00:32 +00:00
Jenkins
63423ec0f7 Merge "Fix a typo" 2016-11-01 13:38:21 +00:00
Valeriy Ponomaryov
4475a5ca00 [Tempest] Fix visibility of test_quotas.py module
Commit [1] added wrong decorator to test class located in
"manila_tempest_tests/tests/api/test_quotas.py" module that
made it invisible for tempest.

It should be "ddt.ddt" instead of "ddt.data" as it is now.

Also, fix negative quota tests that were testing wrong thing.
It should have been testing "quota-sets" and "os-quota-sets", not
"services" and "os-services" as it is now.

[1] I82f00114db985b4b3bf4db0a64191559508ac600

Change-Id: Ie0eb7d32b7b032ffdb7f7dd47f68841211e7d7a6
Closes-Bug: #1635588
2016-11-01 13:17:20 +02:00
Jenkins
5d8257cabd Merge "Remove warnings for dropped context arguments" 2016-11-01 11:17:03 +00:00
zengyingzhe
90f6b6cc86 Fix a typo
TrivialFix

Change-Id: Ie8a4f21c902f5081823c28c5eb4b8cc975a3397c
2016-11-01 11:20:39 +08:00
Jenkins
78e500c52b Merge "NetApp cDOT driver enhanced support logging" 2016-10-31 18:56:36 +00:00
Goutham Pacha Ravi
cdb1422fe1 Remove broken modindex link from devref
It was pointed out by the Docs team that we have
one unresolved link [1] in our devref.

Let's torch it with fire.

[1] http://lists.openstack.org/pipermail/openstack-docs/2016-October/009274.html

TrivialFix

Change-Id: Ie73890c8d6db816d8ddd582f1bcefc5cddab21d8
2016-10-30 17:30:59 -04:00
Goutham Pacha Ravi
0b5125d285 Clarify language in release notes
The end results aren't entirely pretty:
http://docs.openstack.org/releasenotes/manila/newton.html

Having these instructions may help developers and reviewers.

Change-Id: Ibfe6a0850cff72968d2917f0ceae0e70afa21625
2016-10-28 06:22:31 +00:00
OpenStack Proposal Bot
68cb027873 Updated from global requirements
Change-Id: Ida1ac4b9102c2032d6c44e50897f869674ede2d6
2016-10-27 12:15:27 +00:00
Arne Wiebalck
38c1eaede5 Remove warnings for dropped context arguments
This patch removes the warning messages for dropped arguments upon
context setup. They are of limited use and dropping them should
increase the readability of the logs.

Change-Id: I8003dd576a575be4d87e69ef5459009eeb15fabe
Closes-Bug: #1607444
2016-10-26 22:52:36 +02:00
Clinton Knight
04686f2d18 NetApp cDOT driver enhanced support logging
The NetApp cDOT driver logs some info about OpenStack deployments
already, and more info is needed about the specific storage
resources managed by Manila.

Implements: blueprint netapp-cdot-enhanced-support-logging
Change-Id: I8e4f81b3f1291e3c88fc88ab71ac93a415990ee3
2016-10-25 10:10:30 +00:00
Jenkins
44ce1d4d29 Merge "Fix a typo in parameters.yaml" 2016-10-24 07:31:16 +00:00
zhongjun2
1370902302 Add utility of boolean value parser
We parse the boolean value from string in dict with identical
logic in different areas, it's reasonable to add an util function
to cover this.

Change-Id: Id54029e2e4a0dd2f2093e6ef2583a9cada84c540
2016-10-21 17:47:11 +08:00
Jenkins
ebc7f0541c Merge "Remove unused functions in utils" 2016-10-21 05:49:42 +00:00
Alexey Ovchinnikov
a915b75d00 Fix concurrency issues in container driver
Previously container driver failed in concurrent environments
deleting shares and share servers.
Fix it by adding shared external lock.

Change-Id: I543fd1226b3d99e06c736f4d925991d0bda7ea6d
Closes-Bug: 1613676
2016-10-20 14:52:50 +03:00
OpenStack Proposal Bot
b9b3b96249 Updated from global requirements
Change-Id: If586508e8753144ee9c83eb7ca7824acf98fd6d2
2016-10-19 17:39:37 +00:00
Jenkins
45c2640e7f Merge "[Grenade] Update devstack and pre_test_hook" 2016-10-19 17:24:31 +00:00
Jenkins
1cd59f2461 Merge "Fix huawei driver username/password encoding bug" 2016-10-19 12:45:46 +00:00
ChangBo Guo(gcb)
6dccb17ace Remove unused functions in utils
Change-Id: I83057f5bcb61c566407f11c6f5304de05455a563
2016-10-19 20:45:34 +08:00
Valeriy Ponomaryov
5be1e8f3d3 [Grenade] Update devstack and pre_test_hook
Make devstack grenade code use 'newton' as base branch for migration to
master (ocata).
After switch [1] to dummy driver we need to override defaults.
So, update pre_test_hook approach for saving configuration data properly.

[1] I2b698f69a29ef983b13534b2f4d393570be4dac8

Change-Id: Ie5fa0f78b0e3caa06d34a0822a8ed60b69406f9d
Closes-Bug: #1631412
2016-10-17 13:42:26 +03:00
melissaml
319f016fde Fix a typo in parameters.yaml
Removed redundant 'is'.

TrivialFix

Change-Id: Iae1e3c1914a0439b93db62e8c86e25c8b3980c15
2016-10-14 22:16:11 +08:00