6447 Commits

Author SHA1 Message Date
Jenkins
141bcf786e Merge "Change wording of short description" 2013-10-17 12:33:37 +00:00
Jenkins
58c1959fcf Merge "Remove unused manila.compute.aggregate_states" 2013-10-17 08:10:47 +00:00
Mark McLoughlin
f272ce5b11 Remove unused manila.compute.aggregate_states
This appears to be unused.

Change-Id: Id8bc376d9ea4f3cebbfde527a2870d529eb74cd8
2013-10-17 07:15:12 +01:00
Mark McLoughlin
ae0263e849 Remove obsolete redhat-eventlet.patch
See I62ce43a330d7ae94eda4c7498782a655e63747fa for the gorey details on
why this exists.

As of this fix:

  https://github.com/eventlet/eventlet/pull/34

which was released in eventlet 0.13, we no longer need the patch.

This has now been removed from oslo-incubator, so this is really just
syncing that removal.

Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353
2013-10-17 07:11:52 +01:00
Andrei V. Ostapenko
54ee1b2aaa Added per user-tenant quota support
Added per user-tenant quota support.
Added user-quotas extension, that turns on user quota support if it is
loaded.
Added force parameter, that lets to ignore check if admin want to
force update when run 'manila quota-update'
Added 'extended-quotas' extension that has provides ability for admins
to be able to delete a non-default quota (absolute limit) for a
tenant, so that tenant's quota will revert back to the configured default,
and makes the force parameter always be passed if the client wants
to set the new quota lower than what is already used and reserved.
Added user quota support to db.api, sqlalchemy.api, sqlalchemy.models.
Added migrations for user quota support.

Implement bp: user-quota-support

Change-Id: Ifb8f8a041c2fa54e2ed3a8219e87607b161438ca
2013-10-16 14:14:02 +03:00
Monty Taylor
58e2867192 Change wording of short description
It's important to keep the language very specific for trademark reasons.

Change-Id: I147d0c56339099bb0bd602700fe57b67975efc36
2013-10-15 19:45:32 -03:00
Andrei V. Ostapenko
3f24fee218 Removing deprecated using of flags module from project
Moving file flags.py to manila/common/config.py,
replacing FLAGS by CONF. Rename modules fake_flags to conf_fixture,
test_flags to test_conf, declare_flags to declare_conf,
runtime_flags to runtime_conf like it was done in cinder, nova, glance etc.

Implement bp: use-oslo-conf

Change-Id: I38d869123e5e706d3b06f1844b97ead05e22668f
2013-10-07 13:17:27 +03:00
Yulia Portnova
a2b6193e0b Fixed share size validation while creating from snapshot.
Fixes bug 1233755

Change-Id: Ie8689ccc5c3094d8a5303e3cafe842c0f3b964f3
2013-10-02 12:33:09 +03:00
Jenkins
cd6b68fa7e Merge "Fixed xml response for share snapshot." 2013-10-01 14:33:54 +00:00
119Vik
c902da7256 Fixed xml response for share snapshot.
For now xml response for snapshots show/list isn't
full. Snapshot xml template was updated to make
response full.

Change-Id: I4d94d06213a539cdf6c876c6a2560fd63ff1957d
2013-10-01 08:58:48 -04:00
Jenkins
a017b97e5e Merge "Added share size checking if creating from snapshot" 2013-10-01 12:53:33 +00:00
Jenkins
d47e7f9e83 Merge "Fixed values passed to share_rpcapi.create_share." 2013-10-01 10:44:51 +00:00
Yulia Portnova
6e69c9753c Added share size checking if creating from snapshot
Fixes bug 1231974

Change-Id: I3148586de47a2474fdae288efb3adefd401f4552
2013-10-01 13:43:27 +03:00
Yulia Portnova
6dcaa7bdc0 Fixed values passed to share_rpcapi.create_share.
Values passed to share_rpcapi.create_share were in incorrect order.

Fixed bug 1232126

Change-Id: Icaa9dcaea9d0ee7f325620380180994ce4e838dc
2013-10-01 10:58:02 +03:00
Monty Taylor
bbd21eb4cc Remove d2to1 dependency
Change-Id: I9e91070e61e00cbc7d99ff223e85c3c371f60566
2013-09-30 10:48:26 -04:00
Jenkins
9eb5e22d23 Merge "Fixed policy check for manila api." 2013-09-27 16:44:35 +00:00
Jenkins
208f51a6de Merge "Update functionality implementation for manila api." 2013-09-27 13:09:40 +00:00
119Vik
d36f1f0c92 Update functionality implementation for manila api.
Currently manila api has no update functionality for
shares and snapshots. Update functionality added
to api and covered with unittests.

Change-Id: Ie11d3d822e7c8b3a83e66aca5989d3fc1605b0ba
Implements: blueprint share-update-feature
2013-09-27 07:38:58 -04:00
119Vik
70c5541da2 Fixed policy check for manila api.
Change-Id: I92e19cbfc1af5e7849151425fc12aa96479de7d3
2013-09-26 06:23:17 -04:00
Jenkins
6feae392a0 Merge "Update README with relevant Manila information." 2013-09-25 13:07:40 +00:00
Jenkins
15dce88cb9 Merge "Fix xml response content for share list/show" 2013-09-25 13:01:23 +00:00
Jenkins
fd3452a2e1 Merge "Check policy implementation for shares api." 2013-09-25 13:01:23 +00:00
119Vik
14301ca01e Added XML serialization for access actions
Resources related to share access management hasn't xml
serrialisation so it returns incorrect response for xml
requests. XML temptates constructors added to
share_actions.py ato solve this problem

Change-Id: Ie76e768fc696c15dac4f18757ffcfe84335e04ce
2013-09-25 05:03:14 -04:00
119Vik
e034341982 Check policy implementation for shares api.
At this moment shares api don't check policy for
most actions. Special check policy decorator added
for necessary methods at api.py, to solve this problem.

Change-Id: I253bda9cf3219343779d62d67fd0386a7c2f3b05
Fixes: Bug#1223375
2013-09-25 04:55:59 -04:00
Vijay Bellur
b5c58d8c0b Update README with relevant Manila information.
Change-Id: I3cce6498ff6aa9c6a8a1395d2703a92daaf04c81
2013-09-25 09:46:44 +05:30
119Vik
5d610c2d83 Fix xml response content for share list/show
For now manila list and manila show requests return
limited data for xml version. make_share method in
shares.py updated to avoid data limiting during xml
serialization.

Change-Id: I9b241f02e1bbf46f876f235df4ce052490b8aeab
2013-09-24 10:47:50 -04:00
Yulia Portnova
36adea3b26 Add .gitreview file.
Change-Id: I895c6c4c897488e6aef5e60215e7abfd2f65fc90
2013-09-24 12:10:01 +00:00
Yulia Portnova
36a0e447a1 Unittests failure fix
Changed test.integrated.test_login.
Modified policay.json
Implemented FakeShareDriver

Fixes bug 1229634

Change-Id: I7485c3695e209d4314d3a8b197dbffbb49d9e0d2
2013-09-24 15:05:14 +03:00
Yulia Portnova
cfe530f114 Fixed snapshot_id None for share 2013-09-19 11:56:07 +03:00
Yulia Portnova
6736d36bd6 Quota releasing on snapshot deleting bug fixed. 2013-09-19 11:17:13 +03:00
Yulia Portnova
a0ed749e13 Fixed absolute limits. 2013-09-18 17:19:49 +03:00
Yulia Portnova
27b3074627 fixed pep8 2013-09-18 15:30:22 +03:00
Yulia Portnova
5d8c002f23 Stubed driver do_setup in start_service 2013-09-18 12:34:06 +03:00
Yulia Portnova
83f2482cae Quota tests fixed 2013-09-17 16:03:26 +03:00
Yulia Portnova
4cdec7dda8 removed egg-info 2013-09-17 12:28:01 +03:00
ubu
9a68e91f9e modified conf sample 2013-09-17 05:24:40 -04:00
Yulia Portnova
894157512d modified docs 2013-09-17 12:21:17 +03:00
Yulia Portnova
9169fc311e docs 2013-09-17 10:57:47 +03:00
Yulia Portnova
901d841a23 snapshot view, size added 2013-09-16 16:36:35 +03:00
Yulia Portnova
d20f8e92ab quotas for snapshot 2013-09-16 16:13:44 +03:00
Yulia Portnova
6026fc0244 fixed api error 2013-09-16 10:53:59 +03:00
Yulia Portnova
b3091cc076 snapshot size 2013-09-16 10:52:08 +03:00
119Vik
aac5b4374a Merge branch 'cinder-to-manila' of github.com:bswartz/manila into cinder-to-manila 2013-09-12 15:58:16 +03:00
119Vik
86bc890f3b fixed TYPO 2013-09-12 15:58:01 +03:00
Yulia Portnova
69f3128dbc Access create empty boy fix 2013-09-12 15:48:14 +03:00
Yulia Portnova
c115b5843b User cannot delete snapshot fix 2013-09-12 15:48:10 +03:00
Yulia Portnova
2e2491c97e Can not delete share with error status fixed 2013-09-12 15:48:05 +03:00
119Vik
19e557f29d Merge branch '119vik/bugfix' into cinder-to-manila 2013-09-12 15:12:28 +03:00
119Vik
52cd007ad5 response status for share with snapshot delete request - fixed. 2013-09-12 12:39:35 +03:00
119Vik
a2c5ae0ed0 fixed null value validation for snapshot id 2013-09-12 12:22:55 +03:00