Commit Graph

3866 Commits

Author SHA1 Message Date
Tony Breeds 49d1557b47 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I1a2d40e203a0069adbb9ae7cf5b93ef3f29900f3
2017-09-12 15:40:43 -06:00
Jenkins 7a979c2f1b Merge "Update location of dynamic creds in tempest tests" 2017-07-25 12:00:02 +00:00
Jenkins 7ea8b5d7b5 Merge "Provide filter name in user messages" 2017-07-24 15:07:42 +00:00
Jenkins b360a2475c Merge "NetApp cDOT: Add support for QoS/throughput ceilings" 2017-07-24 13:22:40 +00:00
Raissa Sarmento 07fb60155f Update location of dynamic creds in tempest tests
Tempest is migrating their dynamic credentials interface to tempest
lib as part of the effort to create stable interfaces. [0] We will
need to update its location in our code to conform with it.

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-July/119934.html

Depends-On: Id8d60e4d7c22bc72c3e48bc768509ff0cc0c89d5

Change-Id: Iaa6bf908ff5d63cbbfddc7060594818c66ce607c
2017-07-24 12:57:06 +01:00
Jan Provaznik 220cdfbd9f Provide filter name in user messages
Filtering issues are most common when creating a share. User messages
now keep information which was the last executed filter if hosts
filtering failed.

DocImpact
Partially-implements: blueprint user-messages

Change-Id: I9ce096eebda3249687268e361b7141dea4032b57
2017-07-24 11:11:06 +00:00
Goutham Pacha Ravi 10395c9aea NetApp cDOT: Add support for QoS/throughput ceilings
ONTAP supports assigning QoS policy groups to storage
objects and workloads. [1]

Expose this functionality through the ONTAP manila
drivers (DHSS=True/False, NFS, CIFS).

The drivers will set the capability "qos" to True if the
configured credentials have access to create qos policy
groups on the configured ONTAP backend. When 'qos'
extra-spec is set in share types, scoped extra-specs can
be used to specify QoS ceiling values in iops or bps.

The drivers support the following QoS specs:
'netapp:maxiops', 'netapp:maxiopspergib', 'netapp:maxbps',
'netapp:maxbpspergib'. Policies are created on-demand
and manipulated as and when shares are manipulated
through manila.

[1] http://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-perf-mon%2FGUID-38357C43-FB36-419D-B31F-6FD75B47254D.html

Implements: blueprint netapp-cdot-qos
Change-Id: I6f82c012ea60cfb1e9f82a696e2346ee95c60df3
2017-07-23 16:44:08 -04:00
OpenStack Proposal Bot 1b6ba7dc62 Updated from global requirements
Change-Id: I5e01dccd5eda3124cd42bb809fc03fd37c6016c7
2017-07-23 19:00:09 +00:00
Jenkins ec8370e2d6 Merge "Extend usage of user messages" 2017-07-22 23:42:08 +00:00
Jenkins c81793d7bb Merge "NetApp: Define 'preferred' to False instead of none" 2017-07-20 18:50:17 +00:00
Jenkins dde7b13af4 Merge "Updated from global requirements" 2017-07-20 17:42:19 +00:00
Jenkins c34ad67936 Merge "Add quotas per share type" 2017-07-20 17:06:52 +00:00
Dave Hill 4573826d36 NetApp: Define 'preferred' to False instead of none
Define preferred to false instead of none in the NetApp driver
as setting it to none will trigger a traceback later on because
the database doesn't allow null values to be inserted.
"preferred" export location metadata must be set to true or
false.  warning logging is also added to the SQLAlchemy API
if a none value is used to update the export location metadata.

Change-Id: Ie7420c9286cc42eaa1361eeffe607b9b5b6b3fbd
Closes-Bug: 1703660
2017-07-20 09:26:16 -04:00
OpenStack Proposal Bot 48b88b0389 Updated from global requirements
Change-Id: Id2c097904c96cade2e8ad8afe5dc748c985165ad
2017-07-20 13:16:22 +00:00
Jenkins faefba17d0 Merge "Allow 2 or more export IPs for LVM driver" 2017-07-20 05:40:05 +00:00
Jenkins cc6775d594 Merge "Disable notifications" 2017-07-20 01:25:53 +00:00
Jenkins f87d9b3519 Merge "NetApp cDOT: Fix share specs on migration" 2017-07-20 00:18:54 +00:00
Jenkins a8a493c299 Merge "Fix deprecated options version" 2017-07-19 18:37:22 +00:00
Valeriy Ponomaryov 05c42ecf70 Add quotas per share type
With this feature it will be possible to set quotas per share type
for all existing quota resources. It is useful for deployments with
multiple backends that are accessible via different share types.

Also, fix one of existing DB migrations that hangs on PostgreSQL.

APIImpact
DocImpact
Implements blueprint support-quotas-per-share-type
Change-Id: I8472418c2eb363cf5a76c672c7fdea72f21e4f63
2017-07-19 17:29:04 +03:00
Jenkins b61f46452c Merge "Add user messages periodic cleanup task" 2017-07-19 14:03:27 +00:00
Tom Barron a9d5d8301f Fix deprecated options version
When old coordination options were deprecated [1]
the wrong release version for manila Pike was used,
so fix this.

TrivialFix

[1] I86ef7a092a3ab7fd0a90ab664b7f9f62a275901b

Change-Id: I245ddd52894e37d9fd3c968e05550a2aa7fc2180
2017-07-19 08:12:55 -04:00
Luong Anh Tuan 4d3b9c6774 Replace test.attr with decorators.attr
Function 'tempest.test.attr()' has moved to 'tempest.lib.decorators
.attr()' in Pike and will be removed in a future version.
This patch replaces the 'tempest.test.attr()' with the 'tempest.lib
.decorators.attr().'

Change-Id: I672fbce15ea9b70d977eb0073426c394a1318b86
2017-07-19 08:24:12 +00:00
Jenkins fda6de272e Merge "Fix grammatical mistake, Changed character from "a" to "an"" 2017-07-19 03:05:44 +00:00
Jenkins 45786b392a Merge "Updated from global requirements" 2017-07-19 01:09:35 +00:00
Jenkins d3d6fc04e7 Merge "Added like filter in api-ref" 2017-07-19 00:56:02 +00:00
Ben Swartzlander 3755978ef7 Allow 2 or more export IPs for LVM driver
Supporting dual IPv4/IPv6 backends will eventually require
multi-IP support in the first party backends. This change
enables multi-IP support (IPv4-only currently) in the LVM
driver.

Change-Id: Ib3594aa5d7751c829820fce830d87f6ceea6b049
Partial-Implements: blueprint support-ipv6-access
2017-07-18 16:05:27 -04:00
OpenStack Proposal Bot f603ee79e5 Updated from global requirements
Change-Id: I51e6b754f37a09c09a60e9a7fb51d3c9721f1d9f
2017-07-18 19:36:00 +00:00
Jenkins 6a9b665b5c Merge "Enable IPv6 in manila(allow access)" 2017-07-18 14:50:45 +00:00
Jenkins 0ebb762c0c Merge "Update the documentation link for doc migration" 2017-07-17 15:58:25 +00:00
Victoria Martinez de la Cruz e745fb7a8f Disable notifications
As part of the manila-telemetry integration work
we are now triggering notifications for several
events. We should provide a way to disable those.

In this patch-set we define a decorator that can be
used to change the behavior of those classes used
to emit notification.

Partially-Implements: bp ceilometer-integration

Change-Id: I806e0133e9fe3ad5cc35ad1e000e5ca61ff3b8ca
2017-07-17 12:45:11 -03:00
Jan Provaznik c547604ed1 Add user messages periodic cleanup task
Adds a task to manila-scheduler service which periodically (once per day
by default) cleans up expired user messages. In user messages spec I
preferred doing this cleanup by a "manila-manage" command invoked by
user. But because it would mean another task management for admin and
because cinder uses periodic task too, I diverged from the spec.

Change-Id: If0ba2383d4d7eaca4dee8a0d39f39c5481bfbfdd
Partially-Implements: bp user-messages
2017-07-17 07:53:19 +02:00
zhongjun a8268829f9 Added like filter in api-ref
Change-Id: I704591446cd5f6ad2293c5a18eccf5412d487baf
2017-07-17 03:25:22 +00:00
zhongjun 031dd4b335 Enable IPv6 in manila(allow access)
Please read spec for design detail [1].

Add support to validate IPv6 based addresses
in allow access API when access type is IP.

[1] f7202a6cfe32a057f752a4e393f848f8a0211c36

APIImpact
DocImpact

Change-Id: Ica242007e77a7e21b2151e5fc32401b501d961b2
Partial-Implements: blueprint support-ipv6-access
2017-07-17 09:44:41 +08:00
Goutham Pacha Ravi 96a037fb67 NetApp cDOT: Fix share specs on migration
Administrators may request to change the share type
during a migration, and if optimized migration
is possible, the driver must set the required
specs on the destination.

Change-Id: I11498058a3c80c8bd26be9d0bbf0459b4b2b2108
Closes-Bug: #1704622
2017-07-16 05:15:19 -04:00
OpenStack Proposal Bot 93f4e862b0 Updated from global requirements
Change-Id: If9e844ae2eae2a4243d01003ced7f997c15c8dde
2017-07-15 11:57:18 +00:00
Jenkins e2acd43198 Merge "User Messages" 2017-07-15 05:47:43 +00:00
OpenStack Proposal Bot fbe5fcdc73 Updated from global requirements
Change-Id: I1bd02c98c7c11fd06343b66d430adc139839a49b
2017-07-14 15:42:11 +00:00
Jenkins 7ddeb58866 Merge "Update URL home-page in documents according to document migration" 2017-07-14 13:59:32 +00:00
Jenkins de2ad84bf0 Merge "VMAX VNX Manila - Refactor VMAX and VNX to use common code" 2017-07-14 13:58:30 +00:00
chenxing 082159cc54 Update the documentation link for doc migration
Change-Id: I0b4e59c9e2ad0375cdb6aae5369a7b43978c3d69
2017-07-14 07:27:16 +00:00
yanghuichan 1985790eb1 Fix grammatical mistake, Changed character from "a" to "an"
Change-Id: Idbf80945316a15c3fc2993a78bd6d4e2f5ec03fe
2017-07-14 13:39:26 +08:00
Luong Anh Tuan 7e49aa4690 Update URL home-page in documents according to document migration
Change-Id: I87b52e28d810939ee30f8eca52447ce3ea84f07e
2017-07-14 03:20:44 +00:00
Jenkins 5de85eef0e Merge "Fix inappropriate parameters" 2017-07-13 11:33:50 +00:00
Jan Provaznik 360474974d Extend usage of user messages
Instead of creating a user message only from scheduler during
resource creation, a message is created directly by share manager
which allows more detailed error reporting.

Partially-implements: blueprint user-messages

Change-Id: Ic7d25a144905a39c56ababe8bd666b01bc0d0aef
2017-07-13 13:14:13 +02:00
Alex Meade dd630c3929 User Messages
For quite some time, OpenStack services have wanted to be able to send
messages to API end users (by user I do not mean the operator, but the
user that is interacting with the client).

This patch implements basic user messages with the following APIs.
GET /messages
GET /messages/<message_id>
DELETE /messages/<message_id>

Implements the basic /messages resource and tempest tests
The patch is aligned with related cinder patch where possible:
I8a635a07ed6ff93ccb71df8c404c927d1ecef005

DocImpact
APIImpact

Needed-By: I5ffb840a271c518f62ee1accfd8e20a97f45594d
Needed-By: I9ce096eebda3249687268e361b7141dea4032b57
Needed-By: Ic7d25a144905a39c56ababe8bd666b01bc0d0aef

Partially-implements: blueprint user-messages
Co-Authored-By: Jan Provaznik <jprovazn@redhat.com>
Change-Id: Ia0cc524e0bfb2ca5e495e575e17e9911c746690b
2017-07-13 13:05:57 +02:00
zhongjun dadf6efea2 Add prefix 'test' to test name in test_shares
TrivialFix
Change-Id: I5fdf6d89d0b6c7fa182ddfaac60989bc6c0fc2a6
2017-07-13 15:03:39 +08:00
Jenkins 02e79edb9b Merge "Add like filter" 2017-07-13 04:25:18 +00:00
zhangdaolong 932847b644 Fix inappropriate parameters
It's easy to misunderstand for using attachment_id.

Change-Id: I3bd3b96d721fe82a37b41d98d4d3d0ab59178f06
2017-07-13 10:04:04 +08:00
Helen Walsh 3898748433 VMAX VNX Manila - Refactor VMAX and VNX to use common code
A large portion of VMAX and VNX manila is common code.
Refactoring for neatness and maintainability

Change-Id: Ib74feeb0e01df9cb1e9d51b4897675562986b7f6
Closes-Bug: #1688605
2017-07-12 10:29:24 +01:00
Thomas Bechtold f0f78b84c7 Allow docs build without git
When build packages from sdist tarballs, git is not available. So
allow building the documentation without git.

Change-Id: I2e65c7eb6da2f87d97b8eae9fb7411de66416739
2017-07-11 13:55:19 +02:00