1
commit b36b36817958f5fd07fd55df6a68cf79c85dd31e
3
Author: Jenkins <jenkins@review.openstack.org>
4
Date: Thu Sep 20 08:24:01 2012 +0000
6
Merge "Fix bugs in resource tracker and cleanup" into milestone-proposed
8
commit 5ff1a664bd588451c9979f25cfab9bee4f742586
10
Author: Jenkins <jenkins@review.openstack.org>
11
Date: Thu Sep 20 06:07:43 2012 +0000
13
Merge "Properly create and delete Aggregates" into milestone-proposed
15
commit bf10eada9eae0ccf04ce0501b4f92859ee163f4c
16
Merge: a9a085a f8f4522
17
Author: Jenkins <jenkins@review.openstack.org>
18
Date: Thu Sep 20 05:57:20 2012 +0000
20
Merge "Fix aggregate_hosts.host migration for sqlite" into milestone-proposed
22
commit a9a085afd995444d30f9c033d55676b792279912
23
Merge: c9c1b4e 4802d1b
24
Author: Jenkins <jenkins@review.openstack.org>
25
Date: Thu Sep 20 05:56:00 2012 +0000
27
Merge "Update 'unlimited' quota value to '-1' in db" into milestone-proposed
29
commit c9c1b4e338b4272fe7ca1b10be13cbb4d458c3da
30
Merge: a6380ea 6c1b2d6
31
Author: Jenkins <jenkins@review.openstack.org>
32
Date: Thu Sep 20 05:55:41 2012 +0000
34
Merge "No stack trace on bad nova aggregate-* command" into milestone-proposed
36
commit a6380eaa5f9c84358c753720e966c17af8b4ef07
37
Merge: 210c5e1 b36fa94
38
Author: Jenkins <jenkins@review.openstack.org>
39
Date: Thu Sep 20 05:55:19 2012 +0000
41
Merge "Add lookup by ip via Quantum for metadata service." into milestone-proposed
43
commit 210c5e1c6dfa00ce44b61fd6b6b235a9b657de63
44
Merge: 57ea117 6d08ced
45
Author: Jenkins <jenkins@review.openstack.org>
46
Date: Thu Sep 20 05:50:21 2012 +0000
48
Merge "Don't include auto_assigned ips in usage" into milestone-proposed
50
commit 57ea117d8e0b0c32ac8db60567924992fe955d61
51
Merge: 7418843 7d5a10f
52
Author: Jenkins <jenkins@review.openstack.org>
53
Date: Thu Sep 20 05:50:03 2012 +0000
55
Merge "Fix marker pagination for /servers" into milestone-proposed
57
commit 9d8fce85b10dc6436754040769c779b35453f4cb
58
Author: Brian Elliott <brian.elliott@rackspace.com>
59
Date: Fri Sep 14 15:17:07 2012 +0000
61
Fix bugs in resource tracker and cleanup
63
Fixes bugs in resource tracker:
64
* Handle disk oversubscription
65
* Handle suspended/powered off instances
67
The usage model is changed to the old style that is
68
based on actual instance usage on a compute host.
69
(Not the current point in time of the hypervisor's
72
There is now a 'limits' filter property that can be passed from
73
the scheduler to the compute node to indicate that
74
oversubscription of resources is desired:
76
The 'limits' filter property is a dict with the following possible
79
* memory_mb - Specifies the memory ceiling for the compute node.
80
* disk_gb - Specifies the disk space ceiling for the compute node.
81
* vcpu - Specifies the max number of vcpus for the compute node.
83
There is also some general cleanup and additional unit tests in
84
an attempt to simplify down this function.
89
Change-Id: I6ee851b8c03234a78a64d9f5c494dfc7059cdda4
90
(cherry picked from commit 8e851409f3a8a345ec954a880c81232fbf9e27b4)
92
nova/compute/manager.py | 18 +-
93
nova/compute/resource_tracker.py | 463 +++++++++++++++----------
94
nova/db/sqlalchemy/api.py | 2 -
95
nova/scheduler/filter_scheduler.py | 6 +
96
nova/scheduler/filters/core_filter.py | 6 +
97
nova/scheduler/filters/disk_filter.py | 54 +++
98
nova/scheduler/filters/ram_filter.py | 10 +-
99
nova/scheduler/host_manager.py | 24 +-
100
nova/tests/compute/fake_resource_tracker.py | 3 +-
101
nova/tests/compute/test_compute.py | 147 +++++++-
102
nova/tests/compute/test_resource_tracker.py | 339 ++++++++++++------
103
nova/tests/scheduler/fakes.py | 12 +-
104
nova/tests/scheduler/test_filter_scheduler.py | 6 +-
105
nova/tests/scheduler/test_host_filters.py | 70 +++-
106
nova/tests/scheduler/test_host_manager.py | 18 +-
107
nova/virt/fake.py | 2 +-
108
16 files changed, 813 insertions(+), 367 deletions(-)
110
commit 7418843ef33d0853a06911d0128da63eb24d48f6
111
Merge: 2ff3ccf 47e606a
112
Author: Jenkins <jenkins@review.openstack.org>
113
Date: Thu Sep 20 05:07:04 2012 +0000
115
Merge "Improve error handling of scheduler" into milestone-proposed
117
commit 2ff3ccf1400a123b6ee6621f25ffbb39fb459d3b
118
Merge: 6a8e6e2 d3a532a
119
Author: Jenkins <jenkins@review.openstack.org>
120
Date: Thu Sep 20 03:19:14 2012 +0000
122
Merge "Correct IetAdm remove_iscsi_target" into milestone-proposed
124
commit 6a8e6e20c803cfd1197c6d5993c858d3dac10668
125
Merge: a6e9a96 b6d7f86
126
Author: Jenkins <jenkins@review.openstack.org>
127
Date: Thu Sep 20 03:16:43 2012 +0000
129
Merge "Fix over rate limit error response" into milestone-proposed
131
commit 4802d1b5c327a453997010ef9ce035cc2b257e11
132
Author: vijaya-erukala <vijaya_erukala@persistent.co.in>
133
Date: Tue Sep 18 13:18:38 2012 +0530
135
Update 'unlimited' quota value to '-1' in db
137
Updates quota value to -1 in db rather than None
138
if the user specify the quota limit as "unlimited".
141
Change-Id: I0ec412189ad9630c4a875655294c1e77886108f5
142
(cherry picked from commit 98f782f81863e0ccb67abf53cd331d4d6b5fc7de)
144
bin/nova-manage | 2 +-
145
nova/tests/test_nova_manage.py | 18 ++++++++++++++++++
146
2 files changed, 19 insertions(+), 1 deletion(-)
148
commit 10d94acc4d6d6ce518c941ca78a0d94cdb2827b3
149
Author: Joe Gordon <jogo@cloudscaling.com>
150
Date: Tue Sep 18 23:41:44 2012 +0000
152
Properly create and delete Aggregates
154
* If deleted aggregate with same name exists, ignore it
155
* When delete aggregate, delete metadata as well
156
* Removes aggregates.name unique constraint
160
Change-Id: I430e69367bdedbf65049a5142d137ab788763ae3
161
(cherry picked from commit 852dd4d5cf137c9ec04ad65f7225b86e7a0fdeda)
163
nova/db/sqlalchemy/api.py | 15 +++---
164
.../versions/133_aggregate_delete_fix.py | 48 ++++++++++++++++++++
165
nova/db/sqlalchemy/models.py | 2 +-
166
nova/tests/test_db_api.py | 11 +++++
167
nova/tests/test_migrations.py | 23 ++++++++++
168
5 files changed, 92 insertions(+), 7 deletions(-)
170
commit 6c1b2d6c19193a8b8f89e0fe934762741ef5c777
171
Author: Joe Gordon <jogo@cloudscaling.com>
172
Date: Wed Sep 19 22:27:20 2012 +0000
174
No stack trace on bad nova aggregate-* command
176
When a 'nova aggregate-*; command is run with a bad parameter, Nova-api
177
should not throw a stack trace. For example:
179
'nova aggregate-details badID' shouldn't cause a stack trace
183
Change-Id: Iab6059f44b7cfb5428a2b55cea53d63809d7a575
184
(cherry picked from commit 6ebe7fd5f0c3fbe9b409f643237be837c5266dea)
186
nova/api/openstack/compute/contrib/aggregates.py | 18 +++++++++---------
187
1 file changed, 9 insertions(+), 9 deletions(-)
189
commit b36fa94fc6181cf604cec557ee6fb0b43da3e379
190
Author: Maru Newby <mnewby@internap.com>
191
Date: Tue Sep 18 18:27:26 2012 +0000
193
Add lookup by ip via Quantum for metadata service.
195
* The Nova network API's get_fixed_ip_by_address() is used by the
196
metadata service in determining which instance to return metadata
198
* This change implements support for the function in the Quantum
199
v2 implementation of the network API to ensure that the
200
metadata service can return results when Nova is configured to
202
* Overlapping network spaces are not supported at this time.
203
* Addresses bug 1052196
205
Change-Id: Iaa5d78c4de92313e93ee9008a2c26052a4f60602
206
(cherry picked from commit ef222bfe6f50d5203f83fa9d2e9071969f814c29)
208
nova/exception.py | 5 +++++
209
nova/network/quantumv2/api.py | 28 ++++++++++++++++++-------
210
nova/tests/network/test_quantumv2.py | 38 +++++++++++++++++++++++++++++-----
211
3 files changed, 59 insertions(+), 12 deletions(-)
213
commit a6e9a9664b6fb051f392bd03a87f64ca4441c1d5
214
Author: Yosef Berman <yosef@cloudscaling.com>
215
Date: Tue Sep 11 10:32:47 2012 -0700
217
Added script to find unused config options.
219
The script analyze_opts.py is added to identify unused options
220
and options which are set to default values in the nova.conf file.
222
Change-Id: Iec42781a56f73b7d0960bdd569f5dd06edbb88df
223
(cherry picked from commit c5d724ff577132e8f23fbff61041c86fc94a4f97)
225
tools/conf/README | 13 ++++++-
226
tools/conf/analyze_opts.py | 80 ++++++++++++++++++++++++++++++++++++++++++++
227
2 files changed, 92 insertions(+), 1 deletion(-)
229
commit f8f45223deca6453ca8341b137475bc4190808e7
230
Author: Joe Gordon <jogo@cloudscaling.com>
231
Date: Wed Sep 19 20:54:33 2012 +0000
233
Fix aggregate_hosts.host migration for sqlite
235
* Make sure data is not lost during migration
236
* Changes migration 111_general_aggregates
237
* Adds test for change
241
Change-Id: Idbf0cbd5fdb7758ea1794019807d83d159270cba
242
(cherry picked from commit a5dbdb53da470916248c8ef8715ef6e06dfa1d0f)
244
.../versions/111_general_aggregates.py | 3 +--
245
nova/tests/test_migrations.py | 24 ++++++++++++++++++++
246
2 files changed, 25 insertions(+), 2 deletions(-)
248
commit 6d08ced9b5960504d771073f61da0cb06ee46492
249
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
250
Date: Wed Sep 19 17:20:48 2012 +0100
252
Don't include auto_assigned ips in usage
254
Fix a regression - auto_assigned floating ips should not be included in
255
the quota_usages table.
259
Change-Id: Ifa98a5d44cf2a8a8d4c73b4f56b9615dd74b8383
260
(cherry picked from commit 5d18503be6981ab7e6bbf7743f2ee7505e0c1128)
262
nova/network/api.py | 3 ++-
263
nova/network/manager.py | 22 ++++++++++++++++------
264
nova/tests/test_quota.py | 13 +++++++++++++
265
3 files changed, 31 insertions(+), 7 deletions(-)
267
commit 7d5a10f6f70cf8a9242c5321ff5cfa5746fb37f8
268
Author: Mark Washenberger <mark.washenberger@rackspace.com>
269
Date: Wed Sep 19 18:41:03 2012 +0000
271
Fix marker pagination for /servers
275
Recent changes to pagination required passing in full sqlalchemy objects
276
into paginate_query. However, calls to paginate_query were passing in
279
Change-Id: Ib1396a78a12aef1a9cdc31f3624af30f19da44b5
280
(cherry picked from commit 09b903ed5e3306cf200328f41ce6df371923d03d)
282
nova/api/openstack/compute/servers.py | 11 ++++++++---
283
nova/db/sqlalchemy/api.py | 5 +++++
284
nova/exception.py | 4 ++++
285
nova/tests/api/openstack/fakes.py | 2 +-
286
nova/tests/test_db_api.py | 11 ++++++++---
287
5 files changed, 26 insertions(+), 7 deletions(-)
289
commit 47e606a95a3a6396e30c825cd6ff913613a85b06
290
Author: Vishvananda Ishaya <vishvananda@gmail.com>
291
Date: Mon Sep 17 16:09:41 2012 -0700
293
Improve error handling of scheduler
295
Modifies scheduler errors to report instance faults and to set
296
instance_state back to None on failure.
298
Related to bug 1051066
301
Change-Id: Id9f36a75370849db7baf3fe24ce96c6f4284255d
302
(cherry picked from commit 0cba85cb267994018c8a0d5e40b2ed0b5a7837df)
304
nova/scheduler/manager.py | 69 ++++++++++++++++++--------------
305
nova/tests/scheduler/test_scheduler.py | 41 ++++++++++---------
306
2 files changed, 60 insertions(+), 50 deletions(-)
308
commit d3a532acd2b93ad39eda5a00e939a578461401de
309
Author: MotoKen <motokentsai@gmail.com>
310
Date: Wed Aug 29 14:34:18 2012 +0800
312
Correct IetAdm remove_iscsi_target
314
Remove logical units should be done before delete the target while
315
unexport iSCSI volume. Or ietd will show "No such file or directory"
320
Change-Id: I06ac561898dbcee078c807ea5368c03e558b4fa9
321
(cherry picked from commit b46f224f7555e3065b0daacd101b65d86117f0c1)
323
nova/tests/test_iscsi.py | 4 ++--
324
nova/volume/iscsi.py | 2 +-
325
2 files changed, 3 insertions(+), 3 deletions(-)
327
commit b6d7f869174a056cfe3addb12c51a92a8b78d71e
328
Author: Ripal Nathuji <ripal.nathuji@calxeda.com>
329
Date: Tue Sep 18 09:33:04 2012 -0500
331
Fix over rate limit error response
335
Changing overLimitFault element in response to overLimit and setting
336
the returned Content-Type appropriately. Also adding retryAfter
337
attribute to provide the same information as the Retry-after header.
339
Change-Id: I8c32fe7075b918afa62da3f84f1d3b35315e2b9b
340
(cherry picked from commit e8c37d13eac37210bc34b4ca99e4539c67457120)
342
nova/api/openstack/wsgi.py | 6 ++++--
343
nova/tests/api/openstack/compute/test_limits.py | 10 +++++++++-
344
2 files changed, 13 insertions(+), 3 deletions(-)
346
commit d23cac1a769e3928a85d40e056f5cd41a9731f4a
347
Author: Mate Lakat <mate.lakat@citrix.com>
348
Date: Tue Sep 11 16:53:05 2012 +0100
350
xapi: fix create hypervisor pool
354
Fixing problems with the rpc api when creating hypervisor pools with
355
xenapi. Rpc calls were not using the compute_rpcapi approach, thus were
356
not properly versioned. Apart from that, the slave parameters were not
357
forwarded to the master. A new (2.2) version is introduced where the rpc
358
calls have the slave_info payload. Added tests to cover the pool cases.
359
Some trivial extract methods performed on pool, to decouple the pool
360
functionality from its dependencies.
362
Change-Id: Ie44a1c09ef204affc4a657c71557691e83b22c22
363
(cherry picked from commit b8b46cbd6c06cb4979fa2f443892a2a1d60cc7bb)
365
nova/compute/manager.py | 13 ++--
366
nova/compute/rpcapi.py | 22 ++++--
367
nova/tests/compute/test_compute.py | 31 +++++++-
368
nova/tests/compute/test_rpcapi.py | 5 +-
369
nova/tests/test_xenapi.py | 140 +++++++++++++++++++++++++++++++++---
370
nova/virt/xenapi/pool.py | 88 ++++++++++++-----------
371
6 files changed, 235 insertions(+), 64 deletions(-)
373
commit 292a5e5abd0cd3f6d1b30b4513a0bd1f22cefa1b
374
Author: Thierry Carrez <thierry@openstack.org>
375
Date: Wed Sep 19 08:35:14 2012 +0200
377
Mark 2012.2 final in prep for RC1
379
Mark 2012.2 Final=True as we prepare to publish Nova Folsom RC1
381
Change-Id: I72731bded164aeec3c7e47f6bfe44fb219a9ea56
383
nova/version.py | 2 +-
384
1 file changed, 1 insertion(+), 1 deletion(-)
386
commit a5dc49c1e2d3173a0d336beb260bacad7441d99a
387
Merge: 0d5e193 b01ec80
388
Author: Jenkins <jenkins@review.openstack.org>
389
Date: Wed Sep 19 05:30:18 2012 +0000
391
Merge "Re-attach volumes after instance resize"
393
commit 0d5e193e707187d6d942c75e95a5c760e3b95e85
394
Merge: 99eb2cb 894ea49
395
Author: Jenkins <jenkins@review.openstack.org>
396
Date: Wed Sep 19 05:00:22 2012 +0000
398
Merge "Add Keypairs extension to API samples test."
400
commit 99eb2cb5d9ace086935ed9f164325463f8f69be2
401
Merge: 0ffff7c 6f2010c
402
Author: Jenkins <jenkins@review.openstack.org>
403
Date: Wed Sep 19 04:55:58 2012 +0000
405
Merge "Fix race condition in CacheConcurrencyTestCase"
407
commit 894ea491ddaee1530f429165c5819cecd5167c77
408
Author: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
409
Date: Mon Sep 10 09:14:40 2012 -0400
411
Add Keypairs extension to API samples test.
413
NOTE: This include two samples of post request: One to create the keypair and
414
another to import from a public key
416
Change-Id: I754fd5998cf8be46a96e69e3459c91d4f767575e
418
doc/api_samples/os-keypairs/keypairs-get-resp.json | 11 ++++
419
doc/api_samples/os-keypairs/keypairs-get-resp.xml | 9 +++
420
.../os-keypairs/keypairs-import-post-req.json | 6 ++
421
.../os-keypairs/keypairs-import-post-req.xml | 4 ++
422
.../os-keypairs/keypairs-import-post-resp.json | 8 +++
423
.../os-keypairs/keypairs-import-post-resp.xml | 7 +++
424
doc/api_samples/os-keypairs/keypairs-post-req.json | 5 ++
425
doc/api_samples/os-keypairs/keypairs-post-req.xml | 3 +
426
.../os-keypairs/keypairs-post-resp.json | 9 +++
427
doc/api_samples/os-keypairs/keypairs-post-resp.xml | 24 ++++++++
428
.../os-keypairs/keypairs-get-resp.json.tpl | 11 ++++
429
.../os-keypairs/keypairs-get-resp.xml.tpl | 9 +++
430
.../os-keypairs/keypairs-import-post-req.json.tpl | 6 ++
431
.../os-keypairs/keypairs-import-post-req.xml.tpl | 4 ++
432
.../os-keypairs/keypairs-import-post-resp.json.tpl | 8 +++
433
.../os-keypairs/keypairs-import-post-resp.xml.tpl | 7 +++
434
.../os-keypairs/keypairs-post-req.json.tpl | 5 ++
435
.../os-keypairs/keypairs-post-req.xml.tpl | 3 +
436
.../os-keypairs/keypairs-post-resp.json.tpl | 9 +++
437
.../os-keypairs/keypairs-post-resp.xml.tpl | 9 +++
438
nova/tests/integrated/test_api_samples.py | 58 ++++++++++++++++++++
439
21 files changed, 215 insertions(+)
441
commit 0ffff7c490d54f9b932df4b2dcd62158242dae2a
442
Merge: 5a349b8 f4906f0
443
Author: Jenkins <jenkins@review.openstack.org>
444
Date: Wed Sep 19 00:25:59 2012 +0000
446
Merge "Raise BadRequest while creating server with invalid personality"
448
commit 5a349b82fc62c5bde0f93a25df8acfe9474bd3fd
449
Merge: ab03a6c 5d46d3f
450
Author: Jenkins <jenkins@review.openstack.org>
451
Date: Wed Sep 19 00:25:35 2012 +0000
453
Merge "make ensure_default_security_group() call sgh"
455
commit ab03a6c7fcee9afa3b53991811d0345933422287
456
Merge: 0de73a0 28e6abf
457
Author: Jenkins <jenkins@review.openstack.org>
458
Date: Wed Sep 19 00:25:14 2012 +0000
460
Merge "Update quota when deleting volume that failed to be scheduled"
462
commit 0de73a0d90e562497cc65adfe7a454a76f9a9215
463
Merge: ebb2814 1861cb5
464
Author: Jenkins <jenkins@review.openstack.org>
465
Date: Tue Sep 18 22:48:47 2012 +0000
467
Merge "sample api testing for os-floating-ips extension"
469
commit ebb2814524dee09cb2f84ceafb2d9888863af8de
470
Merge: 1071af1 8d43c3f
471
Author: Jenkins <jenkins@review.openstack.org>
472
Date: Tue Sep 18 22:41:18 2012 +0000
474
Merge "Makes scheduler hints and disk config xml correct"
476
commit 1071af1d8f11e26cd4512f7c2addfdce862c9834
477
Merge: 516d510 c9d6c65
478
Author: Jenkins <jenkins@review.openstack.org>
479
Date: Tue Sep 18 22:40:48 2012 +0000
481
Merge "Add user-data extension to API samples tests"
483
commit 1861cb557ecf65669a3076f59741f27a418cf893
484
Author: Sean Dague <sdague@linux.vnet.ibm.com>
485
Date: Mon Sep 17 16:23:46 2012 -0400
487
sample api testing for os-floating-ips extension
489
API testing for negative error codes now removed so this
490
is only sample api testing
492
Change-Id: I144a6b69498b86be56ceecb680c5be2a51acdbb8
494
.../os-floating-ips/floating-ips-create-req.json | 3 +
495
.../os-floating-ips/floating-ips-create-req.xml | 2 +
496
.../os-floating-ips/floating-ips-create-resp.json | 9 ++
497
.../os-floating-ips/floating-ips-create-resp.xml | 2 +
498
.../floating-ips-list-empty-resp.json | 3 +
499
.../floating-ips-list-empty-resp.xml | 2 +
500
.../os-floating-ips/floating-ips-list-resp.json | 18 ++++
501
.../os-floating-ips/floating-ips-list-resp.xml | 5 ++
502
.../floating-ips-create-req.json.tpl | 3 +
503
.../floating-ips-create-req.xml.tpl | 2 +
504
.../floating-ips-create-resp.json.tpl | 9 ++
505
.../floating-ips-create-resp.xml.tpl | 2 +
506
.../os-floating-ips/floating-ips-get-resp.json.tpl | 9 ++
507
.../os-floating-ips/floating-ips-get-resp.xml.tpl | 2 +
508
.../floating-ips-list-empty-resp.json.tpl | 3 +
509
.../floating-ips-list-empty-resp.xml.tpl | 2 +
510
.../floating-ips-list-resp.json.tpl | 19 ++++
511
.../os-floating-ips/floating-ips-list-resp.xml.tpl | 5 ++
512
nova/tests/integrated/test_api_samples.py | 95 ++++++++++++++++++++
513
19 files changed, 195 insertions(+)
515
commit 516d510a6c2add4bf2a65b43b72b5aa006dcf52a
516
Merge: 1625eec fe916c9
517
Author: Jenkins <jenkins@review.openstack.org>
518
Date: Tue Sep 18 22:08:58 2012 +0000
520
Merge "Update scheduler rpc API version."
522
commit 1625eec4187d9e82ca6c39c3df2d6fa7059f3aa6
523
Merge: cc84de5 71c9677
524
Author: Jenkins <jenkins@review.openstack.org>
525
Date: Tue Sep 18 21:42:29 2012 +0000
527
Merge "Add deserialization for multiple create and az"
529
commit 28e6abf200d50d2d1c4a043c37cd3b3318d8933d
530
Author: Zhiteng Huang <zhiteng.huang@intel.com>
531
Date: Tue Sep 18 08:50:17 2012 +0800
533
Update quota when deleting volume that failed to be scheduled
535
If one volume was failed to get scheduled, removing such volume should
536
also clean up reservation.
537
Also when create_volume is ready to send to scheduler, reservation
538
should be committed no matter backend can successfully create that
539
volume or not since deleting volume call will do a minus reservation
540
even on volume with 'error' status.
542
This change updates RPC API to version 2.2
546
Change-Id: Ia632a0e49318d534f0acbd3df5c9f6bb86eefa2a
548
nova/scheduler/chance.py | 6 +++---
549
nova/scheduler/driver.py | 4 ++--
550
nova/scheduler/manager.py | 6 +++---
551
nova/scheduler/rpcapi.py | 8 ++++----
552
nova/scheduler/simple.py | 9 ++++-----
553
nova/tests/scheduler/test_rpcapi.py | 2 +-
554
nova/volume/api.py | 24 ++++++++++++++++++++----
555
nova/volume/manager.py | 6 ------
556
8 files changed, 37 insertions(+), 28 deletions(-)
558
commit fe916c95cfdaf4aeb1fdbfd57421b7d1222e7d4b
559
Author: Russell Bryant <rbryant@redhat.com>
560
Date: Tue Sep 18 17:01:34 2012 -0400
562
Update scheduler rpc API version.
564
Commit de09c1866b9138610914ddaaebb9b030884d1e28 updated the scheduler
565
rpc API but did not account for rpc API versioning. This patch fixes it
566
up. It updates the manager to reflect that it implements '2.1' and is
567
now backwards compatible with the old method signature. The client side
568
rpcapi now indicates that it requires '2.1' when sending the new
573
Change-Id: Ide541f38d3d0129809da56baffe95bc3faab0569
575
nova/scheduler/manager.py | 6 +++---
576
nova/scheduler/rpcapi.py | 4 +++-
577
nova/tests/scheduler/test_rpcapi.py | 2 +-
578
3 files changed, 7 insertions(+), 5 deletions(-)
580
commit cc84de5968623b289137ef53bd218ad4f54a0bc5
581
Merge: 1b1fae7 0874cb9
582
Author: Jenkins <jenkins@review.openstack.org>
583
Date: Tue Sep 18 21:03:19 2012 +0000
585
Merge "Make sure to return an empty subnet list for a network without sunbet."
587
commit 0874cb9b69a0e82c527497c5d98b5b19039b5947
588
Author: Akihiro MOTOKI <motoki@da.jp.nec.com>
589
Date: Thu Aug 30 23:27:59 2012 +0900
591
Make sure to return an empty subnet list for a network without sunbet.
595
This commit fixes a bug that when launching an instance with a quantum
596
network without subnet allocate_for_instance() in network/quantumv2/api.py
597
returns non-related subnet info as instance_nw_info.
598
A port created on a network without subnet is associated with no subnet and
599
subnet info in instance_nw_info should be an empty list.
601
Change-Id: I2cfb78886ab10dd94eb795f5288b26b77f379998
603
nova/network/quantumv2/api.py | 7 +++++++
604
nova/tests/network/test_quantumv2.py | 36 ++++++++++++++++++++++++++++++++++
605
2 files changed, 43 insertions(+)
607
commit 1b1fae700dc86870f5dfb81e668f02ab7b2c2929
608
Merge: 1db2f54 82d33f5
609
Author: Jenkins <jenkins@review.openstack.org>
610
Date: Tue Sep 18 20:24:43 2012 +0000
612
Merge "Correct db migration 91"
614
commit 6f2010ca086a1c770017643f631322d4734facd8
615
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
616
Date: Tue Sep 18 20:03:53 2012 +0000
618
Fix race condition in CacheConcurrencyTestCase
622
Recent changes made to fix bug 1035426 ended up creating a race
623
condition in the tests for CacheConcurrencyTestCase. Since two
624
greenthreads are used, the changes to utils.synchronized() can
625
cause a race where one thread is deleting the lock directory out
626
from under the other thread.
628
An unrelated bug caused this race condition to be ignored since
629
the greenthreads were never waited on and as a result, the exceptions
630
never had a chance to be raised in the test case.
632
Change-Id: I86b45414bbacd12bd3f5af323d26e0861c354ba8
634
nova/tests/test_libvirt.py | 31 ++++++++++++++++++++++++++-----
635
1 file changed, 26 insertions(+), 5 deletions(-)
637
commit 8d43c3fba1a5e07703cae6f7b631d0787c4f41bb
638
Author: Vishvananda Ishaya <vishvananda@gmail.com>
639
Date: Tue Sep 18 12:02:50 2012 -0700
641
Makes scheduler hints and disk config xml correct
643
The scheduler hints and disk config extensions were not using
644
proper prefixes when deserializing xml. This patch modifes
645
them to deserialize properly. It leaves the old deserialization
646
in place as well so anyone using the broken implementation
647
will continue to work.
649
It also updates the api samples to use the new format. Note that
650
the proper fix required changing the alias for the scheduler hints
651
extension, since the alias is used for xml, so the samples had
654
Finally it fixes an issue with deserialization, allowing it to
655
support multiple hints with the same name.
659
Change-Id: I9969582d65d44de25388f07b6d2013fb7d093fb2
661
.../OS-SCH-HNT/scheduler-hints-post-req.json | 11 +++++
662
.../OS-SCH-HNT/scheduler-hints-post-req.xml | 12 +++++
663
.../OS-SCH-HNT/scheduler-hints-post-resp.json | 16 +++++++
664
.../OS-SCH-HNT/scheduler-hints-post-resp.xml | 6 +++
665
.../all_extensions/extensions-get-resp.json | 18 ++++----
666
.../all_extensions/extensions-get-resp.xml | 8 ++--
667
.../scheduler-hints-post-req.json | 11 -----
668
.../scheduler-hints-post-req.xml | 10 -----
669
.../scheduler-hints-post-resp.json | 16 -------
670
.../scheduler-hints-post-resp.xml | 6 ---
671
.../openstack/compute/contrib/scheduler_hints.py | 14 +++---
672
nova/api/openstack/compute/servers.py | 25 ++++++++---
673
nova/tests/api/openstack/compute/test_servers.py | 47 +++++++++++++++++++-
674
.../OS-SCH-HNT/scheduler-hints-post-req.json.tpl | 11 +++++
675
.../OS-SCH-HNT/scheduler-hints-post-req.xml.tpl | 12 +++++
676
.../OS-SCH-HNT/scheduler-hints-post-resp.json.tpl | 16 +++++++
677
.../OS-SCH-HNT/scheduler-hints-post-resp.xml.tpl | 6 +++
678
.../all_extensions/extensions-get-resp.json.tpl | 16 +++----
679
.../all_extensions/extensions-get-resp.xml.tpl | 6 +--
680
.../scheduler-hints-post-req.json.tpl | 11 -----
681
.../scheduler-hints-post-req.xml.tpl | 10 -----
682
.../scheduler-hints-post-resp.json.tpl | 16 -------
683
.../scheduler-hints-post-resp.xml.tpl | 6 ---
684
23 files changed, 187 insertions(+), 123 deletions(-)
686
commit 1db2f54e0bc2d9ac3b8140ff71b6f87e1f92a1cd
687
Merge: 4d0854f fba9f76
688
Author: Jenkins <jenkins@review.openstack.org>
689
Date: Tue Sep 18 19:10:21 2012 +0000
691
Merge "Fix doc/README.rst to render properly"
693
commit 71c9677d803a722f5c9eb5b2d0719f1e713d1b7b
694
Author: Vishvananda Ishaya <vishvananda@gmail.com>
695
Date: Tue Sep 18 11:56:54 2012 -0700
697
Add deserialization for multiple create and az
699
We were not deserializing xml values causing the multiple create
700
extension and the availability zone extension to fail with xml.
702
This adds deserialization for these attributes and adds tests
706
Change-Id: Ic40ce58b0854717dd99dba8ed39c861e31e6bba4
708
nova/api/openstack/compute/servers.py | 7 ++++-
709
nova/tests/api/openstack/compute/test_servers.py | 32 ++++++++++++++++++++++
710
2 files changed, 38 insertions(+), 1 deletion(-)
712
commit fba9f7666d1efe89b851dc859c127ee85851040e
713
Author: Joe Gordon <jogo@cloudscaling.com>
714
Date: Tue Sep 18 11:42:51 2012 -0700
716
Fix doc/README.rst to render properly
718
Fix doc/README.rst to work on github:
719
https://github.com/openstack/nova/tree/master/doc
721
Change-Id: Ib589607014158c2a5af26bd137e252e5a0de30c6
723
doc/README.rst | 17 +++++++++--------
724
1 file changed, 9 insertions(+), 8 deletions(-)
726
commit c9d6c65dc5e820e581b6c0582053b4cd0369553b
727
Author: Sean Dague <sdague@linux.vnet.ibm.com>
728
Date: Wed Sep 12 16:49:19 2012 -0400
730
Add user-data extension to API samples tests
732
Change-Id: Ia7da11820e0008c6a46715fb4016da4474c3ddcc
734
.../os-user-data/userdata-post-req.json | 17 +++++++++++++
735
doc/api_samples/os-user-data/userdata-post-req.xml | 25 ++++++++++++++++++++
736
.../os-user-data/userdata-post-resp.json | 16 +++++++++++++
737
.../os-user-data/userdata-post-resp.xml | 6 +++++
738
.../os-user-data/userdata-post-req.json.tpl | 17 +++++++++++++
739
.../os-user-data/userdata-post-req.xml.tpl | 25 ++++++++++++++++++++
740
.../os-user-data/userdata-post-resp.json.tpl | 16 +++++++++++++
741
.../os-user-data/userdata-post-resp.xml.tpl | 8 +++++++
742
nova/tests/integrated/test_api_samples.py | 23 ++++++++++++++++++
743
9 files changed, 153 insertions(+)
745
commit 4d0854f338f919fdc3b925420a285536e096a5a9
746
Author: Nikola Dipanov <ndipanov@redhat.com>
747
Date: Fri Sep 14 16:48:29 2012 +0200
749
Adds API sample testing for Extended server attributes extension
751
Adds the basic test and templates for testing the response
752
of the extended server attributes extension. Tests both the
753
json and XML responses.
755
Change-Id: I38f43263bf5de854d7d7cf6d2180cf68831ad09b
757
.../OS-EXT-SRV-ATTR/extended-server-attrs-get.json | 57 +++++++++++++++++++
758
.../OS-EXT-SRV-ATTR/extended-server-attrs-get.xml | 19 +++++++
759
.../extended-server-attrs-list.json | 59 ++++++++++++++++++++
760
.../OS-EXT-SRV-ATTR/extended-server-attrs-list.xml | 21 +++++++
761
.../OS-EXT-SRV-ATTR/server-post-req.json | 16 ++++++
762
.../OS-EXT-SRV-ATTR/server-post-req.xml | 19 +++++++
763
.../OS-EXT-SRV-ATTR/server-post-resp.json | 16 ++++++
764
.../OS-EXT-SRV-ATTR/server-post-resp.xml | 6 ++
765
.../extended-server-attrs-get.json.tpl | 57 +++++++++++++++++++
766
.../extended-server-attrs-get.xml.tpl | 19 +++++++
767
.../extended-server-attrs-list.json.tpl | 59 ++++++++++++++++++++
768
.../extended-server-attrs-list.xml.tpl | 21 +++++++
769
.../OS-EXT-SRV-ATTR/server-post-req.json.tpl | 16 ++++++
770
.../OS-EXT-SRV-ATTR/server-post-req.xml.tpl | 19 +++++++
771
.../OS-EXT-SRV-ATTR/server-post-resp.json.tpl | 16 ++++++
772
.../OS-EXT-SRV-ATTR/server-post-resp.xml.tpl | 6 ++
773
nova/tests/integrated/test_api_samples.py | 32 +++++++++++
774
17 files changed, 458 insertions(+)
776
commit 4844a9bdec503e19b0a06a168e3cdf63cc84e674
777
Merge: 697c4c4 235e5cb
778
Author: Jenkins <jenkins@review.openstack.org>
779
Date: Tue Sep 18 17:22:11 2012 +0000
781
Merge "add ability to clone images"
783
commit 697c4c43899babe2b198b74d3ddff5203a115dc7
784
Merge: 12f3e25 283badb
785
Author: Jenkins <jenkins@review.openstack.org>
786
Date: Tue Sep 18 17:20:51 2012 +0000
788
Merge "add get_location method for images"
790
commit 12f3e259157475eb22a1c282ecff6a4dd5acf4d4
791
Merge: afefc88 de09c18
792
Author: Jenkins <jenkins@review.openstack.org>
793
Date: Tue Sep 18 17:11:52 2012 +0000
795
Merge "Adds new volume API extensions"
797
commit 82d33f51f0fa2258f2a8d4003520af560d8bef11
798
Author: Brian Waldon <brian.waldon@rackspace.com>
799
Date: Mon Sep 17 13:25:31 2012 -0700
801
Correct db migration 91
803
* Snapshot.id gets the new snapshot uuid rather than snapshot.volume_id
804
* Foreign keys are dropped before and recreated after updating id fields
805
* Snapshot id <-> uuid queries use snapshot_id_mappings.c.id rather
806
than volume_id_mappings.id
807
* Snapshot id <-> uuid queries are executed before passing the new id
808
values into subsequent UPDATE queries
809
* Thoroughly inspect the expected modifications in a new functional test
813
Change-Id: I22c820e5747562251c6447ac678c80dd9e0e2e20
815
.../versions/091_convert_volume_ids_to_uuid.py | 83 +++++++++++-
816
nova/tests/test_migrations.py | 133 ++++++++++++++++++++
817
2 files changed, 210 insertions(+), 6 deletions(-)
819
commit afefc88389d4041ddce737f423c0a23c883ff98d
820
Merge: b733ecb 088472b
821
Author: Jenkins <jenkins@review.openstack.org>
822
Date: Tue Sep 18 16:31:53 2012 +0000
824
Merge "Fix volume id conversion in nova-manage volume"
826
commit b733ecb37ec703fb40d1cea9cb248946608efb3f
827
Merge: 7281eb0 32c8c53
828
Author: Jenkins <jenkins@review.openstack.org>
829
Date: Tue Sep 18 16:29:26 2012 +0000
831
Merge "Add console output extension to API samples test."
833
commit 5d46d3fb74452a7a1c8ddd8d1a8b643712a0f801
834
Author: Aaron Rosen <arosen@nicira.com>
835
Date: Fri Sep 14 14:12:55 2012 -0400
837
make ensure_default_security_group() call sgh
839
This change makes sure that sgh is called when default
840
security group is created.
844
Change-Id: I483e33d8977b2bfbd7456a7c7c0d1fe7803708f8
846
nova/compute/api.py | 5 ++++-
847
nova/db/api.py | 7 ++++++-
848
nova/db/sqlalchemy/api.py | 14 ++++++++++----
849
3 files changed, 20 insertions(+), 6 deletions(-)
851
commit 7281eb059434ea6a94bb0997b12d61cfafbfc1e5
852
Merge: f615e9c 959c93f
853
Author: Jenkins <jenkins@review.openstack.org>
854
Date: Tue Sep 18 16:09:50 2012 +0000
856
Merge "Fixes snat rules in complex networking configs"
858
commit 235e5cbe9934097fc8c4f58c99dc11f597dfbed8
859
Author: Josh Durgin <josh.durgin@inktank.com>
860
Date: Tue Aug 14 12:27:48 2012 -0700
862
add ability to clone images
864
Given the backend location from Glance, drivers can determine
865
whether they can clone or otherwise efficiently create a volume
866
from the image without downloading all the data from Glance.
868
For now implement cloning for the RBD driver. There's already a
869
Glance backend that stores images as RBD snapshots, so they're
870
ready to be cloned into volumes. Fall back to copying all the
871
data if cloning is not possible.
873
Implements: blueprint efficient-volumes-from-images
874
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
879
nova/volume/driver.py
881
This is based on a cherry-pick of cinder commit
882
edc11101cbc06bdce95b10cfd00a4849f6c01b33
884
Change-Id: I71a8172bd22a5bbf64d4c68631630125fcc7fd34
886
nova/tests/test_rbd.py | 161 ++++++++++++++++++++++++++++++++++++++++++++++++
887
nova/volume/driver.py | 83 +++++++++++++++++++++++++
888
nova/volume/manager.py | 23 ++++---
889
3 files changed, 260 insertions(+), 7 deletions(-)
891
commit 283badb37edb1f676591ad8b3d94f4b2d7cd13dd
892
Author: Josh Durgin <josh.durgin@inktank.com>
893
Date: Tue Aug 14 12:26:19 2012 -0700
895
add get_location method for images
897
This is useful for determining whether the backend storage for the
898
image in Glance is the same as the storage used in a volume driver.
900
The direct_url is only available in the v2 images API, so add a
901
version parameter to each request. As more parts of the v2 API are
902
used, this parameter will become more useful.
904
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
910
This is based on a cherry-pick of cinder commit
911
171a57a6879683dac5f219a0e8f1080ea687105d
913
Change-Id: I5ca06b6d80ffe4118f8dd381ed11283573bce71f
915
nova/image/glance.py | 52 +++++++++++++++++++++++++++------------
916
nova/tests/image/fake.py | 4 +++
917
nova/tests/image/test_glance.py | 22 ++++++++---------
918
3 files changed, 51 insertions(+), 27 deletions(-)
920
commit de09c1866b9138610914ddaaebb9b030884d1e28
921
Author: Unmesh Gurjar <unmesh.gurjar@vertex.co.in>
922
Date: Sat Aug 11 10:31:51 2012 -0700
924
Adds new volume API extensions
926
Adds following extensions:
927
1. Create volume from image
928
2. Copy volume to image
932
Implements: blueprint create-volume-from-image
936
cinder/api/openstack/volume/contrib/volume_actions.py
937
cinder/tests/api/openstack/fakes.py
938
cinder/tests/api/openstack/volume/contrib/test_volume_actions.py
939
cinder/tests/policy.json
940
nova/api/openstack/volume/volumes.py
942
nova/tests/api/openstack/volume/test_volumes.py
943
nova/tests/test_volume.py
946
nova/volume/manager.py
948
This is based on a cherry-pick of cinder commit
949
2f5360753308eb8b10581fc3c026c1b66f42ebdc with bug fixes
950
8c30edff982042d2533a810709308b586267c0e9 and
951
ffe5036fa0e63ccde2d19aa0f425ec43de338dd7 squashed in.
953
Change-Id: I9c73bd3fa2fa2e0648c01ff3f4fc66f757d7bc3f
955
etc/nova/rootwrap.d/volume.filters | 3 +
956
nova/api/ec2/cloud.py | 10 +-
957
nova/api/openstack/extensions.py | 3 +
958
nova/api/openstack/volume/contrib/image_create.py | 31 +++
959
.../api/openstack/volume/contrib/volume_actions.py | 131 +++++++++++
960
nova/api/openstack/volume/volumes.py | 41 +++-
961
nova/scheduler/chance.py | 4 +-
962
nova/scheduler/driver.py | 2 +-
963
nova/scheduler/filter_scheduler.py | 2 +-
964
nova/scheduler/manager.py | 5 +-
965
nova/scheduler/rpcapi.py | 5 +-
966
nova/scheduler/simple.py | 7 +-
967
nova/tests/api/openstack/fakes.py | 12 +
968
.../volume/contrib/test_volume_actions.py | 162 +++++++++++++
969
nova/tests/api/openstack/volume/test_router.py | 6 +-
970
nova/tests/api/openstack/volume/test_volumes.py | 108 ++++++++-
971
nova/tests/policy.json | 1 +
972
nova/tests/scheduler/test_rpcapi.py | 3 +-
973
nova/tests/test_volume.py | 241 +++++++++++++++++++-
975
nova/volume/api.py | 70 +++++-
976
nova/volume/cinder.py | 24 +-
977
nova/volume/driver.py | 22 ++
978
nova/volume/manager.py | 59 ++++-
979
24 files changed, 916 insertions(+), 48 deletions(-)
981
commit f615e9c22c4c003ac1cd3d01ec8f7cbabd76b96d
982
Merge: 5b8d9ad d05637f
983
Author: Jenkins <jenkins@review.openstack.org>
984
Date: Tue Sep 18 15:50:00 2012 +0000
986
Merge "Fix volume deletion when device mapper is used"
988
commit 32c8c53f477368cfa7615e7b41406a752e2f6885
989
Author: Matthew Treinish <treinish@linux.vnet.ibm.com>
990
Date: Thu Sep 13 09:57:31 2012 -0400
992
Add console output extension to API samples test.
994
Change-Id: I0ac1f893b06882acaa7c61dade61eb991a5d0d04
995
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
997
.../os-console-output/console-output-post-req.json | 5 +++++
998
.../os-console-output/console-output-post-req.xml | 2 ++
999
.../console-output-post-resp.json | 3 +++
1000
.../os-console-output/console-output-post-resp.xml | 4 ++++
1001
.../os-console-output/server-post-req.json | 16 ++++++++++++++++
1002
.../os-console-output/server-post-req.xml | 19 +++++++++++++++++++
1003
.../os-console-output/server-post-resp.json | 16 ++++++++++++++++
1004
.../os-console-output/server-post-resp.xml | 6 ++++++
1005
.../console-output-post-req.json.tpl | 5 +++++
1006
.../console-output-post-req.xml.tpl | 2 ++
1007
.../console-output-post-resp.json.tpl | 3 +++
1008
.../console-output-post-resp.xml.tpl | 4 ++++
1009
.../os-console-output/server-post-req.json.tpl | 16 ++++++++++++++++
1010
.../os-console-output/server-post-req.xml.tpl | 19 +++++++++++++++++++
1011
.../os-console-output/server-post-resp.json.tpl | 16 ++++++++++++++++
1012
.../os-console-output/server-post-resp.xml.tpl | 6 ++++++
1013
nova/tests/integrated/test_api_samples.py | 19 +++++++++++++++++++
1014
17 files changed, 161 insertions(+)
1016
commit 5b8d9ada4b44ca7aac523f7e0ec4158bff08232d
1017
Merge: 9f5f7da 632770e
1018
Author: Jenkins <jenkins@review.openstack.org>
1019
Date: Tue Sep 18 12:52:52 2012 +0000
1021
Merge "Make DeregisterImage respect AWS EC2 specification"
1023
commit f4906f07cd49e4deae79018d7f586b16266859eb
1024
Author: Sirisha Devineni <sirisha_devineni@persistent.co.in>
1025
Date: Fri Sep 14 23:04:37 2012 +0530
1027
Raise BadRequest while creating server with invalid personality
1029
Handle UnicodeDecodeError raises from compute api while trying to
1030
create server with invalid personality content and throw it as
1035
Change-Id: I27d47bbc9ed89abfa9827512fbfb3b16a0d87160
1037
nova/api/openstack/compute/servers.py | 3 ++
1038
nova/tests/api/openstack/compute/test_servers.py | 37 ++++++++++++++++++++++
1039
2 files changed, 40 insertions(+)
1041
commit 9f5f7dae755dc410b1b3bfe7babc5d105913c978
1042
Merge: 5fc0dbb 91734ba
1043
Author: Jenkins <jenkins@review.openstack.org>
1044
Date: Tue Sep 18 07:55:02 2012 +0000
1046
Merge "Fixes error handling during schedule_run_instance"
1048
commit 088472b86f3748e00e82c8a0b304371caebbd519
1049
Author: John Griffith <john.griffith@solidfire.com>
1050
Date: Mon Sep 17 21:05:49 2012 -0600
1052
Fix volume id conversion in nova-manage volume
1054
The nova-manage volume commands weren't updated when the switch
1055
from int volume-id's to uuid's was made. This updates the
1056
param2id method to call the appropriate conversion, and doesn't
1057
attempt to cast the value to an int.
1059
There is an additional issue with the nova-manage commands with the
1060
introduction of Cinder. The calls in nova-manage are direct to the
1061
nova database which when using Cinder is not valid. Add an error message
1062
when trying to use delete or re-attach commands as they don't work.
1064
This change deprecates the nova-manage delete function as it's now
1065
implemented as an admin extension (nova commit id: If795599d and
1066
cinder commit id: I29f4b892).
1068
The reattach command is only valid for nova-volumes, a similar extension
1069
will need to be added to cover cinder at which time the nova-manage volume
1070
reattach can be deprecated as well.
1072
Partial fix for bug #1051603
1074
Change-Id: I666d4e627dee4a2025f7135560ee36c40f4bf17a
1076
bin/nova-manage | 27 +++++++++++++++++++++------
1077
1 file changed, 21 insertions(+), 6 deletions(-)
1079
commit 5fc0dbb912e688c1844856d8d7764ebedf7b6b2d
1080
Merge: d298294 e6e5123
1081
Author: Jenkins <jenkins@review.openstack.org>
1082
Date: Tue Sep 18 01:27:13 2012 +0000
1084
Merge "Allows waiting timers in libvirt to raise NotFound"
1086
commit d298294f79659c30c6d426e99444111c58d98c48
1087
Merge: 2628697 4ebec87
1088
Author: Jenkins <jenkins@review.openstack.org>
1089
Date: Tue Sep 18 01:26:30 2012 +0000
1091
Merge "Add admin actions extension"
1093
commit 91734bad9139555294fe088d2c2d77a9712652ab
1094
Author: Vishvananda Ishaya <vishvananda@gmail.com>
1095
Date: Mon Sep 17 16:02:06 2012 -0700
1097
Fixes error handling during schedule_run_instance
1099
If there are not enough hosts available during a multi-instance launch,
1100
every failing instance should be updated to error state, instead of
1101
just the first instance. Currently only the first instance is set
1102
to Error and the rest stay in building.
1104
This patch makes a number of fixes to error handling during scheduling.
1106
* Moves instance faults into compute utils so they can be created
1108
* Moves error handling into the driver so that each instance can be
1110
* Sets an instance fault for failed scheduling
1111
* Sets task state back to none if there is a scheduling failure
1112
* Modifies chance scheduler to stop returning a list of instances
1114
* Modifies tests to check for these states.
1116
In addition to the included tests, the code was manually verified on
1122
Change-Id: I49267ce4a21e2f7cc7a996fb2ed5d625f6794730
1124
nova/compute/manager.py | 27 ++--------------
1125
nova/compute/utils.py | 22 +++++++++++++
1126
nova/scheduler/chance.py | 33 ++++++++++---------
1127
nova/scheduler/driver.py | 35 +++++++++++++++++++--
1128
nova/scheduler/filter_scheduler.py | 33 ++++++++++---------
1129
nova/tests/compute/test_compute.py | 11 ++++---
1130
nova/tests/scheduler/test_chance_scheduler.py | 25 +++++++++------
1131
nova/tests/scheduler/test_filter_scheduler.py | 42 +++++++++++++++++--------
1132
8 files changed, 146 insertions(+), 82 deletions(-)
1134
commit 2628697679ae9ccdba96ad4d0d2af4104f48de7f
1135
Merge: baf5e03 9733b4e
1136
Author: Jenkins <jenkins@review.openstack.org>
1137
Date: Tue Sep 18 00:35:51 2012 +0000
1139
Merge "Include volume_metadata with object on vol create"
1141
commit baf5e03f1c41c06b52b6b6bb5497f1f34a0a521a
1142
Merge: 1a2e412 c8b15fc
1143
Author: Jenkins <jenkins@review.openstack.org>
1144
Date: Tue Sep 18 00:18:47 2012 +0000
1146
Merge "Add man pages"
1148
commit 1a2e412468251ff6fed42207a16665a522f6c6be
1149
Merge: 6f129a4 73e8d5a
1150
Author: Jenkins <jenkins@review.openstack.org>
1151
Date: Mon Sep 17 22:43:01 2012 +0000
1153
Merge "Reset the task state after backup done."
1155
commit 6f129a4c79620aa35acc06dde4d534632e4f6917
1156
Merge: 036953b f609313
1157
Author: Jenkins <jenkins@review.openstack.org>
1158
Date: Mon Sep 17 22:42:40 2012 +0000
1160
Merge "Includes sec group quota details in limits API response"
1162
commit 036953b1779c18cfb8bcfd026d494f09dfbcb10b
1163
Merge: 0f1b972 940e1cf
1164
Author: Jenkins <jenkins@review.openstack.org>
1165
Date: Mon Sep 17 21:53:53 2012 +0000
1167
Merge "Add api samples to Scheduler hints extension"
1169
commit 0f1b972b067f791f6b53f7660b5f254afe50cf43
1170
Merge: 76ca8c1 81e7648
1171
Author: Jenkins <jenkins@review.openstack.org>
1172
Date: Mon Sep 17 21:53:27 2012 +0000
1174
Merge "Include Schedule Hints deserialization to XML API"
1176
commit 9733b4eb9f3aeadd29f8dd8b00a37ce3d454edb8
1177
Author: John Griffith <john.griffith@solidfire.com>
1178
Date: Sat Jul 28 10:02:42 2012 -0600
1180
Include volume_metadata with object on vol create
1184
The symptom of this bug is that the response data of an
1185
OSAPI create call always shows and empty dict for volume_metadata
1186
regardless of what was passed in to created and actually used.
1188
Upon the db create_volume call a reference to the volume
1189
object is all that was being returned. Since metadata is
1190
specified and set, it should also be returned with the
1191
create reference object.
1193
This will result in the the osapi create call returning
1194
a body with correct metdata info rather than always showing
1195
and empty dict as it was previously.
1197
Change-Id: I469e06941f446526bae39168f3b1ebfea851e0ef
1199
nova/db/sqlalchemy/api.py | 2 +-
1200
nova/tests/test_volume.py | 20 +++++++++++++++++++-
1201
2 files changed, 20 insertions(+), 2 deletions(-)
1203
commit 73e8d5a7b668e3a9700101b2fcd742ed349e0b26
1204
Author: eddie-sheffield <eddie.sheffield@rackspace.com>
1205
Date: Mon Sep 17 11:10:06 2012 -0400
1207
Reset the task state after backup done.
1209
The compute manager needs to reset the task state after a backup
1210
is complete. However it was only correctly reseting after a
1211
snapshot due to the current expected state being hardcoded.
1212
Now looks for the correct expected state depending on whether a
1213
backup or snapshot was being executed.
1217
Change-Id: Ie91f7745b98232370be6c99d318a8033a93cc50c
1219
nova/compute/manager.py | 9 ++++++++-
1220
1 file changed, 8 insertions(+), 1 deletion(-)
1222
commit e6e5123cceb874a7ca6dcb16bc401f530439d07a
1223
Author: Vishvananda Ishaya <vishvananda@gmail.com>
1224
Date: Tue Sep 11 12:09:38 2012 -0700
1226
Allows waiting timers in libvirt to raise NotFound
1228
There are cases where an operation will fail when communicating with
1229
libvirt. We were eating the exception even though the operation
1230
failed, which has the potential to put the instance into an
1231
unrecoverable state.
1233
This patch allows NotFound exceptions to propogate up so that they
1234
are caught by the state handling code and the task state can be
1239
Change-Id: Iddc319b24aee0b7132155f50b9d3b0eee9bb3fa8
1241
nova/tests/test_libvirt.py | 30 +++----------------------
1242
nova/virt/libvirt/driver.py | 51 +++++++++++++++++--------------------------
1243
2 files changed, 23 insertions(+), 58 deletions(-)
1245
commit 76ca8c184bed7aa706ac6ef1010c3f4ebf08f7f0
1246
Author: Mark McLoughlin <markmc@redhat.com>
1247
Date: Wed Sep 12 12:51:01 2012 +0100
1249
Improve entity validation in volumes APIs
1253
Use the new Controller.is_valid_body() helper to validate the entity
1254
body in various volumes related POST/PUT handlers and return 422
1257
(Cherry picks commit dcecb586 from Cinder and adds similar fixes for
1258
the volumes bits in the compute API)
1260
Change-Id: I04127972981522c1ed81903893396c4f9665bcd3
1262
nova/api/openstack/compute/contrib/volumes.py | 14 ++--
1263
nova/api/openstack/compute/contrib/volumetypes.py | 9 +--
1264
.../openstack/volume/contrib/types_extra_specs.py | 21 +++---
1265
nova/api/openstack/volume/contrib/types_manage.py | 7 +-
1266
nova/api/openstack/volume/snapshots.py | 6 +-
1267
nova/api/openstack/volume/volumes.py | 7 +-
1268
.../openstack/compute/contrib/test_volume_types.py | 38 ++++++++---
1269
.../api/openstack/compute/contrib/test_volumes.py | 70 +++++++++++++++++---
1270
.../volume/contrib/test_types_extra_specs.py | 60 ++++++++++++-----
1271
.../openstack/volume/contrib/test_types_manage.py | 33 +++++++--
1272
nova/tests/api/openstack/volume/test_snapshots.py | 29 ++++++++
1273
nova/tests/api/openstack/volume/test_volumes.py | 37 ++++++++---
1274
12 files changed, 242 insertions(+), 89 deletions(-)
1276
commit d05637f99271e081f9579b69cf77de1969839561
1277
Author: Rafi Khardalian <rafi@metacloud.com>
1278
Date: Wed Sep 5 16:09:45 2012 +0000
1280
Fix volume deletion when device mapper is used
1282
Call dmsetup remove if there is a /dev/mapper/nova--volumes-
1287
Change-Id: Iddaaed411a77dda4bd32f9a97687ff17744119eb
1289
etc/nova/rootwrap.d/volume.filters | 4 ++++
1290
nova/volume/driver.py | 4 ++++
1291
2 files changed, 8 insertions(+)
1293
commit c8b15fc78cbe3d1fb83a607e8a225f35c3ff379e
1294
Author: Joe Gordon <jogo@cloudscaling.com>
1295
Date: Thu Sep 13 18:42:26 2012 -0700
1299
Add partially written manpages for:
1303
* nova-api-os-compute
1304
* nova-api-os-volume
1315
* nova-rpc-zmq-receiver
1317
* nova-volume-usage-audit
1321
Change-Id: I3734831ce2f6b5d765e98b3f50fe8c1ad7965685
1324
doc/source/conf.py | 40 ++++++++++++++++++
1325
doc/source/man/nova-all.rst | 49 ++++++++++++++++++++++
1326
doc/source/man/nova-api-ec2.rst | 49 ++++++++++++++++++++++
1327
doc/source/man/nova-api-metadata.rst | 49 ++++++++++++++++++++++
1328
doc/source/man/nova-api-os-compute.rst | 49 ++++++++++++++++++++++
1329
doc/source/man/nova-api-os-volume.rst | 49 ++++++++++++++++++++++
1330
doc/source/man/nova-api.rst | 49 ++++++++++++++++++++++
1331
doc/source/man/nova-cert.rst | 48 ++++++++++++++++++++++
1332
doc/source/man/nova-compute.rst | 51 +++++++++++++++++++++++
1333
doc/source/man/nova-console.rst | 48 ++++++++++++++++++++++
1334
doc/source/man/nova-consoleauth.rst | 48 ++++++++++++++++++++++
1335
doc/source/man/nova-dhcpbridge.rst | 50 +++++++++++++++++++++++
1336
doc/source/man/nova-manage.rst | 2 +-
1337
doc/source/man/nova-network.rst | 48 ++++++++++++++++++++++
1338
doc/source/man/nova-novncproxy.rst | 48 ++++++++++++++++++++++
1339
doc/source/man/nova-objectstore.rst | 56 +++++++++++++++++++++++++
1340
doc/source/man/nova-rootwrap.rst | 59 +++++++++++++++++++++++++++
1341
doc/source/man/nova-rpc-zmq-receiver.rst | 48 ++++++++++++++++++++++
1342
doc/source/man/nova-scheduler.rst | 48 ++++++++++++++++++++++
1343
doc/source/man/nova-volume-usage-audit.rst | 61 ++++++++++++++++++++++++++++
1344
doc/source/man/nova-volume.rst | 54 ++++++++++++++++++++++++
1345
doc/source/man/nova-xvpvncproxy.rst | 48 ++++++++++++++++++++++
1346
nova/console/__init__.py | 3 +-
1347
24 files changed, 1053 insertions(+), 3 deletions(-)
1349
commit 725c99b2a9a05c905b6ff9455d47917c39be9f57
1350
Merge: 2500eb2 9d0a6d8
1351
Author: Jenkins <jenkins@review.openstack.org>
1352
Date: Mon Sep 17 18:37:24 2012 +0000
1354
Merge "Deserialize user_data in xml servers request"
1356
commit 2500eb20494a9665a773944da9e5882baa84ae18
1357
Merge: 5206850 7937144
1358
Author: Jenkins <jenkins@review.openstack.org>
1359
Date: Mon Sep 17 18:31:41 2012 +0000
1361
Merge "Clean up handling of project_only in network_get"
1363
commit 5206850e1ce18ceceaab13c2b4a23538b87a296d
1364
Merge: 1270149 6dc8b45
1365
Author: Jenkins <jenkins@review.openstack.org>
1366
Date: Mon Sep 17 17:37:32 2012 +0000
1368
Merge "Add README for doc folder"
1370
commit 1270149696713ba7e06f1beb760f20d359c4abed
1371
Merge: 88ba5f2 52c850b
1372
Author: Jenkins <jenkins@review.openstack.org>
1373
Date: Mon Sep 17 15:21:18 2012 +0000
1375
Merge "Add api_samples tests for servers actions"
1377
commit 88ba5f2887d599b8b015c018e40616420d34f885
1378
Merge: b082d66 d68d2fb
1379
Author: Jenkins <jenkins@review.openstack.org>
1380
Date: Mon Sep 17 15:20:54 2012 +0000
1382
Merge "Fix XML deserialization of rebuild parameters"
1384
commit b082d668aa3cf3a0f3a6a5c23acbc6e681e149d3
1385
Merge: 9536b3f 423dbaf
1386
Author: Jenkins <jenkins@review.openstack.org>
1387
Date: Mon Sep 17 15:20:23 2012 +0000
1389
Merge "Make compute/manager.py use self.host instead of FLAGS.host"
1391
commit 632770e1314b9bdfede6df5b2b07d9e973cda6a8
1392
Author: MotoKen <motokentsai@gmail.com>
1393
Date: Fri Sep 14 11:51:15 2012 +0800
1395
Make DeregisterImage respect AWS EC2 specification
1397
The return value of current deregister_image implementation is the AMI id.
1398
Howerver, according to Amazon EC2 API documentation, the return value of
1399
DeregisterImageResponse should be boolean.
1401
See more detailed documentation in:
1402
http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeregisterImage.html
1404
The example response:
1405
<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2012-08-15/">
1406
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
1407
<return>true</return>
1408
</DeregisterImageResponse>
1410
This patch changes the response and test case for deregister_image.
1414
Change-Id: Ifd31b88ec4f575f50244079cdeed4c9ff57206f8
1416
nova/api/ec2/cloud.py | 2 +-
1417
nova/tests/api/ec2/test_cloud.py | 2 +-
1418
2 files changed, 2 insertions(+), 2 deletions(-)
1420
commit 9d0a6d88d54ad38c4ccc564aa417beed310712fc
1421
Author: Vishvananda Ishaya <vishvananda@gmail.com>
1422
Date: Fri Sep 14 00:56:42 2012 -0700
1424
Deserialize user_data in xml servers request
1426
Also adds better validation for b64 encoded data since python
1427
will happily ignore illegal bytes in the base64 encoded data.
1431
Change-Id: I4f380d029ec2d51f130a6dbd581410873e414216
1433
nova/api/openstack/compute/servers.py | 32 ++++++++++++++----
1434
nova/tests/api/openstack/compute/test_servers.py | 38 ++++++++++++++++++++++
1435
2 files changed, 63 insertions(+), 7 deletions(-)
1437
commit 940e1cfd7dc8b382453e03215aeceefbc2afa173
1438
Author: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
1439
Date: Thu Sep 13 02:12:31 2012 -0400
1441
Add api samples to Scheduler hints extension
1443
Change-Id: Ic324d796dac0cfc7b36c47a181b55e09cb1503e2
1445
.../scheduler-hints-post-req.json | 11 ++++++++++
1446
.../scheduler-hints-post-req.xml | 10 +++++++++
1447
.../scheduler-hints-post-resp.json | 16 ++++++++++++++
1448
.../scheduler-hints-post-resp.xml | 6 ++++++
1449
.../scheduler-hints-post-req.json.tpl | 11 ++++++++++
1450
.../scheduler-hints-post-req.xml.tpl | 10 +++++++++
1451
.../scheduler-hints-post-resp.json.tpl | 16 ++++++++++++++
1452
.../scheduler-hints-post-resp.xml.tpl | 6 ++++++
1453
nova/tests/integrated/test_api_samples.py | 22 ++++++++++++++++++++
1454
9 files changed, 108 insertions(+)
1456
commit 81e76480af6ad17943cd2385a045d24217b07a7b
1457
Author: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
1458
Date: Thu Sep 13 01:59:43 2012 -0400
1460
Include Schedule Hints deserialization to XML API
1462
So far the xml format to schedule hints were not defined.
1463
Once defined (in ML), this patch add support to its deserialization.
1465
This patch also includes a xml deserialization method to get the Elements
1466
between the childs of a node.
1468
Partially fixes bug 1050997
1470
Change-Id: I2a34dbbd6200755818d7eaa7330a96d61a043614
1472
nova/api/openstack/compute/servers.py | 15 +++++++++++++++
1473
nova/api/openstack/wsgi.py | 8 ++++++++
1474
2 files changed, 23 insertions(+)
1476
commit 9536b3fa9861e4b9c93b5cf0a91451a92c5df92c
1477
Merge: 99479d7 c0709bd
1478
Author: Jenkins <jenkins@review.openstack.org>
1479
Date: Sat Sep 15 14:06:18 2012 +0000
1481
Merge "workaround lack of quantum/nova floatingip integration"
1483
commit 99479d7c81566d0e13a672b8f671df72dee7e139
1484
Merge: ec7ce6a c0c1e53
1485
Author: Jenkins <jenkins@review.openstack.org>
1486
Date: Sat Sep 15 13:55:03 2012 +0000
1488
Merge "Corrects use of instance_uuid for fixed ip"
1490
commit ec7ce6aaf75616f578c7c02b30457e3782088b49
1491
Merge: dbee359 29af225
1492
Author: Jenkins <jenkins@review.openstack.org>
1493
Date: Sat Sep 15 00:34:00 2012 +0000
1495
Merge "All security groups not returned to admins by default."
1497
commit dbee359bf28b0fe729667fd50b7dd34cb02355e5
1498
Merge: 9e90e59 706502a
1499
Author: OpenStack Jenkins <jenkins@openstack.org>
1500
Date: Sat Sep 15 00:06:07 2012 +0000
1502
Merge "Imported Translations from Transifex"
1504
commit 9e90e59590829161078d9ea0e6abe66b24814274
1505
Merge: 5e94da1 0e0d463
1506
Author: Jenkins <jenkins@review.openstack.org>
1507
Date: Fri Sep 14 23:14:16 2012 +0000
1509
Merge "Add security groups extension to API samples test."
1511
commit 5e94da199c67460fc96d6d5c9397364090de0fb4
1512
Merge: cdcd885 e92d1c4
1513
Author: Jenkins <jenkins@review.openstack.org>
1514
Date: Fri Sep 14 22:55:44 2012 +0000
1516
Merge "Remove useless _get_key_name() in servers API"
1518
commit cdcd8857f0c1ef36e2c08bcabcc29231c1c87881
1519
Merge: d41b932 d1ad73e
1520
Author: Jenkins <jenkins@review.openstack.org>
1521
Date: Fri Sep 14 22:55:25 2012 +0000
1523
Merge "Add entity body validation helper"
1525
commit 4ebec877303048e8bb0c5ce7f68b587b2972ec3c
1526
Author: Clay Gerrard <clay.gerrard@gmail.com>
1527
Date: Fri Sep 14 16:15:35 2012 +0000
1529
Add admin actions extension
1531
The optional os-admin-actions extension adds new wsgi_actions to the
1532
volumes/action resource and a new snapshots/action endpoint.
1534
With this extension both controllers will support an os-reset_status
1535
action to force a database update of a volume or snapshot that is stuck
1536
in a failed/incorrect status. The os-reset_status action works
1537
similarly to the compute api's os-reset_state action for instances.
1539
The os-force_delete action behaves similarly to the "cinder-manage
1540
volume delete" command and allows operators/admins to retry the delete
1541
operation after it has gone into an error_deleting status with an admin
1544
The os-admin-actions extension is enabled by default, but limited to the
1545
admin api by the default policy.json rules. Individual admin actions
1546
can be disabled with policy rules as well.
1548
Example of os-reset_status action on a volume:
1550
curl http://localhost:8776/v1/${PROJECT_ID}/volumes/${VOLUME_ID}/action \
1551
-H "x-auth-token: ${ADMIN_AUTH_TOKEN}" \
1552
-H 'content-type: application/json' \
1553
-d '{"os-reset_status": {"status": "error"}}'
1555
The new admin only api can assist deployers who encounter bugs or
1556
operational issues that result in failed actions.
1558
It can also be used by future storage backends to support async callback
1559
style status updates from long running actions or operations which have
1560
encountered an error will be retried.
1562
Also updates the api.openstack.wsgi.ControllerMetaclass to support
1563
sub-classing wsgi.Controllers that define wsgi_actions.
1565
Partial fix for bug #1039706
1567
Change-Id: If795599d5150dea362279d75a75276f3166d0149
1569
etc/nova/policy.json | 3 +
1570
nova/api/openstack/extensions.py | 5 +-
1571
nova/api/openstack/volume/__init__.py | 10 +-
1572
nova/api/openstack/volume/contrib/admin_actions.py | 129 ++++++++++++++
1573
nova/api/openstack/volume/snapshots.py | 7 +-
1574
nova/api/openstack/volume/volumes.py | 7 +-
1575
nova/api/openstack/wsgi.py | 3 +
1576
nova/tests/api/openstack/fakes.py | 1 +
1577
.../openstack/volume/contrib/test_admin_actions.py | 184 ++++++++++++++++++++
1578
nova/tests/api/openstack/volume/test_router.py | 7 +-
1579
nova/tests/api/openstack/volume/test_volumes.py | 5 +-
1580
nova/tests/policy.json | 5 +
1581
nova/tests/test_volume.py | 45 +++++
1582
nova/volume/api.py | 4 +-
1583
14 files changed, 398 insertions(+), 17 deletions(-)
1585
commit d41b93267f2c0e31fa94c8ea185864b631142df4
1586
Merge: 0c47b74 c6ddff8
1587
Author: Jenkins <jenkins@review.openstack.org>
1588
Date: Fri Sep 14 20:49:49 2012 +0000
1590
Merge "Allow older versions of libvirt to delete vms"
1592
commit c6ddff821fef8d9edfc7498dbe19d5794d9adc8f
1593
Author: Vishvananda Ishaya <vishvananda@gmail.com>
1594
Date: Fri Sep 14 10:43:13 2012 -0700
1596
Allow older versions of libvirt to delete vms
1598
Libvirt < 0.9.4 doesn't support undefineFlags, so the vms can't be
1599
deleted. This patch adds a workaround to fallback to the old style
1600
of undefine if undefineFlags throws an Attribute error. It also
1601
attempts to remove any managed save images that exist.
1605
Change-Id: I155fe2ab3be347b1515c5aab4a9233921bd722ca
1607
nova/tests/test_libvirt.py | 52 ++++++++++++++++++++++++++++++++++++++-----
1608
nova/virt/libvirt/driver.py | 12 +++++++++-
1609
2 files changed, 58 insertions(+), 6 deletions(-)
1611
commit 0e0d46353e41951ea177c270b29b3aac2de87c5c
1612
Author: Matthew Treinish <treinish@linux.vnet.ibm.com>
1613
Date: Wed Sep 12 15:50:17 2012 -0400
1615
Add security groups extension to API samples test.
1617
Change-Id: Ie7635cacf96e0bafbd412ff40d7912aa0da4677d
1618
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
1620
.../security-group-post-req.json | 6 +++
1621
.../os-security-groups/security-group-post-req.xml | 5 +++
1622
.../security-groups-create-resp.json | 9 ++++
1623
.../security-groups-create-resp.xml | 7 ++++
1624
.../security-groups-get-resp.json | 9 ++++
1625
.../security-groups-get-resp.xml | 5 +++
1626
.../security-groups-list-get-resp.json | 11 +++++
1627
.../security-groups-list-get-resp.xml | 7 ++++
1628
.../os-security-groups/server-post-req.json | 16 ++++++++
1629
.../os-security-groups/server-post-req.xml | 19 +++++++++
1630
.../os-security-groups/server-post-resp.json | 21 ++++++++++
1631
.../os-security-groups/server-post-resp.xml | 9 ++++
1632
.../server-security-groups-list-resp.json | 11 +++++
1633
.../server-security-groups-list-resp.xml | 7 ++++
1634
.../security-group-post-req.json.tpl | 6 +++
1635
.../security-group-post-req.xml.tpl | 5 +++
1636
.../security-groups-create-resp.json.tpl | 9 ++++
1637
.../security-groups-create-resp.xml.tpl | 7 ++++
1638
.../security-groups-get-resp.json.tpl | 9 ++++
1639
.../security-groups-get-resp.xml.tpl | 5 +++
1640
.../security-groups-list-get-resp.json.tpl | 11 +++++
1641
.../security-groups-list-get-resp.xml.tpl | 7 ++++
1642
.../os-security-groups/server-post-req.json.tpl | 16 ++++++++
1643
.../os-security-groups/server-post-req.xml.tpl | 19 +++++++++
1644
.../os-security-groups/server-post-resp.json.tpl | 21 ++++++++++
1645
.../os-security-groups/server-post-resp.xml.tpl | 9 ++++
1646
.../server-security-groups-list-resp.json.tpl | 11 +++++
1647
.../server-security-groups-list-resp.xml.tpl | 7 ++++
1648
nova/tests/integrated/test_api_samples.py | 43 ++++++++++++++++++++
1649
29 files changed, 327 insertions(+)
1651
commit 0c47b74b84a274a7380ace9596b8b1fce62576df
1652
Author: Russell Bryant <rbryant@redhat.com>
1653
Date: Fri Sep 14 13:59:03 2012 -0400
1655
Sync a change to rpc from openstack-common.
1657
This commit pulls in the following change from openstack-common:
1659
ee44222 Change the qpid_heartbeat default to 60 seconds.
1663
Change-Id: I42acdca42f27fbbe9a52441f8cf7ea8261fd8d24
1665
nova/openstack/common/rpc/impl_qpid.py | 2 +-
1666
1 file changed, 1 insertion(+), 1 deletion(-)
1668
commit 52c850bb1d77b886a00b755ead9d9df899174ed9
1669
Author: Dan Smith <danms@us.ibm.com>
1670
Date: Fri Sep 14 09:24:47 2012 -0700
1672
Add api_samples tests for servers actions
1674
Change-Id: I67446ccd53c83b5fcfc3a1857a10e160263834dd
1676
doc/api_samples/server-action-changepassword.json | 5 ++
1677
doc/api_samples/server-action-changepassword.xml | 4 ++
1678
doc/api_samples/server-action-confirmresize.json | 3 +
1679
doc/api_samples/server-action-confirmresize.xml | 3 +
1680
doc/api_samples/server-action-createimage.json | 8 +++
1681
doc/api_samples/server-action-createimage.xml | 8 +++
1682
doc/api_samples/server-action-reboot.json | 5 ++
1683
doc/api_samples/server-action-reboot.xml | 4 ++
1684
doc/api_samples/server-action-rebuild-resp.json | 55 +++++++++++++++
1685
doc/api_samples/server-action-rebuild-resp.xml | 19 +++++
1686
doc/api_samples/server-action-rebuild.json | 18 +++++
1687
doc/api_samples/server-action-rebuild.xml | 25 +++++++
1688
doc/api_samples/server-action-resize.json | 5 ++
1689
doc/api_samples/server-action-resize.xml | 4 ++
1690
doc/api_samples/server-action-revertresize.json | 3 +
1691
doc/api_samples/server-action-revertresize.xml | 3 +
1692
.../server-action-changepassword.json.tpl | 5 ++
1693
.../server-action-changepassword.xml.tpl | 4 ++
1694
.../server-action-confirmresize.json.tpl | 3 +
1695
.../server-action-confirmresize.xml.tpl | 3 +
1696
.../api_samples/server-action-createimage.json.tpl | 9 +++
1697
.../api_samples/server-action-createimage.xml.tpl | 8 +++
1698
.../api_samples/server-action-reboot.json.tpl | 5 ++
1699
.../api_samples/server-action-reboot.xml.tpl | 4 ++
1700
.../server-action-rebuild-resp.json.tpl | 55 +++++++++++++++
1701
.../api_samples/server-action-rebuild-resp.xml.tpl | 43 ++++++++++++
1702
.../api_samples/server-action-rebuild.json.tpl | 18 +++++
1703
.../api_samples/server-action-rebuild.xml.tpl | 25 +++++++
1704
.../api_samples/server-action-resize.json.tpl | 5 ++
1705
.../api_samples/server-action-resize.xml.tpl | 4 ++
1706
.../server-action-revertresize.json.tpl | 3 +
1707
.../api_samples/server-action-revertresize.xml.tpl | 3 +
1708
nova/tests/integrated/test_api_samples.py | 74 +++++++++++++++++++-
1709
33 files changed, 442 insertions(+), 1 deletion(-)
1711
commit d68d2fba65528b1d60f42817b2043cfbf1fea7ef
1712
Author: Dan Smith <danms@us.ibm.com>
1713
Date: Fri Sep 14 07:43:35 2012 -0700
1715
Fix XML deserialization of rebuild parameters
1717
This picks up the following attributes which are currently ignored
1718
when poking this via XML:
1723
Change-Id: I947aa2f942022d839919ae7516759955e5b06668
1725
nova/api/openstack/compute/servers.py | 9 +++++++++
1726
1 file changed, 9 insertions(+)
1728
commit c1af117628e1010f17931487785422a284687151
1729
Merge: f252719 b7f1403
1730
Author: Jenkins <jenkins@review.openstack.org>
1731
Date: Fri Sep 14 15:45:40 2012 +0000
1733
Merge "Add a resume delete on volume manager startup"
1735
commit f252719056e6ebc9fea3eebc2ab3852eb7ddee84
1736
Merge: cea105a 4d2b9ed
1737
Author: Jenkins <jenkins@review.openstack.org>
1738
Date: Fri Sep 14 15:07:52 2012 +0000
1740
Merge "libvirt: Cleanup L2 and L3 rules when confirm vm resize"
1742
commit cea105a22d1c9d66a3a0b6649e84737c795f743c
1743
Merge: 81b2c8b 63fdfcb
1744
Author: Jenkins <jenkins@review.openstack.org>
1745
Date: Fri Sep 14 13:59:42 2012 +0000
1747
Merge "Correct typo in memory_mb_limit filter property"
1749
commit 29af2252a8bc97157a52fddca78b31224eb55dac
1750
Author: Eoghan Glynn <eglynn@redhat.com>
1751
Date: Fri Sep 14 11:15:29 2012 +0000
1753
All security groups not returned to admins by default.
1757
Previously security groups relating to all tenants were returned
1758
when requested by an admin user.
1760
Now only those groups related to the current tenant are returned
1763
To recover the old behaviour, the all_tenants search option may
1764
be specified via the native API with:
1766
/v2/<project_id>/os-security-groups?all_tenants=1
1768
or via the EC2 API with:
1770
Action=DescribeSecurityGroups&Filter.1.Name=all-tenants&Filter.1.Value.1=1
1772
Note that the latter is slightly ultra vires with respect to the
1773
EC2 API spec, in the sense that this filter is in addition to the
1774
standard set. Since we don't pay attention to many of these standard
1775
filters as yet, this stepping slightly off-piste is deemed worth it.
1777
Change-Id: I6157e408394d04096d21747d665e3b3aa6aa55de
1779
nova/api/ec2/cloud.py | 5 ++-
1780
nova/api/ec2/ec2utils.py | 5 +++
1781
.../openstack/compute/contrib/security_groups.py | 6 ++-
1782
nova/compute/api.py | 12 +++++-
1783
nova/tests/api/ec2/test_cloud.py | 32 ++++++++++++++++
1784
.../compute/contrib/test_security_groups.py | 39 ++++++++++++++++++++
1785
6 files changed, 95 insertions(+), 4 deletions(-)
1787
commit 4d2b9edd8656719f7a09063c0f5125d05c358931
1788
Author: Jian Wen <wenjianhn@gmail.com>
1789
Date: Thu Sep 13 15:46:59 2012 +0800
1791
libvirt: Cleanup L2 and L3 rules when confirm vm resize
1793
Cleanup security group and nwfilter rules on source node in
1796
Add test cases for confirm_migration and _cleanup_resize.
1800
Change-Id: Id5495c41f3b51aa555a540f2c8aa718b653ae034
1802
nova/tests/test_libvirt.py | 49 +++++++++++++++++++++++++++++++++++++++++++
1803
nova/virt/libvirt/driver.py | 7 +++++--
1804
2 files changed, 54 insertions(+), 2 deletions(-)
1806
commit 81b2c8b2a33891d42670e60523d42a85ad227625
1807
Merge: 7df947f 77dd6a0
1808
Author: Jenkins <jenkins@review.openstack.org>
1809
Date: Fri Sep 14 07:13:13 2012 +0000
1811
Merge "Allow for deleting VMs from down compute nodes."
1813
commit c0c1e53e24081d1599dfaddf2904dfa7add60d9c
1814
Author: MotoKen <motokentsai@gmail.com>
1815
Date: Fri Sep 14 14:16:39 2012 +0800
1817
Corrects use of instance_uuid for fixed ip
1819
Uses instance_uuid rather than instance_id since commit 66f9e085a.
1823
Change-Id: I6161c7a6ad9c3891e100daae39fe8ea82bfd8654
1825
nova/api/ec2/cloud.py | 4 ++--
1826
1 file changed, 2 insertions(+), 2 deletions(-)
1828
commit 7df947f7dcf593d1613212de877ac5217cdbac0f
1829
Merge: 9e81075 918a02d
1830
Author: Jenkins <jenkins@review.openstack.org>
1831
Date: Fri Sep 14 06:06:17 2012 +0000
1833
Merge "Fixes import issue on Windows"
1835
commit 7937144fce54570b2da543663e6ee5e64b1c3cdb
1836
Author: Vishvananda Ishaya <vishvananda@gmail.com>
1837
Date: Fri Sep 14 00:21:03 2012 +0000
1839
Clean up handling of project_only in network_get
1841
There was some funky logic for getting networks to work around
1842
the project only decorator. This changes the code to match what
1843
we actually want which is:
1845
In Flat and FlatDHCP mode non-admins should be able to access
1846
networks that belong to their project or networks that have no
1847
project_id assigned.
1849
In VlanManager, project_id=None projects should not be accessible
1850
as this means the project hasn't been assigned yet. The assignment
1851
is done with an elevated context.
1853
This patch adds some logic to model_query to allow None in the
1854
project_only filter and makes network_get_all_by_uuids and
1859
Change-Id: I5377cea87dec8e9d0d9cec84e07128c5c6e8dca3
1861
nova/db/api.py | 10 +++---
1862
nova/db/sqlalchemy/api.py | 40 +++++++++++-----------
1863
nova/network/manager.py | 33 ++++++++++--------
1864
nova/tests/fake_network.py | 6 ++--
1865
nova/tests/image/test_s3.py | 3 +-
1866
nova/tests/network/test_manager.py | 66 ++++++++++++++++++------------------
1867
6 files changed, 82 insertions(+), 76 deletions(-)
1869
commit 9e81075621950afd86a129c7c9e8380019e15597
1870
Merge: c8c121f c72935f
1871
Author: Jenkins <jenkins@review.openstack.org>
1872
Date: Fri Sep 14 02:49:10 2012 +0000
1874
Merge "Use tmpdir and avoid leaving test files behind"
1876
commit c8c121f5c3c864ed88645b4cf1a442bc9b59db9a
1877
Merge: 9d791c1 b107450
1878
Author: Jenkins <jenkins@review.openstack.org>
1879
Date: Fri Sep 14 02:46:16 2012 +0000
1881
Merge "Add more useful logging around the unmount fail case."
1883
commit 6dc8b4573ad539c93794f9fbb6bea1189f0abad0
1884
Author: Joe Gordon <jogo@cloudscaling.com>
1885
Date: Thu Sep 13 17:39:00 2012 -0700
1887
Add README for doc folder
1889
In preparation for more more man pages
1891
Change-Id: I55a9d332e5cbba90ff1e2a2cb0c0d24ae35fba5b
1894
doc/README.rst | 31 +++++++++++++++++++++++++++++++
1895
2 files changed, 32 insertions(+), 1 deletion(-)
1897
commit 63fdfcbdcd8a0dd8422ff83f8ee2b9603a4a6c94
1898
Author: Brian Elliott <brian.elliott@rackspace.com>
1899
Date: Thu Sep 13 21:50:14 2012 +0000
1901
Correct typo in memory_mb_limit filter property
1903
Fixes bug blocking memory oversubscription in builds
1907
Change-Id: I932d0a7248f231127965331886664bfd9092dad0
1909
nova/scheduler/filters/ram_filter.py | 2 +-
1910
nova/tests/scheduler/test_host_filters.py | 2 +-
1911
2 files changed, 2 insertions(+), 2 deletions(-)
1913
commit b107450cf9e89c5d93b989371b3a5f66810dbf9f
1914
Author: Joshua Harlow <harlowja@yahoo-inc.com>
1915
Date: Thu Sep 13 16:41:53 2012 -0700
1917
Add more useful logging around the unmount fail case.
1919
Raise a better message with a more useful message
1920
rather than raising a process execution error, which
1921
although useful is not especially meaningful.
1925
Change-Id: Id9817de26fdb16f8fce17ebd093a9550e63be19c
1927
nova/virt/disk/guestfs.py | 10 +++++++---
1928
1 file changed, 7 insertions(+), 3 deletions(-)
1930
commit 706502a64c3537c8d7043149c0670130ca9b6822
1931
Author: OpenStack Jenkins <jenkins@openstack.org>
1932
Date: Thu Sep 13 21:37:18 2012 +0000
1934
Imported Translations from Transifex
1936
Change-Id: Ibcf44205f71393d3663e2479f5e63a8ac54861a1
1938
nova/locale/bs/LC_MESSAGES/nova.po | 8406 ++++++++++++++++-----------
1939
nova/locale/cs/LC_MESSAGES/nova.po | 9948 +++++++++++++++++++-------------
1940
nova/locale/da/LC_MESSAGES/nova.po | 8409 ++++++++++++++++-----------
1941
nova/locale/de/LC_MESSAGES/nova.po | 8520 +++++++++++++++++-----------
1942
nova/locale/en_AU/LC_MESSAGES/nova.po | 8915 +++++++++++++++++------------
1943
nova/locale/en_GB/LC_MESSAGES/nova.po | 8768 ++++++++++++++++------------
1944
nova/locale/en_US/LC_MESSAGES/nova.po |10033 +++++++++++++++++++++++++++++++++
1945
nova/locale/es/LC_MESSAGES/nova.po | 8916 +++++++++++++++++------------
1946
nova/locale/fr/LC_MESSAGES/nova.po | 9208 ++++++++++++++++++------------
1947
nova/locale/it/LC_MESSAGES/nova.po | 8655 ++++++++++++++++------------
1948
nova/locale/ja/LC_MESSAGES/nova.po | 9001 +++++++++++++++++------------
1949
nova/locale/ko/LC_MESSAGES/nova.po | 8570 +++++++++++++++++-----------
1950
nova/locale/nb/LC_MESSAGES/nova.po | 9579 +++++++++++++++++++++++++++++++
1951
nova/locale/nova.pot | 7489 +++++++++++++++---------
1952
nova/locale/pt_BR/LC_MESSAGES/nova.po | 8892 +++++++++++++++++------------
1953
nova/locale/ru/LC_MESSAGES/nova.po | 9495 ++++++++++++++++++-------------
1954
nova/locale/tl/LC_MESSAGES/nova.po | 8414 ++++++++++++++++-----------
1955
nova/locale/tr/LC_MESSAGES/nova.po | 8405 ++++++++++++++++-----------
1956
nova/locale/uk/LC_MESSAGES/nova.po | 8474 +++++++++++++++++-----------
1957
nova/locale/zh_CN/LC_MESSAGES/nova.po | 9738 +++++++++++++++++++-------------
1958
nova/locale/zh_TW/LC_MESSAGES/nova.po | 8561 +++++++++++++++++-----------
1959
21 files changed, 119811 insertions(+), 66585 deletions(-)
1961
commit 423dbafd08ac3bb970bcb842fa6e7812d42ceb4e
1962
Author: Dan Smith <danms@us.ibm.com>
1963
Date: Thu Sep 13 12:06:09 2012 -0700
1965
Make compute/manager.py use self.host instead of FLAGS.host
1967
This prevents the instances returned from getting a different
1968
instance['host'] than was supplied to the manager. This shows up
1969
during integrated testing of 'resize'.
1971
Change-Id: Ifa4316bf7099dc2c60c4e87cfaafa93a4bc2e5b1
1973
nova/compute/manager.py | 9 +++++----
1974
nova/tests/compute/test_compute.py | 2 +-
1975
2 files changed, 6 insertions(+), 5 deletions(-)
1977
commit b7f140351acf63c0054fc772edff2328fac3fcfb
1978
Author: John Griffith <john.griffith@solidfire.com>
1979
Date: Thu Sep 13 11:44:51 2012 -0600
1981
Add a resume delete on volume manager startup
1983
Currently if for some reason the volume service was stopped
1984
during the zero out operation of a volume delete there was
1985
no way to get the volume removed from the system (it would
1986
be present in deleting status forever).
1988
This change adds a simple check of volumes in the DB with status
1989
of deleting, and if any are found it restarts the delete process
1992
addresses bug #1011150
1994
Change-Id: I6aa26e9eaa94da4b620f01160931cbfcad9dadf7
1996
nova/volume/manager.py | 6 ++++++
1997
1 file changed, 6 insertions(+)
1999
commit 9d791c1225d4923a8e25060490b931c669e4424d
2000
Merge: 114109d e8d0f99
2001
Author: Jenkins <jenkins@review.openstack.org>
2002
Date: Thu Sep 13 17:48:25 2012 +0000
2004
Merge "Add 422 test unit test for servers API"
2006
commit e92d1c4388c92ddd925dcf9ddece6166a7fa4eb0
2007
Author: Mark McLoughlin <markmc@redhat.com>
2008
Date: Wed Sep 12 12:50:57 2012 +0100
2010
Remove useless _get_key_name() in servers API
2012
This no longer does anything useful. Firstly, we already check that the
2013
body dict has a server key. Secondly, AttributeError will never be
2014
thrown here since we have already checked that the entity is a dict.
2015
Finally, we don't need to set this key to None if it's not supplied
2016
by the client since we later use get() to to look it up.
2018
Change-Id: I4235117cc47e5b5cbdad4425edb3c7059e608d49
2020
nova/api/openstack/compute/servers.py | 10 ----------
2021
1 file changed, 10 deletions(-)
2023
commit d1ad73eebd28f33c98b56c033c2c4d305d66d5dc
2024
Author: Mark McLoughlin <markmc@redhat.com>
2025
Date: Wed Sep 12 12:50:53 2012 +0100
2027
Add entity body validation helper
2029
Add a _valid_body() helper for the servers API to avoid repeating the
2030
same tests in multiple methods. Include a check that the 'server' value
2033
Also remove the superfluous checking of req.body which is a leftover
2034
from when the body wasn't a method parameter.
2036
Change-Id: If8114cc76d68567005c85c803f29e30e034db89a
2038
nova/api/openstack/compute/servers.py | 13 ++--------
2039
nova/api/openstack/wsgi.py | 17 +++++++++++++
2040
nova/tests/api/openstack/compute/test_servers.py | 18 ++++++--------
2041
nova/tests/api/openstack/test_wsgi.py | 29 ++++++++++++++++++++++
2042
4 files changed, 56 insertions(+), 21 deletions(-)
2044
commit e8d0f9940edd1043162c187ec92f93e8c9fafb02
2045
Author: Mark McLoughlin <markmc@redhat.com>
2046
Date: Wed Sep 12 12:50:47 2012 +0100
2048
Add 422 test unit test for servers API
2050
Add a straightforward test case to check the cases where we're returning
2051
422 from the servers API.
2053
Add a comment to ServersAllExtensionsTestCase which clarifies who it
2054
differs from these new 422 tests.
2056
Change-Id: Idb39e37f4a620199abb986793ae9415a5115dba9
2058
nova/tests/api/openstack/compute/test_servers.py | 63 +++++++++++++++++++---
2059
1 file changed, 56 insertions(+), 7 deletions(-)
2061
commit c72935f17272d117930a4c4c76426f26d786e421
2062
Author: John Griffith <john.griffith@solidfire.com>
2063
Date: Wed Sep 12 17:04:17 2012 -0600
2065
Use tmpdir and avoid leaving test files behind
2067
We were just creating a file for testing iscsi persist files and
2068
weren't cleaning up after the test.
2070
Change this to use a tmpdir and make sure we leave no tracks.
2074
Change-Id: I714177d7789da8b628ab63c163a2c3f1698dd940
2076
nova/tests/test_iscsi.py | 15 +++++++++++++--
2077
1 file changed, 13 insertions(+), 2 deletions(-)
2079
commit f60931311678dd7597218687562ab8415a8fedb3
2080
Author: Ram Nalluri <ram_nalluri@persistent.co.in>
2081
Date: Wed Sep 12 22:36:59 2012 +0530
2083
Includes sec group quota details in limits API response
2085
Added the security groups quota details to
2086
the limit API response so that these details
2087
also get displayed to the user.
2090
Change-Id: I45c345141747f99359c8948e959030f8cb99e866
2092
doc/api_samples/limit-get-resp.json | 6 ++++--
2093
doc/api_samples/limit-get-resp.xml | 4 +++-
2094
nova/api/openstack/compute/views/limits.py | 2 ++
2095
nova/tests/api/openstack/compute/test_limits.py | 15 +++++++++++++++
2096
.../integrated/api_samples/limit-get-resp.json.tpl | 4 +++-
2097
.../integrated/api_samples/limit-get-resp.xml.tpl | 2 ++
2098
6 files changed, 29 insertions(+), 4 deletions(-)
2100
commit 918a02d5cc3c845bcd58e00fcdf2728e78dafa26
2101
Author: Alessandro Pilotti <ap@pilotti.it>
2102
Date: Thu Sep 13 15:08:45 2012 +0300
2104
Fixes import issue on Windows
2108
The crypt module is not available on Windows.
2109
Since this is a blocking issue on Hyper-V and since the only
2110
function using it is _set_passwd (not implemented on Windows),
2111
the import can be safely conditionally avoided.
2113
Change-Id: Iefe97edcfcff3b70593e07628b6a6f85e680cbc7
2115
nova/virt/disk/api.py | 7 ++++++-
2116
1 file changed, 6 insertions(+), 1 deletion(-)
2118
commit 114109dbf4094ae6b6333d41c84bebf6f85c4e48
2119
Author: Thierry Carrez <thierry@openstack.org>
2120
Date: Thu Sep 13 14:07:02 2012 +0200
2122
Overload comment in generated SSH keys
2124
Overload comment in generated SSH keys in order not to leak information
2125
about the user and host that actually generated them. Patch based on a
2126
suggestion by Pedro Perez.
2130
Change-Id: I73bbdba1f6c9e83a5e7e70564959b9d7abaa5e29
2132
nova/crypto.py | 2 +-
2133
1 file changed, 1 insertion(+), 1 deletion(-)
2135
commit 0296a2d2499a634ef49c2545fd75d41f3219bfa5
2136
Merge: 0bf93c0 760e59b
2137
Author: Jenkins <jenkins@review.openstack.org>
2138
Date: Thu Sep 13 10:33:34 2012 +0000
2140
Merge "Validate keypair create request body"
2142
commit 0bf93c05079c6c7c30e28ca1e0fba54b381c36d5
2143
Merge: 213b087 cce5cf4
2144
Author: Jenkins <jenkins@review.openstack.org>
2145
Date: Thu Sep 13 10:22:02 2012 +0000
2147
Merge "Return 400 if create volume snapshot force parameter is invalid"
2149
commit 213b087bc9b90070156db50275f969eae4dd75cb
2150
Merge: 48f359a 772c5d4
2151
Author: Jenkins <jenkins@review.openstack.org>
2152
Date: Thu Sep 13 10:19:31 2012 +0000
2154
Merge "Backport changes from Cinder to Nova-Volume"
2156
commit 760e59b8632edd8cbf395289e24f380ffd06f047
2157
Author: Sirisha Devineni <sirisha_devineni@persistent.co.in>
2158
Date: Thu Sep 13 00:00:32 2012 +0530
2160
Validate keypair create request body
2162
Check if keypair create request body has manditory keys like keypair, name
2163
and raise HTTPBadRequest if the required keys are missing.
2167
Change-Id: Ia6129e1b04e910fbea81b62b921a228aafa32f64
2169
nova/api/openstack/compute/contrib/keypairs.py | 9 +++++++--
2170
.../api/openstack/compute/contrib/test_keypairs.py | 12 ++++++++++++
2171
2 files changed, 19 insertions(+), 2 deletions(-)
2173
commit 48f359a5402446c6a9241f2f1614c8fda27082fd
2174
Merge: 1827d6f 24fa0cc
2175
Author: Jenkins <jenkins@review.openstack.org>
2176
Date: Thu Sep 13 09:35:53 2012 +0000
2178
Merge "Add reservations parameter when cast "create_volume" to volume manager"
2180
commit 1827d6f3cd2c7efaf65c1efa873e2a9cbb50f382
2181
Merge: ef8d6a5 a7cfd75
2182
Author: Jenkins <jenkins@review.openstack.org>
2183
Date: Thu Sep 13 07:08:03 2012 +0000
2185
Merge "Fix FLAGS.volumes_dir help message"
2187
commit 24fa0cc0c644c846baa746cf580cea9fd863a26f
2188
Author: Rongze Zhu <zrzhit@gmail.com>
2189
Date: Wed Sep 12 07:32:03 2012 +0000
2191
Add reservations parameter when cast "create_volume" to volume manager
2195
Add reservations parameter when _cast_create_volume cast
2196
"create_volume" to volume manager. So VolumeManager.create_volume() can
2197
commit the reservations in volume quota.
2199
Change-Id: I8f3104d53bde55d4d83f39253869cc78a8511750
2201
nova/volume/api.py | 3 ++-
2202
1 file changed, 2 insertions(+), 1 deletion(-)
2204
commit ef8d6a57a166d20782d8ad284b2b72aa4ec48572
2205
Merge: e72db9f a3bdc16
2206
Author: Jenkins <jenkins@review.openstack.org>
2207
Date: Thu Sep 13 05:36:31 2012 +0000
2209
Merge "Avoid live migrate overwriting the other task_state"
2211
commit cce5cf45f738ed95a96a4526253bec01a15277f0
2212
Author: Rongze Zhu <zrzhit@gmail.com>
2213
Date: Wed Sep 12 09:18:53 2012 +0000
2215
Return 400 if create volume snapshot force parameter is invalid
2219
* Add is_valid_boolstr function in utils.py
2220
* Add force parameter check in SnapshotsController.create()
2221
* Add unittest for invalid force parameter.
2223
Change-Id: Ie6a07a2ac589da76f52a82b126a6d66e5987edc4
2225
nova/api/openstack/compute/contrib/volumes.py | 7 ++++++-
2226
nova/api/openstack/volume/snapshots.py | 7 ++++++-
2227
.../openstack/compute/contrib/test_snapshots.py | 13 +++++++++++++
2228
nova/tests/api/openstack/volume/test_snapshots.py | 10 ++++++++++
2229
nova/utils.py | 9 +++++++++
2230
5 files changed, 44 insertions(+), 2 deletions(-)
2232
commit e72db9fe9345c48f4ea287643306d884c82f04f4
2233
Merge: 94972cf 8c168dd
2234
Author: Jenkins <jenkins@review.openstack.org>
2235
Date: Thu Sep 13 02:18:27 2012 +0000
2237
Merge "Adds more servers list and servers details samples"
2239
commit 94972cfe38a48ebb352ba06c538f5da2e3641d31
2240
Merge: 677f6f6 5465d13
2241
Author: Jenkins <jenkins@review.openstack.org>
2242
Date: Thu Sep 13 02:18:08 2012 +0000
2244
Merge "fix rpcapi version."
2246
commit 677f6f6873e3d4521d7382db3d78d9963a0ec27c
2247
Merge: b99b8b9 0fa231f
2248
Author: Jenkins <jenkins@review.openstack.org>
2249
Date: Thu Sep 13 02:12:11 2012 +0000
2251
Merge "Add flag cinder_endpoint_template to volume.cinder"
2253
commit b99b8b9c0bbdfb7e905d8e0bc2f43d5080293859
2254
Merge: 900a023 4599261
2255
Author: Jenkins <jenkins@review.openstack.org>
2256
Date: Thu Sep 13 02:10:40 2012 +0000
2258
Merge "More specific lxml versions in tools/pip-requires"
2260
commit 900a0230ff1e29634a5ecb85dbe1159a95216d31
2261
Merge: 40afdf4 cc85320
2262
Author: Jenkins <jenkins@review.openstack.org>
2263
Date: Thu Sep 13 01:08:25 2012 +0000
2265
Merge "Update SolidFire volume driver"
2267
commit 40afdf46b9340d734c40c4c42d968d3017cc5cee
2268
Merge: 5bb5a10 0d2523f
2269
Author: Jenkins <jenkins@review.openstack.org>
2270
Date: Thu Sep 13 00:07:52 2012 +0000
2272
Merge "Stop fetch_ca from throwing IOError exceptions"
2274
commit a7cfd754d17840cbcd4d9cd10564ca30260e0dac
2275
Author: Joe Gordon <jogo@cloudscaling.com>
2276
Date: Wed Sep 12 16:30:25 2012 -0700
2278
Fix FLAGS.volumes_dir help message
2280
And other nova/volume/iscsi.py typos
2282
Change-Id: I08e7d4379f6a455273df999b621f8a89e73e0aef
2284
etc/nova/nova.conf.sample | 2 +-
2285
nova/volume/iscsi.py | 6 +++---
2286
2 files changed, 4 insertions(+), 4 deletions(-)
2288
commit 5bb5a10abc9d3731303e87f129256e331e6359b4
2289
Merge: e13b19a 223b9f1
2290
Author: Jenkins <jenkins@review.openstack.org>
2291
Date: Wed Sep 12 23:21:20 2012 +0000
2293
Merge "Adds API sample test for Flavors Extra Data extension."
2295
commit e13b19ab3e7857fdd4c5a185df81879f97b7dd4d
2296
Merge: 3390c70 d741328
2297
Author: Jenkins <jenkins@review.openstack.org>
2298
Date: Wed Sep 12 23:20:38 2012 +0000
2300
Merge "Fix flavor deletion when there is a deleted flavor"
2302
commit 3390c70d2f4481527aaf2fbc3847664b3f45de0e
2303
Merge: de63434 ca94280
2304
Author: Jenkins <jenkins@review.openstack.org>
2305
Date: Wed Sep 12 23:19:30 2012 +0000
2307
Merge "Add 'detaching' to volume status"
2309
commit de63434fec28987f4a7e6850e05cce0fa0082d44
2310
Merge: 0b1eee6 c9e5739
2311
Author: Jenkins <jenkins@review.openstack.org>
2312
Date: Wed Sep 12 23:17:36 2012 +0000
2314
Merge "Rename _unplug_vifs to unplug_vifs"
2316
commit 0b1eee6bb39243ef117f65b0eaf3d6f14b0aa3d7
2317
Merge: 1d8af75 843af52
2318
Author: Jenkins <jenkins@review.openstack.org>
2319
Date: Wed Sep 12 23:15:13 2012 +0000
2321
Merge "Check flavor id on resize."
2323
commit 1d8af7541495f460d573dbb245aed8750c4bcbb2
2324
Merge: e23230d e06d8bc
2325
Author: Jenkins <jenkins@review.openstack.org>
2326
Date: Wed Sep 12 23:13:47 2012 +0000
2328
Merge "Makes key_name show in details view of servers"
2330
commit 8c168dd4fd55aed89b62eec5a0506299dd0d0438
2331
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2332
Date: Wed Sep 12 10:37:22 2012 -0700
2334
Adds more servers list and servers details samples
2336
This moves the servers detail test into the base servers test so
2337
it runs with all_extensions as well. It also renames the
2338
results to be consistent with the other tests. Finally it
2339
adds test for servers-list both with and without extensions.
2341
Change-Id: I6eed3932fa594f1a39faa55453461680781e6a9f
2343
.../all_extensions/servers-details-resp.json | 69 +++++++++++++++++++
2344
.../all_extensions/servers-details-resp.xml | 24 +++++++
2345
.../all_extensions/servers-list-resp.json | 18 +++++
2346
.../all_extensions/servers-list-resp.xml | 7 ++
2347
doc/api_samples/server-detail-get-resp.json | 56 ----------------
2348
doc/api_samples/server-detail-get-resp.xml | 21 ------
2349
doc/api_samples/servers-details-resp.json | 56 ++++++++++++++++
2350
doc/api_samples/servers-details-resp.xml | 21 ++++++
2351
doc/api_samples/servers-list-resp.json | 18 +++++
2352
doc/api_samples/servers-list-resp.xml | 7 ++
2353
.../all_extensions/server-get-resp.json.tpl | 6 +-
2354
.../all_extensions/server-get-resp.xml.tpl | 4 +-
2355
.../all_extensions/servers-details-resp.json.tpl | 70 ++++++++++++++++++++
2356
.../all_extensions/servers-details-resp.xml.tpl | 24 +++++++
2357
.../all_extensions/servers-list-resp.json.tpl | 18 +++++
2358
.../all_extensions/servers-list-resp.xml.tpl | 7 ++
2359
.../api_samples/server-detail-get-resp.json.tpl | 56 ----------------
2360
.../api_samples/server-detail-get-resp.xml.tpl | 21 ------
2361
.../api_samples/server-get-resp.json.tpl | 6 +-
2362
.../integrated/api_samples/server-get-resp.xml.tpl | 4 +-
2363
.../api_samples/servers-details-resp.json.tpl | 56 ++++++++++++++++
2364
.../api_samples/servers-details-resp.xml.tpl | 21 ++++++
2365
.../api_samples/servers-list-resp.json.tpl | 18 +++++
2366
.../api_samples/servers-list-resp.xml.tpl | 7 ++
2367
nova/tests/integrated/test_api_samples.py | 22 +++---
2368
25 files changed, 464 insertions(+), 173 deletions(-)
2370
commit e23230daef3b7fff3f60207c48507ae18d8018c6
2371
Merge: 8155538 f534648
2372
Author: Jenkins <jenkins@review.openstack.org>
2373
Date: Wed Sep 12 21:39:19 2012 +0000
2375
Merge "Change comment for function _destroy"
2377
commit 815553877bc7202e5337e7bbc671268000222246
2378
Merge: b961bd4 5f4d20e
2379
Author: Jenkins <jenkins@review.openstack.org>
2380
Date: Wed Sep 12 21:38:50 2012 +0000
2382
Merge "Avoid VM task state revert on instance termination"
2384
commit e06d8bc8cd2b9cc98b0105d036479cb3773b30ac
2385
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2386
Date: Wed Sep 12 10:37:29 2012 -0700
2388
Makes key_name show in details view of servers
2390
The wrong authorizor was being used in the details view and the test
2391
for details was broken. This fixes the test and makes sure that
2392
key_name shows up in details like it is supposed to.
2396
Change-Id: I4ff01bbd32759f30e7a31ef2eac9f58922843037
2398
nova/api/openstack/compute/contrib/keypairs.py | 2 +-
2399
.../api/openstack/compute/contrib/test_keypairs.py | 7 ++++---
2400
2 files changed, 5 insertions(+), 4 deletions(-)
2402
commit 5f4d20ef439fe04e5d7ab7e1d4610b739222ce6b
2403
Author: Eoghan Glynn <eglynn@redhat.com>
2404
Date: Wed Sep 12 17:20:13 2012 +0100
2406
Avoid VM task state revert on instance termination
2408
Related to bug 1046236.
2410
Previously, if an exception is raised during the nova-compute node's
2411
instance termination logic *before* the instance is evicted from the DB
2412
(e.g. in the network teardown), then the task_state is reverted back to
2413
None by the reverts_task_state decorator, so the instance continues
2414
to be reported as ACTIVE with no outstanding task.
2416
A subsequent attempt to delete the same instance results in the
2417
quota_usages in_use count being decremented a second time.
2419
This occurs despite I91a70ada as that fix depends on the VM task state
2420
continuing to be DELETING. That logic was undermined in Id4358c50 which
2421
caused the task state to be reverted on the successful or unsuccessful
2422
conclusion of the action on the compute node.
2424
Now, the motivation for Id4358c50 was to avoid the VM getting stuck with
2425
a task state that prevents any further action other than deletion.
2426
However in the case of a deletion already having been requested, this
2427
protection is unnecessary and counter-productive. Hence we remove the
2428
task state reversion from the terminate_instance action.
2430
Change-Id: Ie5701e5c12f6241a203423d29d05df1858406c56
2432
nova/compute/manager.py | 8 +++-
2433
nova/tests/compute/test_compute.py | 78 ++++++++++++++++++++++++++----------
2434
2 files changed, 62 insertions(+), 24 deletions(-)
2436
commit a3bdc1624fd557e0699acb049b1ca0c1ef894c2f
2437
Author: Jian Wen <wenjianhn@gmail.com>
2438
Date: Wed Sep 12 17:45:03 2012 +0800
2440
Avoid live migrate overwriting the other task_state
2442
As commit 4082c8375a6ae7e7e67c7ad2e263be2d5fc3dd1f says,
2443
one ordinary task is running, so that task_state is set. The
2444
live_migrate task is accepted at API, and will change task_state to
2445
MIGRATING. However the first task may continue to update task_state or
2446
set it to None as it finishes.
2448
This patch avoids it by updating task_state in compute.api.live_migrate
2449
level with expected_task_state=None.
2451
Add test case for compute.api.live_migrate.
2455
Change-Id: Ida8cef4797de421a7e356c9f5e882fe926535639
2457
nova/compute/api.py | 4 ++++
2458
nova/scheduler/driver.py | 11 +----------
2459
.../compute/contrib/test_admin_actions.py | 7 +++++++
2460
nova/tests/compute/test_compute.py | 17 +++++++++++++++++
2461
nova/tests/scheduler/test_scheduler.py | 12 ------------
2462
5 files changed, 29 insertions(+), 22 deletions(-)
2464
commit 772c5d47d5bdffcd4ff8e09f4116d22568bf6eb9
2465
Author: Ben Swartzlander <bswartz@netapp.com>
2466
Date: Sat Sep 1 23:39:39 2012 -0400
2468
Backport changes from Cinder to Nova-Volume
2470
NetApp C-mode driver.
2471
Generic NFS-based block device driver.
2472
NetApp NFS-based block device driver.
2474
blueprint netapp-volume-driver-cmode
2475
blueprint nfs-files-as-virtual-block-devices
2476
blueprint netapp-nfs-cinder-driver
2480
Change-Id: I513c3f88bcb03f3b71a453f92f5912d7730a8bbc
2482
nova/exception.py | 12 +
2483
nova/tests/test_netapp.py | 389 +++++++++++++++++++++++++
2484
nova/tests/test_netapp_nfs.py | 261 +++++++++++++++++
2485
nova/tests/test_nfs.py | 629 +++++++++++++++++++++++++++++++++++++++++
2486
nova/volume/netapp.py | 294 +++++++++++++++++++
2487
nova/volume/netapp_nfs.py | 267 +++++++++++++++++
2488
nova/volume/nfs.py | 293 +++++++++++++++++++
2489
7 files changed, 2145 insertions(+)
2491
commit b961bd4c2916559bca856bc8b142d9df7494ef13
2492
Merge: ead54c8 3c79641
2493
Author: Jenkins <jenkins@review.openstack.org>
2494
Date: Wed Sep 12 16:28:43 2012 +0000
2496
Merge "PowerVM: Establish SSH connection at use time"
2498
commit ead54c8ccd3f2ed1c5848680839f50245f66e7bc
2499
Merge: f5ad3bc b006e6b
2500
Author: Jenkins <jenkins@review.openstack.org>
2501
Date: Wed Sep 12 16:27:53 2012 +0000
2503
Merge "libvirt: Fix live block migration"
2505
commit 843af52d49554f15c13e5617b9eb672c35c7fe51
2506
Author: Alessandro Tagliapietra <tagliapietra.alessandro@gmail.com>
2507
Date: Tue Sep 11 19:39:13 2012 +0200
2509
Check flavor id on resize.
2511
Actually it checks for memory size changes so you can't change just cpu or hdd when resizing instances.
2515
Change-Id: I793d19dbf5f1d89d365e63ab61b4edb983fdb11c
2517
nova/api/openstack/compute/servers.py | 4 ++--
2518
nova/compute/api.py | 7 ++-----
2519
nova/exception.py | 4 ++--
2520
nova/tests/compute/test_compute.py | 4 ++--
2521
4 files changed, 8 insertions(+), 11 deletions(-)
2523
commit c9e573955bc6ae22c2508ccc640690828b150152
2524
Author: Yun Mao <yunmao@gmail.com>
2525
Date: Sat Aug 25 09:53:38 2012 -0400
2527
Rename _unplug_vifs to unplug_vifs
2529
self._vmops is of type VMWareVMOps, which doesn't have unplug_vifs
2532
Partially fix bug 1037183
2534
Change-Id: I561788fbfea1d221e13850e93593f8b9a96d9f7c
2536
nova/virt/vmwareapi/vmops.py | 4 ++--
2537
1 file changed, 2 insertions(+), 2 deletions(-)
2539
commit 3c79641a1310853b9f73a5ec5b6459ac88578ab8
2540
Author: Thierry Carrez <thierry@openstack.org>
2541
Date: Wed Sep 12 14:33:34 2012 +0200
2543
PowerVM: Establish SSH connection at use time
2545
Establish SSH connection at use time in PowerVM compute driver, in order
2546
to work around a paramiko error on slow networks. Patch based on a
2547
proposal by David Peraza.
2551
Change-Id: I1a656981fae2f384c748c077d608018a0aafb681
2553
nova/virt/powervm/operator.py | 8 +++++++-
2554
1 file changed, 7 insertions(+), 1 deletion(-)
2556
commit b006e6bcb4b58039663b5ee0d0b007cf42245e49
2557
Author: Jian Wen <wenjianhn@gmail.com>
2558
Date: Tue Sep 11 20:57:14 2012 +0800
2560
libvirt: Fix live block migration
2562
Current check_can_live_migrate_destination trys to get instance info
2563
by call self._conn.lookupByName(instance_name) on the destination
2564
host before migrating. Because the instance is not on the destination
2565
host yet, it failes with InstanceNotFound.
2567
This fix gets the available disk size of the destination side.
2568
On the source side, checks whether the above space is enough before
2573
Change-Id: I20f64e1f85828049b697a4b1173bac8e5779d45a
2575
nova/compute/api.py | 5 ++-
2576
nova/tests/test_libvirt.py | 105 ++++++++++++++++++++++---------------------
2577
nova/virt/libvirt/driver.py | 38 +++++++++-------
2578
3 files changed, 79 insertions(+), 69 deletions(-)
2580
commit f5346481784cb5953cdb2e9301f2325b36496ebc
2581
Author: xushichao <gudujianjsk@gmail.com>
2582
Date: Wed Sep 12 15:23:58 2012 +0800
2584
Change comment for function _destroy
2586
Change 'the instance if already' to 'the instance is already'
2588
Change-Id: I31bee8d7c3049d14442abffce4b48589af083544
2590
nova/virt/libvirt/driver.py | 2 +-
2591
1 file changed, 1 insertion(+), 1 deletion(-)
2593
commit 0d2523f029b291817551e33fe15cd7ab33fe2102
2594
Author: Chris Yeoh <cyeoh@au1.ibm.com>
2595
Date: Sat Aug 25 15:51:37 2012 +0930
2597
Stop fetch_ca from throwing IOError exceptions
2601
Fixes problem where fetch_ca could throw an IOError exception rather
2602
than a Nova specific exception.
2603
Adds FileError exception.
2604
Fixes other functions in crypto.py that had very similar problems.
2606
Change-Id: Ic2e43c35ad58c67d33156c53d2a41910dfdf8678
2608
nova/crypto.py | 17 ++++++++++++++---
2609
nova/exception.py | 8 ++++++++
2610
nova/tests/test_crypto.py | 19 +++++++++++++++++++
2611
3 files changed, 41 insertions(+), 3 deletions(-)
2613
commit ca9428037a33cf970d4d0c229121ee526614885a
2614
Author: Rongze Zhu <zrzhit@gmail.com>
2615
Date: Tue Sep 11 07:53:35 2012 +0000
2617
Add 'detaching' to volume status
2621
When attach a volume , the volume status is "available -> attaching ->
2622
in-use", But when detaching a volume , the volume status is "in-use ->
2623
available". So We need 'detaching' volume status, it make the change of
2624
state of the volume more clearly.
2626
Change-Id: I544220c206899307294d50e26679f5351fdc0cd7
2628
nova/compute/api.py | 1 +
2629
nova/compute/manager.py | 14 +++++++++++---
2630
nova/tests/fake_volume.py | 10 ++++++++++
2631
nova/tests/policy.json | 2 ++
2632
nova/tests/test_volume.py | 11 +++++++++++
2633
nova/volume/api.py | 11 +++++++++++
2634
nova/volume/cinder.py | 6 ++++++
2635
7 files changed, 52 insertions(+), 3 deletions(-)
2637
commit f5ad3bced3788fea89a4a25a29053d51aeb7a3b2
2638
Author: Brian Elliott <brian.elliott@rackspace.com>
2639
Date: Wed Sep 12 00:49:07 2012 +0000
2641
Reset task state before rescheduling
2643
Reset the task state to SCHEDULING before attempting re-scheduling.
2644
This is a precaution to make sure subsequent calls to update the
2645
task state see an 'expected_task_state'.
2649
Change-Id: I5667a88487bd7039eb2e0aaebef532199d8b31ef
2651
nova/compute/manager.py | 5 +++++
2652
nova/tests/compute/test_compute.py | 5 +++++
2653
2 files changed, 10 insertions(+)
2655
commit c0709bdd82c83e16cab6ed854d2ef873eb775473
2656
Author: Dan Wendlandt <dan@nicira.com>
2657
Date: Tue Sep 11 12:22:23 2012 -0700
2659
workaround lack of quantum/nova floatingip integration
2663
The Nova/Quantum integration in Folsom does not yet proxy Nova
2664
floating IP calls to Quantum. However, Horizon automatically
2665
makes calls to Nova to list floating IPs, which prior to this
2666
patch resulted in a Horizon error message due to the fact that
2667
the Quantum integration code in Nova would raise an Unimplemented
2668
error. This patch changes that behavior to instead return an
2671
This is a workaround for Folsom. The correct long-term behavior
2673
1) have Nova proxy all floating-ip calls to Quantum when quantum
2675
2) have Horizon use the Quantum floating-ip API when Quantum
2678
Change-Id: I5414d935e872a9da108511b50e70545d82b73347
2680
nova/network/quantumv2/api.py | 6 +++---
2681
1 file changed, 3 insertions(+), 3 deletions(-)
2683
commit 511807ed248fbe63cb6642c1cff6e0bd4bb8ae5d
2684
Merge: 93c7652 1f82e30
2685
Author: Jenkins <jenkins@review.openstack.org>
2686
Date: Tue Sep 11 17:52:26 2012 +0000
2688
Merge "Fix xml metadata for volumes api in nova-volume."
2690
commit 5465d13b13569db1e0dbd4255a2d68e525a43481
2691
Author: Russell Bryant <rbryant@redhat.com>
2692
Date: Tue Sep 11 13:17:04 2012 -0400
2696
In commit ce4dbbd7, the BASE_RPC_API_VERSION was changed to '2.1' in
2697
nova.compute.rpcapi. This should remain '2.0' until the API goes to
2698
3.X. Only specify version '2.1' for the method that requires it
2701
Add a NOTE above each instance of BASE_RPC_API_VERSION to try to help
2702
clarify this for the future.
2704
Change-Id: I06cef44c905e8966505d5fb5b1046d6a0c75d533
2706
nova/cert/rpcapi.py | 8 ++++++++
2707
nova/compute/rpcapi.py | 23 ++++++++++++++++++++---
2708
nova/console/rpcapi.py | 8 ++++++++
2709
nova/consoleauth/rpcapi.py | 8 ++++++++
2710
nova/scheduler/rpcapi.py | 8 ++++++++
2711
nova/tests/compute/test_rpcapi.py | 2 +-
2712
6 files changed, 53 insertions(+), 4 deletions(-)
2714
commit 93c765219967c721717c51bf031ffc098e366121
2715
Merge: afce5d6 1b19fae
2716
Author: Jenkins <jenkins@review.openstack.org>
2717
Date: Tue Sep 11 14:52:07 2012 +0000
2719
Merge "Remove unused AddressAlreadyAllocated exception"
2721
commit afce5d61e470f1589924bf00ba28cfe8b9c57b1f
2722
Merge: 3531288 6281d67
2723
Author: Jenkins <jenkins@review.openstack.org>
2724
Date: Tue Sep 11 14:50:58 2012 +0000
2726
Merge "Remove an unused import"
2728
commit 3531288bc3959932eac586f582fa168b983083c2
2729
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2730
Date: Mon Sep 10 12:46:25 2012 -0700
2732
Convert to ints in VlanManager.create_networks
2736
Change-Id: I17647b0e495964c305e54221bf3fcfd6bdbc1547
2738
nova/network/manager.py | 26 ++++++++++++++++----------
2739
1 file changed, 16 insertions(+), 10 deletions(-)
2741
commit 1b19fae34c26c7e01bc7fd0fdeb4ac66f7d287cd
2742
Author: Mark McLoughlin <markmc@redhat.com>
2743
Date: Tue Sep 11 08:07:16 2012 +0100
2745
Remove unused AddressAlreadyAllocated exception
2747
Coincidentally, unused for two years now since commit 2f3a63ac
2749
Change-Id: I2112c7686ef22116e777e397d4fc2c1bbbb1ad58
2751
nova/network/manager.py | 5 -----
2752
1 file changed, 5 deletions(-)
2754
commit 6281d6713b8fa914855f0ca6e4f20e40290c8dcb
2755
Author: xushichao <gudujianjsk@gmail.com>
2756
Date: Tue Sep 11 14:22:19 2012 +0800
2758
Remove an unused import
2760
Remove the nova.virt.driver import because it is not used
2762
Change-Id: I6f9a0bd5593497d8e1af4dec9361064a374a00fb
2764
nova/virt/hyperv/vmops.py | 1 -
2765
1 file changed, 1 deletion(-)
2767
commit ca2d9a9a40be1d1323ec4206565a074d3bab3fba
2768
Merge: 4ff3115 7483115
2769
Author: Jenkins <jenkins@review.openstack.org>
2770
Date: Tue Sep 11 05:53:54 2012 +0000
2772
Merge "Handle missing network_size in nova-manage"
2774
commit 4ff311534f36e6b7f5d2bcfb7c9298d605d88123
2775
Merge: 7b24a76 c2501d8
2776
Author: Jenkins <jenkins@review.openstack.org>
2777
Date: Tue Sep 11 03:46:29 2012 +0000
2779
Merge "Prevent Partial terminations in EC2"
2781
commit 7b24a763e91a7ba846b6b41763724ce8e52cdaeb
2782
Author: Michael Still <mikal@stillhq.com>
2783
Date: Tue Sep 11 11:47:14 2012 +1000
2785
Make ip block splitting a bit more self documenting.
2787
Change-Id: If1343850d75707bc189ba11b33491361f7f58e29
2789
nova/db/sqlalchemy/api.py | 6 +++---
2790
1 file changed, 3 insertions(+), 3 deletions(-)
2792
commit c2501d81b581536ae83793ac3d9879899f21dc1d
2793
Author: Joe Gordon <jogo@cloudscaling.com>
2794
Date: Tue Sep 11 00:22:55 2012 +0000
2796
Prevent Partial terminations in EC2
2798
When passing in a valid and an invalid EC2 id, the API should not partially
2799
execute the command, and instead just return an error.
2803
Also prevents partial:
2808
Change-Id: I28fb4f34aadfb7af14774db983d44584e61c5414
2810
nova/api/ec2/cloud.py | 36 ++++++++++++++++++------------------
2811
1 file changed, 18 insertions(+), 18 deletions(-)
2813
commit 0fa231f718662f2b83c11ffc39f977fdc8941107
2814
Author: Clay Gerrard <clay.gerrard@gmail.com>
2815
Date: Mon Sep 10 19:05:10 2012 -0500
2817
Add flag cinder_endpoint_template to volume.cinder
2819
Add optional flag to allow cinder endpoint to be defined by flag rather
2820
than extracted from the request context's service catalog. No change to
2823
This flag allows deployers to use a seperate management endpoint for
2824
cinder which compute can use exclusively to send messages to cinder, or
2825
just use an auth system that doesn't add/forward the catalog along with
2826
the request (e.g. noauth).
2828
Add python-cinderclient to tools/test-requires
2832
Change-Id: Icb416bf4df2a6e37024f1fbc866006d46d30bcf2
2834
etc/nova/nova.conf.sample | 12 ++++
2835
nova/tests/test_cinder.py | 151 +++++++++++++++++++++++++++++++++++++++++++++
2836
nova/volume/cinder.py | 23 ++++---
2837
tools/test-requires | 1 +
2838
4 files changed, 180 insertions(+), 7 deletions(-)
2840
commit 7483115f1b231318c7a17222eb9908cc49760236
2841
Author: Joe Gordon <jogo@cloudscaling.com>
2842
Date: Fri Sep 7 22:19:18 2012 +0000
2844
Handle missing network_size in nova-manage
2846
In 'nova-manage network create' --network_size should be optional.
2850
Change-Id: I25ce9acbe664810aa8fe9a3b4a2951c0fac4e41a
2852
nova/network/manager.py | 7 ++++---
2853
1 file changed, 4 insertions(+), 3 deletions(-)
2855
commit 608b75e1256441b552fb410c3659436ec6fd93a8
2856
Merge: 3a671cd 5339141
2857
Author: Jenkins <jenkins@review.openstack.org>
2858
Date: Tue Sep 11 00:14:38 2012 +0000
2860
Merge "Improve floating IP delete speed."
2862
commit 223b9f19e5bc1cb09d1837237ecd2494c1c49616
2863
Author: Tiago Mello <tmello@linux.vnet.ibm.com>
2864
Date: Mon Sep 10 21:04:46 2012 -0300
2866
Adds API sample test for Flavors Extra Data extension.
2868
Change-Id: I65f8ed10dc5c1d31f848ad3fdc5c63e17fdc518f
2870
.../flavors-extra-data-get-resp.json | 20 +++++
2871
.../flavors-extra-data-get-resp.xml | 5 ++
2872
.../flavors-extra-data-list-resp.json | 94 ++++++++++++++++++++
2873
.../flavors-extra-data-list-resp.xml | 23 +++++
2874
.../flavors-extra-data-post-req.json | 12 +++
2875
.../flavors-extra-data-post-req.xml | 11 +++
2876
.../flavors-extra-data-post-resp.json | 20 +++++
2877
.../flavors-extra-data-post-resp.xml | 5 ++
2878
.../flavors-extra-data-get-resp.json.tpl | 20 +++++
2879
.../flavors-extra-data-get-resp.xml.tpl | 5 ++
2880
.../flavors-extra-data-list-resp.json.tpl | 94 ++++++++++++++++++++
2881
.../flavors-extra-data-list-resp.xml.tpl | 23 +++++
2882
.../flavors-extra-data-post-req.json.tpl | 12 +++
2883
.../flavors-extra-data-post-req.xml.tpl | 11 +++
2884
.../flavors-extra-data-post-resp.json.tpl | 20 +++++
2885
.../flavors-extra-data-post-resp.xml.tpl | 5 ++
2886
nova/tests/integrated/test_api_samples.py | 38 ++++++++
2887
17 files changed, 418 insertions(+)
2889
commit 4599261d632ad806537fbf4a3b15ef82d2b5192b
2890
Author: Andrew Laski <andrew.laski@rackspace.com>
2891
Date: Mon Sep 10 18:58:26 2012 -0400
2893
More specific lxml versions in tools/pip-requires
2895
Changed lxml version in tools/pip-requires from >=2.3,<3 to
2896
>=2.3,<2.3.5. pip was apparently accepting 3.0alpha as a <3 requirement
2897
but the ordering of elements changes in that version. Some of the
2898
libvirt tests would pass with lxml 3.0alpha but fail with any 2.3.x
2899
version. The tests now pass with any version of lxml within the range
2902
Change-Id: I2d84d32f1bf6fba2c6dbe05799a284a44d4c39d8
2904
nova/tests/test_libvirt_config.py | 6 +++---
2905
tools/pip-requires | 2 +-
2906
2 files changed, 4 insertions(+), 4 deletions(-)
2908
commit 3a671cd7dee8f084d72f8fad9897e46225be7069
2909
Merge: a492558 69f6b86
2910
Author: Jenkins <jenkins@review.openstack.org>
2911
Date: Mon Sep 10 21:44:28 2012 +0000
2913
Merge "Add a criteria to sort a list of dict in api samples"
2915
commit a492558c6f0f0b1aecb763219f380cd58d269103
2916
Merge: 14e0b7d 4c72bfc
2917
Author: Jenkins <jenkins@review.openstack.org>
2918
Date: Mon Sep 10 21:43:47 2012 +0000
2920
Merge "xapi: Fix live block migration"
2922
commit 14e0b7dcfbac455952d6342dbac2c81b6eabbac1
2923
Merge: d938aed 210dc28
2924
Author: Jenkins <jenkins@review.openstack.org>
2925
Date: Mon Sep 10 21:36:51 2012 +0000
2927
Merge "Make size optional when creating a volume from a snapshot."
2929
commit 959c93f6d3572a189fc3fe73f1811c12323db857
2930
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2931
Date: Mon Sep 10 11:37:39 2012 -0700
2933
Fixes snat rules in complex networking configs
2935
There is currently no way to disable nova's snat rule, which causes
2936
problems for some network configurations with an external gateway.
2937
This patch allows the snat to be completely disabled by setting
2938
a blank value for routing_source_ip.
2940
This patch also makes the snat rule a little more specific, only
2941
snatting traffic that is destined for the public interface (or
2942
the floating interface if it is defined). This allows the snat
2943
to work without changing routing_source_ip and also ensures that
2944
an instance assigned multiple ips from different floating pools
2945
will connect from the appropriate address for each pool
2949
Change-Id: I18be88a3dbb7a9f4762db7beefc94e07b8310100
2951
nova/network/l3.py | 6 ++++--
2952
nova/network/linux_net.py | 28 ++++++++++++++++------------
2953
2 files changed, 20 insertions(+), 14 deletions(-)
2955
commit d938aed913b25373269fb9ffecc89ac61e078d75
2956
Merge: 7dc2157 847fb38
2957
Author: Jenkins <jenkins@review.openstack.org>
2958
Date: Mon Sep 10 19:46:34 2012 +0000
2960
Merge "Add documentation for scheduler filters scope"
2962
commit d741328543ad6059bef56adb59f4c94781eaedcd
2963
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2964
Date: Mon Sep 10 12:15:02 2012 -0700
2966
Fix flavor deletion when there is a deleted flavor
2968
If there is a deleted flavor with the same ID as an undeleted flavor,
2969
the flavormanage delete code attempts to delete it again, which fails.
2970
This patch makes sure to pass read_deleted='no' when the flavor is
2971
retrieved for deletion so we get the undeleted flavor. Includes a
2972
failing test to make sure the value is passed properly.
2976
Change-Id: If6a20de2526b7ba90ada4a40317a98f79b2141dc
2978
nova/api/openstack/compute/contrib/flavormanage.py | 3 ++-
2979
.../compute/contrib/test_flavor_manage.py | 7 +++++--
2980
2 files changed, 7 insertions(+), 3 deletions(-)
2982
commit 7dc21573f4c9d5528ce93b34b1b56dc85421d3ab
2983
Merge: 641223d c2ec406
2984
Author: Jenkins <jenkins@review.openstack.org>
2985
Date: Mon Sep 10 18:44:59 2012 +0000
2987
Merge "Add and fix tests for attaching volumes."
2989
commit 210dc28ed61925f873b3da743e4703fecf1ce1b4
2990
Author: Matthew Treinish <treinish@linux.vnet.ibm.com>
2991
Date: Fri Sep 7 14:16:14 2012 -0400
2993
Make size optional when creating a volume from a snapshot.
2995
This patch makes the field optional, defaulting to the same
2996
size as the snapshot (and therefore the origination volume).
2998
Mirror of change I3fea7fe1c0415d10e549c66a242cf2a336a7204e from
3001
Change-Id: I940a048ecf8a7b8212fa4945e3aadf2de8176554
3002
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
3004
nova/api/openstack/compute/contrib/volumes.py | 8 ++++++--
3005
nova/api/openstack/volume/volumes.py | 10 ++++++----
3006
2 files changed, 12 insertions(+), 6 deletions(-)
3008
commit 847fb38c5b0411f9f5b9629967d0072d976b2429
3009
Author: Joe Gordon <jogo@cloudscaling.com>
3010
Date: Wed Sep 5 17:28:38 2012 -0700
3012
Add documentation for scheduler filters scope
3014
Add documentation for bug 1039386
3016
Fix other devref typos
3018
Change-Id: Ife19ee5feb72dd75b91a03c4167d8f4e578a4a04
3020
doc/source/devref/filter_scheduler.rst | 29 ++++++++++++--------
3021
.../filters/aggregate_instance_extra_specs.py | 2 ++
3022
.../filters/compute_capabilities_filter.py | 2 ++
3023
3 files changed, 21 insertions(+), 12 deletions(-)
3025
commit 641223db012211b353658dabaec27942e89ee5c6
3026
Merge: 2e4c232 ff3b994
3027
Author: Jenkins <jenkins@review.openstack.org>
3028
Date: Mon Sep 10 17:55:08 2012 +0000
3030
Merge "Handle missing 'provider_location' in rm_export."
3032
commit 2e4c23279327e526d8d5ee936653c35181574c1d
3033
Merge: ddd5ef1 4fc05bf
3034
Author: Jenkins <jenkins@review.openstack.org>
3035
Date: Mon Sep 10 17:03:51 2012 +0000
3037
Merge "Nail the pip requirement at 1.1."
3039
commit ddd5ef185cbd864090c67a649dcef92e8c3d4015
3040
Merge: e2bef02 0599406
3041
Author: Jenkins <jenkins@review.openstack.org>
3042
Date: Mon Sep 10 17:03:41 2012 +0000
3044
Merge "Adds get_available_resource to hyperv driver"
3046
commit e2bef02b3288728ca6023cc18d07724e39285eeb
3047
Merge: 5f9ae51 0d956a8
3048
Author: Jenkins <jenkins@review.openstack.org>
3049
Date: Mon Sep 10 17:03:10 2012 +0000
3051
Merge "delete a module never used"
3053
commit c2ec406177f3c145e3e8bdc19618aea898109b7e
3054
Author: Alex Meade <alex.meade@rackspace.com>
3055
Date: Mon Sep 10 10:59:43 2012 -0400
3057
Add and fix tests for attaching volumes.
3059
Change-Id: I94ecd429266823369be6fd168256e9f3a1cd5287
3061
nova/tests/compute/test_compute.py | 48 ++++++++++++++++++++++++++++++++++--
3062
1 file changed, 46 insertions(+), 2 deletions(-)
3064
commit 5f9ae51f2f23be8cddcaa21a2798b13530083cde
3065
Author: Daniel P. Berrange <berrange@redhat.com>
3066
Date: Mon Sep 10 14:42:33 2012 +0100
3068
Fix auth parameter passed to libvirt openAuth() method
3070
The 'auth' parameter for the libvirt 'openAuth' method
3071
should be a list of 3 values, a list of credential types,
3072
a function callback and an opaque data value. For unknown
3073
reasons the libvirt driver is passing the string 'root'
3074
instead of the function callback.
3076
This causes any attempt to invoke the callback to fail
3077
with a python exception, which gets swallowed since it
3078
is called asynchronously from libvirt. The upshot of
3079
this is that it is not possible to connect Nova to a
3080
libvirt instance that requires authentication.
3082
Although Nova has no way to provide custom credentials
3083
to libvirt, it is possible to rely on libvirt's client
3084
auth file to provide credentials. ALl that is required
3085
is for the auth callback to return '0' if no credentials
3088
Fixing the Nova params for openAuth() thus enable use of
3089
SASL or Kerberos auth+encryption with Nova eg for SASL
3091
# augtool -s set /files/etc/libvirt/libvirtd.conf/auth_unix_rw sasl
3094
# saslpasswd -a libvirt nova
3096
Again (for verification): XYZ
3098
# su - nova -s /bin/sh
3099
$ mkdir -p $HOME/.config/libvirt
3100
$ cat > $HOME/.config/libvirt <<EOF
3105
[auth-libvirt-localhost]
3109
Finally just restart libvirtd and nova compute services
3111
Change-Id: I011b406e54728a01eb90a7851ae2b1f536674197
3112
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
3114
nova/tests/fakelibvirt.py | 22 +++++++++++++++++-----
3115
nova/tests/test_fakelibvirt.py | 6 ++++--
3116
nova/virt/libvirt/driver.py | 19 +++++++++++++++++--
3117
3 files changed, 38 insertions(+), 9 deletions(-)
3119
commit 4c72bfc8856ace121ab389279479c9afc1b5960b
3120
Author: John Garbutt <john.garbutt@citrix.com>
3121
Date: Fri Sep 7 12:17:48 2012 +0100
3123
xapi: Fix live block migration
3127
Xapi VM.migrate_send and VM.assert_can_migrate calls require that
3128
vdi_map parameter is a (source_vdi_ref -> target_sr_ref) mapping, for block
3129
live migration to work, as of XenServer 6.0 RC1.
3131
On the destination side:
3132
This fix modifies the check_can_live_migrate_destination call, so that the
3133
value returned contains the "destination_sr_ref" (XenAPI specific data is
3134
stored under the "migrate_send_data key").
3137
check_can_live_migrate_source and live_migrate calls assemble the
3138
vdi_map by mapping all the local sr contained vdis of the VM to
3139
destination_sr_ref, and passing this parameter to the VM.migrate_send and
3140
VM.assert_can_migrate Xapi calls.
3142
Change-Id: I95f3dca651d2e72fc727646580092a25f558d6ba
3144
nova/tests/test_xenapi.py | 127 +++++++++++++++++++++++++++++++-----
3145
nova/tests/xenapi/test_vm_utils.py | 48 ++++++++++++++
3146
nova/virt/xenapi/fake.py | 10 +--
3147
nova/virt/xenapi/vm_utils.py | 11 ++++
3148
nova/virt/xenapi/vmops.py | 47 ++++++++-----
3149
5 files changed, 200 insertions(+), 43 deletions(-)
3151
commit 7b3508942d7ddd432f3ef15d4d9734f9bad48239
3152
Merge: 28a5b31 79db483
3153
Author: Jenkins <jenkins@review.openstack.org>
3154
Date: Mon Sep 10 14:33:53 2012 +0000
3156
Merge "remove a never used import"
3158
commit 69f6b86768ec2c3e8b6ccf4704bef13f6f8cc4f8
3159
Author: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
3160
Date: Mon Sep 10 08:26:43 2012 -0400
3162
Add a criteria to sort a list of dict in api samples
3164
Add 'key' parameter in the sorted call to order the list of dictionaries by a
3165
specified criteria: the __tag__ value.
3166
So far the sorted method considered an unspecified criteria (it seems it
3167
considered the whole dict content) when ordering and this was causing some few
3170
Change-Id: I1ebb295a7a3a53267e8f9f4286093f5b63d48eb3
3172
nova/tests/integrated/test_api_samples.py | 12 +++++++++++-
3173
1 file changed, 11 insertions(+), 1 deletion(-)
3175
commit 28a5b31bdbff7ed4492f8a6ca8e7e53a7aba0893
3176
Merge: c3476b5 0a09bf5
3177
Author: Jenkins <jenkins@review.openstack.org>
3178
Date: Mon Sep 10 10:58:56 2012 +0000
3180
Merge "Specify the conf file when creating a volume."
3182
commit 0d956a8137f5bd2cc30f5163c717858e4a1172ee
3183
Author: Teng Li <learnerever@gmail.com>
3184
Date: Mon Sep 10 16:50:03 2012 +0800
3186
delete a module never used
3188
delete the utils in this code, which never used
3190
Change-Id: I9e0f484c507b913bcee91d62c9d118c0219cc13c
3192
nova/scheduler/filters/image_props_filter.py | 1 -
3193
1 file changed, 1 deletion(-)
3195
commit cc8532056bc4a099d3a22b185b8ce60e6b1d0ab7
3196
Author: John Griffith <john.griffith@solidfire.com>
3197
Date: Mon Aug 13 18:35:35 2012 -0600
3199
Update SolidFire volume driver
3201
Implements blueprint update-solidfire-driver
3203
* Updates driver to reflect changes in the release version of SF API
3204
* Modify SF naming scheme
3205
* Implement snapshot functionality
3206
* Implement setting qos on create via metadata
3209
(cherry picked from cinder commit df5c4ba)
3211
Change-Id: I08f7aac31e9d95f971d297a19c285dfa7151b931
3213
nova/tests/test_SolidFireSanISCSIDriver.py | 186 ------------
3214
nova/tests/test_solidfire.py | 210 ++++++++++++++
3215
nova/volume/san.py | 244 ----------------
3216
nova/volume/solidfire.py | 424 ++++++++++++++++++++++++++++
3217
4 files changed, 634 insertions(+), 430 deletions(-)
3219
commit 059940646802fb400c4e59b46d805f40ba61b70f
3220
Author: Alessandro Pilotti <ap@pilotti.it>
3221
Date: Sun Sep 9 18:01:18 2012 +0300
3223
Adds get_available_resource to hyperv driver
3227
update_available_resource was changed to get_available_resource.
3228
This fix implements implements the method in the hyperv driver
3230
Change-Id: Id018877c563aab7f75618ada318b6422ab06c7b7
3232
...est_get_available_resource_multiprocessing.p.gz | Bin 0 -> 270 bytes
3233
...estCase.test_get_available_resource_shutil.p.gz | Bin 0 -> 298 bytes
3234
...PITestCase.test_get_available_resource_wmi.p.gz | Bin 0 -> 1013 bytes
3235
nova/tests/test_hypervapi.py | 6 ++++
3236
nova/virt/hyperv/driver.py | 4 +--
3237
nova/virt/hyperv/vmops.py | 34 +++++++-------------
3238
6 files changed, 19 insertions(+), 25 deletions(-)
3240
commit c3476b5ca7ab5237d3cb8a84fcb7a3292237b764
3241
Author: Eoghan Glynn <eglynn@redhat.com>
3242
Date: Fri Sep 7 12:45:27 2012 +0000
3244
Create image of volume-backed instance via native API
3248
Avoids 'qemu-img snapshot' failure when native API create_image action
3249
is applied to a volume-backed instance.
3251
Applies the same logic as is used to create a placeholder image from
3252
a volume-backed instance via the EC2 API CreateImage operation, with
3253
the now-common code refactored into the ComputeAPI class.
3255
Change-Id: I624584ae9adbf30629f0e814d340da6b9e6e59bd
3257
nova/api/ec2/cloud.py | 81 +++---------------
3258
nova/api/openstack/compute/servers.py | 25 ++++--
3259
nova/compute/api.py | 79 ++++++++++++++++++
3260
.../api/openstack/compute/test_server_actions.py | 87 ++++++++++++++++++++
3261
nova/tests/api/openstack/fakes.py | 6 +-
3262
5 files changed, 202 insertions(+), 76 deletions(-)
3264
commit 5339141f04bf3ce470677e5fc3800ce4ac3fc0ae
3265
Author: Michael Still <mikal@stillhq.com>
3266
Date: Tue Sep 4 20:46:00 2012 +1000
3268
Improve floating IP delete speed.
3270
This is similar to the change to improve bulk creation speed. Before:
3272
./bin/nova-manage floating delete --ip_range 10.250.0.0/16
3273
337.20user 10.22system 44:07.10elapsed 13%CPU (0avgtext+0avgdata 119536maxresident)k
3274
400inputs+0outputs (4major+11704minor)pagefaults 0swaps
3278
./bin/nova-manage floating delete --ip_range 10.250.0.0/16
3279
6.95user 0.16system 1:04.04elapsed 11%CPU (0avgtext+0avgdata 120016maxresident)k
3280
0inputs+0outputs (0major+11750minor)pagefaults 0swaps
3282
Resolves bug 1023560.
3284
Change-Id: If4f23222025cae88576f469022e0f7d907c9c4fa
3286
bin/nova-manage | 12 +++++-------
3287
nova/db/api.py | 5 +++++
3288
nova/db/sqlalchemy/api.py | 34 ++++++++++++++++++++++++++++++++--
3289
3 files changed, 42 insertions(+), 9 deletions(-)
3291
commit f348875724d2b46dedc7f090d4f8cf78b194a15a
3292
Merge: 3eb982f f192a16
3293
Author: Jenkins <jenkins@review.openstack.org>
3294
Date: Sun Sep 9 05:13:21 2012 +0000
3296
Merge "rbd: implement create_volume_from_snapshot"
3298
commit 3eb982f447e899661061959b7d9bb95cd8e09532
3299
Merge: d5521e4 ccc0bfb
3300
Author: Jenkins <jenkins@review.openstack.org>
3301
Date: Sun Sep 9 05:07:11 2012 +0000
3303
Merge "Set install_requires in setup.py."
3305
commit d5521e4b2097e2335e860184e34653568d532aa9
3306
Merge: 63f0467 4fe722a
3307
Author: Jenkins <jenkins@review.openstack.org>
3308
Date: Sun Sep 9 04:59:06 2012 +0000
3310
Merge "Add ServerStartStop extension API test"
3312
commit 63f04675f5a50d589eff58c221eda875fc7c6a54
3313
Merge: 3c4d097 85923aa
3314
Author: Jenkins <jenkins@review.openstack.org>
3315
Date: Sun Sep 9 04:57:10 2012 +0000
3317
Merge "Add Server Detail and Metadata tests"
3319
commit 3c4d097a6b88071339f075f4ad3234f36d9371d6
3320
Merge: 1b87d59 b35b34a
3321
Author: Jenkins <jenkins@review.openstack.org>
3322
Date: Sat Sep 8 23:25:50 2012 +0000
3324
Merge "fix unmounting of LXC containers in the presence of symlinks"
3326
commit 1b87d59da108a0b4efaa0b3c657f7fc173c7cb3a
3327
Author: Clemens Perz <cperz@gmx.net>
3328
Date: Fri Sep 7 19:08:04 2012 +0200
3330
Have device mapping use autocreated device nodes
3332
Newer kernels detect partitions and create device
3333
nodes when an image is opened with qemu-nbd. Calling
3334
kpartx afterwards will always result in failures
3335
and prevent injection of data into the current image.
3337
The fix tries to handle this by detecting if a device
3338
node exists and call kpartx only if needed.
3340
Change-Id: I781158ea94f9f0762140e106dd6a1259017b8a3b
3342
nova/virt/disk/mount.py | 17 ++++++++++++++---
3343
1 file changed, 14 insertions(+), 3 deletions(-)
3345
commit 79db4836e2310885afcf34b84a06ad89a9913968
3346
Author: jokcylou <jokcylou@gmail.com>
3347
Date: Fri Sep 7 19:05:36 2012 +0800
3349
remove a never used import
3351
Change-Id: I33fd291ef2bf9ad1914abe51a402d8d492dd193f
3353
nova/api/openstack/compute/contrib/cloudpipe.py | 2 --
3354
1 file changed, 2 deletions(-)
3356
commit b35b34a65a6ddcfee524304cc548b4dfe1fc6cd5
3357
Author: Pádraig Brady <pbrady@redhat.com>
3358
Date: Sat Sep 8 02:43:01 2012 +0100
3360
fix unmounting of LXC containers in the presence of symlinks
3362
When looking up the mount dir in /proc/mounts we need
3363
to canonicalize the path so that symlinks are resolved
3366
Change-Id: Ib2bb8253e9cdfeda3c6ba13e56a0f907518ff558
3368
nova/virt/disk/api.py | 2 +-
3369
1 file changed, 1 insertion(+), 1 deletion(-)
3371
commit bfce34fdd95e334e58f1014e1b9c276046aa831f
3372
Merge: c30d1c8 b97a0be
3373
Author: Jenkins <jenkins@review.openstack.org>
3374
Date: Sat Sep 8 01:00:10 2012 +0000
3376
Merge "Correct ephemeral disk cache filename."
3378
commit c30d1c814c2700d64d86c4557bc3c7c6d7a25bcd
3379
Merge: 8ee8a91 43ae413
3380
Author: Jenkins <jenkins@review.openstack.org>
3381
Date: Sat Sep 8 00:11:46 2012 +0000
3383
Merge "Execute attach_time query earlier in migration 98"
3385
commit 43ae413da583509448d82ce4ab48f8c8a66a9eb5
3386
Author: Brian Waldon <brian.waldon@rackspace.com>
3387
Date: Fri Sep 7 15:56:54 2012 -0700
3389
Execute attach_time query earlier in migration 98
3391
MySQL was blowing up when sqlalchemy tried to execute the subqueries
3392
in up/downgrade for migration 98. SQLite wasn't blowing up on this so
3393
the tests were passing in Jenkins.
3395
There are no test changes as it depends on the functional environment
3396
in which you run the tests, not the tests themselves.
3400
Change-Id: I6eb3c8dd03495cdda2574efc9b5fc2b495fbcb37
3402
.../versions/098_update_volume_attach_time.py | 4 ++--
3403
1 file changed, 2 insertions(+), 2 deletions(-)
3405
commit 8ee8a91470a4960eebcbd3d54815608bcb1fcfd5
3406
Merge: 2caf52e 6392ad2
3407
Author: Jenkins <jenkins@review.openstack.org>
3408
Date: Fri Sep 7 23:00:04 2012 +0000
3410
Merge "xenapi: Make dom0 serialization consistent."
3412
commit 4fe722abcf88671bd0800adf0dd32efb5a3d34e2
3413
Author: Dan Smith <danms@us.ibm.com>
3414
Date: Wed Sep 5 11:33:49 2012 -0700
3416
Add ServerStartStop extension API test
3418
Change-Id: I1671805e10ebc9c5d8037f67b78c47fbf8373ce9
3420
.../os-server-start-stop/server_start_stop.json | 3 +++
3421
.../os-server-start-stop/server_start_stop.xml | 2 ++
3422
.../os-server-start-stop/server-post-req.json.tpl | 16 +++++++++++++
3423
.../os-server-start-stop/server-post-req.xml.tpl | 19 +++++++++++++++
3424
.../os-server-start-stop/server-post-resp.json.tpl | 16 +++++++++++++
3425
.../os-server-start-stop/server-post-resp.xml.tpl | 6 +++++
3426
.../server_start_stop.json.tpl | 3 +++
3427
.../os-server-start-stop/server_start_stop.xml.tpl | 2 ++
3428
nova/tests/integrated/test_api_samples.py | 25 ++++++++++++++++++++
3429
9 files changed, 92 insertions(+)
1
3431
commit 2caf52e5b0d725abf124cfe289859900c334eeb8
2
3432
Merge: 849ec9d 4c2f6fe
3
3433
Author: Jenkins <jenkins@review.openstack.org>