1
commit b4872c338bd1f5d34fcc615b08f78250aa1a75c3
3
Author: Jenkins <jenkins@review.openstack.org>
4
Date: Fri Aug 17 13:43:37 2012 +0000
6
Merge "Revert per-user-quotas" into milestone-proposed
8
commit 1ffdeea0e41c16921abc911ee199edcbb422e423
10
Author: Jenkins <jenkins@review.openstack.org>
11
Date: Fri Aug 17 13:42:32 2012 +0000
13
Merge "Fix regression in compute_capabilities filter" into milestone-proposed
15
commit 3f5501a3f8ddcbe977d8c3b4f78337e6e944cec1
16
Merge: 91c05cb 0fa20c1
17
Author: Jenkins <jenkins@review.openstack.org>
18
Date: Fri Aug 17 13:42:05 2012 +0000
20
Merge "Refactor ComputeCapabilitiesFilter test cases" into milestone-proposed
22
commit 91c05cb10e8a1c139247ca45c4b2801af72e3ed9
23
Author: Dan Prince <dprince@redhat.com>
24
Date: Wed Aug 15 12:34:30 2012 -0400
26
Implement GET (show) in OS API keypairs extension.
28
Includes test for showing a keypair (existing and non-existing).
30
This commit also corrects the name of the KeyPairNotFound exception
31
in the test_keypair_delete_not_found test case.
33
Additionally some extra print statements in the tests were
36
DocImpact - need to add documentation for GET on: v2/{tenant_id}/os-keypairs/{keypair_name}
40
Change-Id: I9eeb47ccb9bf352c554aa44aa562c47e3eb33cae
41
(cherry picked from commit 06d1f0dfd5d22ace96b414fd0b71fbaa668b95ce)
43
nova/api/openstack/compute/contrib/keypairs.py | 9 +++++
44
.../api/openstack/compute/contrib/test_keypairs.py | 37 +++++++++++++++++---
45
2 files changed, 41 insertions(+), 5 deletions(-)
47
commit 38c55a7858c50d530cca687937d9e2f4d0478483
48
Author: Mark McLoughlin <markmc@redhat.com>
49
Date: Thu Aug 16 12:02:34 2012 +0100
51
Fix regression in compute_capabilities filter
55
Restore the previous behaviour of matching simple strings in extra
56
specs against compute node capabilities.
58
Change-Id: I485e9e63f860a83f7c9c0c41d09919eabe9e66ae
59
(cherry picked from commit 4ec703243415b9eb6d57bd72f2f6704a95308067)
61
.../filters/compute_capabilities_filter.py | 38 ++++++++++-------
62
nova/tests/scheduler/test_host_filters.py | 44 +++++++++++++++-----
63
2 files changed, 57 insertions(+), 25 deletions(-)
65
commit 0fa20c1695b1c960f40ce541a910b64c38acf06c
66
Author: Mark McLoughlin <markmc@redhat.com>
67
Date: Thu Aug 16 11:32:21 2012 +0100
69
Refactor ComputeCapabilitiesFilter test cases
71
With so much duplicated code in the test cases, it's really very
72
difficult to figure out what each of the cases are testing. DRY
73
the tests up to make them much more clear.
75
Change-Id: Ie075d44165996fc4f744a49ddbdfd7c49a0c862e
76
(cherry picked from commit a2e9c717736f031f60033ff26138bf2fa302ce60)
78
nova/tests/scheduler/test_host_filters.py | 465 ++++++++---------------------
79
1 file changed, 129 insertions(+), 336 deletions(-)
81
commit d479c796f2893cbc2807f12908d03ba97cd821bb
82
Author: Eoghan Glynn <eglynn@redhat.com>
83
Date: Thu Aug 16 16:11:03 2012 +0100
85
Revert per-user-quotas
87
See bug 1034384, bug 1037590.
89
This reverts commit https://github.com/openstack/nova/commit/391f345d,
90
but leaves the DB migration in place while adding a further
91
migration to reverse it.
93
The motivation for reversion is that the per-user quota logic would
94
totally undermine the per-project quotas set for a pre-existing
97
The per-user quota logic could be re-introduced in a fixed state
100
Change-Id: Idd4b55a2404a25f43f6737b661f828c28501066f
101
(cherry picked from commit bf7862222d25c9bd09671b90fed3287cbe26e488)
103
bin/nova-manage | 51 --
104
etc/nova/policy.json | 4 +-
105
nova/api/openstack/compute/contrib/quotas.py | 78 +--
106
nova/api/openstack/compute/limits.py | 15 +-
107
nova/db/api.py | 105 +---
108
nova/db/sqlalchemy/api.py | 250 +-------
109
.../versions/116_drop_user_quotas_key_and_value.py | 98 ++++
110
nova/db/sqlalchemy/models.py | 15 -
111
nova/exception.py | 5 -
112
nova/quota.py | 219 ++-----
113
nova/tests/policy.json | 3 +-
114
nova/tests/test_quota.py | 607 ++------------------
115
12 files changed, 255 insertions(+), 1195 deletions(-)
117
commit 574a78f066da5032c53069bc7a8be8fe14ea9d04
118
Merge: 46d7641 a8024cd
119
Author: Jenkins <jenkins@review.openstack.org>
120
Date: Thu Aug 16 01:48:02 2012 +0000
122
Merge "Add get_key_pair to compute API."
124
commit 46d7641466f9eb6313f2d45494a66d581a66407e
125
Merge: bc115f0 00f0b17
126
Author: Jenkins <jenkins@review.openstack.org>
127
Date: Thu Aug 16 01:37:18 2012 +0000
129
Merge "Update disk config to check for 'server' in req."
131
commit bc115f003ddf7b8a825f0303bdf290a19c39f134
132
Merge: e364c90 e447511
133
Author: Jenkins <jenkins@review.openstack.org>
134
Date: Thu Aug 16 01:16:02 2012 +0000
136
Merge "Allow nova to guess device if not passed to attach"
138
commit e364c9086b3adf793d79c44062d5a9e17943e887
139
Merge: 8f3834e d39137f
140
Author: Jenkins <jenkins@review.openstack.org>
141
Date: Thu Aug 16 00:47:57 2012 +0000
143
Merge "Make ComputeFilter verify compute-related instance properties"
145
commit 8f3834e9d9988ae86a96934a9ce838953ad0f461
146
Merge: 943bbcb 4dd1673
147
Author: Jenkins <jenkins@review.openstack.org>
148
Date: Thu Aug 16 00:47:47 2012 +0000
150
Merge "Collect instance capabilities from compute nodes"
152
commit 943bbcb6de5b1836ab7b9ef88adf525212c9ffa6
153
Merge: d141e64 045b084
154
Author: Jenkins <jenkins@review.openstack.org>
155
Date: Thu Aug 16 00:25:32 2012 +0000
157
Merge "Changes default behavior of ec2"
159
commit e44751162b09c5b57557b89db27656b5bd23341c
160
Author: Vishvananda Ishaya <vishvananda@gmail.com>
161
Date: Mon Aug 6 12:17:43 2012 -0700
163
Allow nova to guess device if not passed to attach
165
partial fix for bug 1004328
167
Only the xen hypervisor actually respects the device name that
168
is passed in attach_volume. For other hypervisors it makes much
169
more sense to automatically generate a unique name.
171
This patch generates a non-conflicting device name if one is not
172
passed to attach_volume. It also validates the passed in volume
173
name to make sure another device isn't already attached there.
175
A corresponding change to novaclient and horizon will greatly
176
improve the user experience of attaching a volume.
178
It moves some common code out of metadata/base so that it can
179
be used to get a list of block devices. The code was functionally
180
tested as well and block device name generation works properly.
182
This adds a new method to the rpcapi to validate a device name. It
183
also adds server_id to the volumes extension, since it was omitted
186
The next step is to modify the libvirt driver to match the serial
187
number of the device to the volume uuid so that the volume can
188
always be found at /dev/disk/by-id/virtio-<uuid>.
192
Change-Id: I0b9454fc50a5c93b4aea38545dcee98f68d7e511
194
nova/api/metadata/base.py | 51 +-------------
195
nova/api/openstack/compute/contrib/volumes.py | 8 ++-
196
nova/block_device.py | 50 +++++++++++++
197
nova/compute/api.py | 32 +++++++--
198
nova/compute/manager.py | 32 ++++++++-
199
nova/compute/rpcapi.py | 8 +++
200
nova/compute/utils.py | 52 ++++++++++++++
201
nova/db/api.py | 9 ++-
202
nova/db/sqlalchemy/api.py | 16 ++++-
203
nova/exception.py | 4 ++
204
nova/tests/compute/test_compute_utils.py | 94 +++++++++++++++++++++++++
205
nova/tests/compute/test_rpcapi.py | 4 ++
206
nova/tests/test_metadata.py | 3 +-
207
13 files changed, 298 insertions(+), 65 deletions(-)
209
commit 00f0b170ec15299b20c345fa1f66f21185c2dc79
210
Author: Dan Prince <dprince@redhat.com>
211
Date: Wed Aug 15 13:07:19 2012 -0400
213
Update disk config to check for 'server' in req.
215
Updates the disk config extension to check for 'server' in the
216
request body before trying to use it. This avoids a potential
217
KeyError exception. Given that we already validate the 'server'
218
dict in servers.py and raise a proper exception there this seems
219
reasonable to me... no reason to duplicate all of the validation
222
The reason this change was able to make it into Nova to begin
223
with is that the Extensions loader orders things differently
224
depending on the OS/python version being used. I tested this
225
by running SchedulerHintsTestCase.test_create_missing_server
226
on both Fedora 16 (passes) and Fedora 17 (fails). The problem
227
only manifests itself when the disk config extension gets called
228
before the scheduler_hints extension. To fix this issue
229
I've updated the scheduler_hints extensions in this patchset
230
to simply pass when 'server' isn't defined which like above seems
231
reasonable because we already validate this in servers.py.
233
As part of this fix I'm also moving test_create_missing_server out
234
of the Scheduler Hints tests and into a new ServersAllExtensionsTestCase
235
class in test_servers.py which explicitly tests for things with *all*
236
extensions enabled. As part of the move I also updated the test to
237
look for HTTP 422 Unprocessable Entity which is what we throw when
238
'server' doesn't exist in a POST to servers (the correct exception).
240
Fixes LP Bug #1037201.
242
Change-Id: I912fc1234b2e7a76ecc54140f4a31c2e32fdfa98
244
nova/api/openstack/compute/contrib/disk_config.py | 3 ++-
245
.../openstack/compute/contrib/scheduler_hints.py | 5 +---
246
.../compute/contrib/test_scheduler_hints.py | 17 ------------
247
nova/tests/api/openstack/compute/test_servers.py | 27 ++++++++++++++++++++
248
4 files changed, 30 insertions(+), 22 deletions(-)
250
commit 045b084d34c08aee910cee2362cf209fd80d3c6d
251
Author: isethi <iccha.sethi@rackspace.com>
252
Date: Tue Jul 31 19:52:49 2012 +0000
254
Changes default behavior of ec2
256
Changes the default behaviour of create instance min/max count logic
257
in ec2 to match the default behavior of OS API
261
Change-Id: I1aa42c7d47674ce68442367fab487152b3e7fa67
263
nova/api/ec2/cloud.py | 6 +++---
264
1 file changed, 3 insertions(+), 3 deletions(-)
266
commit d39137fa27cb175ba22f3af4ef06a93684b9d86b
267
Author: Jim Fehlig <jfehlig@suse.com>
268
Date: Wed Aug 15 09:42:13 2012 -0600
270
Make ComputeFilter verify compute-related instance properties
272
This change adds checks in the ComputeFilter to verify compute hosts can
273
support the (architecture, hypervisor_type, vm_mode) triple specified
274
in the instance properties, improving support for heterogeneous clouds.
276
Images can be marked with the architecture, hypervisor, and virtual
277
machine mode they require, e.g.
279
glance image-update --property architecture=x86_64 \
280
--property hypervisor_type=kvm <image-uuid>
281
glance image-update --property architecture=i686 \
282
--property hypervisor_type=xen --property vm_mode=xen <image-uuid>
283
glance image-update --property architecture=x86_64 \
284
--property hypervisor_type=xen --property vm_mode=hvm <image-uuid>
286
These properties are included in the request_spec part of the run_instance
287
RPC message and made available to the ComputeFilter. The ComputeFilter
288
will only pass compute nodes that satisfy the specified properties.
289
If no properties are specified, the ComputeFilter behavior is unchanged.
291
Adding these checks to the compute filter seems consistent with its
294
"ComputeFilter - checks that the capabilities provided by the compute
295
service satisfy the extra specifications, associated with the instance
298
[1] https://github.com/openstack/nova/blob/master/doc/source/devref/filter_scheduler.rst
302
Change-Id: I993f2e222ec036f1045f3cc5cc1851e730962729
304
nova/scheduler/filters/compute_filter.py | 57 +++++++++++++++-
305
nova/tests/scheduler/test_host_filters.py | 100 +++++++++++++++++++++++++++++
306
2 files changed, 155 insertions(+), 2 deletions(-)
308
commit 4dd167378d33e3efee4657251655fc2992da2764
309
Author: Jim Fehlig <jfehlig@suse.com>
310
Date: Wed Aug 15 09:42:12 2012 -0600
312
Collect instance capabilities from compute nodes
314
This change collects a list of supported instances from compute nodes.
315
Each supported instance is a tuple, containing the triple
316
(architecture, hypervisor_type, vm_mode). This list of tuples describes
317
all of the instances supported by the compute node, which can then be
318
used by the ComputeFilter to ensure proper placement of an instance in
319
a heterogeneous compute node cloud.
321
Change-Id: I059ff55c165b372c83e63390b40a2c165df1f717
323
nova/tests/test_libvirt.py | 36 ++++++++++++++++++++++++++++++++++++
324
nova/virt/libvirt/config.py | 8 ++++++++
325
nova/virt/libvirt/driver.py | 20 ++++++++++++++++++++
326
3 files changed, 64 insertions(+)
328
commit d141e64de98f4e7eb0493d8f0a631f071b6e6dc1
329
Author: Brian Haley <brian.haley@hp.com>
330
Date: Mon Aug 13 14:58:34 2012 -0400
332
Change IPtablesManager to preserve packet:byte counts.
334
Modified IPtablesManager.apply() method to save/restore chain and
335
rule packet:byte counts by using the '-c' flag with iptables-save
336
and iptables-restore calls. Currently they are zeroed every time
337
we change something in the table. This will allow users to better
338
analyze usage for instances over an extended period of time, for
339
example, for billing purposes.
341
Change all applicable iptables, libvirt and Xen tests to account
342
for the changes made to support the packet:byte counts.
344
This work uncovered two bugs in the existing implementation
345
found during my testing, specifically:
347
1. Fix IptablesManager to clean-up non-wrapped chains correctly,
348
instead of leaving them in the kernel's table. We now keep a
349
list of chains and rules we need to remove, and double-check
350
in apply() that they are filtered-out.
352
2. Fix IptablesManager to honor "top=True" iptables rules by only
353
adding non-top rules after we've gone through all the top rules
356
Implements first work item of blueprint libvirt-network-usage.
358
Fixes bug 1037127 and bug 1037137.
360
Change-Id: Ia5a11aabbfb45b6c16c8d94757eeaa2041785b60
362
nova/network/linux_net.py | 95 ++++++++++++++++++++++++++++++++---
363
nova/tests/test_iptables_network.py | 60 ++++++++++++----------
364
nova/tests/test_libvirt.py | 38 +++++++-------
365
nova/tests/test_xenapi.py | 27 +++++-----
366
nova/tests/xenapi/stubs.py | 10 ++--
367
5 files changed, 163 insertions(+), 67 deletions(-)
369
commit 40a34547198b8eb32e4afbcf57b5d8f9207b35f3
370
Merge: 11c6d16 e1df960
371
Author: Jenkins <jenkins@review.openstack.org>
372
Date: Wed Aug 15 18:24:40 2012 +0000
374
Merge "Add PowerVM compute driver and unit tests."
376
commit 11c6d162dcf6b48be921c833f273dcf54a31894f
377
Merge: daddbf6 5738e6a
378
Author: Jenkins <jenkins@review.openstack.org>
379
Date: Wed Aug 15 18:24:33 2012 +0000
381
Merge "Port pre_block_migration to new image caching"
383
commit daddbf6f9be142a2f805c083690f49dbcb98f520
384
Merge: 6f924bb 4becac7
385
Author: Jenkins <jenkins@review.openstack.org>
386
Date: Wed Aug 15 18:24:27 2012 +0000
388
Merge "Defined IMPL in global ipv6 namespace."
390
commit 6f924bbeb0dd66f3c5ba2465099f23069d2cacf2
391
Merge: 35c12fe 51ad3d4
392
Author: Jenkins <jenkins@review.openstack.org>
393
Date: Wed Aug 15 16:50:45 2012 +0000
395
Merge "Adding port attribute in network parameter of boot."
397
commit a8024cd667b9d1a3aa5ce2fcfb6725b25ace9b6c
398
Author: Dan Prince <dprince@redhat.com>
399
Date: Wed Aug 15 12:01:12 2012 -0400
401
Add get_key_pair to compute API.
403
This will be used to implement a GET keypair API call.
405
Partial fix for LP Bug #925731.
407
Change-Id: Ie9976c0168842c7491d80be6213814192a2024df
409
nova/compute/api.py | 7 +++++++
410
nova/tests/compute/test_compute.py | 24 +++++++++++++++++++-----
411
2 files changed, 26 insertions(+), 5 deletions(-)
413
commit 4becac7cc1045304143752d8223a1b02d77c4ccd
414
Author: Justin Hammond <justin.hammond@rackspace.com>
415
Date: Wed Aug 15 09:05:45 2012 -0700
417
Defined IMPL in global ipv6 namespace.
421
Change-Id: Ife2cc064128ee99a7ba1352f10c373812c69dd13
423
nova/ipv6/api.py | 6 ++++--
424
1 file changed, 4 insertions(+), 2 deletions(-)
426
commit 35c12feb8c9467b9b4a7eac7a3f3d63bd620a35b
427
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
428
Date: Mon Aug 13 18:07:28 2012 +0000
430
xenapi: remove unnecessary json decoding of injected_files
432
The API is responsible for decoding JSON an XML content. Also, the
433
code decoded results weren't used since the code below it would use
434
the original data anyway.
436
Also, add a unit test for injected_files in the xenapi driver.
438
Change-Id: Ie96b301b0948f92dd90060eacba0db9ae940b952
440
nova/tests/test_xenapi.py | 29 ++++++++++++++--
441
nova/virt/xenapi/fake.py | 80 ++++++++++++++++++++++++++-------------------
442
nova/virt/xenapi/vmops.py | 8 -----
443
3 files changed, 73 insertions(+), 44 deletions(-)
445
commit 2ba710af4f619a9aa3d4d4e377af01f5c6fe39e9
446
Author: Mark McLoughlin <markmc@redhat.com>
447
Date: Wed Aug 15 14:17:23 2012 +0100
449
Remove unnecessary try/finally from snapshot
451
Revert part of 0eb53c0 which reverted part of d8d7100 :-)
453
The idea was that now that @reverts_task_state handles unsetting the
454
task state, we now longer need the explicit exception handling here.
456
However, we still absolutely need to unset task_state on the happy
459
Change-Id: I08dd212626886a643f0321780f6d8a30c3a967e6
461
nova/compute/manager.py | 7 ++-----
462
1 file changed, 2 insertions(+), 5 deletions(-)
464
commit 1ef3607239c4bce8a276e420f2b70137b1a1fe2f
465
Merge: ca950e7 90f77d7
466
Author: Jenkins <jenkins@review.openstack.org>
467
Date: Wed Aug 15 12:54:50 2012 +0000
469
Merge "Added several operators on instance_type_extra_specs."
471
commit 5738e6a470eaec9389a15689cf5be8ac9e2115ac
472
Author: Michael Still <mikal@stillhq.com>
473
Date: Wed Aug 15 17:57:14 2012 +1000
475
Port pre_block_migration to new image caching
477
This resolves bug 1036419, which was a missed call to _cache_image
478
when that method was refactored away.
480
Change-Id: I68f6aced5382e378dc707fd003d27dbfdd24aded
482
nova/tests/test_libvirt.py | 23 ++++++++++++++++++----
483
nova/virt/libvirt/driver.py | 45 ++++++++++++++++++++++---------------------
484
2 files changed, 42 insertions(+), 26 deletions(-)
486
commit ca950e7ea3909110fe05e3239975b7545423670a
487
Merge: e5a8033 97dd343
488
Author: Jenkins <jenkins@review.openstack.org>
489
Date: Wed Aug 15 07:57:47 2012 +0000
491
Merge "update python-quantumclient dependency to >=2.0"
493
commit e5a8033888fa3e772598eb856fa7ac9c7189f45f
494
Merge: a301ff6 8c2daea
495
Author: Jenkins <jenkins@review.openstack.org>
496
Date: Wed Aug 15 07:56:20 2012 +0000
498
Merge "Uniqueness checks for floating ip addresses."
500
commit a301ff6dfd2a43ddb712eb69f4fb266dd3bc2b25
501
Merge: 47e612f af4dc62
502
Author: Jenkins <jenkins@review.openstack.org>
503
Date: Wed Aug 15 07:56:13 2012 +0000
505
Merge "Implement get_host_uptime in libvirt driver."
507
commit 47e612fec834b60fd0c9dfb945ae90a708bcf386
508
Merge: efdc248 55175f5
509
Author: Jenkins <jenkins@review.openstack.org>
510
Date: Wed Aug 15 07:56:07 2012 +0000
512
Merge "Remove assigned, but unused variables from nova/db/sqlalchemy/api.py"
514
commit efdc248d15cf2a0308b215dccb90d0b7da6926b7
515
Merge: 9f9f1a7 6972cd1
516
Author: Jenkins <jenkins@review.openstack.org>
517
Date: Wed Aug 15 07:55:57 2012 +0000
519
Merge "Add support for NFS-based virtual block devices"
521
commit 9f9f1a7aa46fad83fdda36be15d648dfa21cba2f
522
Merge: 43261c0 3b62079
523
Author: Jenkins <jenkins@review.openstack.org>
524
Date: Wed Aug 15 07:55:40 2012 +0000
526
Merge "Allow XML payload for volume creation."
528
commit 51ad3d4ee9f28184510a2802867535284c0f1b8b
529
Author: Nachi Ueno <nachi@nttmcl.com>
530
Date: Tue Jul 31 17:47:02 2012 +0000
532
Adding port attribute in network parameter of boot.
534
Example is (network:[{āportā:<uuid>}] )
535
The specified port will be used.
536
A port who have already device_id can not be used to be boot.
537
This fix is for isolating functionalities between Quantum and Nova.
538
There are no need update nova side if port model will be changed
539
in future quantum model. This function is for QuantumV2 api use only.
540
Added port attribute in requested_network attribute. Fixes bug 1031096.
542
Change-Id: Id2c86228edb0c22f536f8b36a955c87870e9d98b
544
nova/api/openstack/compute/servers.py | 49 +++++++++++++++++------
545
nova/exception.py | 12 ++++++
546
nova/network/quantumv2/api.py | 67 +++++++++++++++++++++++++------
547
nova/tests/network/test_quantumv2.py | 71 ++++++++++++++++++++++++++-------
548
4 files changed, 161 insertions(+), 38 deletions(-)
550
commit 6972cd1e7eb1ec51f9ab4d94a842ebc45b655cc5
551
Author: Ben Swartzlander <bswartz@netapp.com>
552
Date: Mon Aug 13 17:25:15 2012 -0400
554
Add support for NFS-based virtual block devices
556
This code is required in Nova to support the new NFS-based
557
volume drivers in Cinder.
559
blueprint nfs-files-as-virtual-block-devices
561
Change-Id: Ib815817939628275c04634e8b9cabffa1c419f23
563
nova/tests/test_libvirt.py | 26 +++++++++++
564
nova/virt/libvirt/volume_nfs.py | 96 +++++++++++++++++++++++++++++++++++++++
565
2 files changed, 122 insertions(+)
567
commit 43261c0fe2973739ba1083e46f291db698cf5722
568
Merge: 0bc32cf a7d0934
569
Author: Jenkins <jenkins@review.openstack.org>
570
Date: Wed Aug 15 01:32:22 2012 +0000
572
Merge "xenapi: Support live migration without pools"
574
commit 0bc32cfef94dc2e45f86a0e526e3415ec5d4ca39
575
Merge: 76267f4 9af40c1
576
Author: Jenkins <jenkins@review.openstack.org>
577
Date: Wed Aug 15 01:27:45 2012 +0000
579
Merge "Implement network association in OS API"
581
commit 55175f5cd91e8b5c87805c65cbbd89cc12c66752
582
Author: Boris Filippov <bfilippov@griddynamics.com>
583
Date: Wed Aug 15 04:45:36 2012 +0400
585
Remove assigned, but unused variables from nova/db/sqlalchemy/api.py
587
model_query already create session if it's not supplied in kwargs.
588
So there was no point in creating session and even not passing it to model_query.
589
Also, nobody even cares about 'specs' in volume_type_create.
591
Change-Id: Ic60dca9bbfcf908fa50a43424e7d93319b2f210b
593
nova/db/sqlalchemy/api.py | 4 ----
594
1 file changed, 4 deletions(-)
596
commit a7d0934a97ead360ecb378de7e29dbea513a6b30
597
Author: Renuka Apte <renuka.apte@citrix.com>
598
Date: Thu Jul 12 16:22:26 2012 -0700
600
xenapi: Support live migration without pools
602
Implement blueprint xenapi-live-block-migration.
603
Add ability to live migrate VMs to hosts that are not
604
a part of a host aggregate (block migration).
606
This requires XenServer 6.1/later, or XCP 1.6/later. As
607
of this change, we still do not support instances with
608
(nova/cinder) volumes attached. External kernels are also
611
Change-Id: I5feb6756d78804aa37780a7d0cda1600f7060afe
613
nova/compute/manager.py | 12 ++-
614
nova/compute/rpcapi.py | 25 +++---
615
nova/scheduler/driver.py | 7 +-
616
nova/tests/compute/test_rpcapi.py | 3 +-
617
nova/tests/scheduler/test_scheduler.py | 9 +-
618
nova/tests/test_xenapi.py | 141 ++++++++++++++++++++++++++++++--
619
nova/tests/xenapi/stubs.py | 16 ++++
620
nova/virt/driver.py | 5 +-
621
nova/virt/fake.py | 6 +-
622
nova/virt/libvirt/driver.py | 4 +-
623
nova/virt/xenapi/driver.py | 25 +++++-
624
nova/virt/xenapi/fake.py | 26 +++++-
625
nova/virt/xenapi/vmops.py | 96 ++++++++++++++++++----
626
13 files changed, 322 insertions(+), 53 deletions(-)
628
commit 76267f4d6268b3a39e46dbace140e15d874dadc5
629
Merge: 0eb53c0 4d350dc
630
Author: Jenkins <jenkins@review.openstack.org>
631
Date: Tue Aug 14 23:25:18 2012 +0000
633
Merge "Simple checks for instance user data."
635
commit 90f77d71fe5815f08fe12e77e7645c6025ee0191
636
Author: Jinwoo 'Joseph' Suh <jsuh@isi.edu>
637
Date: Sat Jul 21 19:51:20 2012 -0400
639
Added several operators on instance_type_extra_specs.
641
The following operators on instance_type_extra_specs were added in
642
compute_capabilities_filter.py:
644
= (equal to or greater than as a number; same as vcpus case)
645
== (equal to as a number)
646
!= (not equal to as a number)
647
>= (greater than or equal to as a number)
648
<= (less than or equal to as a number)
649
s== (equal to as a string)
650
s!= (not equal to as a string)
651
s>= (greater than or equal to as a string)
652
s> (greater than as a string)
653
s<= (less than or equal to as a string)
654
s< (less than as a string)
656
<or> (find one of these)
658
If the first word in the instance_type_extra_spec is not one of the
659
keywords above, it is ignored.
661
E.g.: ">= 5", "s== 2.1.0", "<in> gcc", and "<or> fpu <or> gpu"
663
For more information, please refer:
664
blueprint instance-type-extra-specs-extension.
666
Change-Id: Ief23d00449798577c6910aaef85f0cba26323c61
668
.../filters/compute_capabilities_filter.py | 46 ++-
669
nova/tests/scheduler/test_host_filters.py | 384 +++++++++++++++++++-
670
2 files changed, 419 insertions(+), 11 deletions(-)
672
commit 0eb53c035ab290c9574c1388bde59f7d05f64efc
673
Author: Dan Prince <dprince@redhat.com>
674
Date: Tue Aug 14 17:12:13 2012 -0400
676
Set task_state=None when finished snapshotting.
678
Reverts part of recent reverts_task_state commit
679
d8d7100f8c10ecd388d1943bee9298a913a6990a which removed
680
code that resets the task_state to None once a snapshot has
683
Fixes LP Bug #1036835.
685
Change-Id: I7d30d16ca110f022b0d1f6b2fb05ba3aa52fa4d1
687
nova/compute/manager.py | 6 +++++-
688
1 file changed, 5 insertions(+), 1 deletion(-)
690
commit 3801059632a80a254391ee931e5427c2352ef0c6
691
Merge: 3f242c9 b947ee5
692
Author: Jenkins <jenkins@review.openstack.org>
693
Date: Tue Aug 14 20:58:13 2012 +0000
695
Merge "continue config-drive-v2, add openstack metadata api"
697
commit af4dc62e49128cb5e0be1fb244074b3a7c8733e8
698
Author: Dan Prince <dprince@redhat.com>
699
Date: Fri Aug 10 10:09:13 2012 -0400
701
Implement get_host_uptime in libvirt driver.
703
Updates the libvirt compute driver to support the
706
Change-Id: Ife6aad55c5544177b4172487b4cae02f02dc247f
708
nova/tests/test_libvirt.py | 4 ++++
709
nova/virt/libvirt/driver.py | 7 +++++++
710
2 files changed, 11 insertions(+)
712
commit b947ee558d168705d0080f55b4aac1ba1352df17
713
Author: Scott Moser <smoser@ubuntu.com>
714
Date: Fri Aug 10 17:27:42 2012 -0400
716
continue config-drive-v2, add openstack metadata api
718
This continues the work Michael did on blueprint config-drive-v2
721
* web service /openstack/2012-08-10 with:
724
* web service supporting /openstack/content
727
* Changed the name 'files' (/openstack/files) to be 'content'
728
This is to be more generic and apply to future re-use of it
729
for some purpose other than personalities (injected_files)
730
* 'meta_data.json' and 'user_data' are used for openstack
731
* 'user-data' (without .raw) in the ec2 config drive rendering
732
* 'content_path' is a attribute of each of the entries in the 'files'
733
its value is the path from the openstack metadata service root to
734
where the content is located.
736
This means that the user does not have to know anything explicit about
737
'/content'. They just have to take the 'content_path' and append it
738
to the top level entry point of metadata service.
741
http://169.254.169.254/openstack/2012-08-10/meta_data.json
743
files[{path: "/etc/passwd", content_path: "/content/0001"}]
744
To get the file, user appends 'content_path' to
745
http://169.254.169.254/openstack
746
* network config (Template) is available in /content also, and
747
the key that points to it is 'network_config'. This occurs only
748
if there are network's that are "injected" (same behavior as previously)
750
The meta_data.json now contains
751
uuid: <instance uuid>
752
meta: meta tags provided they will appear in a dict here
754
This is a list of dicts, where each dict has 2 fields:
755
* 'path' (the path provided)
756
* 'content_id': the location in /content/ that will give the content
758
Dict of keyname : value
760
This is a dict, containing 'content_path' and 'name' (network_config)
761
hostname: the hostname
762
name: the nova boot name
765
* want to add other items into openstack metadata
769
* url of metadata service: ideally only show this if there
770
is a web service available. the path seems hard coded at the moment
771
to be http://169.254.169.254/openstack, but I do not know if there
772
is a way to determine if one is present or not.
773
* document config-drive-v2
775
Change-Id: I6b9097624a9c1a972e4851d79f6d557376f59d32
777
nova/api/metadata/base.py | 217 +++++++++++++++++++++++++++++++++++--------
778
nova/tests/test_libvirt.py | 1 -
779
nova/tests/test_metadata.py | 136 ++++++++++++++++++++++++---
780
nova/virt/configdrive.py | 39 ++------
781
nova/virt/libvirt/driver.py | 115 +++++++----------------
782
nova/virt/netutils.py | 73 +++++++++++++++
783
6 files changed, 414 insertions(+), 167 deletions(-)
785
commit 3f242c9592c683076e80a5aa9360e1457f7076ec
786
Author: Vishvananda Ishaya <vishvananda@gmail.com>
787
Date: Tue Aug 14 12:12:27 2012 -0700
789
Return values from wrapped functions in decorators
791
Calling compute manager methods requires that the decorators
792
return the value from the underlying function.
794
This doesn't actually change any return values from methods, because
795
all existing methods effectively return None.
799
Change-Id: I64eea506ee1395678a7de3c6963a3da8e40d6962
801
nova/compute/manager.py | 4 ++--
802
1 file changed, 2 insertions(+), 2 deletions(-)
804
commit 3b6207976a51d33ee2ec701d21fa2a0cc6eca2e8
805
Author: Eoghan Glynn <eglynn@redhat.com>
806
Date: Mon Jul 30 16:23:11 2012 +0100
808
Allow XML payload for volume creation.
810
Fixes nova-volume aspect of LP 1030330
812
Tolerate volume size attribute of type string as opposed to int.
814
Change-Id: I7cccb760a246d562792dec1669d634803bb9bc57
816
nova/api/openstack/volume/volumes.py | 12 +++++++++++-
817
nova/tests/api/openstack/volume/test_volumes.py | 10 ++++++++--
818
2 files changed, 19 insertions(+), 3 deletions(-)
820
commit e1df9606c1cb54db6f9e91fb59f0f6c7636b334c
821
Author: Tiago Mello <tmello@linux.vnet.ibm.com>
822
Date: Wed Jul 11 17:21:13 2012 -0300
824
Add PowerVM compute driver and unit tests.
826
part of bp:powervm-compute-driver
828
Change-Id: I9e55964b5260417d15b5def814ee305fce28c40b
830
nova/tests/test_powervm.py | 165 +++++++++++
831
nova/virt/powervm/__init__.py | 29 ++
832
nova/virt/powervm/command.py | 90 ++++++
833
nova/virt/powervm/common.py | 112 +++++++
834
nova/virt/powervm/constants.py | 35 +++
835
nova/virt/powervm/driver.py | 214 ++++++++++++++
836
nova/virt/powervm/exception.py | 59 ++++
837
nova/virt/powervm/lpar.py | 158 ++++++++++
838
nova/virt/powervm/operator.py | 631 ++++++++++++++++++++++++++++++++++++++++
839
9 files changed, 1493 insertions(+)
841
commit 9deb489a8ba5ca2417787ba5e5429a60cf1712c2
842
Merge: 345c7df 4fbfee8
843
Author: Jenkins <jenkins@review.openstack.org>
844
Date: Tue Aug 14 17:12:06 2012 +0000
846
Merge "Fix uuid related bug in console/api"
848
commit 345c7df8d955a1c08338a0a06305d4d88897eb44
849
Merge: f88e5a4 de03b84
850
Author: Jenkins <jenkins@review.openstack.org>
851
Date: Tue Aug 14 17:11:04 2012 +0000
853
Merge "Update extra specs calls to use deleted: False."
855
commit f88e5a4ee2b69fc4766cdbd014d48ab8a4e21879
856
Merge: 1070843 d8d7100
857
Author: Jenkins <jenkins@review.openstack.org>
858
Date: Tue Aug 14 16:37:12 2012 +0000
860
Merge "Revert task_state on failed instance actions"
862
commit 1070843453d7c4e71fe72ad68ac9bfe54d08cc48
863
Merge: 444b1bf 4097042
864
Author: Jenkins <jenkins@review.openstack.org>
865
Date: Tue Aug 14 16:37:01 2012 +0000
867
Merge "volumes: fix check_for_export() in non-exporting volume drivers"
869
commit d8d7100f8c10ecd388d1943bee9298a913a6990a
870
Author: Dan Smith <danms@us.ibm.com>
871
Date: Tue Jul 17 13:15:13 2012 -0700
873
Revert task_state on failed instance actions
875
Right now, the task_state logic in compute/api.py can be broken, such
876
that instances can get stuck in an uneditable state if an action is
877
performed that fails. The task_state remains something like 'stopping'
878
even though the action has not been completed or queued, and further
879
requests that depend on task_state will fail (see check_instance_state()
882
The only way out of it is to delete the instance or hack the database.
884
This patch adds a reverts_task_state() decorator to compute/manager.py,
885
which, upon operation failure, reverts the instance's task_state back
888
It also adds a test_state_revert() test to verify that all the actions
889
marked for state reversion do the right thing. It also corrects several
890
other tests that specifically expect the task_state to remain after
891
an error has occurred.
895
Change-Id: Id4358c508156c713cb953dfa0f01a6f598bc1e7d
897
nova/compute/manager.py | 58 +++++++++++++++++++++++++++++++---
898
nova/tests/compute/test_compute.py | 60 +++++++++++++++++++++++++++++++++---
899
2 files changed, 108 insertions(+), 10 deletions(-)
901
commit 444b1bf04d718b34a6b82a785afe641c01e92ee7
902
Merge: 710909b 65255ae
903
Author: Jenkins <jenkins@review.openstack.org>
904
Date: Tue Aug 14 15:56:14 2012 +0000
906
Merge "Allow stop API to be called in Error"
908
commit 4fbfee83c4d35cfeb3a5d2e0520d57a1f53fcff0
909
Author: Yun Mao <yunmao@gmail.com>
910
Date: Tue Aug 14 11:44:41 2012 -0400
912
Fix uuid related bug in console/api
914
A number of variables are undefined while refactoring uuid in
915
I4032419d66e9bbb17b770d8974a92a136bf9c5d2.
916
self._translate_uuid_if_necessary is also no longer available.
917
Those problems are fixed in this patch.
919
Change-Id: Ifb88b4faa11b2ba8178a9a705ba6da1e4d9b4182
921
nova/console/api.py | 11 ++++-------
922
1 file changed, 4 insertions(+), 7 deletions(-)
924
commit 710909b57f1a365f156f07a281712fac8da6de7e
925
Author: Ed Bak <ed.bak2@hp.com>
926
Date: Fri Aug 10 22:00:55 2012 +0000
928
Validate that min_count & max_count parameters are numeric.
930
Changed nova/api/openstack/compute/servers.py to include
931
validation of min_count and max_count. min_count and max_count
932
must be numeric values >=1 and min_count must be <= max_count.
933
Also, added tests to test_servers.py to verify these restrictions.
936
Change-Id: I530c11b683a905ee67f679ef485c9f7669f1e074
938
nova/api/openstack/compute/servers.py | 36 ++++++---
939
nova/tests/api/openstack/compute/test_servers.py | 88 ++++++++++++++++++++++
940
2 files changed, 114 insertions(+), 10 deletions(-)
942
commit 65255ae22b1816bf61922b88c69cf35459d0e508
943
Author: Yun Mao <yunmao@gmail.com>
944
Date: Fri Aug 3 11:47:56 2012 -0400
946
Allow stop API to be called in Error
948
We already allow the stop API to be called when the VM is in Error
949
state. This is to update the diagram in devref doc.
951
Change-Id: I792028dc6f851f66d42b852c27505c479eab4df7
953
doc/source/devref/vmstates.rst | 1 +
954
1 file changed, 1 insertion(+)
956
commit f94ae65640d16124f9d7fad8c726b185f0398452
957
Author: Eoghan Glynn <eglynn@redhat.com>
958
Date: Wed Aug 1 16:28:04 2012 +0000
960
Enforce quota limitations for instance resize.
964
Close off a back-door allowing users to go over-quota on ram
965
and/or cores by creating a tiny instance and then resizing
966
to any size regardless of the remaining usage headroom.
968
The quota management logic is distributed in the sense that
969
the reservations are passed with the RPC casts that may fail
970
silently, so that the rollback or commit is handled by the
971
actor finalizing the resize/confirmation/reversion.
973
Up-sizing requires there is sufficient quota headroom upfront
974
to accommodate the larger size, whereas conversely down-sizing
975
only results in a usage reduction when the resize is confirmed.
977
Change-Id: I2b1cbb098c79e37d7ad19221fe23657eb018eae6
979
nova/compute/api.py | 126 +++++++++++++++++++++++++++++++-
980
nova/compute/manager.py | 77 +++++++++++++------
981
nova/compute/rpcapi.py | 46 +++++++-----
982
nova/scheduler/chance.py | 5 +-
983
nova/scheduler/driver.py | 3 +-
984
nova/scheduler/filter_scheduler.py | 5 +-
985
nova/scheduler/manager.py | 10 ++-
986
nova/scheduler/rpcapi.py | 6 +-
987
nova/tests/compute/test_compute.py | 61 +++++++++++++---
988
nova/tests/compute/test_rpcapi.py | 15 ++--
989
nova/tests/scheduler/test_rpcapi.py | 3 +-
990
nova/tests/scheduler/test_scheduler.py | 2 +
991
12 files changed, 285 insertions(+), 74 deletions(-)
993
commit eac3d00b1775105cb67e8e2a2dcd94112fa0e6d6
994
Merge: 338564d 867c9b7
995
Author: Jenkins <jenkins@review.openstack.org>
996
Date: Tue Aug 14 07:56:21 2012 +0000
998
Merge "Change time.sleep to greenthread.sleep"
1000
commit 338564dbc577504ff7d08a20eb21b616bd39a1fe
1001
Merge: 7af1689 197a354
1002
Author: Jenkins <jenkins@review.openstack.org>
1003
Date: Tue Aug 14 05:11:01 2012 +0000
1005
Merge "Fix HTTP 500 on bad server create"
1007
commit 7af16893514bd27be51cf5e425679ddcce07688a
1008
Author: Renuka Apte <renuka.apte@citrix.com>
1009
Date: Mon Aug 13 17:29:23 2012 -0700
1011
Fix rpc error with live_migration
1013
Revert "Fix rpc error with live_migration."
1015
This reverts commit f72f3498656e8b4857001a1f3d194305245d56ba.
1017
Add missing topic argument topic=FLAGS.compute_topic, to
1022
Change-Id: I11b77da60c8f8aa28748f8968380bca5b7b80e73
1024
nova/compute/api.py | 2 +-
1025
nova/scheduler/rpcapi.py | 6 +++---
1026
.../compute/contrib/test_admin_actions.py | 2 +-
1027
nova/tests/scheduler/test_rpcapi.py | 2 +-
1028
4 files changed, 6 insertions(+), 6 deletions(-)
1030
commit e2bb812db3051e171a338f86e9fcfb35d95e47c8
1031
Merge: 4d9cca9 95015ad
1032
Author: Jenkins <jenkins@review.openstack.org>
1033
Date: Tue Aug 14 00:39:00 2012 +0000
1035
Merge "Rewrite image code to use python-glanceclient"
1037
commit 4d350dc82ecfe1d272bfbd43445a78c69a32fc90
1038
Author: Michael Still <mikal@stillhq.com>
1039
Date: Sat Aug 11 20:51:27 2012 +1000
1041
Simple checks for instance user data.
1043
Check that instance user data wont be truncated, and that it is
1044
valid base64 data. This partially resolves bug 1035055. I don't
1045
love the hard coded maximum length, but I haven't worked out how
1046
to get sqlalchemy to tell me the maximum size of the data type.
1048
Change-Id: I045d6b4481563d01cae371cf61a91781cfed6f4b
1050
nova/compute/api.py | 15 +++++++++++
1051
nova/exception.py | 10 ++++++++
1052
nova/tests/compute/test_compute.py | 49 ++++++++++++++++++++++++++++++++++++
1053
3 files changed, 74 insertions(+)
1055
commit 867c9b76c3cb1333d807d912de11c7965d72c405
1056
Author: Yun Mao <yunmao@gmail.com>
1057
Date: Mon Aug 13 17:02:35 2012 -0400
1059
Change time.sleep to greenthread.sleep
1061
time is not imported. use greenthread to make it consistent with
1062
the rest of the module
1064
Change-Id: Iea6b2b0f49faa5e48198b61ff1b0ef52da58f48b
1066
nova/virt/libvirt/driver.py | 2 +-
1067
1 file changed, 1 insertion(+), 1 deletion(-)
1069
commit 4d9cca956c7df53e0ca47e88b01ea34e541d1a3e
1070
Merge: 09f2424 e4ecf19
1071
Author: Jenkins <jenkins@review.openstack.org>
1072
Date: Mon Aug 13 22:12:48 2012 +0000
1074
Merge "Add missing self. for parent"
1076
commit 09f24242a3e1fbd7171becda298f643d6b645223
1077
Merge: 6a848df f72f349
1078
Author: Jenkins <jenkins@review.openstack.org>
1079
Date: Mon Aug 13 21:58:40 2012 +0000
1081
Merge "Fix rpc error with live_migration."
1083
commit 6a848df4004c0c977320ba34bf735106505d7353
1084
Merge: 3fc3dbe 99fb9d2
1085
Author: Jenkins <jenkins@review.openstack.org>
1086
Date: Mon Aug 13 21:57:53 2012 +0000
1088
Merge "Don't stuff non-db data into instance dict"
1090
commit e4ecf1966726382567f0d4e8c0553fd27f13197e
1091
Author: Yun Mao <yunmao@gmail.com>
1092
Date: Mon Aug 13 16:16:52 2012 -0400
1094
Add missing self. for parent
1096
Change-Id: Icb67278d46485f5515aae3f66c4654a094b1662c
1098
nova/network/ldapdns.py | 2 +-
1099
1 file changed, 1 insertion(+), 1 deletion(-)
1101
commit 95015ad42a1f6355af095a6dca2ecd39ae2cc735
1102
Author: Brian Waldon <brian.waldon@rackspace.com>
1103
Date: Mon Jul 30 13:12:18 2012 -0700
1105
Rewrite image code to use python-glanceclient
1107
This patch rewrites the Glance-specific code within Nova to use
1108
the new python-glanceclient library. The old client is deprecated
1109
in Folsom and should not be used in conjunction with
1110
python-glanceclient.
1112
This removes the dependency on installing 'glance' through pip.
1114
Implements bp integrate-python-glanceclient
1117
Change-Id: Ifb9e75593abd36a2d1c08773d02f192e5e5627fc
1119
nova/image/glance.py | 176 ++++++++------------
1120
nova/image/s3.py | 12 +-
1121
.../api/openstack/compute/test_server_actions.py | 2 +-
1122
nova/tests/api/openstack/fakes.py | 10 +-
1123
nova/tests/glance/stubs.py | 98 +++++++----
1124
nova/tests/image/fake.py | 8 +-
1125
nova/tests/image/test_glance.py | 45 ++---
1126
nova/tests/image/test_s3.py | 3 +-
1127
nova/virt/vmwareapi/read_write_util.py | 7 +-
1128
tools/pip-requires | 2 +-
1129
10 files changed, 163 insertions(+), 200 deletions(-)
1131
commit 3fc3dbe6ab6149f5650f777b3a89c650ae3945e9
1132
Merge: 7de1aca 5646b96
1133
Author: Jenkins <jenkins@review.openstack.org>
1134
Date: Mon Aug 13 20:27:56 2012 +0000
1136
Merge "Fix TypeError conversion in API layer"
1138
commit 7de1aca7661dc7308c75cc9ded83ce4f7bfa0432
1139
Merge: e4a7edd 7a500ec
1140
Author: Jenkins <jenkins@review.openstack.org>
1141
Date: Mon Aug 13 19:20:30 2012 +0000
1143
Merge "Improve bw_usage_update() performance"
1145
commit f72f3498656e8b4857001a1f3d194305245d56ba
1146
Author: Russell Bryant <rbryant@redhat.com>
1147
Date: Mon Aug 13 14:35:47 2012 -0400
1149
Fix rpc error with live_migration.
1151
The topic argument to live_migration was removed on the manager side in
1152
rpc API version 1.3, but was not removed from scheduler/rpcapi.py.
1155
Change-Id: I0b1c68848f7bd55f6f10c63b9433746f0a343a63
1157
nova/scheduler/rpcapi.py | 6 +++---
1158
nova/tests/scheduler/test_rpcapi.py | 2 +-
1159
2 files changed, 4 insertions(+), 4 deletions(-)
1161
commit 4097042d171a81dd64e27ae8a70692183d01c26a
1162
Author: Josh Durgin <josh.durgin@inktank.com>
1163
Date: Mon Aug 13 10:42:27 2012 -0700
1165
volumes: fix check_for_export() in non-exporting volume drivers
1167
This overrides the default check_for_export so that drivers that don't
1168
need to export block devices on the host like Sheepdog and RBD don't
1169
raise a NotImplemented exception when this is called.
1171
Change-Id: I9e46f84a2a491f8e1f281b3eea86106147b27976
1172
Reported-by: Mark Moseley <moseleymark@gmail.com>
1173
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
1175
nova/volume/driver.py | 8 ++++++++
1176
1 file changed, 8 insertions(+)
1178
commit e4a7edd17525e0ce4d62021b0e76740d2a02bace
1179
Author: Yun Mao <yunmao@gmail.com>
1180
Date: Mon Aug 13 13:41:25 2012 -0400
1182
Avoid {} and [] as default arguments
1184
Dict and list objects are mutable and are usually the sources of
1185
subtle bugs when used as default arguments. Avoid them.
1187
Change-Id: I5340c7051455a80c4adfab885d89acb46570fa52
1189
nova/compute/manager.py | 9 +++++++--
1190
1 file changed, 7 insertions(+), 2 deletions(-)
1192
commit 7a500ecc8799914e45ca8534a15f81b8823a1d3e
1193
Author: Chris Behrens <cbehrens@codestud.com>
1194
Date: Mon Aug 13 07:33:15 2012 +0000
1196
Improve bw_usage_update() performance
1200
bw_usage_update() most commonly updates rows vs creates rows. New rows
1201
are only created on the 1st bandwidth update for an instance or when
1202
the audit period rolls over. This cuts down DB queries to 1 for the
1206
Remove unused 'import inspect' in compute manager.
1208
Change-Id: Ie5f6c919676046d817b842138dc9d17d1115d3c0
1210
nova/compute/manager.py | 7 ++++--
1211
nova/db/api.py | 19 ++++++---------
1212
nova/db/sqlalchemy/api.py | 37 ++++++++++++++++------------
1213
nova/tests/test_db_api.py | 59 +++++++++++++++++++++++++++++++++++++++++++++
1214
4 files changed, 92 insertions(+), 30 deletions(-)
1216
commit de03b8441bf6da6437bc4df42875c3cb33103b3e
1217
Author: Dan Prince <dprince@redhat.com>
1218
Date: Mon Aug 13 12:42:56 2012 -0400
1220
Update extra specs calls to use deleted: False.
1222
Updates the instance type extra specs and volume type extra specs
1223
create/update functions so that 'deleted' is treated as a boolean.
1225
This resolves issues when trying to create/update extra specs
1228
Fixes LP Bug #1036287.
1230
Change-Id: I7f38b40122240af3254d8a817f5144ce9fafd6db
1232
nova/db/sqlalchemy/api.py | 4 ++--
1233
1 file changed, 2 insertions(+), 2 deletions(-)
1235
commit 99fb9d2a99b123983426282448816413036f8cab
1236
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
1237
Date: Sun Aug 12 04:15:41 2012 +0000
1239
Don't stuff non-db data into instance dict
1241
The RPC API passes admin_pass and injected_files as arguments, but when
1242
calling the driver API, those values get stuffed into the instance dict
1243
which is otherwise all data that is stored in the database. This has
1244
led to some bugs (such as 1034948) which could have been avoided if
1245
the code was consistent.
1247
Change-Id: I09a7de8eca3791a5ab27e93b22e5ccccee31cf09
1249
nova/compute/manager.py | 20 +++++++++++---------
1250
nova/tests/api/openstack/fakes.py | 1 -
1251
nova/tests/compute/test_compute.py | 3 ++-
1252
nova/tests/test_libvirt.py | 3 ++-
1253
nova/tests/test_virt_drivers.py | 9 ++++-----
1254
nova/tests/test_xenapi.py | 12 +++++-------
1255
nova/virt/baremetal/driver.py | 6 +++---
1256
nova/virt/driver.py | 9 ++++++---
1257
nova/virt/fake.py | 7 ++++---
1258
nova/virt/libvirt/driver.py | 22 +++++++++++-----------
1259
nova/virt/xenapi/driver.py | 14 ++++++++------
1260
nova/virt/xenapi/vmops.py | 22 ++++++++++++----------
1261
12 files changed, 68 insertions(+), 60 deletions(-)
1263
commit 7c9bb06622c72e5ec823f15a98cd9ea93d094f2a
1264
Merge: dafa79f a0ef5ad
1265
Author: Jenkins <jenkins@review.openstack.org>
1266
Date: Mon Aug 13 16:35:55 2012 +0000
1268
Merge "Fix type error in state comparison"
1270
commit dafa79ff7880af907b5836d832e6c5dbfd7e0529
1271
Merge: 2db23f6 56a6fa2
1272
Author: Jenkins <jenkins@review.openstack.org>
1273
Date: Mon Aug 13 16:17:08 2012 +0000
1275
Merge "Move results filtering to db."
1277
commit a0ef5ad84f1ce3502e17215ef49c83d2738d2a84
1278
Author: Yun Mao <yunmao@gmail.com>
1279
Date: Mon Aug 13 11:53:53 2012 -0400
1281
Fix type error in state comparison
1283
vm_states.RESIZED is not a list/tuple, use == to compare instead
1284
of in (although it did work by accident in Python).
1286
Change-Id: Ib739e729ae79a3f68ca0eac10167982bd3a6656c
1288
nova/virt/libvirt/imagecache.py | 2 +-
1289
1 file changed, 1 insertion(+), 1 deletion(-)
1291
commit 2db23f6ba4db8fe95d05874dc3c6bef017a412ae
1292
Merge: 726bd9b 9575a42
1293
Author: Jenkins <jenkins@review.openstack.org>
1294
Date: Mon Aug 13 15:36:28 2012 +0000
1296
Merge "Flavor extra specs extension use instance_type id"
1298
commit 726bd9bb3fa3acc4c72d71617f9ba3e0b3276697
1299
Merge: ed80ed6 cc18149
1300
Author: Jenkins <jenkins@review.openstack.org>
1301
Date: Mon Aug 13 15:03:11 2012 +0000
1303
Merge "xenapi: ensure all calls to agent get logged"
1305
commit 97dd343b169fcdeddfaa3031a6fde601058a104f
1306
Author: Dan Wendlandt <dan@nicira.com>
1307
Date: Mon Aug 13 07:31:58 2012 -0700
1309
update python-quantumclient dependency to >=2.0
1311
Nova should depend on a version of quantum client that includes
1312
API v2.0 support. That means the client version should be 2.0+ .
1314
This was just pushed to PyPi today:
1316
http://pypi.python.org/pypi/python-quantumclient/2.0
1318
Change-Id: Ib9d997ceff92f2da6986d184b7b0da9e564800aa
1320
tools/pip-requires | 2 +-
1321
1 file changed, 1 insertion(+), 1 deletion(-)
1323
commit ed80ed615762e0ff24235b7d57fa8b356c659e11
1324
Author: Vishvananda Ishaya <vishvananda@gmail.com>
1325
Date: Sun Aug 12 10:01:09 2012 -0700
1327
Key auto_disk_config in create server off of ext.
1329
Implements part of blueprint disable-server-extensions
1331
Makes sure that auto_disk_config is only accepted in the create
1332
server request if the extension is enabled. Note that the extension
1333
alias is OS-DCF because it also adds output to the server
1336
Change-Id: I59fafe769e1e562e6bf9f6db768acc9b0f8d2b93
1338
nova/api/openstack/compute/servers.py | 4 +++-
1339
nova/tests/api/openstack/compute/test_servers.py | 26 ++++++++++++++++++++++
1340
2 files changed, 29 insertions(+), 1 deletion(-)
1342
commit 9af40c167879096a8f0f209bde4e6c5cc9295b86
1343
Author: Alessio Ababilov <aababilov@griddynamics.com>
1344
Date: Mon Jul 16 18:27:58 2012 +0300
1346
Implement network association in OS API
1348
Networks are associated with projects automatically during launch
1349
of an instance. The network is chosen rather randomly.
1350
This commit adds support for association of given network and project.
1352
DocImpact - when this lands, need to update openstack-manuals repo:
1353
doc/src/docbkx/openstack-api-site/src/wadls/compute-api/src/ext/os-networks.wadl
1355
Implements: blueprint os-api-network-associate
1356
Change-Id: Iafaf4a5ae3d3e16a6c649f1d7850fceba732efab
1358
nova/api/openstack/compute/contrib/networks.py | 35 +++++++++++--
1359
nova/db/api.py | 4 +-
1360
nova/db/sqlalchemy/api.py | 11 ++--
1361
nova/network/api.py | 5 +-
1362
nova/network/manager.py | 8 ++-
1363
nova/network/quantumv2/api.py | 2 +-
1364
.../api/openstack/compute/contrib/test_networks.py | 53 +++++++++++++++-----
1365
7 files changed, 91 insertions(+), 27 deletions(-)
1367
commit d036fdbe0f8112e0345e80a08762e3c1bc7885f1
1368
Merge: 480f4e2 8f1c54c
1369
Author: Jenkins <jenkins@review.openstack.org>
1370
Date: Sun Aug 12 02:15:53 2012 +0000
1372
Merge "Compute restart causes period of network 'blackout'"
1374
commit 480f4e2a3a2992acf25628eddfc6f87379cf2445
1375
Merge: 0effb5c 357ffa7
1376
Author: Jenkins <jenkins@review.openstack.org>
1377
Date: Sun Aug 12 02:15:37 2012 +0000
1379
Merge "remove nova code related to Quantum v1 API"
1381
commit 5646b96119947ba1b3086ac598d9c97bee3fca58
1382
Author: Brian Elliott <brian.elliott@rackspace.com>
1383
Date: Thu Aug 9 22:51:11 2012 +0000
1385
Fix TypeError conversion in API layer
1387
Fix conversion of TypeError to Fault in ResourceExceptionHandler.
1388
TypeError can result when the list of extensions is inovked if the
1389
parameters don't match the extension method's signature.
1391
Specifically, if an empty body was sent with an HTTP POST to create a
1392
server, a 500 error was returned. This change is a fix to properly
1393
return a 400 instead.
1395
(In Python2.6, the ex_value argument of __exit__ is type string when
1396
ex_type is a TypeError, which caused the conversion logic to get
1401
Change-Id: I96ad335a6338523345d28b7e744dbc7449b4753d
1403
nova/api/openstack/wsgi.py | 6 +++++-
1404
nova/tests/api/openstack/test_wsgi.py | 12 ++++++++++++
1405
2 files changed, 17 insertions(+), 1 deletion(-)
1407
commit 0effb5ce1dec1ebb0dfc748ac7f67d771c1281a7
1408
Merge: cddfa51 8077486
1409
Author: Jenkins <jenkins@review.openstack.org>
1410
Date: Sun Aug 12 00:34:51 2012 +0000
1412
Merge "Default behavior should restrict admins to tenant for volumes."
1414
commit cddfa51bd02d9171e71b498c6ff904e56c0129f8
1415
Merge: 7aa0fa0 244a5e8
1416
Author: Jenkins <jenkins@review.openstack.org>
1417
Date: Sun Aug 12 00:32:15 2012 +0000
1419
Merge "Revert "Remove unused add_network_to_project() method""
1421
commit 7aa0fa014e47268b6bdc9f89c8a5d5e457056c87
1422
Merge: 068f907 7457452
1423
Author: Jenkins <jenkins@review.openstack.org>
1424
Date: Sun Aug 12 00:29:59 2012 +0000
1426
Merge "Sync with latest version of openstack.common.cfg"
1428
commit 068f907fa70c89d90e3067f7647094367edd41a9
1429
Merge: 8650d84 9e1c6d0
1430
Author: Jenkins <jenkins@review.openstack.org>
1431
Date: Sun Aug 12 00:29:49 2012 +0000
1433
Merge "Sync some cleanups from openstack.common"
1435
commit 8650d84a8ef7218e9a9d2353396019035274acda
1436
Merge: c2fd086 8072425
1437
Author: Jenkins <jenkins@review.openstack.org>
1438
Date: Sat Aug 11 15:11:29 2012 +0000
1440
Merge "Key requested_networks off of network extension"
1442
commit c2fd0866e2053b308180c259e412ea6b1bd39982
1443
Merge: 649d3ce d507bd9
1444
Author: Jenkins <jenkins@review.openstack.org>
1445
Date: Sat Aug 11 03:08:49 2012 +0000
1447
Merge "Config drive v2"
1449
commit 80724254edec09f6cd8f217c9ea695b7374d89b8
1450
Author: Nachi Ueno <nachi@nttmcl.com>
1451
Date: Fri Aug 10 20:34:37 2012 +0000
1453
Key requested_networks off of network extension
1455
partially implements blueprint disable-server-extensions
1457
Change-Id: Id6abe827b0d0bbf04dc25bed9a92296b24f34f5f
1459
nova/api/openstack/compute/servers.py | 7 ++++--
1460
nova/tests/api/openstack/compute/test_servers.py | 29 ++++++++++++++++++++++
1461
2 files changed, 34 insertions(+), 2 deletions(-)
1463
commit 649d3cea2a3c6a704612087e5ccca7cbe11ae0b3
1464
Merge: 7c62170 dec1531
1465
Author: Jenkins <jenkins@review.openstack.org>
1466
Date: Fri Aug 10 23:35:59 2012 +0000
1468
Merge " Key config_drive off of config-drive extension"
1470
commit 7c62170c67fc60b6fd0ddd0239c40b9238a372d6
1471
Merge: c998ebd 13d25ed
1472
Author: Jenkins <jenkins@review.openstack.org>
1473
Date: Fri Aug 10 23:31:45 2012 +0000
1475
Merge changes I87ce041c,Iaca00958,I326b26c4
1478
Don't accept key_name if not enabled
1479
Key min_count, max_count, ret_res_id off of ext.
1480
Key availability_zone in create server off of ext.
1482
commit c998ebda59d71fb647b15866b26a2331226282ba
1483
Merge: 13c23fd 31d10e9
1484
Author: Jenkins <jenkins@review.openstack.org>
1485
Date: Fri Aug 10 23:27:05 2012 +0000
1487
Merge "import module, not type."
1489
commit 13c23fd68e7d82a0b09d91f20c7d57d2e7c16350
1490
Merge: 7e944c0 a811692
1491
Author: Jenkins <jenkins@review.openstack.org>
1492
Date: Fri Aug 10 23:12:37 2012 +0000
1494
Merge "Make sure reservations is initialized"
1496
commit 7e944c0e8dfd31c9adb05c1a1887898669e27ab6
1497
Merge: 95dbc97 8acb727
1498
Author: Jenkins <jenkins@review.openstack.org>
1499
Date: Fri Aug 10 23:05:33 2012 +0000
1501
Merge "maint: remove an unused import in libvirt.driver"
1503
commit 95dbc97a2ce7a9be585c7e7fe44ff0b9e8594b30
1504
Merge: faa0b5e f54a916
1505
Author: Jenkins <jenkins@review.openstack.org>
1506
Date: Fri Aug 10 23:05:02 2012 +0000
1508
Merge "Don't accept scheduler_hints if not enabled"
1510
commit dec1531f1defacfba77454c05acef229dab9bc06
1511
Author: Nachi Ueno <nachi@nttmcl.com>
1512
Date: Fri Aug 10 23:04:58 2012 +0000
1514
Key config_drive off of config-drive extension
1516
partially implements blueprint disable-server-extensions
1518
Change-Id: I42743efeb74b3286c158589eb6af7b1d9ba215d5
1520
nova/api/openstack/compute/servers.py | 4 +++-
1521
nova/tests/api/openstack/compute/test_servers.py | 16 ++++++++++++++++
1522
2 files changed, 19 insertions(+), 1 deletion(-)
1524
commit faa0b5e88bba74437599ff3e7f250b6eb359339f
1525
Merge: b962f98 0bfbce9
1526
Author: Jenkins <jenkins@review.openstack.org>
1527
Date: Fri Aug 10 23:04:48 2012 +0000
1529
Merge changes I7aef0ebe,I0dd233c2
1532
Key user_data in create server off of extension
1533
Key block_device_mapping off of volume extension
1535
commit b962f98a18a4070ae859b8a98b4169e37db6fa69
1536
Merge: 4e596a1 f546f62
1537
Author: Jenkins <jenkins@review.openstack.org>
1538
Date: Fri Aug 10 23:04:18 2012 +0000
1540
Merge "Make sure ec2 mapping raises proper exceptions"
1542
commit 4e596a171f7dc1a4140726b1cfab85976f98243a
1543
Merge: 2ef3455 861efe3
1544
Author: Jenkins <jenkins@review.openstack.org>
1545
Date: Fri Aug 10 23:01:29 2012 +0000
1547
Merge "General host aggregates part 2"
1549
commit a811692056fa2919028ebd18d268fc7325a7481f
1550
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
1551
Date: Fri Aug 10 17:21:05 2012 -0500
1553
Make sure reservations is initialized
1555
In compute API, _delete() could reference reservations before it was
1556
ever assigned, if the call to _update() or to QUOTAS.reserve() raised
1557
an exception--the exception handlers test to see if reservations is
1558
set, and if so, rolls the reservations back. This patch makes sure
1559
the reservations variable is initialized to None before entering the
1562
Change-Id: I7e344074d8fd75b371d78abf8fd15b6f84023cef
1564
nova/compute/api.py | 7 +++----
1565
1 file changed, 3 insertions(+), 4 deletions(-)
1567
commit 31d10e94542c6aeea8854a12abbd1500e4ec7f6d
1568
Author: Russell Bryant <rbryant@redhat.com>
1569
Date: Fri Aug 10 18:02:05 2012 -0400
1571
import module, not type.
1573
This patch fixes a little HACKING issue. Import the collections module
1574
instead of the defaultdict type from collections.
1576
Change-Id: I59c6fe947b6ed03f13c3481b0484896e8daaa963
1578
nova/db/sqlalchemy/api.py | 4 ++--
1579
1 file changed, 2 insertions(+), 2 deletions(-)
1581
commit d507bd9f186c45b51d635e26070aef7280b6c175
1582
Author: Michael Still <mikal@stillhq.com>
1583
Date: Sun Aug 5 21:35:28 2012 +1000
1587
This is the first cut of config drive v2. Some points to note:
1589
- implements a helper to create new-style config drives. These
1590
config drives can be VFAT or ISO9660, this is controlled by
1591
a flag. The current default is ISO9660.
1593
- the config drives contain all the injected files, as well as
1594
everything returned from the ec2 style metadata service. Only
1595
the most recent version of the ec2 metadata is used, but future
1596
versions will appear as well.
1598
- the v1 functionality of specifying an image from glance to have
1599
the files injected into is dropped.
1601
- the location for file injection is now a directory named
1602
openstack/files, not the root level of the filesystem. Filename
1603
mapping is in the openstack metadata files.
1605
- the default format for the config drive is iso9660, although
1606
the previous vfat is available with a flag change.
1608
- includes the first version of an openstack metadata format.
1610
- there are some simple unit tests which probably need more done
1613
Partially implements bp config-drive-v2.
1615
Change-Id: I210fa4dd7d8d6be398a46b30a0d46b960e22d6b0
1617
etc/nova/rootwrap.d/compute.filters | 2 +
1618
nova/api/metadata/base.py | 46 ++++++++++
1619
nova/exception.py | 10 ++
1620
nova/tests/test_configdrive2.py | 103 +++++++++++++++++++++
1621
nova/tests/test_virt_drivers.py | 8 ++
1622
nova/virt/configdrive.py | 173 +++++++++++++++++++++++++++++++++++
1623
nova/virt/libvirt/driver.py | 102 +++++++++++----------
1624
7 files changed, 396 insertions(+), 48 deletions(-)
1626
commit 13d25ed7dc0005f89a0522eff3bf5e5cda30fb07
1627
Author: Sean Dague <sdague@linux.vnet.ibm.com>
1628
Date: Fri Aug 10 15:39:55 2012 -0400
1630
Don't accept key_name if not enabled
1632
partially implements blueprint disable-server-extensions
1634
moves filling out key_name variable behind conditional only
1635
used when os-keypairs is enabled.
1637
Adds unit tests to ensure this behaves as expected
1639
(Remove debugging that was left in)
1641
Change-Id: I87ce041c2093c93a1a2456ef51357593e9de0681
1643
nova/api/openstack/compute/servers.py | 5 +++-
1644
nova/tests/api/openstack/compute/test_servers.py | 35 ++++++++++++++++++++++
1645
2 files changed, 39 insertions(+), 1 deletion(-)
1647
commit 197a354300df7f947d080aac964dbd2c774768f0
1648
Author: Brian Elliott <brian.elliott@rackspace.com>
1649
Date: Fri Aug 10 15:43:47 2012 +0000
1651
Fix HTTP 500 on bad server create
1653
Fix scheduler hint extension to check for missing 'server' attribute
1654
in the body. Return a HTTP 400. (not 500)
1658
Change-Id: Ifdf8b85e255fd199f15781c8b6c25d421eee7878
1660
.../openstack/compute/contrib/scheduler_hints.py | 9 +++++++--
1661
.../compute/contrib/test_scheduler_hints.py | 17 +++++++++++++++++
1662
2 files changed, 24 insertions(+), 2 deletions(-)
1664
commit 8077486b3c15012f4dbf270cd8c9fa3f48cb3d36
1665
Author: jakedahn <jake@ansolabs.com>
1666
Date: Thu Aug 9 14:28:28 2012 -0700
1668
Default behavior should restrict admins to tenant for volumes.
1670
* NOTE: This is a port from cinder to nova volumes
1671
* Now to view all volumes or volume snapshots across
1672
all tenants you need to include the all_tenants=1
1673
GET param in your api request.
1674
* Fixes remaining issues blocking bug #967882
1676
Change-Id: I7fe15e792b62e59973c7faa2cf1c52929ae5864f
1678
nova/api/openstack/volume/snapshots.py | 6 ++-
1679
nova/api/openstack/volume/volumes.py | 27 +++++++++++++-
1680
nova/tests/api/ec2/test_cloud.py | 13 ++++---
1681
nova/tests/api/openstack/fakes.py | 34 ++++++++++++++++-
1682
nova/tests/api/openstack/volume/test_snapshots.py | 41 +++++++++++++++++++--
1683
nova/tests/api/openstack/volume/test_volumes.py | 38 ++++++++++++++++++-
1684
nova/volume/api.py | 26 +++++++++----
1685
7 files changed, 165 insertions(+), 20 deletions(-)
1687
commit 2ef345534afe2d1640dd1d7ad42454d477ca2a94
1688
Merge: 67e2bbd 2afbbab
1689
Author: Jenkins <jenkins@review.openstack.org>
1690
Date: Fri Aug 10 19:42:57 2012 +0000
1692
Merge "Making security group refresh more specific"
1694
commit 67e2bbdfa2fdc564ff6e77b6ec5b02bd6fb98a17
1695
Merge: a7abc32 d0189e7
1696
Author: Jenkins <jenkins@review.openstack.org>
1697
Date: Fri Aug 10 19:13:45 2012 +0000
1699
Merge "Moves security group functionality into extension"
1701
commit a7abc32cfe6efe865c7a31c260bc0e145764f602
1702
Merge: 3b0ef1f acb6d78
1703
Author: Jenkins <jenkins@review.openstack.org>
1704
Date: Fri Aug 10 19:13:35 2012 +0000
1706
Merge "Send host not ComputeNode into uptime RPC call."
1708
commit 3b0ef1fb2e3110fbedc75a30475d799599706ced
1709
Merge: aef2fbb 6291af2
1710
Author: Jenkins <jenkins@review.openstack.org>
1711
Date: Fri Aug 10 19:03:21 2012 +0000
1713
Merge "maint: compare singletons with 'is' not '=='"
1715
commit aef2fbb2da6686310c2d928185fd947032a08a82
1716
Merge: 55cf5c3 57637c6
1717
Author: Jenkins <jenkins@review.openstack.org>
1718
Date: Fri Aug 10 18:58:08 2012 +0000
1720
Merge "Create unique volumes_dir for testing."
1722
commit 357ffa7d3aa2124d9d7697a4bd492b7819646ba9
1723
Author: Dan Wendlandt <dan@nicira.com>
1724
Date: Fri Aug 10 11:29:52 2012 -0700
1726
remove nova code related to Quantum v1 API
1730
Quantum team is removing all v1 support in Folsom, so this code
1731
will not be used or supported with Quantum Folsom release.
1733
Change-Id: I4c397d5238fcc3a15320e052bdc4735dfec1f176
1735
bin/nova-manage | 15 -
1736
etc/nova/nova.conf.sample | 48 +-
1737
nova/flags.py | 2 +-
1738
nova/network/manager.py | 2 +-
1739
nova/network/nova_ipam_lib.py | 101 ++++
1740
nova/network/quantum/__init__.py | 16 -
1741
nova/network/quantum/client.py | 312 ------------
1742
nova/network/quantum/fake_client.py | 171 -------
1743
nova/network/quantum/manager.py | 762 ----------------------------
1744
nova/network/quantum/melange_connection.py | 202 --------
1745
nova/network/quantum/melange_ipam_lib.py | 261 ----------
1746
nova/network/quantum/quantum_connection.py | 159 ------
1747
nova/network/quantum/sg.py | 159 ------
1748
nova/network/sg.py | 159 ++++++
1749
nova/tests/fake_network.py | 2 +-
1750
nova/tests/network/test_quantum.py | 647 -----------------------
1751
nova/tests/test_melange_ipam_lib.py | 243 ---------
1752
17 files changed, 264 insertions(+), 2997 deletions(-)
1754
commit f546f62397979312dd891509c31feadf149b8c59
1755
Author: Vishvananda Ishaya <vishvananda@gmail.com>
1756
Date: Fri Aug 10 09:25:10 2012 -0700
1758
Make sure ec2 mapping raises proper exceptions
1760
The get commands in the db layer were constructing InstanceNotFound,
1761
VolumeNotFound, and SnapshotNotFound with imporoper kwargs. This
1762
fixes them to raise properly and adds a test to verify that the
1763
exception formatting succeeded.
1767
Change-Id: I05a5bb57c047ca2b2f086c70ad12a640f51b2d3a
1769
nova/db/api.py | 4 ++--
1770
nova/db/sqlalchemy/api.py | 16 ++++++++--------
1771
nova/tests/test_db_api.py | 15 +++++++++++++++
1772
3 files changed, 25 insertions(+), 10 deletions(-)
1774
commit acb6d78c56cfc3e9e0392d1020ce72225ff1db65
1775
Author: Dan Prince <dprince@redhat.com>
1776
Date: Thu Aug 9 22:56:25 2012 -0400
1778
Send host not ComputeNode into uptime RPC call.
1780
Updates the hypervisor uptime API extension to send the
1781
correct hostname to the get_host_uptime in the compute API.
1783
Fixes LP Bug #1035315.
1784
Change-Id: I4840f16bd3c60063e08e2de8313ef5ed3510555e
1786
nova/api/openstack/compute/contrib/hypervisors.py | 3 ++-
1787
1 file changed, 2 insertions(+), 1 deletion(-)
1789
commit 2afbbab23a9d845cde511baa1e574fdcf5ab5171
1790
Author: David McNally <dave.mcnally@hp.com>
1791
Date: Wed Aug 1 15:51:29 2012 +0100
1793
Making security group refresh more specific
1797
The trigger_members_refresh method in compute.api.py specifies
1798
a group id in the call to refresh_security_group_members. This
1799
is just the last group id seen and ignores the fact that a
1800
refresh may impact members of multiple groups.
1802
This is masked by the fact that on the host the group id is
1803
ignored and all instances have their security rules refreshed
1804
regardless of if they are part of the changed group or not.
1806
This change modifies the logic surrounding refreshes so we send
1807
a refresh request for each instance which is affected by a
1808
security group change, this ensures we aren't spending time
1809
refreshing unaffected instances and also removes the possibility
1810
of refreshing an instance multiple times if it is a member of
1811
more than one group.
1813
Also changed to be instance-centric is the refresh carried out
1814
when a rule is added/removed to a security group.
1816
Change-Id: Iec98e9aed818fdc4ecc88c8dcdd4ee5fa9386e00
1818
nova/compute/api.py | 26 +++-----
1819
nova/compute/manager.py | 12 +++-
1820
nova/compute/rpcapi.py | 10 +++
1821
nova/tests/compute/test_compute.py | 129 ++++++++++++++++++++++++++++++++++++
1822
nova/virt/baremetal/driver.py | 4 ++
1823
nova/virt/fake.py | 3 +
1824
nova/virt/firewall.py | 17 +++++
1825
nova/virt/libvirt/driver.py | 3 +
1826
nova/virt/xenapi/driver.py | 7 ++
1827
nova/virt/xenapi/vmops.py | 4 ++
1828
10 files changed, 196 insertions(+), 19 deletions(-)
1830
commit 7457452a88b63505e3c90bbf218be7140713ffb5
1831
Author: Mark McLoughlin <markmc@redhat.com>
1832
Date: Fri Aug 10 11:18:23 2012 +0100
1834
Sync with latest version of openstack.common.cfg
1836
Changes since last sync:
1838
- Modifies _is_opt_registered fcn to check for duplicate opts
1839
- allow empty config values
1841
Change-Id: I5150404a0ff97f37d1d1f1b778736fa385d33860
1843
nova/openstack/common/cfg.py | 5 ++++-
1844
nova/openstack/common/iniparser.py | 3 ++-
1845
2 files changed, 6 insertions(+), 2 deletions(-)
1847
commit 9e1c6d0c799613ab692bd0bd8e19c3c2a51130d2
1848
Author: Mark McLoughlin <markmc@redhat.com>
1849
Date: Fri Aug 10 11:54:34 2012 +0100
1851
Sync some cleanups from openstack.common
1853
Changes to openstack.common.notifier:
1855
- fix bug lp:1019348,update openstack-common to support pep8 1.3.
1857
Changes to openstack.common.setup:
1859
- Fix errors reported by pyflakes
1861
Changes to openstack.common.timeutils:
1863
- Remove unused imports
1865
Change-Id: Iac46d11a996857c84e06a8dbd3ecfcd774142ef8
1867
nova/openstack/common/notifier/log_notifier.py | 3 ++-
1868
nova/openstack/common/notifier/rabbit_notifier.py | 6 +++---
1869
nova/openstack/common/setup.py | 5 ++---
1870
nova/openstack/common/timeutils.py | 1 -
1871
4 files changed, 7 insertions(+), 8 deletions(-)
1873
commit 55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5
1874
Merge: 7219577 adb98d5
1875
Author: Jenkins <jenkins@review.openstack.org>
1876
Date: Fri Aug 10 10:08:43 2012 +0000
1878
Merge "Add error log for live migration."
1880
commit 6291af275084db4fbda8803f794729b6a0f1ace3
1881
Author: PƔdraig Brady <pbrady@redhat.com>
1882
Date: Fri Aug 10 10:40:35 2012 +0100
1884
maint: compare singletons with 'is' not '=='
1886
Looks like newer pep8 will get checks for these:
1887
https://github.com/jcrocholl/pep8/commit/b04975dc
1888
Using 'is' is slightly faster anyway :)
1890
Change-Id: Id14951791991cca919b54ed747ff99fb66aa3352
1892
nova/compute/api.py | 2 +-
1893
nova/volume/storwize_svc.py | 2 +-
1894
2 files changed, 2 insertions(+), 2 deletions(-)
1896
commit 8f1c54ce98fed9cb7384be9cbb9f28eba2f12c2d
1897
Author: David McNally <dave.mcnally@hp.com>
1898
Date: Wed Aug 8 16:20:23 2012 +0100
1900
Compute restart causes period of network 'blackout'
1904
When a compute service is restarted each instance running on the
1905
host has its iptables rules built and applied sequentially during
1906
the host init stage. The impact of this, especially on a host
1907
running many instances, can be observed as a period where some
1908
instances are not accessible as the existing iptables rules have
1909
been torn down and not yet re-applied.
1911
The presented work-around for this is a configurable/flagged deferred
1912
mode that prevents the application of the iptables rules until all
1913
instances on the host had been initialised then the rules for all
1914
instances are applied all at once preventing a 'blackout' period.
1916
Change-Id: I0da90d07e54225fb63f3884897fb00a6027cd537
1918
nova/compute/manager.py | 74 ++++++++++++++++++++--------------
1919
nova/flags.py | 5 +++
1920
nova/network/linux_net.py | 17 +++++++-
1921
nova/tests/network/test_linux_net.py | 25 ++++++++++++
1922
nova/virt/driver.py | 8 ++++
1923
nova/virt/firewall.py | 14 +++++++
1924
nova/virt/libvirt/driver.py | 6 +++
1925
7 files changed, 117 insertions(+), 32 deletions(-)
1927
commit 244a5e8d72e89f9f0e6ded73038109f1e4ebbada
1928
Author: Alessio Ababilov <aababilov@griddynamics.com>
1929
Date: Fri Aug 10 11:06:56 2012 +0300
1931
Revert "Remove unused add_network_to_project() method"
1933
This reverts commit d8e39cb775a872c46d067bee8febc40dee799369.
1935
Change-Id: I22f0692814ff029b4960ab32cbee63bbf4922106
1937
etc/nova/policy.json | 1 +
1938
nova/db/sqlalchemy/api.py | 21 ++++++++++++++++-----
1939
nova/network/api.py | 6 ++++++
1940
nova/network/manager.py | 5 +++++
1941
nova/network/quantumv2/api.py | 4 ++++
1942
nova/tests/policy.json | 1 +
1943
6 files changed, 33 insertions(+), 5 deletions(-)
1945
commit adb98d50d2af36fc6215cbec63fe89e3e67d8fa2
1946
Author: Takaaki Suzuki <suzuki@midokura.com>
1947
Date: Wed Aug 8 11:21:55 2012 +0900
1949
Add error log for live migration.
1951
Change-Id: I740c0def3b1f759aec3d4ae5fe3264484c704807
1952
Signed-off-by: Takaaki Suzuki <suzuki@midokura.com>
1954
nova/virt/libvirt/driver.py | 4 +++-
1955
1 file changed, 3 insertions(+), 1 deletion(-)
1957
commit 7219577ba48df211713cab655cdd296a07f35773
1958
Author: Dan Prince <dprince@redhat.com>
1959
Date: Thu Aug 9 22:16:33 2012 -0400
1961
Make FaultWrapper handle exception code = None.
1963
Updates the FaultWrapper middleware so that it properly handles
1964
exceptions which contain a code variable set to None. Previously
1965
you'd get TypeError exception like this in the api.log file:
1967
TypeError: %d format: a number is required, not NoneType
1969
This was due to the fact that we tried to format a string with
1970
an integer value which was set to None.
1972
I hit this today when using Qpid which does in fact throw exceptions
1973
which contain 'code' variables set to None.
1975
Fixes LP Bug #1035159.
1977
Change-Id: I7193031b1f5f9bf84cdb476f8f1268efc50eadf0
1979
nova/api/openstack/__init__.py | 2 ++
1980
nova/tests/api/openstack/compute/test_api.py | 14 ++++++++++++++
1981
2 files changed, 16 insertions(+)
1983
commit f54a91603933a9a67ee3ed7bb0010017bcc1193e
1984
Author: Sean Dague <sdague@linux.vnet.ibm.com>
1985
Date: Wed Aug 8 17:27:38 2012 -0400
1987
Don't accept scheduler_hints if not enabled
1989
partially implements blueprint disable-server-extensions
1991
moves the filling out of the code behind a conditional to
1992
ensure this data is only passed if the extension is actually
1995
Change-Id: If866eb87c9e6189b6948cb37f0cb8f5e26c8cced
1997
nova/api/openstack/compute/servers.py | 5 ++++-
1998
nova/tests/api/openstack/compute/test_servers.py | 25 ++++++++++++++++++++++
1999
2 files changed, 29 insertions(+), 1 deletion(-)
2001
commit 043e3f5981d89d35aa8bb8f1c42561c38451dfc4
2002
Merge: b0d2e79 aaccb0a
2003
Author: Jenkins <jenkins@review.openstack.org>
2004
Date: Fri Aug 10 00:12:08 2012 +0000
2006
Merge "Avoid double-reduction of quota for repeated delete."
2008
commit b0d2e794a000ecafa3712f1581de3a7fea7cd91e
2009
Merge: 6d9bb08 6795de6
2010
Author: Jenkins <jenkins@review.openstack.org>
2011
Date: Thu Aug 9 23:16:34 2012 +0000
2013
Merge "Send 'create volume from snapshot' to the proper host"
2015
commit 6d9bb08181fc8d52bce4780c8ee20fce7beff448
2016
Merge: 01a1f68 4664f63
2017
Author: Jenkins <jenkins@review.openstack.org>
2018
Date: Thu Aug 9 23:00:49 2012 +0000
2020
Merge "Driver for IBM Storwize and SVC storage."
2022
commit 01a1f68ca891c2002d6833020fca9d451c303a39
2023
Merge: 65c3759 0fa3f0e
2024
Author: Jenkins <jenkins@review.openstack.org>
2025
Date: Thu Aug 9 22:08:01 2012 +0000
2027
Merge "Make TerminateInstances compatible with EC2 api"
2029
commit aaccb0a97930b3b7ca8e80ede21c46ae084c4fc6
2030
Author: Eoghan Glynn <eglynn@redhat.com>
2031
Date: Wed Aug 8 16:45:11 2012 +0100
2033
Avoid double-reduction of quota for repeated delete.
2035
Previously when an instance delete is repeated while a
2036
delete is already in progress, the relevant quota usages
2039
This is already healing logic in place to catch the special
2040
case where these counts fall below zero, in which case the
2041
sync method re-calculates the appropriate in-use count.
2043
However this will only help the case at hand when the instance
2044
count is itself trending towards zero, and not in general when
2045
there's a healthy number of active instances.
2047
Now we check the instance task state before making the quota
2050
Change-Id: I91a70ada01dbe050471da43d66774686782584ad
2052
nova/compute/api.py | 39 +++++++++++++++++++++++++-----------
2053
nova/tests/compute/test_compute.py | 26 ++++++++++++++++++++++++
2054
2 files changed, 53 insertions(+), 12 deletions(-)
2056
commit 65c3759674dec87c895c44d95c7b279ea4e4eb05
2057
Author: Chuck Short <zulcss@ubuntu.com>
2058
Date: Thu Aug 9 15:32:20 2012 -0500
2060
Traceback when over allocating IP addresses
2062
When a user over allocates a number of IP addresses
2063
via euca-allocate-address, the user will get a nice
2064
traceback saying that they over quota for IP address
2065
allocation. Display a more userfriendly error when this
2070
Change-Id: If8586e246564f1069cb60bac9592f9d750522e81
2071
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
2073
nova/api/ec2/cloud.py | 5 ++++-
2074
1 file changed, 4 insertions(+), 1 deletion(-)
2076
commit cc18149b63c18794546f6c4959d81b545de148f6
2077
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
2078
Date: Thu Aug 9 15:32:21 2012 +0000
2080
xenapi: ensure all calls to agent get logged
2082
In some cases, a call to an agent wouldn't get logged since the caller
2083
was expected to log and not all did this. Move this to the callee so
2084
the caller doesn't need to do anything extra.
2086
Change-Id: Ie16a372187c9215028475522eef53bca9a5cf4d8
2088
nova/virt/xenapi/agent.py | 15 +++++++++++++--
2089
nova/virt/xenapi/vmops.py | 10 +---------
2090
2 files changed, 14 insertions(+), 11 deletions(-)
2092
commit c60e2e8f30ced68c24ef9af75bd429a7529f353d
2093
Merge: c35b853 2fa7b1a
2094
Author: Jenkins <jenkins@review.openstack.org>
2095
Date: Thu Aug 9 20:01:20 2012 +0000
2097
Merge "Make update_db an opt arg in scheduler manager."
2099
commit 2fa7b1aa1cecf6963655dd613fdc4395a4d74626
2100
Author: Dan Prince <dprince@redhat.com>
2101
Date: Thu Aug 9 15:16:24 2012 -0400
2103
Make update_db an opt arg in scheduler manager.
2105
Updates the scheduler manager so that update_db is an optional
2106
argument. This fixes issues when trying to make RPC calls
2107
with the most recent version (1.4) of the scheduler RPC API.
2109
Fixes LP Bug #1035004.
2111
Change-Id: Ib998c0465cead1b8e117a7344557f8ff496c7e40
2113
nova/scheduler/manager.py | 4 ++--
2114
1 file changed, 2 insertions(+), 2 deletions(-)
2116
commit 38561c758dd0699fa31d17222bd06c06f4a28168
2117
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2118
Date: Thu Aug 9 11:51:05 2012 -0700
2120
Key min_count, max_count, ret_res_id off of ext.
2122
Implements part of blueprint disable-server-extensions
2124
Adds a new extension descriptor callsed os-multiple-create. Modifies
2125
the min_count, max_count, and return_reservation_id parameters to
2126
server create to only be allowed if the extension is enabled.
2128
Change-Id: Iaca009588d6c824e0852a060787d2a4cb9614278
2130
.../openstack/compute/contrib/multiple_create.py | 27 ++++++++++++++
2131
nova/api/openstack/compute/servers.py | 11 ++++--
2132
.../tests/api/openstack/compute/test_extensions.py | 1 +
2133
nova/tests/api/openstack/compute/test_servers.py | 39 ++++++++++++++++++++
2134
4 files changed, 74 insertions(+), 4 deletions(-)
2136
commit 8b51c7dcaaf03f0b2b287420dad5c61e05cf31b6
2137
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2138
Date: Thu Aug 9 11:24:54 2012 -0700
2140
Key availability_zone in create server off of ext.
2142
Implements part of blueprint disable-server-extensions
2144
Adds a new extension descriptor for availability_zone and makes sure
2145
that availability_zone is only accepted in the create server request
2146
if the extension is enabled.
2148
Change-Id: I326b26c4741ffa6a8b594be26d0cd22d032a6162
2150
.../openstack/compute/contrib/availability_zone.py | 27 ++++++++++++++++++++
2151
nova/api/openstack/compute/servers.py | 4 ++-
2152
.../tests/api/openstack/compute/test_extensions.py | 1 +
2153
nova/tests/api/openstack/compute/test_servers.py | 25 ++++++++++++++++++
2154
4 files changed, 56 insertions(+), 1 deletion(-)
2156
commit c35b853f0fa9d41c50dd21c858bf9ffca1318953
2157
Author: Dan Prince <dprince@redhat.com>
2158
Date: Tue Aug 7 12:31:48 2012 -0400
2160
Fix the inject_metadata_into_fs in the disk API.
2162
Updates the _inject_metadata_into_fs in the disk/api.py so
2163
that it uses dict-style access. This resolves an issue introduced
2164
in a recent no-db-messaging change.
2166
Includes new test case.
2168
Fixes LP Bug #1034040.
2170
Change-Id: I1bc90a8331419709ab71e5da8c48cd1d54c40f9e
2172
nova/tests/test_virt.py | 11 +++++++++++
2173
nova/virt/disk/api.py | 2 +-
2174
2 files changed, 12 insertions(+), 1 deletion(-)
2176
commit eb1538763450d7d0f95d4c29ff54f4bf7defaa09
2177
Merge: fd00534 c45eb1f
2178
Author: Jenkins <jenkins@review.openstack.org>
2179
Date: Thu Aug 9 17:04:39 2012 +0000
2181
Merge "Fix stale instances being sent over rpc."
2183
commit fd00534df464095c780dd2e5a292b4d3696ad375
2184
Merge: 13ac52d fcdfa93
2185
Author: Jenkins <jenkins@review.openstack.org>
2186
Date: Thu Aug 9 17:04:29 2012 +0000
2188
Merge "Send updated instance model to schedule_prep_resize"
2190
commit 13ac52d2c21d6e0df7c896b25c91bd7a53b1871c
2191
Merge: f1c0a84 fe264ba
2192
Author: Jenkins <jenkins@review.openstack.org>
2193
Date: Thu Aug 9 16:49:21 2012 +0000
2195
Merge "Fix traceback when detaching volumes via EC2"
2197
commit fcdfa93b210a092894284f60309e660a3a058fde
2198
Author: Chris Behrens <cbehrens@codestud.com>
2199
Date: Wed Aug 8 20:49:27 2012 +0000
2201
Send updated instance model to schedule_prep_resize
2203
A stale instance model was being passed to schedule_prep_resize.
2207
Change-Id: Ic92a22a2c315d25c70d32685fdf9f38451077b9a
2209
nova/compute/api.py | 7 ++-----
2210
nova/tests/compute/test_compute.py | 29 +++++++++++++++++++++++++++++
2211
2 files changed, 31 insertions(+), 5 deletions(-)
2213
commit f1c0a84be4dc1be15cb2b2c2676b9243fd24bd3d
2214
Merge: 8795f66 ced45de
2215
Author: Jenkins <jenkins@review.openstack.org>
2216
Date: Thu Aug 9 16:29:46 2012 +0000
2218
Merge "Adds ability to inherit wsgi extensions"
2220
commit 8795f662a8ae00a459d4911be2e9756ed0f3a207
2221
Merge: 220ab5c dd45bf7
2222
Author: Jenkins <jenkins@review.openstack.org>
2223
Date: Thu Aug 9 15:47:07 2012 +0000
2225
Merge "Fix setting admin_pass in rescue command"
2227
commit 57637c60181c2b621771bbf751f811228ae9c433
2228
Author: Dan Prince <dprince@redhat.com>
2229
Date: Fri Aug 3 15:26:03 2012 -0400
2231
Create unique volumes_dir for testing.
2233
Updates several Nova volume test classes so that we create a
2234
unique volumes_dir for testing. This avoids polluting the source
2235
tree with fake volume UUID's when running tests.
2237
Note: I opted to go utils.tempdir in test_volume (which seemed
2238
cleaner). I did not however use utils.tempdir in the other
2239
test modules since it would have required a good be more
2240
reformatting effort...
2242
Change-Id: I24a53c28c52156750cf65942639af0b15fbeefc1
2244
nova/tests/api/ec2/test_cinder_cloud.py | 8 ++++++++
2245
nova/tests/api/ec2/test_cloud.py | 7 +++++++
2246
nova/tests/test_volume.py | 19 ++++++++++++++++++-
2247
3 files changed, 33 insertions(+), 1 deletion(-)
2249
commit c45eb1fe80e6e224b0617fb3d789949c0d0b8dd1
2250
Author: Russell Bryant <rbryant@redhat.com>
2251
Date: Wed Aug 8 17:59:56 2012 -0400
2253
Fix stale instances being sent over rpc.
2255
There were a number of places in compute/api.py that were calling
2256
self.update() for an instance, but not sending an instance that contains
2257
those updates over rpc. This patch fixes them.
2259
The changes to the unit tests were required because its stubs were
2260
returning an instance without a host set in some cases. So, the result
2261
of self.update() had no host and the rpcapi would blow up since it had
2262
no idea where to send the message.
2264
This patch does not fix self.update() before prep_resize, because it is
2265
being addressed in this patch: https://review.openstack.org/#/c/11050/
2267
Change-Id: I4efc922a6a0af0605d4d63012d55ff8473211fd5
2269
nova/compute/api.py | 60 +++++++-------------
2270
.../api/openstack/compute/test_server_actions.py | 5 +-
2271
2 files changed, 25 insertions(+), 40 deletions(-)
2273
commit dd45bf735c073c9fb59d1d420d2e47713d28577d
2274
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
2275
Date: Thu Aug 9 15:17:35 2012 +0000
2277
Fix setting admin_pass in rescue command
2281
The database doesn't have an admin_pass column, so the instance_update()
2284
Change-Id: I9f22de1e926ed48b8fd4561ddf2129db6a1e0b65
2286
nova/compute/manager.py | 3 +--
2287
1 file changed, 1 insertion(+), 2 deletions(-)
2289
commit 0bfbce95c8bb867d8e8d27cb7c7429465cc88f15
2290
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2291
Date: Tue Aug 7 14:08:21 2012 -0700
2293
Key user_data in create server off of extension
2295
Implements part of blueprint disable-server-extensions
2297
Adds a new extension descriptor for user_data and makes sure that
2298
user_data is only accepted in the create server request if the
2299
extension is enabled.
2301
Change-Id: I7aef0ebe569da841adbf380d5695c9029fb3b002
2303
nova/api/openstack/compute/contrib/user_data.py | 27 ++++++++++++++++++++
2304
nova/api/openstack/compute/servers.py | 4 ++-
2305
.../tests/api/openstack/compute/test_extensions.py | 1 +
2306
nova/tests/api/openstack/compute/test_servers.py | 25 ++++++++++++++++++
2307
4 files changed, 56 insertions(+), 1 deletion(-)
2309
commit 2640f81754126c9d3ecd668eb99fb006f68b709b
2310
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2311
Date: Fri Aug 3 19:31:48 2012 -0700
2313
Key block_device_mapping off of volume extension
2315
partially implements blueprint disable-server-extensions
2317
Instead of creating a child controller for boot from volume,
2318
key the post parameter of of the os-volumes extension.
2320
Change-Id: I0dd233c2ae12a09d6fc59c49042c2f8b83f3fdba
2322
nova/api/openstack/compute/contrib/volumes.py | 11 +-----
2323
nova/api/openstack/compute/servers.py | 11 ++----
2324
nova/tests/api/openstack/compute/test_servers.py | 41 +++++++++++++++++-----
2325
3 files changed, 37 insertions(+), 26 deletions(-)
2327
commit d0189e777097a3adc5cf030123adfc24c67d14b4
2328
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2329
Date: Fri Aug 3 19:02:34 2012 -0700
2331
Moves security group functionality into extension
2333
partially implements blueprint disable-server-extensions
2335
This patch adds an output extension for security group output
2336
and modifies the servers code to only allow security groups
2337
to be specified if the os-security-groups extension is
2340
Duplicated security group functionality was removed from the
2341
createserverext extension, it is now a duplicate of the servers
2342
endpoint. The boot_from_volume extension was also changed
2343
to inherit the servers functionality so that security_groups
2344
will continue to work. The block_device_mapping code will be
2345
modified in a subsequent patch.
2347
Tests were added for new functionality, and existing tests were
2348
modified slightly. The disk_config extension was modified to be
2349
a bit more lenient so the data for it doesn't need to be mocked
2352
Change-Id: I59bd985d68b85ce6926cde85fbc38cfad4e75f4c
2354
.../openstack/compute/contrib/createserverext.py | 36 +-----
2355
nova/api/openstack/compute/contrib/disk_config.py | 2 +-
2356
.../openstack/compute/contrib/security_groups.py | 71 +++++++++-
2357
nova/api/openstack/compute/contrib/volumes.py | 3 +-
2358
nova/api/openstack/compute/servers.py | 20 +--
2359
.../compute/contrib/test_createserverext.py | 7 +-
2360
.../openstack/compute/contrib/test_disk_config.py | 4 +
2361
.../compute/contrib/test_security_groups.py | 136 ++++++++++++++++++++
2362
nova/tests/api/openstack/compute/test_servers.py | 48 ++++++-
2363
9 files changed, 271 insertions(+), 56 deletions(-)
2365
commit ced45de5984f1d89c238f70337cc0da2a150383f
2366
Author: Vishvananda Ishaya <vishvananda@gmail.com>
2367
Date: Fri Aug 3 18:44:56 2012 -0700
2369
Adds ability to inherit wsgi extensions
2371
Needed for blueprint disable-server-extensions
2373
It is possible to create a wsgi resource that extends another
2374
resource by using the same controller, but any extensions that
2375
have been applied to the original resource will have no affect.
2377
This adds a new parameter to ResourceExtension that allows it
2378
to inherit extensions from another resource. This is necessary
2379
because we are moving key funcionality of the /servers resource
2380
into extensions, and some other resources (like create-server-ext)
2381
extend that functionality. This way we can keep the functionality
2382
of the other extensions.
2384
Change-Id: I21b4c2569c35d59c1f466642355564084a277aea
2386
nova/api/openstack/__init__.py | 8 ++++++-
2387
nova/api/openstack/extensions.py | 5 ++--
2388
nova/api/openstack/wsgi.py | 21 ++++++++++++++++-
2389
.../tests/api/openstack/compute/test_extensions.py | 24 ++++++++++++++++++++
2390
4 files changed, 54 insertions(+), 4 deletions(-)
2392
commit 220ab5cfcbea8c500d45d3805c88f661730f7014
2393
Author: Major Hayden <major@mhtx.net>
2394
Date: Thu Aug 9 08:58:33 2012 -0500
2396
Fixes KeyError when trying to rescue an instance
2398
When rescuing an instance, a KeyError exception is thrown since
2399
the 'injected_files' key doesn't exist in the instance dict.
2401
Change-Id: I733899c3f699803db4dbe95021b1cb6490392bed
2403
nova/virt/xenapi/vmops.py | 2 +-
2404
1 file changed, 1 insertion(+), 1 deletion(-)
2406
commit 0fa3f0e6da4e8f1d5d09e6797bb5eae806ece400
2407
Author: Thorsten Tarrach <thorsten@atomia.com>
2408
Date: Wed Aug 8 15:13:21 2012 +0200
2410
Make TerminateInstances compatible with EC2 api
2414
Currently the XML response for TerminateInstances differs
2415
from the EC2 api specifications and causes the .net EC2 api
2416
from Amazon to crash.
2418
Change-Id: I14172318ed4dc2af16c45be376475885f474c545
2420
nova/api/ec2/cloud.py | 4 ++--
2421
nova/tests/api/ec2/test_cloud.py | 18 +++++++++---------
2422
2 files changed, 11 insertions(+), 11 deletions(-)
2424
commit 8c2daea590df4fb3f6877c21007afedc889e1416
2425
Author: Anton V. Yanchenko <simplylizz@gmail.com>
2426
Date: Wed Aug 8 12:35:55 2012 +0000
2428
Uniqueness checks for floating ip addresses.
2432
Change-Id: I3f4554659c68476539c82d359cc080b34088b3ae
2434
bin/nova-manage | 16 ++++---
2435
nova/db/api.py | 5 +++
2436
nova/db/sqlalchemy/api.py | 28 +++++++++++-
2437
nova/exception.py | 14 +++---
2438
.../openstack/compute/contrib/test_floating_ips.py | 47 ++++++++++++++++----
2439
5 files changed, 90 insertions(+), 20 deletions(-)
2441
commit 4664f63691710413ea950891d00417045d131e76
2442
Author: Avishay Traeger <avishay@il.ibm.com>
2443
Date: Mon Jul 30 17:50:37 2012 +0300
2445
Driver for IBM Storwize and SVC storage.
2447
Volume driver for IBM Storwize and SVC storage systems, along with unit
2448
tests and updated sample config file. The unit tests include a
2449
Storwize/SVC management simulator to allow for testing without
2450
controller hardware. Also added a new exception for volume drivers.
2452
Co-authored-by: Ronen Kat <ronenkat@il.ibm.com>
2454
Change-Id: I3fe9cfcca8d4bddb71c763b526105e34f2652557
2456
etc/nova/nova.conf.sample | 26 +-
2457
nova/exception.py | 5 +
2458
nova/tests/test_storwize_svc.py | 1240 ++++++++++++++++++++++++++++++++++++++
2459
nova/volume/storwize_svc.py | 1249 +++++++++++++++++++++++++++++++++++++++
2460
4 files changed, 2519 insertions(+), 1 deletion(-)
2462
commit 408d3e3dc1600471d1198e72e123c4e308ecc1f4
2463
Merge: 600a3bd 47a1bbe
2464
Author: Jenkins <jenkins@review.openstack.org>
2465
Date: Thu Aug 9 05:52:11 2012 +0000
2467
Merge "Add a 50 char git title limit test to hacking."
2469
commit 600a3bd10d00252d13e8d35502c53db693e7253d
2470
Merge: 10a5f1a fbb7944
2471
Author: Jenkins <jenkins@review.openstack.org>
2472
Date: Thu Aug 9 04:48:46 2012 +0000
2474
Merge "xenapi: reduce polling interval for agent"
2476
commit 10a5f1ac025f89f84398be308455b72d77602cc3
2477
Author: Chris Behrens <cbehrens@codestud.com>
2478
Date: Wed Aug 8 21:09:14 2012 +0000
2480
scheduler prep_resize should not update instance['host']
2482
This is done by the manager once things are ready on the destination
2487
Also removes now-unneeded update_db argument passed via rpcapi and bumps
2488
scheduler rpcapi version for prep_resize to 1.4
2490
Change-Id: I0ac3be39877f3afcf42f5996d0da90042fe7c6e3
2492
nova/compute/api.py | 1 -
2493
nova/scheduler/chance.py | 6 +--
2494
nova/scheduler/driver.py | 30 +++++------
2495
nova/scheduler/filter_scheduler.py | 6 +--
2496
nova/scheduler/manager.py | 5 +-
2497
nova/scheduler/rpcapi.py | 7 +--
2498
nova/tests/scheduler/test_chance_scheduler.py | 24 +++++++++
2499
nova/tests/scheduler/test_filter_scheduler.py | 27 ++++++++++
2500
nova/tests/scheduler/test_rpcapi.py | 4 +-
2501
nova/tests/scheduler/test_scheduler.py | 69 ++++++-------------------
2502
10 files changed, 95 insertions(+), 84 deletions(-)
2504
commit 47a1bbe3114c4e5bb84c5b050ecc9baff83375cc
2505
Author: Joe Gordon <jogo@cloudscaling.com>
2506
Date: Thu Aug 2 14:36:58 2012 -0700
2508
Add a 50 char git title limit test to hacking.
2510
* add N802 to hacking.py
2512
Change-Id: I8262531b4b3f8f3a1a2a37679904cf4864cae7b6
2515
tools/hacking.py | 4 ++++
2516
2 files changed, 6 insertions(+), 1 deletion(-)
2518
commit 28a03d9aded97732038eadd5bbcb21282f1b246a
2519
Merge: 023370d d113d25
2520
Author: Jenkins <jenkins@review.openstack.org>
2521
Date: Wed Aug 8 21:28:31 2012 +0000
2523
Merge "Added updated locations for iscsiadm"
2525
commit 023370d9daf6f40d243d08175731ee7c76701051
2526
Merge: 9617997 ee3cc50
2527
Author: Jenkins <jenkins@review.openstack.org>
2528
Date: Wed Aug 8 21:11:20 2012 +0000
2530
Merge "Migrate a notifier patch from common:"
2532
commit 96179978f48cfb3607df1bf95e384dbbfeb8620c
2533
Merge: 09f39b5 4758919
2534
Author: Jenkins <jenkins@review.openstack.org>
2535
Date: Wed Aug 8 18:54:31 2012 +0000
2537
Merge "Make libvirt_use_virtio_for_bridges flag works for all drivers."
2539
commit 09f39b542e5ea83a3a4a0217966d4767dad97a5c
2540
Merge: 0e6ec64 ccc2f23
2541
Author: Jenkins <jenkins@review.openstack.org>
2542
Date: Wed Aug 8 18:47:02 2012 +0000
2544
Merge "Fix a bug on remove_volume_connection in compute/manager.py"
2546
commit ccc2f23404afa5e69d3dbafb9e603b48b12d5cbc
2547
Author: Shane Wang <shane.wang@intel.com>
2548
Date: Thu Aug 9 01:12:43 2012 +0800
2550
Fix a bug on remove_volume_connection in compute/manager.py
2552
The function remove_volume_connection() has been changed.
2553
Fix up the code to call the correct interface.
2555
Change-Id: Ib0aa864d9efabb1102193a36ec05c3a1673091b5
2556
Signed-off-by: Shane Wang <shane.wang@intel.com>
2558
nova/compute/manager.py | 4 ++--
2559
1 file changed, 2 insertions(+), 2 deletions(-)
2561
commit 0e6ec643c26a7355e4f5e8db7c4fce2786a9f63b
2562
Merge: 22526fe 31f3383
2563
Author: Jenkins <jenkins@review.openstack.org>
2564
Date: Wed Aug 8 16:24:03 2012 +0000
2566
Merge "xenapi: wait for agent resetnetwork response"
2568
commit 22526fe42acadee2129a0ab9940e0795490c51ed
2569
Merge: 39b7e7e 906bf3a
2570
Author: Jenkins <jenkins@review.openstack.org>
2571
Date: Wed Aug 8 15:23:18 2012 +0000
2573
Merge "Fix a bug on db.instance_get_by_uuid in compute/manager.py"
2575
commit 906bf3a115321e0fdf5b0b97a09a7c7b832486eb
2576
Author: Shane Wang <shane.wang@intel.com>
2577
Date: Thu Aug 9 00:01:33 2012 +0800
2579
Fix a bug on db.instance_get_by_uuid in compute/manager.py
2581
The parameter for db.instance_get_by_uuid() is instance_uuid instead of instance.
2582
Correct it in the code.
2584
Change-Id: Ibc4d8352c101dc3be11a765646d4ef701e330b50
2585
Signed-off-by: Shane Wang <shane.wang@intel.com>
2587
nova/compute/manager.py | 2 +-
2588
1 file changed, 1 insertion(+), 1 deletion(-)
2590
commit 47589192c598a80f6741b176697aa5cc8261e79a
2591
Author: Yaguang Tang <heut2008@gmail.com>
2592
Date: Wed Aug 8 10:12:03 2012 +0800
2594
Make libvirt_use_virtio_for_bridges flag works for all drivers.
2596
Both LibvirtOpenVswitchDriver and QuantumLinuxBridgeVIFDriver
2597
can use virtio driver when flag libvirt_use_virtio_for_bridges
2602
Change-Id: I5675f14845bf059651f45cfb06ae496d413fa69b
2604
nova/virt/libvirt/vif.py | 4 ++++
2605
1 file changed, 4 insertions(+)
2607
commit fbb7944851b249e473dab0b350970a4695b04315
2608
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
2609
Date: Tue Aug 7 23:25:57 2012 +0000
2611
xenapi: reduce polling interval for agent
2613
Communicating with the agent requires polling for a response. The
2614
operation uses xenstore, which is lightweight, yet the interval
2615
in between polls was 3 seconds. This would cause longer than necessary
2616
sleeps when an instance was booting making the overall boot slower.
2618
Change-Id: I560c05887128f1a0e29228e859cca25ded4eceec
2620
plugins/xenserver/xenapi/etc/xapi.d/plugins/agent | 20 ++++++++++----------
2621
1 file changed, 10 insertions(+), 10 deletions(-)
2623
commit a418654b070c63c4bed5e3e5523fb947934626f9
2624
Merge: 67b7a5f d7cdd5d
2625
Author: Jenkins <jenkins@review.openstack.org>
2626
Date: Tue Aug 7 23:19:08 2012 +0000
2628
Merge "Cleanup consoles test cases"
2630
commit 31f3383ae4953019267c67e4fbd2214b03bc8da8
2631
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
2632
Date: Tue Aug 7 23:19:04 2012 +0000
2634
xenapi: wait for agent resetnetwork response
2636
Unlike every other agent command, the resetnetwork command would not
2637
wait for a response. All failures were silently ignored. Change this
2638
to at least log a message if an error occurs.
2640
Change-Id: I40e323607b2ce50869f3bf11e4582ff83cbed1c0
2642
nova/virt/xenapi/agent.py | 9 +++++++--
2643
plugins/xenserver/xenapi/etc/xapi.d/plugins/agent | 12 +++++-------
2644
2 files changed, 12 insertions(+), 9 deletions(-)
2646
commit 39b7e7ea43448cec4f8cf78a514d06a381ceb432
2647
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
2648
Date: Tue Aug 7 23:10:56 2012 +0000
2650
Fix invalid exception format strings
2652
Some exception formation strings were missing the conversion type
2654
Change-Id: I99fda0a49acce8c5c1f1b9a09bcaff24140aaf44
2656
nova/exception.py | 6 +++---
2657
1 file changed, 3 insertions(+), 3 deletions(-)
2659
commit 67b7a5f2e487bac15ee41d82baa510cbb0e8fdc8
2660
Merge: 2dfee64 0e6fc4f
2661
Author: Jenkins <jenkins@review.openstack.org>
2662
Date: Tue Aug 7 22:57:33 2012 +0000
2664
Merge "Update devref for general host aggregates"
2666
commit 2dfee64d77aa800cc2f2d6ea7120322ffcec2207
2667
Merge: f86a44e 26b1523
2668
Author: Jenkins <jenkins@review.openstack.org>
2669
Date: Tue Aug 7 22:43:42 2012 +0000
2671
Merge "Return 409 error if get_vnc_console is called before VM is created"
2673
commit f86a44e1bd1c32e521f8d28794d1c0569540cbb3
2674
Merge: ea81b2a 2dfb740
2675
Author: Jenkins <jenkins@review.openstack.org>
2676
Date: Tue Aug 7 22:36:28 2012 +0000
2678
Merge "Check against unexpected method call"
2680
commit ea81b2a49d82c73ece17af26eb25b1f1346c0bc7
2681
Merge: ce4b2e2 0bfe1fd
2682
Author: Jenkins <jenkins@review.openstack.org>
2683
Date: Tue Aug 7 22:34:23 2012 +0000
2685
Merge "Remove temporary hack from checks_instance_lock."
2687
commit 861efe3aa7ce6af7b5c548e5a555625fa53a3d86
2688
Author: Joe Gordon <jogo@cloudscaling.com>
2689
Date: Tue Jul 24 17:03:56 2012 -0700
2691
General host aggregates part 2
2693
Partially implements blueprint general-host-aggregates: Scheduler Filter
2694
* Add AggregateInstanceExtraSpecsFilter
2695
* change db.aggregate_get_by_host to return a list of aggregates
2696
instead of the first aggregate
2697
* Add optional key filter to db.aggregate_get_by_host along with test
2698
* Add db.aggregate_metadata_get_by_host to get host aggregate metadata
2699
* add optional key filter to db.aggregate_metadata_get_by_host
2700
* Add AggregateTypeAffinityFilter
2702
Change-Id: I4a3061276cc3b0c5c695eaf973b773183b3c4f4b
2704
nova/db/api.py | 15 +++-
2705
nova/db/sqlalchemy/api.py | 31 ++++++--
2706
.../filters/aggregate_instance_extra_specs.py | 51 +++++++++++++
2707
nova/scheduler/filters/type_filter.py | 16 ++++
2708
nova/tests/scheduler/test_host_filters.py | 80 ++++++++++++++++++++
2709
nova/tests/test_db_api.py | 62 +++++++++++++--
2710
nova/tests/test_xenapi.py | 8 +-
2711
nova/virt/xenapi/driver.py | 13 ++--
2712
nova/virt/xenapi/host.py | 6 +-
2713
nova/virt/xenapi/pool.py | 9 +--
2714
nova/virt/xenapi/pool_states.py | 7 ++
2715
nova/virt/xenapi/vmops.py | 6 +-
2716
12 files changed, 267 insertions(+), 37 deletions(-)
2718
commit 0e6fc4f4ddca1ea76f9f03ef03d960cad888c810
2719
Author: Joe Gordon <jogo@cloudscaling.com>
2720
Date: Thu Aug 2 11:51:51 2012 -0700
2722
Update devref for general host aggregates
2724
Update devref to explain the new definition of host aggregates.
2725
part of blueprint general-host-aggregates
2727
Change-Id: I5d46c4c4253a4d9e74a52192d1e6244843d11711
2729
doc/source/devref/aggregates.rst | 16 +++++++++++-----
2730
1 file changed, 11 insertions(+), 5 deletions(-)
2732
commit d7cdd5d98520d1ab60cd0de88548f0af07c8d1dc
2733
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
2734
Date: Tue Aug 7 19:57:13 2012 +0000
2736
Cleanup consoles test cases
2738
compute.API.get() is already stubbed to fake_get() in the setUp method,
2739
it's unnecessary to do it again.
2741
Change-Id: I2042a9fd7f28908a45d93b00bc5bd4b580c24977
2743
.../api/openstack/compute/contrib/test_consoles.py | 4 +---
2744
1 file changed, 1 insertion(+), 3 deletions(-)
2746
commit 26b1523eba3805a497c23e3b6707a85670ee11be
2747
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
2748
Date: Tue Aug 7 19:53:24 2012 +0000
2750
Return 409 error if get_vnc_console is called before VM is created
2754
In the xenapi driver, the URL returned for a VNC console will include
2755
information to locate the particular VM on the dom0, however the VM isn't
2756
create until part way through the build process. This leaves a window
2757
where a 404 error could be returned by the os-getVNCConsole action.
2758
Change this to return a 409 meaning it's not ready yet.
2760
Change-Id: Icc3b288d1aae12eb264b2be7fc8f9465d568af74
2762
nova/api/openstack/compute/contrib/consoles.py | 2 ++
2763
nova/exception.py | 4 ++++
2764
.../api/openstack/compute/contrib/test_consoles.py | 17 +++++++++++++++++
2765
nova/virt/xenapi/vmops.py | 17 ++++++++++++++++-
2766
4 files changed, 39 insertions(+), 1 deletion(-)
2768
commit 56a6fa2bb68a8738f8d02f41f92983ee3115a19d
2769
Author: Alex Meade <alex.meade@rackspace.com>
2770
Date: Mon Aug 6 17:03:43 2012 -0400
2772
Move results filtering to db.
2774
This patch moves exact filter and regex filter matching on the listing of
2775
instances to the database query. This is important so that we can eventually do
2776
all pagination through the database.
2778
If the db backend does not support regex matching then the SQL 'LIKE' operator
2779
will be used instead.
2781
Change-Id: If9dd644066787f0f3667992f23e5c33b1dc90286
2783
nova/compute/api.py | 1 -
2784
nova/db/sqlalchemy/api.py | 91 +++++++++++++++++-------------------
2785
nova/db/sqlalchemy/session.py | 12 +++++
2786
nova/tests/compute/test_compute.py | 35 ++------------
2787
nova/tests/test_db_api.py | 28 +++++++++++
2788
5 files changed, 87 insertions(+), 80 deletions(-)
2790
commit ce4b2e27be45a85b310237615c47eb53f37bb5f3
2791
Author: PƔdraig Brady <pbrady@redhat.com>
2792
Date: Tue Jul 31 14:05:35 2012 +0100
2794
Prohibit file injection writing to host filesystem
2796
This is a refinement of the previous fix in commit 2427d4a9,
2797
which does the file name canonicalization as the root user.
2798
This is required so that guest images could not for example,
2799
protect malicious symlinks in a directory only readable by root.
2801
Fixes bug: 1031311, CVE-2012-3447
2802
Change-Id: I7f7cdeeffadebae7451e1e13f73f1313a7df9c5c
2804
nova/tests/test_virt.py | 45 +++++++++++++++++++++++++++++----------------
2805
nova/tests/test_xenapi.py | 4 ++++
2806
nova/virt/disk/api.py | 4 +++-
2807
3 files changed, 36 insertions(+), 17 deletions(-)
2809
commit 9d753f18e1c5e4eaa4021f64ac9fe14ef1103b71
2810
Merge: ac121a2 24cfd0d
2811
Author: Jenkins <jenkins@review.openstack.org>
2812
Date: Tue Aug 7 18:14:34 2012 +0000
2814
Merge "Remove temporary hack from wrap_instance_fault."
2816
commit ac121a253670d020789636b7bcd4e8df0bf6d419
2817
Merge: ca3c98b 820ac93
2818
Author: Jenkins <jenkins@review.openstack.org>
2819
Date: Tue Aug 7 17:36:51 2012 +0000
2821
Merge "Remove deprecated use Exception.message"
2823
commit ca3c98bdb84d29bc460dd117598ea59c5dc2ae28
2824
Merge: 210ed0f 3222ba2
2825
Author: Jenkins <jenkins@review.openstack.org>
2826
Date: Tue Aug 7 17:33:39 2012 +0000
2828
Merge "Fixes parameter passing to tgt-admin for iscsi"
2830
commit 210ed0fc80442d7e7213f756d72ce24179e12be8
2831
Merge: 5c42f47 23c63e0
2832
Author: Jenkins <jenkins@review.openstack.org>
2833
Date: Tue Aug 7 17:29:00 2012 +0000
2835
Merge "Update RPC code from common"
2837
commit 5c42f4735fac88591177ce0b709a0e94b8bfc961
2838
Merge: 79a2ea2 8b23472
2839
Author: Jenkins <jenkins@review.openstack.org>
2840
Date: Tue Aug 7 17:08:26 2012 +0000
2842
Merge "Fix up some instance_uuid usage."
2844
commit d113d2590ee22c30b84dd1ce6671175b8c7b1e54
2845
Author: Chuck Short <zulcss@ubuntu.com>
2846
Date: Tue Aug 7 07:26:46 2012 -0500
2848
Added updated locations for iscsiadm
2850
Attaching volumes to instances currently result in a
2851
traceback running on 12.10.
2853
This is due to the change of location from /sbin to
2854
/usr/bin for iscsiadm.
2858
Change-Id: Ie8c6214efbac72b2715264a7d9dd7fe5e43ef693
2859
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
2861
etc/nova/rootwrap.d/compute.filters | 1 +
2862
etc/nova/rootwrap.d/volume.filters | 1 +
2863
2 files changed, 2 insertions(+)
2865
commit 2dfb74083d86b288f36611c36e4f1261fa5e2a43
2866
Author: Yun Mao <yunmao@gmail.com>
2867
Date: Tue Aug 7 10:50:44 2012 -0400
2869
Check against unexpected method call
2871
Unexpected method call was counted but never asserted.
2873
Change-Id: Ice2b7d3bd490ab9bf14450d765151dd234c0e064
2875
nova/tests/test_libvirt.py | 2 +-
2876
1 file changed, 1 insertion(+), 1 deletion(-)
2878
commit 820ac93531b4f7254cd73b7e98b93dbf361e173f
2879
Author: Yun Mao <yunmao@gmail.com>
2880
Date: Tue Aug 7 10:34:45 2012 -0400
2882
Remove deprecated use Exception.message
2884
This usage is deprecated since Python 2.6. Use the recommended
2885
style instead. str is also replaced with unicode.
2887
Change-Id: I2adfd7fdfdf47b70ef170a2daa28926764cf0337
2889
nova/tests/test_libvirt.py | 6 +++---
2890
1 file changed, 3 insertions(+), 3 deletions(-)
2892
commit 0bfe1fd5639d1e1bb62bc8de1d868efa6214d922
2893
Author: Russell Bryant <rbryant@redhat.com>
2894
Date: Mon Aug 6 19:03:31 2012 -0400
2896
Remove temporary hack from checks_instance_lock.
2898
The checks_instance_lock decorator was temporarily made a mess of while
2899
the compute manager was being converted over to taking an instance
2900
instead of instance_uuid as a parameter. Now that all methods that use
2901
this decorator have been converted, the code can be simplified.
2903
The _get_lock() method was updated to only look up an instance from the
2904
db if necessary. One of the unit tests had to be updated to account for
2905
this. These changes illustrate a good point about all of these
2906
no-db-messaging patches. Aside from silly typos, the types of bugs most
2907
likely to occur due to these changes are due to code looking at stale
2908
instance state since the state is being pulled out of the database less
2909
often. Hopefully I've caught everything, but it was worth pointing out
2910
as something others should be aware of.
2912
Part of blueprint no-db-messaging.
2914
Change-Id: I02e6a5f2354f2e9ae8ea403b43359eb1bc8bae27
2916
nova/compute/manager.py | 59 +++++++++++-------------------------
2917
nova/tests/compute/test_compute.py | 6 ++--
2918
2 files changed, 21 insertions(+), 44 deletions(-)
2920
commit 24cfd0d6f2667d65f81b43fc76af71fd33b78de7
2921
Author: Russell Bryant <rbryant@redhat.com>
2922
Date: Sat Aug 4 00:37:05 2012 -0400
2924
Remove temporary hack from wrap_instance_fault.
2926
The wrap_instance_fault decorator had a temporary hack in place while
2927
methods in the compute manager were being converted to be able to take
2928
an instance instead of an instance_uuid. Now that it's done, the
2929
decorator can be simplified.
2931
Part of blueprint no-db-messaging.
2933
Change-Id: I496d58137ef720ff31acc70a2b7acc670a088ce6
2935
nova/compute/manager.py | 46 ++++++++----------------------------
2936
nova/tests/compute/test_compute.py | 2 +-
2937
2 files changed, 11 insertions(+), 37 deletions(-)
2939
commit 8b234721c1d560603ec4e6e73b95631b63a9f557
2940
Author: Russell Bryant <rbryant@redhat.com>
2941
Date: Sat Aug 4 00:29:28 2012 -0400
2943
Fix up some instance_uuid usage.
2945
This patch fixes up some issues introduced by no-db-messaging changes.
2946
There were a few places where I missed converted instance_uuid to
2947
instance['uuid']. There were also a couple of places where
2948
instance_uuid needed to be set for the synchronized decorator.
2950
Change-Id: I754c52f91a44c18d0756caa7154a807973ad4e91
2952
nova/compute/manager.py | 34 +++++++++++++++++++---------------
2953
1 file changed, 19 insertions(+), 15 deletions(-)
2955
commit 79a2ea2f5f83dc401d089e357bf35dbdfb8be959
2956
Author: Dan Prince <dprince@redhat.com>
2957
Date: Tue Aug 7 08:48:31 2012 -0400
2959
Update vmops to access metadata as dict.
2961
Updates the inject_instance_metadata in xenapi/vmops.py so
2962
that it accesses metadata as a dict instead of an object.
2964
This resolves issues causing exceptions when booting instances
2967
Fixes LP Bug #1033963
2969
Change-Id: I58810764abd32d9d292f8282b54c126bf1f4de18
2971
nova/tests/test_xenapi.py | 21 +++++++++------------
2972
nova/virt/xenapi/vmops.py | 4 ++--
2973
2 files changed, 11 insertions(+), 14 deletions(-)
2975
commit 5f983299a31056f20a03e8acf5418360977a2111
2976
Merge: 1c4a35d 3f0ef8e
2977
Author: Jenkins <jenkins@review.openstack.org>
2978
Date: Tue Aug 7 08:27:06 2012 +0000
2980
Merge "Improve external locking on Windows"
2982
commit 1c4a35d9f8e2f92610093fdc5454dec088e5c40f
2983
Merge: 75ada9f 7aefc22
2984
Author: Jenkins <jenkins@review.openstack.org>
2985
Date: Tue Aug 7 07:30:14 2012 +0000
2987
Merge "Allow loaded extensions to be checked from servers"
2989
commit 75ada9f9178cec3dcd93dec13f56331aae70affd
2990
Merge: 1c09bf5 9206ee5
2991
Author: Jenkins <jenkins@review.openstack.org>
2992
Date: Tue Aug 7 06:06:08 2012 +0000
2994
Merge "Solve possible race in semaphor creation"
2996
commit 1c09bf563332f6459ddf5cc3924dead23ad518d3
2997
Merge: 598248a 80aa9f5
2998
Author: Jenkins <jenkins@review.openstack.org>
2999
Date: Tue Aug 7 05:14:20 2012 +0000
3001
Merge "Make extension aliases consistent"
3003
commit 598248acc822ce4e7c542d86854c2e72584644d3
3004
Merge: d212a42 57d680f
3005
Author: Jenkins <jenkins@review.openstack.org>
3006
Date: Tue Aug 7 04:51:58 2012 +0000
3008
Merge "Move root_helper deprecation warning into execute."
3010
commit d212a4247b63b14891a6673d13a65d5c427ac9e0
3011
Merge: e772167 16ce78c
3012
Author: Jenkins <jenkins@review.openstack.org>
3013
Date: Tue Aug 7 02:12:00 2012 +0000
3015
Merge "Rename private methods of compute manager."
3017
commit 3f0ef8e28fd0ec5102a58be8d0013900194869fe
3018
Author: PƔdraig Brady <pbrady@redhat.com>
3019
Date: Tue Aug 7 01:51:58 2012 +0100
3021
Improve external locking on Windows
3023
commit 2c15248 improved external locking for POSIX.
3024
See that commit for advantages of the technique used.
3025
This implements the same technique for Windows systems.
3028
Change-Id: I298309bb1c84499f2060c172213d355aa7ce54e5
3030
nova/utils.py | 46 ++++++++++++++++++++++++++++++++++++++--------
3031
1 file changed, 38 insertions(+), 8 deletions(-)
3033
commit e772167a0e9030c4a7018ff957f8a76b64c7aa97
3034
Merge: e710769 abe509f
3035
Author: Jenkins <jenkins@review.openstack.org>
3036
Date: Tue Aug 7 01:49:26 2012 +0000
3038
Merge "Send full instance to compute live_migration."
3040
commit e710769f99fa622f5a236e9a3f1037a39fabc1be
3041
Merge: 8e04eea 2ed2c41
3042
Author: Jenkins <jenkins@review.openstack.org>
3043
Date: Tue Aug 7 01:28:08 2012 +0000
3045
Merge "Add underscore in front of post_live_migration."
3047
commit 8e04eea21ba45ffcd6ea28ecd85586133a6317d7
3048
Merge: 7015ad6 98f753d
3049
Author: Jenkins <jenkins@review.openstack.org>
3050
Date: Tue Aug 7 01:03:24 2012 +0000
3052
Merge "Send full instance to scheduler live_migration."
3054
commit fe264ba158e8dc7f8b249bc6619d7001e7819c5d
3055
Author: Chuck Short <zulcss@ubuntu.com>
3056
Date: Mon Aug 6 19:25:12 2012 -0500
3058
Fix traceback when detaching volumes via EC2
3060
When detaching a volume from an instance it results
3061
in the following traceback:
3063
Cinderclient connection created using URL: http://192.168.1.103:8776/v1/bc02ec05c5fa4a5bb3020b617f3574e2
3064
2012-08-06 18:58:32 ERROR nova.api.ec2 [req-1fd2f017-8a11-481f-b901-ae61d3f55c94 demo demo] Unexpected error raised: 'instance_uuid'
3065
2012-08-06 18:58:32 TRACE nova.api.ec2 Traceback (most recent call last):
3066
2012-08-06 18:58:32 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/__init__.py", line 474, in __call__
3067
2012-08-06 18:58:32 TRACE nova.api.ec2 result = api_request.invoke(context)
3068
2012-08-06 18:58:32 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/apirequest.py", line 81, in invoke
3069
2012-08-06 18:58:32 TRACE nova.api.ec2 result = method(context, **args)
3070
2012-08-06 18:58:32 TRACE nova.api.ec2 File "/opt/stack/nova/nova/api/ec2/cloud.py", line 799, in detach_volume
3071
2012-08-06 18:58:32 TRACE nova.api.ec2 self.compute_api.detach_volume(context,volume_id=volume_id)
3072
2012-08-06 18:58:32 TRACE nova.api.ec2 File "/opt/stack/nova/nova/compute/api.py", line 1642, in detach_volume
3073
2012-08-06 18:58:32 TRACE nova.api.ec2 instance_uuid = volume['instance_uuid']
3074
2012-08-06 18:58:32 TRACE nova.api.ec2 KeyError: 'instance_uuid'
3076
By the time the volume in the cinder database the instance_uuid is already 'NULL',
3077
so get the instance_uuid from the volume before its detached.
3081
Change-Id: Id5515881b08af9d0832b4b620c03e471fdff0823
3082
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
3084
nova/api/ec2/cloud.py | 6 +++---
3085
1 file changed, 3 insertions(+), 3 deletions(-)
3087
commit 7015ad6fa93546a69600a354fa2080d9c0965b7d
3088
Merge: 220bbcf 7677354
3089
Author: Jenkins <jenkins@review.openstack.org>
3090
Date: Tue Aug 7 00:34:44 2012 +0000
3092
Merge "Send full instance to run_instance."
3094
commit 220bbcf922d5e274d9d8b2fe8beeb91f91acdeb4
3095
Merge: 91f2ee5 7c4ab68
3096
Author: Jenkins <jenkins@review.openstack.org>
3097
Date: Tue Aug 7 00:10:25 2012 +0000
3099
Merge "Use dict style access for image_ref."
3101
commit 23c63e08e8e068c9913a95171773cba5052fd15b
3102
Author: Eric Windisch <eric@cloudscaling.com>
3103
Date: Mon Aug 6 19:52:18 2012 -0400
3105
Update RPC code from common
3107
* Fix impl_zmq following common migration.
3108
A number of problems have been discovered with impl_zmq
3109
following the move to common. These problems have been
3110
resolved in openstack-common. This patch squashes those
3111
changes and brings them into Nova.
3113
* rpc/common - Removes conf argument where it was no longer necessary.
3115
* AMQP - Fix import order
3117
* Qpid - Fix heartbeat
3119
* __init__ - Fix line length, pep8
3122
Enable fanout_cast and fanout_cast_to_server to provide topic
3124
Change-Id: If9c4616a50d7ec6c7a7e4adad58dc2fdcfc3ffdf
3126
nova/openstack/common/rpc/__init__.py | 4 ++-
3127
nova/openstack/common/rpc/amqp.py | 2 +-
3128
nova/openstack/common/rpc/common.py | 6 ++---
3129
nova/openstack/common/rpc/impl_qpid.py | 2 +-
3130
nova/openstack/common/rpc/impl_zmq.py | 45 ++++++++++++++++++--------------
3131
nova/openstack/common/rpc/proxy.py | 12 ++++++---
3132
6 files changed, 40 insertions(+), 31 deletions(-)
3134
commit 3222ba2728dbf1d0760c5dbe0c8b77c73936ee80
3135
Author: Renuka Apte <renuka.apte@citrix.com>
3136
Date: Mon Aug 6 14:27:30 2012 -0700
3138
Fixes parameter passing to tgt-admin for iscsi
3142
The change to add persistent volumes for tgtd 1ba3dfec,
3143
passes parameters as '--conf %s' % volume_path,
3144
'--update %s' % vol_id etc. which cause the tgt-admin command
3145
to fail silently because the options are misquoted.
3147
Instead pass as '--conf', volume_path
3149
Change-Id: Ic986ee5fe21a0927c1aa2f8c94420fe30127d088
3151
nova/volume/iscsi.py | 4 ++--
3152
1 file changed, 2 insertions(+), 2 deletions(-)
3154
commit 91f2ee518ad8e7241dd7eca183ce2107729a01dc
3155
Merge: f7fbc67 0cee422
3156
Author: Jenkins <jenkins@review.openstack.org>
3157
Date: Mon Aug 6 23:44:52 2012 +0000
3159
Merge "Use explicit arguments in compute manager run_instance."
3161
commit f7fbc678ab00ad598e62905621595eaacbc91c81
3162
Merge: d31685a ce2da5e
3163
Author: Jenkins <jenkins@review.openstack.org>
3164
Date: Mon Aug 6 23:18:20 2012 +0000
3166
Merge "Remove topic from scheduler run_instance."
3168
commit d31685a20d2e2344cd87b7a86233fda3a6cc4301
3169
Merge: 50b0221 c9f15e3
3170
Author: Jenkins <jenkins@review.openstack.org>
3171
Date: Mon Aug 6 22:54:23 2012 +0000
3173
Merge "Use explicit args in run_instance scheduler code."
3175
commit 9206ee5a63a65e076342896e3b41bbcbf819af56
3176
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3177
Date: Mon Aug 6 23:16:07 2012 +0100
3179
Solve possible race in semaphor creation
3181
Solve the race condition described in the bug 872558 report which can
3184
- thread crashing trying to remove semaphore from dict
3185
- two threads getting different semaphores for the same name
3187
First case is solved automatically by weakref dictionary. No explicit
3188
deletion takes place.
3189
The second case is solved by getting existing or new semaphore in one
3190
step. Once a local reference to the semaphore is obtained, it can be
3191
safely assigned to the dictionary if it's missing. If it's present, it
3192
will not be removed anymore because there's at least one strong
3193
reference present (local variable 'sem').
3195
This solution is only valid for greenthreads.
3197
Change-Id: I6bddc3e7abb39fd75e1f03abb2ea0f911b761957
3199
nova/utils.py | 16 ++++++++--------
3200
1 file changed, 8 insertions(+), 8 deletions(-)
3202
commit 50b02218af1b9e093b65b0c9d7a4b091025d96d5
3203
Merge: fd49eee 7dc9d46
3204
Author: Jenkins <jenkins@review.openstack.org>
3205
Date: Mon Aug 6 22:24:27 2012 +0000
3207
Merge "Update args to _set_vm_state_and_notify."
3209
commit fd49eeed59781a2522fc6641d9bfde684b73d540
3210
Merge: 97afc00 2ee42aa
3211
Author: Jenkins <jenkins@review.openstack.org>
3212
Date: Mon Aug 6 21:57:50 2012 +0000
3214
Merge "Reduce db access in prep_resize in the compute manager."
3216
commit 97afc00aadc10d9302d0fe8577e83de82a41a4c8
3217
Merge: fb0e657 6b42978
3218
Author: Jenkins <jenkins@review.openstack.org>
3219
Date: Mon Aug 6 21:27:41 2012 +0000
3221
Merge "Remove instance_id fallback from cast_to_compute_host()."
3223
commit fb0e657e5fea5760320022e1aca004fa2930a1df
3224
Merge: 260e406 72670a9
3225
Author: Jenkins <jenkins@review.openstack.org>
3226
Date: Mon Aug 6 20:32:32 2012 +0000
3228
Merge "Fix test_resize_xcp testcase - it never ran"
3230
commit 260e406f0f5a97962d4bde3998c272864365e0e7
3231
Merge: 1dc96f0 fb0bdcd
3232
Author: Jenkins <jenkins@review.openstack.org>
3233
Date: Mon Aug 6 20:07:50 2012 +0000
3235
Merge "tests: avoid traceback warning in test_live_migration"
3237
commit 1dc96f0d1a63404bcdaea6dd7c65af3d2432be7c
3238
Merge: 407f397 9bf48de
3239
Author: Jenkins <jenkins@review.openstack.org>
3240
Date: Mon Aug 6 19:16:12 2012 +0000
3242
Merge "ensure_tree calls mkdir -p"
3244
commit 16ce78c99b0d044976b5c1a4e3699f49a325f867
3245
Author: Russell Bryant <rbryant@redhat.com>
3246
Date: Fri Aug 3 23:41:32 2012 -0400
3248
Rename private methods of compute manager.
3250
Add an underscore in front of add_instance_fault_from_exc and
3251
error_out_instance_on_exception in the compute manager. They
3252
are private methods that are not part of the rpc API.
3254
Change-Id: Ic5c0c0fb1a599d38c100810a144592b082e1ebad
3256
nova/compute/manager.py | 24 ++++++++++++------------
3257
nova/tests/compute/test_compute.py | 16 ++++++++--------
3258
2 files changed, 20 insertions(+), 20 deletions(-)
3260
commit abe509fae061f7c14d6b02e9718031e90cfb3ffa
3261
Author: Russell Bryant <rbryant@redhat.com>
3262
Date: Fri Aug 3 23:11:03 2012 -0400
3264
Send full instance to compute live_migration.
3266
Remove the instance_id parameter and send a full instance to
3267
live_migration in the compute manager. This cuts down on database
3268
access required by the compute manager.
3270
Part of blueprint no-db-messaging.
3272
Change-Id: Ic21f061702704ddeaa6925aac4ecad69b0e8de18
3274
nova/compute/manager.py | 28 +++++++++++++++-------------
3275
nova/compute/rpcapi.py | 8 ++++++++
3276
nova/scheduler/driver.py | 8 +++-----
3277
nova/tests/compute/test_compute.py | 8 +++++---
3278
nova/tests/compute/test_rpcapi.py | 5 +++++
3279
nova/tests/scheduler/test_scheduler.py | 14 ++++++--------
3280
6 files changed, 42 insertions(+), 29 deletions(-)
3282
commit 2ed2c411a982e297d6b756f8a21939fadb2a0a93
3283
Author: Russell Bryant <rbryant@redhat.com>
3284
Date: Fri Aug 3 23:01:18 2012 -0400
3286
Add underscore in front of post_live_migration.
3288
Rename this method of the compute manager by just adding an underscore
3289
in front of the name. This is a private method and is not part of the
3290
rpc api. Make that more apparent by using the private method naming
3293
Change-Id: I66633ffd59c6d670ccc748855fb1dcbac7df222d
3295
nova/compute/manager.py | 6 +++---
3296
nova/tests/compute/test_compute.py | 2 +-
3297
2 files changed, 4 insertions(+), 4 deletions(-)
3299
commit 98f753d4c5e8bdf31716a7452f89930a51b3edf5
3300
Author: Russell Bryant <rbryant@redhat.com>
3301
Date: Fri Aug 3 22:50:21 2012 -0400
3303
Send full instance to scheduler live_migration.
3305
Remove the instance_id parameter and send a full instance dict to the
3306
live_migration method of the scheduler manager. This cuts down on some
3307
unnecessary database access in the scheduler.
3309
Part of blueprint no-db-messaging.
3311
Change-Id: Ic45105300c967c760559df2225e59e515cea8b7b
3313
nova/compute/api.py | 8 ++----
3314
nova/scheduler/driver.py | 27 +++++++++++---------
3315
nova/scheduler/manager.py | 2 +-
3316
nova/scheduler/rpcapi.py | 8 +++---
3317
.../compute/contrib/test_admin_actions.py | 7 ++---
3318
nova/tests/scheduler/test_rpcapi.py | 3 ++-
3319
nova/tests/scheduler/test_scheduler.py | 12 +++------
3320
7 files changed, 32 insertions(+), 35 deletions(-)
3322
commit 7677354e3ba0954158d33feef3667b0fe7dcc2a3
3323
Author: Russell Bryant <rbryant@redhat.com>
3324
Date: Fri Aug 3 18:09:07 2012 -0400
3326
Send full instance to run_instance.
3328
This patch updates run_instance in the compute manager to take a full
3329
instance instead of just an instance UUID. This reduces db access
3330
required by the compute nodes. The scheduler code needed some work here
3331
as well since it wasn't using the compute rpcapi for calling
3334
Part of blueprint no-db-messaging.
3336
Change-Id: If5545748122b4ff9e2da6788cbd4b0fa26c4db99
3338
nova/compute/manager.py | 27 +-
3339
nova/compute/rpcapi.py | 14 +
3340
nova/scheduler/chance.py | 8 +-
3341
nova/scheduler/filter_scheduler.py | 9 +-
3342
nova/tests/compute/test_compute.py | 340 ++++++++++++-------------
3343
nova/tests/compute/test_rpcapi.py | 7 +
3344
nova/tests/scheduler/test_chance_scheduler.py | 38 +--
3345
nova/virt/fake.py | 5 +-
3346
8 files changed, 238 insertions(+), 210 deletions(-)
3348
commit 7c4ab6820d42768ac5055ca3c8e0b272358bd43d
3349
Author: Russell Bryant <rbryant@redhat.com>
3350
Date: Fri Aug 3 22:07:22 2012 -0400
3352
Use dict style access for image_ref.
3354
When reading image_ref from an instance, use dict style syntax. This is
3355
to be compatible with no-db-messaging changes.
3357
Part of blueprint no-db-messaging.
3359
Change-Id: I19753da6301c5d78b8fb13b30fbc6996ba828096
3361
nova/virt/baremetal/driver.py | 2 +-
3362
nova/virt/libvirt/driver.py | 2 +-
3363
2 files changed, 2 insertions(+), 2 deletions(-)
3365
commit 0cee422e2e452d31a6aad1644cf38c2a669e99cb
3366
Author: Russell Bryant <rbryant@redhat.com>
3367
Date: Fri Aug 3 16:28:00 2012 -0400
3369
Use explicit arguments in compute manager run_instance.
3371
Use explicit arguments in functions in the run_instance code path of the
3372
compute manager. I think methods of the rpc API are better this way as
3373
we have to be careful when changing these functions so we handle
3374
versioning and backwards compatibility properly. Spelling out all of
3375
the arguments like this makes it easier to catch when things change and
3376
to make sure they are changed properly.
3378
This is in preparation of changing the instance_uuid to an instance
3381
Part of blueprint no-db-messaging.
3383
Change-Id: I1e141b471040b0fd4833d4e08d44166a9d12bcad
3385
nova/compute/manager.py | 34 +++++++++++++++++++---------------
3386
nova/tests/compute/test_compute.py | 8 +++++---
3387
2 files changed, 24 insertions(+), 18 deletions(-)
3389
commit ce2da5e52b743a15d87bab8b7546449ceb4e6871
3390
Author: Russell Bryant <rbryant@redhat.com>
3391
Date: Fri Aug 3 15:43:26 2012 -0400
3393
Remove topic from scheduler run_instance.
3395
This argument to run_instance was unused, so just remove it.
3397
Change-Id: I42366514285a2355f647c776af140effc1618b7d
3399
nova/compute/api.py | 2 +-
3400
nova/compute/manager.py | 2 +-
3401
nova/scheduler/chance.py | 2 +-
3402
nova/scheduler/driver.py | 2 +-
3403
nova/scheduler/filter_scheduler.py | 2 +-
3404
nova/scheduler/manager.py | 8 ++++----
3405
nova/scheduler/rpcapi.py | 7 ++++---
3406
nova/tests/scheduler/test_chance_scheduler.py | 6 +++---
3407
nova/tests/scheduler/test_filter_scheduler.py | 6 +++---
3408
nova/tests/scheduler/test_rpcapi.py | 8 ++++----
3409
nova/tests/scheduler/test_scheduler.py | 6 +++---
3410
11 files changed, 26 insertions(+), 25 deletions(-)
3412
commit c9f15e3a51658c6b406521d87a95e94f25edf977
3413
Author: Russell Bryant <rbryant@redhat.com>
3414
Date: Fri Aug 3 15:15:52 2012 -0400
3416
Use explicit args in run_instance scheduler code.
3418
This patch goes through code paths related to run_instance in the
3419
scheduler to use explicit arguments instead of **kwargs. I'm trying to
3420
work out exactly what data is getting passed through the system when an
3421
instance is created, so that I can make the no-db-messaging related
3422
changes. This patch helps clarify some things.
3424
Part of blueprint no-db-messaging.
3426
Change-Id: Id83fc1e399e1d5c75af6dd3c8972b8ba9d706af1
3428
nova/scheduler/chance.py | 14 ++++++++----
3429
nova/scheduler/driver.py | 5 ++++-
3430
nova/scheduler/filter_scheduler.py | 20 ++++++++++++-----
3431
nova/scheduler/manager.py | 14 ++++++------
3432
nova/tests/scheduler/test_chance_scheduler.py | 29 +++++++++++++++++--------
3433
nova/tests/scheduler/test_filter_scheduler.py | 14 +++++++-----
3434
nova/tests/scheduler/test_scheduler.py | 13 +++++------
3435
7 files changed, 69 insertions(+), 40 deletions(-)
3437
commit 7dc9d462a8dd65605fb987949b503ff0d23fe288
3438
Author: Russell Bryant <rbryant@redhat.com>
3439
Date: Fri Aug 3 13:40:07 2012 -0400
3441
Update args to _set_vm_state_and_notify.
3443
This patch removes *args and **kwargs from _set_vm_state_and_notify.
3444
The only additional argument used was request_spec, so just list it out
3447
Change-Id: I64590a2d79c2d303e7c936a4c3b1545eecfd0f2b
3449
nova/scheduler/manager.py | 19 ++++++++++---------
3450
nova/tests/scheduler/test_scheduler.py | 2 +-
3451
2 files changed, 11 insertions(+), 10 deletions(-)
3453
commit 2ee42aafde64af6d64a1f34a6204fd80e7dd01fd
3454
Author: Russell Bryant <rbryant@redhat.com>
3455
Date: Thu Aug 2 15:34:00 2012 -0400
3457
Reduce db access in prep_resize in the compute manager.
3459
This patch changes the arguments passed to prep_resize in the compute
3460
manager. Previously it took instance and instance_type IDs. It now
3461
receives a full dict for both of these. This cuts down on database
3462
access needed on the compute node.
3464
This method was not previously in the compute rpcapi module, so it has
3465
been added there. The scheduler had a bit of work done ot get it to use
3466
the rpcapi module for prep_resize, as well.
3468
Part of blueprint no-db-messaging.
3470
Change-Id: Idadbf4fc624d5d1b128f758a46c61b3c840b9898
3472
nova/compute/manager.py | 44 ++++++++++++++++++--------------
3473
nova/compute/rpcapi.py | 12 +++++++++
3474
nova/scheduler/chance.py | 7 +++---
3475
nova/scheduler/driver.py | 17 ++++++++++---
3476
nova/scheduler/filter_scheduler.py | 7 +++---
3477
nova/tests/compute/test_compute.py | 49 ++++++++++++++++++++++++------------
3478
nova/tests/compute/test_rpcapi.py | 5 ++++
3479
7 files changed, 96 insertions(+), 45 deletions(-)
3481
commit 6b42978eb4bf740f148a6bb200b331660755b53b
3482
Author: Russell Bryant <rbryant@redhat.com>
3483
Date: Thu Aug 2 15:29:29 2012 -0400
3485
Remove instance_id fallback from cast_to_compute_host().
3487
This removes some code that supported using either an instance id or
3488
uuid when doing an instance update. The db API no longer accepts an ID.
3489
A UUID must be used or it will raise an exception. I also updated the
3490
unit tests to reflect this.
3492
Change-Id: I5a9442f3b571f37950676e96e2f129ea45c55d78
3494
nova/scheduler/driver.py | 4 +---
3495
nova/tests/scheduler/test_scheduler.py | 8 ++++----
3496
2 files changed, 5 insertions(+), 7 deletions(-)
3498
commit 407f397dfe3acf523ffb48fcc125cea7231a6ce9
3499
Merge: 3b7a7e0 65d70b2
3500
Author: Jenkins <jenkins@review.openstack.org>
3501
Date: Mon Aug 6 18:54:49 2012 +0000
3503
Merge "Remove old exception type"
3505
commit 3b7a7e09900e0cf9141af94764aa72a47f276327
3506
Merge: 6e0f69b 84e069b
3507
Author: Jenkins <jenkins@review.openstack.org>
3508
Date: Mon Aug 6 18:35:18 2012 +0000
3510
Merge "Remove unused InstanceInfo class."
3512
commit 6e0f69b4d9722513ba33ef5ecf56bf5a94b28c48
3513
Merge: efc306c db572f6
3514
Author: Jenkins <jenkins@review.openstack.org>
3515
Date: Mon Aug 6 18:14:12 2012 +0000
3517
Merge "Remove list_instances_detail from compute drivers."
3519
commit efc306cd01c4a8b32210d96ec6580ce14807736b
3520
Merge: f3064d7 a7987aa
3521
Author: Jenkins <jenkins@review.openstack.org>
3522
Date: Mon Aug 6 17:56:01 2012 +0000
3524
Merge "Migrate a logging change from common:"
3526
commit f3064d7e08cd7689b8eabed37dff313ee80b4eed
3527
Merge: d752c49 391f345
3528
Author: Jenkins <jenkins@review.openstack.org>
3529
Date: Mon Aug 6 16:36:48 2012 +0000
3531
Merge "Adds per-user-quotas support for more detailed quotas management"
3533
commit d752c49ce06ad0dd3f513bc255c2d7e3ea6ee8ae
3534
Merge: 51002f0 2c15248
3535
Author: Jenkins <jenkins@review.openstack.org>
3536
Date: Mon Aug 6 16:15:30 2012 +0000
3538
Merge "Improve external lock implementation"
3540
commit 84e069b8d637c08f0434038ff2a2b272254e4a0e
3541
Author: Dan Prince <dprince@redhat.com>
3542
Date: Mon Aug 6 12:09:23 2012 -0400
3544
Remove unused InstanceInfo class.
3546
We no longer use InstanceInfo.
3548
Also removes some unused _map_to_instance_info functions in
3549
various virt drivers.
3551
Change-Id: I02ead10e43426b9ad051970e9e78e970de5b1ac1
3553
nova/virt/baremetal/driver.py | 7 -------
3554
nova/virt/driver.py | 7 -------
3555
nova/virt/fake.py | 5 -----
3556
nova/virt/libvirt/driver.py | 18 ------------------
3557
4 files changed, 37 deletions(-)
3559
commit 391f345dfff174108e330de1ed4c7ed18f8ff923
3560
Author: Kylin CG <kylin7.sg@gmail.com>
3561
Date: Mon Jun 4 22:21:41 2012 +0800
3563
Adds per-user-quotas support for more detailed quotas management
3565
Implements blueprint per-user-quotas.
3567
Based on the original quotas structure.
3570
quota_instances, quota_cores, quota_ram, quota_volumes,
3571
quota_gigabytes, quota_key_pairs and quota_security_groups
3572
are supported per user.
3574
Allow 'projectadmin' role to access the user quota setting
3577
Add commands 'nova-manage quota project/user' for quotas
3580
Change-Id: I07a39499432571fedd819c53ae414240cefc3354
3582
bin/nova-manage | 51 ++
3583
etc/nova/policy.json | 4 +-
3584
nova/api/openstack/compute/contrib/quotas.py | 78 ++-
3585
nova/api/openstack/compute/limits.py | 15 +-
3586
nova/db/api.py | 105 +++-
3587
nova/db/sqlalchemy/api.py | 250 +++++++-
3588
.../versions/115_make_user_quotas_key_and_value.py | 94 +++
3589
nova/db/sqlalchemy/models.py | 15 +
3590
nova/exception.py | 5 +
3591
nova/quota.py | 219 +++++--
3592
nova/tests/policy.json | 3 +-
3593
nova/tests/test_quota.py | 607 ++++++++++++++++++--
3594
12 files changed, 1289 insertions(+), 157 deletions(-)
3596
commit db572f6b4b8f1f2084139b7168356c61e54b4317
3597
Author: Dan Prince <dprince@redhat.com>
3598
Date: Mon Aug 6 11:44:11 2012 -0400
3600
Remove list_instances_detail from compute drivers.
3602
Removes the list_instances_detail function from various compute drivers
3603
which implement it. We no longer make use of this compute driver
3604
call when syncing power states.
3606
Change-Id: I4980bd8d4ec14c61e16d5be105659f0d5b6748ba
3608
nova/compute/manager.py | 4 +---
3609
nova/tests/test_virt_drivers.py | 8 ++------
3610
nova/virt/baremetal/driver.py | 7 -------
3611
nova/virt/driver.py | 5 -----
3612
nova/virt/fake.py | 6 ------
3613
nova/virt/libvirt/driver.py | 8 --------
3614
nova/virt/xenapi/driver.py | 3 ---
3615
nova/virt/xenapi/vmops.py | 15 ---------------
3616
8 files changed, 3 insertions(+), 53 deletions(-)
3618
commit 57d680ff5295f8f2bc223627eee2f7f75e368d74
3619
Author: Dan Prince <dprince@redhat.com>
3620
Date: Sat Aug 4 15:19:19 2012 -0400
3622
Move root_helper deprecation warning into execute.
3624
By moving this warning into the execute function and out of the top
3625
level utils module we eliminate warnings that could occur when
3626
Nova code includes utils.py but doesn't setup a config file properly.
3628
Fixes LP Bug #1032657.
3630
Change-Id: Iae41ead251a64717de3bf7cba3fa206cda278a20
3632
nova/utils.py | 15 ++++++++-------
3633
1 file changed, 8 insertions(+), 7 deletions(-)
3635
commit 51002f0d0f85f077bbbfed1d151df59240775ff8
3636
Merge: 9142e11 c3047b9
3637
Author: Jenkins <jenkins@review.openstack.org>
3638
Date: Mon Aug 6 13:38:57 2012 +0000
3640
Merge "Only log deprecated config warnings once."
3642
commit 9575a426fa4adcd79f1fa0c3a1d1008d8010c44c
3643
Author: Yunhong, Jiang <yunhong.jiang@intel.com>
3644
Date: Tue Jul 31 18:15:59 2012 +0800
3646
Flavor extra specs extension use instance_type id
3650
The nova database API use instance_type id as parameter to access flavor
3651
extra spec. However, the flavor extra_specs API extension use flavor_id as
3654
As the instance_type ID is a purely nova internal ID, the database should
3655
not expose it and instead use flavor_id as the parameter
3657
Change-Id: I5f509cb7c4457d8c399df32f559a874d498be762
3658
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
3660
bin/nova-manage | 12 +++++---
3661
nova/db/api.py | 12 ++++----
3662
nova/db/sqlalchemy/api.py | 40 +++++++++++++++----------
3663
nova/tests/test_instance_types_extra_specs.py | 15 +++++-----
3664
nova/tests/test_nova_manage.py | 9 +++---
3665
5 files changed, 51 insertions(+), 37 deletions(-)
3667
commit 72670a93ccd802e9e117aa754107440697148c78
3668
Author: Mate Lakat <mate.lakat@citrix.com>
3669
Date: Tue Jul 31 14:23:20 2012 +0100
3671
Fix test_resize_xcp testcase - it never ran
3673
Change-Id: I7a55c53769574251e046c9621363a00e716fc06d
3675
nova/tests/test_xenapi.py | 24 ++++++++++++------------
3676
1 file changed, 12 insertions(+), 12 deletions(-)
3678
commit fb0bdcd7ce31fecef7a0539cfeb7dbd1e238b2f1
3679
Author: PƔdraig Brady <pbrady@redhat.com>
3680
Date: Mon Aug 6 00:30:05 2012 +0100
3682
tests: avoid traceback warning in test_live_migration
3684
Change-Id: I959e780e88a31ad8105dc0d8bbb544c8c50f49e5
3686
nova/tests/test_virt_drivers.py | 10 +++++++++-
3687
1 file changed, 9 insertions(+), 1 deletion(-)
3689
commit 9bf48de84d38196eba3a55f51ea94038e1beb964
3690
Author: Michael Still <mikal@stillhq.com>
3691
Date: Mon Aug 6 10:40:08 2012 +1000
3693
ensure_tree calls mkdir -p
3695
Let's use os.makedirs() instead...
3697
Change-Id: Ie78b3c1107ac02263703cb5f4406c4ba4f83c7ad
3699
nova/virt/libvirt/utils.py | 10 +++++++++-
3700
1 file changed, 9 insertions(+), 1 deletion(-)
3702
commit 9142e11580e901875617400c62e9f18aeb7d3b21
3703
Merge: 2da50e9 27ffef9
3704
Author: Jenkins <jenkins@review.openstack.org>
3705
Date: Sun Aug 5 23:47:39 2012 +0000
3707
Merge "Handle NetworkNotFound in _shutdown_instance."
3709
commit 2da50e9acc3cc35294d3ae242b727b5271aee7d1
3710
Merge: 8706001 46ece66
3711
Author: Jenkins <jenkins@review.openstack.org>
3712
Date: Sun Aug 5 19:32:05 2012 +0000
3714
Merge "Remove **kwargs from prep_resize in compute manager."
3716
commit 87060012f9a27f358b62e0f16900d1c09e9c791f
3717
Merge: f2b2aa5 6e134c9
3718
Author: Jenkins <jenkins@review.openstack.org>
3719
Date: Sun Aug 5 19:09:56 2012 +0000
3721
Merge "Updates to the prep_resize scheduler rpc call."
3723
commit c3047b988fd7e937bf822a8a54115b4cab452380
3724
Author: Dan Prince <dprince@redhat.com>
3725
Date: Sat Aug 4 15:15:44 2012 -0400
3727
Only log deprecated config warnings once.
3729
Updates Nova's deprecated warn function so that we only log
3730
messages about deprecated config options once.
3732
The motivation for this change is to cut down the log file noise
3733
when deprecated config code gets called more than once.
3735
Change-Id: If8919817330dc9461a0472fea982d43c78a86f66
3737
nova/common/deprecated.py | 15 ++++++++++++++-
3738
nova/tests/test_deprecated.py | 6 ++++++
3739
2 files changed, 20 insertions(+), 1 deletion(-)
3741
commit f2b2aa50b4831e1888f02d2a8dffec2a36d03627
3742
Merge: 7591a1d 56d3d29
3743
Author: Jenkins <jenkins@review.openstack.org>
3744
Date: Sun Aug 5 11:51:09 2012 +0000
3746
Merge "Drop AES functions and pycrypto dependency"
3748
commit 27ffef9c77d17e2252785bdc1117763248a374d0
3749
Author: Michael Still <mikal@stillhq.com>
3750
Date: Sun Aug 5 20:05:23 2012 +1000
3752
Handle NetworkNotFound in _shutdown_instance.
3754
If no network is found, continue to perform the rest of the instance
3755
shutdown, instead of propogating the exception. Resolves bug 1008875.
3757
Change-Id: Ia78480edaed52932830da7b4e49c15fd2e1fa315
3759
nova/compute/manager.py | 6 +++++-
3760
nova/tests/compute/test_compute.py | 23 +++++++++++++++++++++++
3761
2 files changed, 28 insertions(+), 1 deletion(-)
3763
commit 7591a1d8e136cf343b14aa0ef4c957403b5dbe2c
3764
Merge: 467cc9b 3356d55
3765
Author: Jenkins <jenkins@review.openstack.org>
3766
Date: Sun Aug 5 03:32:58 2012 +0000
3768
Merge "Update reset_db to call setup if _DB is None."
3770
commit 56d3d29ad2451bd0e753e7878827a08b458b726b
3771
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3772
Date: Sat Aug 4 19:50:54 2012 +0100
3774
Drop AES functions and pycrypto dependency
3776
At some point IV parameter has been removed making these functions
3777
dangerous to use unless keys are unique on every message. Since the
3778
functions were added the original consumer has disappeared too. With
3779
no more users it's better to get rid of the incomplete encryption system
3782
These were the only functions using pycrypto module directly, so it was
3783
also removed from the dependency list.
3785
Change-Id: I57b0a0a42dac455d5baae3d726aea1507121aa4d
3787
nova/crypto.py | 40 ----------------------------------------
3788
nova/tests/test_crypto.py | 17 -----------------
3789
tools/pip-requires | 1 -
3790
3 files changed, 58 deletions(-)
3792
commit 467cc9bb3557ba24999bbf943076d96bfc6c550c
3793
Merge: a18ed31 ba86750
3794
Author: Jenkins <jenkins@review.openstack.org>
3795
Date: Sun Aug 5 01:33:30 2012 +0000
3797
Merge "Simplify file hashing"
3799
commit a18ed3193f7b8a3b0d94ee38ad3b30c28953cc59
3800
Merge: beb8ea7 3f9c909
3801
Author: Jenkins <jenkins@review.openstack.org>
3802
Date: Sun Aug 5 00:29:40 2012 +0000
3804
Merge "Fix test classes collision"
3806
commit ba8675079b44ed306477674b77eae5e626020a9e
3807
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3808
Date: Sat Aug 4 18:03:11 2012 +0100
3810
Simplify file hashing
3812
Since map() is not lazy, hash_file() created huge lists filled with
3813
`None` when hashing large files. Rewriting it to a simple loop prevents
3816
Change-Id: I65681f905bacc2afda52853bbe9e364b89f515a8
3818
nova/utils.py | 3 ++-
3819
1 file changed, 2 insertions(+), 1 deletion(-)
3821
commit beb8ea75d3321b4d5f79e008895e468491638504
3822
Merge: 6cf5e2e 662cc87
3823
Author: Jenkins <jenkins@review.openstack.org>
3824
Date: Sun Aug 5 00:10:56 2012 +0000
3826
Merge "Fix notification logic"
3828
commit 6cf5e2edcbb588212f1100916384c05f057c9d2b
3829
Merge: c2ef8ad f0dddba
3830
Author: Jenkins <jenkins@review.openstack.org>
3831
Date: Sat Aug 4 23:52:30 2012 +0000
3833
Merge "Remove unused variables"
3835
commit c2ef8ad7c01b2cb5e0cceb676ea34f7afee828aa
3836
Merge: ef306fe 25f50d9
3837
Author: Jenkins <jenkins@review.openstack.org>
3838
Date: Sat Aug 4 22:51:14 2012 +0000
3840
Merge "Update list_instances to catch libvirtError."
3842
commit 7aefc22f1e5ec6b272d89e6ed8343604ee96472a
3843
Author: Vishvananda Ishaya <vishvananda@gmail.com>
3844
Date: Fri Aug 3 13:11:52 2012 -0700
3846
Allow loaded extensions to be checked from servers
3848
related to blueprint disable-server-extensions
3850
Adds an is_loaded method to the extension manager and passes
3851
the extension manager to the servers controller so that it
3852
can be used to enable optional post parameters.
3854
The extension manager is also saved in ExtensionDescriptors
3855
because they may need access to it if they are subclassing
3856
the servers Controller.
3858
Tests are included to verify that extension loading can be
3859
properly determined.
3861
Change-Id: Ie4effbb885370dc80d86ee13d27c9263f7f63cad
3863
nova/api/openstack/__init__.py | 4 ++--
3864
nova/api/openstack/compute/__init__.py | 4 ++--
3865
nova/api/openstack/compute/contrib/config_drive.py | 2 +-
3866
.../openstack/compute/contrib/createserverext.py | 2 +-
3867
nova/api/openstack/compute/contrib/keypairs.py | 2 +-
3868
nova/api/openstack/compute/contrib/volumes.py | 4 ++--
3869
nova/api/openstack/compute/servers.py | 7 ++++---
3870
nova/api/openstack/extensions.py | 4 ++++
3871
nova/api/openstack/volume/__init__.py | 2 +-
3872
.../tests/api/openstack/compute/test_extensions.py | 4 ++--
3873
nova/tests/api/openstack/compute/test_servers.py | 10 +++++++++-
3874
11 files changed, 29 insertions(+), 16 deletions(-)
3876
commit 80aa9f54d7935c21ae06da1d2b7292844beb5274
3877
Author: Vishvananda Ishaya <vishvananda@gmail.com>
3878
Date: Fri Aug 3 11:03:10 2012 -0700
3880
Make extension aliases consistent
3882
related to blueprint disable-server-extensions
3884
The alias for extensions should start with os- where possible.
3885
Unfortunately the alias is used for xml namespacing in some cases
3886
so it cannot be made consistent for some legacy extensions
3888
There will continue to be a small number of output extensions that
3889
have no special namespace because they were added before we started
3890
namespacing extensions and they need to remain the same for legacy
3893
In the future all extensions should include a namespace prefix
3894
when adding extra data to the api.
3896
Change-Id: I3a31fa21e16dc7c289d7f5b2e4736ab48bf42557
3898
nova/api/openstack/compute/contrib/config_drive.py | 2 +-
3899
.../openstack/compute/contrib/security_groups.py | 3 +--
3900
2 files changed, 2 insertions(+), 3 deletions(-)
3902
commit 65d70b2e160ce340861351e4284722d6d566bd1e
3903
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3904
Date: Sat Aug 4 18:52:08 2012 +0100
3906
Remove old exception type
3908
Error doesn't exist anymore. Use a generic NovaException instead.
3910
Change-Id: I3b36fdf999f5e62a7b4137dfa874173de5fed9b8
3912
nova/db/sqlalchemy/migration.py | 3 ++-
3913
1 file changed, 2 insertions(+), 1 deletion(-)
3915
commit 3f9c909c6b63b1af1615e92abe9c1b0c366dd392
3916
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3917
Date: Sat Aug 4 19:05:52 2012 +0100
3919
Fix test classes collision
3921
Test classes LibvirtConfigGuestSerialTest were colliding, hiding a
3922
failing test by accident. One has been renamed to *GuestConsoleTest.
3924
Change-Id: Idc67634b3e5a616021840fa66313a65b135e6f86
3926
nova/tests/test_libvirt_config.py | 4 ++--
3927
1 file changed, 2 insertions(+), 2 deletions(-)
3929
commit ef306fe4c342cf5e54b4512e46b67c80fbb414ab
3930
Merge: ff9578d 245e940
3931
Author: Jenkins <jenkins@review.openstack.org>
3932
Date: Sat Aug 4 15:25:09 2012 +0000
3934
Merge "Require eventlet >= 0.9.17"
3936
commit f0dddbae1407c0be00a32a034516b17298aba6e2
3937
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3938
Date: Sat Aug 4 14:31:28 2012 +0100
3940
Remove unused variables
3942
fetch() no longer returns metadata so fetch_to_raw does not need to pass it.
3943
Callers don't expect the return value either.
3945
Output of execute() is not used for anything
3947
Change-Id: I84be22e042696a51eb919f6c6f0ccf58aaf3ace3
3949
nova/virt/images.py | 8 +++-----
3950
1 file changed, 3 insertions(+), 5 deletions(-)
3952
commit 662cc871c8aaa96fea26c0eab75fed09e2995ee6
3953
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3954
Date: Sat Aug 4 14:12:49 2012 +0100
3956
Fix notification logic
3958
Notifications were always treated as if they're about state changes
3959
due to a typo. Additionally exception handler did not work correctly.
3960
Regression tests included.
3962
Change-Id: I0b92a1baa17768d9cf4e709b3331480548dd041e
3964
nova/notifications.py | 4 ++--
3965
nova/tests/test_notifications.py | 19 +++++++++++++++++++
3966
2 files changed, 21 insertions(+), 2 deletions(-)
3968
commit 2c1524866acb9f9ac3f50dc7d33338cfb03fd08a
3969
Author: Stanislaw Pitucha <stanislaw.pitucha@hp.com>
3970
Date: Thu Aug 2 13:51:07 2012 +0100
3972
Improve external lock implementation
3974
Remove a number of limitations from the external locks.
3975
- They can be nested now
3976
- They do not need external cleanup in case of failures
3977
- They do not rely on lockfile or greenlet internal implementation
3979
New implementation is based on fcntl locks and any crashing process
3980
will drop the lock. It does not have to rely on any cleanup code or
3981
handling exceptions. Because no cleanup is needed, a number of tests
3983
This implementation is not portable outside of POSIX/BSD/SVR4 systems.
3985
Fcntl locks should work correctly with NFS mounts.
3987
Locks are cleaned up after the tests finish running via run_tests.sh,
3988
even though it's not strictly needed.
3990
This change requires eventlet >= 0.9.17.
3992
bp improve-external-locking
3994
Change-Id: Idf5424c04645f25097733848a007b150145b0b27
3996
nova/service.py | 2 -
3997
nova/tests/test_misc.py | 16 ++---
3998
nova/tests/test_utils.py | 176 +++------------------------------------------
3999
nova/utils.py | 157 ++++++++++++----------------------------
4001
tools/clean_file_locks.py | 63 ----------------
4002
tools/pip-requires | 1 -
4003
7 files changed, 63 insertions(+), 354 deletions(-)
4005
commit 8acb7275de43f126cc3fdb8f701dbeca22338d5b
4006
Author: PƔdraig Brady <pbrady@redhat.com>
4007
Date: Sat Aug 4 06:01:32 2012 +0100
4009
maint: remove an unused import in libvirt.driver
4011
This import was recently reintroduced, due to
4012
confusing pylint output. Therefore remove it again
4013
and adjust things so pylint won't warn in future.
4015
Change-Id: I25f293f171c651c25d27e8d55c9240fd808590ba
4017
nova/tests/test_libvirt.py | 2 +-
4018
nova/virt/baremetal/driver.py | 3 +--
4019
nova/virt/libvirt/driver.py | 9 ++++-----
4020
3 files changed, 6 insertions(+), 8 deletions(-)
4022
commit ff9578da2d042ba3d6cb7b6ded76de74c0754689
4023
Merge: 4c79d9b 997fc59
4024
Author: Jenkins <jenkins@review.openstack.org>
4025
Date: Sat Aug 4 07:19:38 2012 +0000
4027
Merge "Sync w/ latest openstack common log.py."
4029
commit 4c79d9b9641477014388c87ab3bcc645596a4dc4
4030
Merge: de28a6d aa886dc
4031
Author: Jenkins <jenkins@review.openstack.org>
4032
Date: Sat Aug 4 05:25:00 2012 +0000
4034
Merge "Audit log messages in nova/compute/api.py"
4036
commit 245e9400402207588e31ba249c2c13be28f0ff63
4037
Author: PƔdraig Brady <pbrady@redhat.com>
4038
Date: Sat Aug 4 04:22:09 2012 +0100
4040
Require eventlet >= 0.9.17
4042
0.9.17 was released 2012-08-03 and
4043
includes two particular fixes related to OpenStack
4045
1. https://bitbucket.org/which_linden/eventlet/issue/123/
4046
Fix an exception thrown by epoll in certain cases.
4047
This can cause jenkins to deadlock, triggered for example by:
4048
https://review.openstack.org/#/c/10767/
4050
2. https://bitbucket.org/which_linden/eventlet/issue/115/
4051
https://bugs.launchpad.net/nova/+bug/903199
4052
Fix a significant memory leak of _DummyThread objects.
4054
Change-Id: I449f30afde7d162ed2c0df149174f1250ef378ca
4056
tools/pip-requires | 2 +-
4057
1 file changed, 1 insertion(+), 1 deletion(-)
4059
commit de28a6dadfd3c13aa71988a557d0077700f9c2d2
4060
Merge: 5fb51ea a5184d5
4061
Author: Jenkins <jenkins@review.openstack.org>
4062
Date: Sat Aug 4 03:50:11 2012 +0000
4064
Merge "fix unmounting of LXC containers"
4066
commit 46ece662345211fc9dd902c234e03dcbbe296979
4067
Author: Russell Bryant <rbryant@redhat.com>
4068
Date: Thu Aug 2 12:56:31 2012 -0400
4070
Remove **kwargs from prep_resize in compute manager.
4072
The only place where additional arguments were being passed in was via
4073
the unit tests, and they aren't used.
4075
Part of blueprint no-db-messaging.
4077
Change-Id: I13f4a209ac9acc732966cb6e01bdbbcc3e3bd3c8
4079
nova/compute/manager.py | 3 +--
4080
nova/tests/compute/test_compute.py | 24 ++++++++----------------
4081
2 files changed, 9 insertions(+), 18 deletions(-)
4083
commit 6e134c9df2ec05ebce9f62c6d85988ece18620ad
4084
Author: Russell Bryant <rbryant@redhat.com>
4085
Date: Wed Aug 1 16:48:03 2012 -0400
4087
Updates to the prep_resize scheduler rpc call.
4089
I started looking at this because of the prep_resize rpc call in the compute
4090
manager. An API server calls prep_resize on the scheduler which then calls it
4091
on a compute node. I will need to make the same changes on the compute side,
4092
but this is the first step.
4094
The prep_resize call was taking two object IDs, an instance UUID and an
4095
instance_type ID. Both of these have been converted. It now takes an instance
4096
dict and an instance_type dict, instead. It can also handle receiving the old
4097
IDs for backwards compatibility. prep_resize also took a topic argument that
4098
was unused, so it has just been removed.
4100
There are a number of changes in the scheduler code tied up in this to make it
4101
more explicit about exactly what arguments are expected instead of just using
4104
Part of blueprint no-db-messaging.
4106
Change-Id: I4af18e5575e2bb60a410fc8edabf3d607c72aabc
4108
nova/compute/api.py | 5 ++--
4109
nova/scheduler/chance.py | 24 +++++++++------
4110
nova/scheduler/driver.py | 3 +-
4111
nova/scheduler/filter_scheduler.py | 17 +++++------
4112
nova/scheduler/manager.py | 30 +++++++++++++++----
4113
nova/scheduler/rpcapi.py | 15 +++++++---
4114
nova/tests/scheduler/test_chance_scheduler.py | 6 ++--
4115
nova/tests/scheduler/test_filter_scheduler.py | 2 +-
4116
nova/tests/scheduler/test_rpcapi.py | 9 +++---
4117
nova/tests/scheduler/test_scheduler.py | 39 ++++++++++++++++---------
4118
10 files changed, 96 insertions(+), 54 deletions(-)
4120
commit 5fb51ea04b2ccff55f45af9e99cecd5d22f27a42
4121
Merge: 97f57d2 cf1540c
4122
Author: Jenkins <jenkins@review.openstack.org>
4123
Date: Sat Aug 4 01:58:47 2012 +0000
4125
Merge "Partially revert "Remove unused scheduler functions""
4127
commit ee3cc503f26147087c961089ffbce30810697e80
4128
Author: Andrew Bogott <abogott@wikimedia.org>
4129
Date: Fri Aug 3 20:15:54 2012 -0500
4131
Migrate a notifier patch from common:
4133
commit c767e9beffe4b826eac869ce7e2eef2cc1499bbe
4134
Author: Andrew Bogott <abogott@wikimedia.org>
4135
Date: Thu Jul 19 03:34:31 2012 -0500
4137
Add multiple-driver support to the notifier api.
4139
Move all of the functionality previously provided by the list_notifier
4140
into the basic notifier api. Move and restructure tests accordingly.
4142
Remove the list_notifier file and test file.
4146
Change-Id: Icadaafe8bc312942249272873d9a4a8f1aa49a94
4148
nova/openstack/common/log.py | 7 +-
4149
nova/openstack/common/notifier/api.py | 74 ++++++++++----
4150
nova/openstack/common/notifier/list_notifier.py | 117 -----------------------
4151
nova/openstack/common/plugin/plugin.py | 1 -
4152
nova/openstack/common/plugin/pluginmanager.py | 21 +---
4153
nova/tests/compute/test_compute.py | 4 +-
4154
nova/tests/compute/test_compute_utils.py | 7 +-
4155
nova/tests/test_notifications.py | 7 +-
4156
nova/tests/test_volume.py | 4 +-
4157
nova/tests/test_volume_utils.py | 7 +-
4158
10 files changed, 86 insertions(+), 163 deletions(-)
4160
commit 97f57d2e92be57821b643311cbb1662933d47ef2
4161
Merge: 382fb4f b71e86d
4162
Author: Jenkins <jenkins@review.openstack.org>
4163
Date: Sat Aug 4 01:32:30 2012 +0000
4165
Merge "Fix broken pep8 exclude processing."
4167
commit 382fb4f2c8c18a41d5b61609469fcea0deb2575e
4168
Merge: fbd8bf5 e1fb341
4169
Author: Jenkins <jenkins@review.openstack.org>
4170
Date: Sat Aug 4 01:12:37 2012 +0000
4172
Merge "Remove unused variables"
4174
commit 25f50d9aa5000248959073fd47814f05efea3a3e
4175
Author: Dan Prince <dprince@redhat.com>
4176
Date: Fri Aug 3 15:38:32 2012 -0400
4178
Update list_instances to catch libvirtError.
4180
Commit be590cfa4b0025587a956642dc859902d577f3f7 caught (and tested
4181
for) the wrong exception. lookupByID throws a libvirtError.
4183
Fixes LP Bug #1032741.
4185
Change-Id: I6745660658df4d0f2bc4cd423e173200fc23cd8e
4187
nova/tests/test_libvirt.py | 4 ++--
4188
nova/virt/libvirt/driver.py | 2 +-
4189
2 files changed, 3 insertions(+), 3 deletions(-)
4191
commit aa886dcce57db9198c81d0829d939ecb9f1a27c4
4192
Author: Michael Still <mikal@stillhq.com>
4193
Date: Sat Jul 28 21:11:15 2012 +1000
4195
Audit log messages in nova/compute/api.py
4197
To include instance whereever possible.
4199
Change-Id: Ic3b86eed17ebee90766af9e2c3c74f33c7a09432
4201
nova/compute/api.py | 21 ++++++++++++---------
4202
1 file changed, 12 insertions(+), 9 deletions(-)
4204
commit fbd8bf5adb55f97536ce7d52a9662ae8099684e7
4205
Merge: 0c5a3fd be6d225
4206
Author: Jenkins <jenkins@review.openstack.org>
4207
Date: Fri Aug 3 22:45:48 2012 +0000
4209
Merge "Rename _self to self according to Python convention"
4211
commit be6d2253d61fae63b5c829960cbf163c50c2efeb
4212
Author: Yun Mao <yunmao@gmail.com>
4213
Date: Fri Aug 3 18:03:11 2012 -0400
4215
Rename _self to self according to Python convention
4217
If self is never used, it should probably be defined as a classmethod
4218
or a staticmethod, instead of _self. Use "self" for now to stick
4219
to python convention, and leave proper refactor to other patches.
4221
Change-Id: I71de42ffd3e83c57772b6490c52f24bcd9d1f1ea
4223
nova/virt/libvirt/vif.py | 2 +-
4224
1 file changed, 1 insertion(+), 1 deletion(-)
4226
commit 0c5a3fd184352d703a4643de9d89ecb4f96fdc5b
4227
Author: Yun Mao <yunmao@gmail.com>
4228
Date: Fri Aug 3 17:57:43 2012 -0400
4230
import missing module time
4232
time is used in line 2450 but is never imported
4234
Change-Id: I8b5690c5562768050416d0921cbae7dd0af769c9
4236
nova/virt/libvirt/driver.py | 1 +
4237
1 file changed, 1 insertion(+)
4239
commit e1fb3413ed04008724db3f8ac705810537bfebb2
4240
Author: Yun Mao <yunmao@gmail.com>
4241
Date: Fri Aug 3 17:55:32 2012 -0400
4243
Remove unused variables
4245
Change-Id: I137c9522257e8b5fcb13c1e9fe6cb4e0c442e33c
4247
nova/compute/api.py | 4 ----
4248
nova/compute/manager.py | 3 +--
4249
2 files changed, 1 insertion(+), 6 deletions(-)
4251
commit be590cfa4b0025587a956642dc859902d577f3f7
4252
Author: Dan Prince <dprince@redhat.com>
4253
Date: Fri Aug 3 13:04:46 2012 -0400
4255
Handle InstanceNotFound in libvirt list_instances.
4257
Updates the libvirt driver so that InstanceNotFound is
4258
handled within the list_instances function. This
4259
can occur if an instance is deleted while the
4260
list_instances function is processing.
4262
Fixes LP Bug #1032741.
4263
Change-Id: I97c9533f8b37957e71237c610ac360fbf9f57b9a
4265
nova/tests/test_libvirt.py | 16 ++++++++++++++++
4266
nova/virt/libvirt/driver.py | 14 +++++++++++---
4267
2 files changed, 27 insertions(+), 3 deletions(-)
4269
commit b71e86d4d7689896daddf40476f466df7ac6cabe
4270
Author: Monty Taylor <mordred@inaugust.com>
4271
Date: Thu Jul 26 08:22:01 2012 -0500
4273
Fix broken pep8 exclude processing.
4275
First of all, our pep8 exclude was excluding openstack, to trap
4276
for not doing pep8 checks on openstack/common, which comes from elsewhere.
4277
But, pep8 strips filenames down to basename when doing exclude checks on
4278
them, which makes no sense. To fix this, grab the two functions from pep8,
4279
fix them, and monkeypatch them from within hacking.py.
4281
Patch has been submitted upstream as:
4283
https://github.com/jcrocholl/pep8/pull/111
4285
Also, changed the exclude to catch just openstack/common.
4287
Change-Id: If0b18ae828e74203f84a8b6f8b4ba0100b3bbc59
4289
tools/hacking.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
4291
2 files changed, 53 insertions(+), 1 deletion(-)
4293
commit 3356d55977a0ff091711dcf368d0cc13ae0567f8
4294
Author: Dan Prince <dprince@redhat.com>
4295
Date: Fri Aug 3 13:07:47 2012 -0400
4297
Update reset_db to call setup if _DB is None.
4299
This resolves issues when running individual tests that require
4300
a database. With this fix I can once again run individual test
4301
modules that make use of the database. For example:
4303
./run_tests.sh test_libvirt
4305
Previously this would fail with database errors.
4307
Fixes LP Bug #1032738.
4309
Change-Id: Icce7ac9414f0e19eece44819a217634947de7f73
4311
nova/tests/__init__.py | 2 ++
4312
1 file changed, 2 insertions(+)
4314
commit a7987aaa86c9cd8c6509118028a61ce7445ec125
4315
Author: Andrew Bogott <abogott@wikimedia.org>
4316
Date: Fri Aug 3 01:57:40 2012 -0500
4318
Migrate a logging change from common:
4320
commit 58404a1a9461900367dbb7a8b3f2f98441e12959
4321
Author: Mate Lakat <mate.lakat@citrix.com>
4322
Date: Tue Jul 31 17:53:57 2012 +0100
4324
Install a qualified except hook.
4328
As an Exception is raised, it was not visible in the log, because
4329
it wasn't qualified. The fix sets up the exception hook to be
4330
qualified as the product_name.
4332
Change-Id: I38c48d0dd2ac885fcb226310b6039be667af9e0d
4334
nova/openstack/common/log.py | 14 ++++++++------
4335
1 file changed, 8 insertions(+), 6 deletions(-)
4337
commit 6795de644b8a8a1879543101d85ba90674219c8b
4338
Author: ZhuRongze <zrzhit@gmail.com>
4339
Date: Wed Aug 1 13:23:13 2012 +0000
4341
Send 'create volume from snapshot' to the proper host
4343
A simple solution for bug 1008866. When creating volume from snapshot on
4344
multicluster, in volume it will check if snapshot_id is set. If snapshot_id
4345
is set and FLAGS.snapshot_same_host is true, make the call create volume
4346
directly to the volume host where the snapshot resides instead of passing it
4347
through the scheduler. So snapshot can be copy to new volume. The same as
4350
Change-Id: Ic182eb4563b9462704c5969d5116629442df316a
4352
etc/nova/nova.conf.sample | 6 ++++++
4353
nova/tests/api/ec2/test_cloud.py | 2 +-
4354
nova/volume/api.py | 44 ++++++++++++++++++++++++++++++++------
4355
3 files changed, 44 insertions(+), 8 deletions(-)
4357
commit 87dcb13117459da0e92b98feadab8a4ecba2c4f9
4358
Merge: b8bae71 143b467
4359
Author: Jenkins <jenkins@review.openstack.org>
4360
Date: Fri Aug 3 01:04:57 2012 +0000
4362
Merge "Fix regression with nova-manage floating list"
4364
commit b8bae714f402c90ce78da7be80d4dad1d4285d3b
4365
Merge: 3924e32 aec2b66
4366
Author: Jenkins <jenkins@review.openstack.org>
4367
Date: Thu Aug 2 23:04:40 2012 +0000
4369
Merge "Simple refactor of some db api tests."
4371
commit 3924e32c9920e476210dec9f15c11f6e96206cb9
4372
Merge: 8a77bff 0c0e47b
4373
Author: Jenkins <jenkins@review.openstack.org>
4374
Date: Thu Aug 2 23:03:41 2012 +0000
4376
Merge "Check instance lock in compute/api"
4378
commit 8a77bff0a36b7bf575227822d910e97da785f362
4379
Merge: eaf6e3a 04a0bd6
4380
Author: Jenkins <jenkins@review.openstack.org>
4381
Date: Thu Aug 2 22:59:23 2012 +0000
4383
Merge "Update usage of 'ip' to handle more return codes"
4385
commit 143b4671cce2a0996018509f6ce38c0902acde09
4386
Author: Ray Sun <xiaoquqi@gmail.com>
4387
Date: Thu Aug 2 21:13:33 2012 +0800
4389
Fix regression with nova-manage floating list
4393
If a floating IP is not associated with an instance, nova-manage fails
4396
local variable 'instance_uuid' referenced before assignment
4398
This is a regression introduced by commit fc82c6d. Simply rename
4399
the local variable to instance_uuid.
4401
Change-Id: Ia6df23c945f0815c65bcfd2f49e8ba3225d03d7f
4403
bin/nova-manage | 2 +-
4404
1 file changed, 1 insertion(+), 1 deletion(-)
4406
commit eaf6e3ae2eb0d9ec46a6372d06842e033031c061
4407
Author: Joe Gordon <jogo@cloudscaling.com>
4408
Date: Wed Aug 1 17:24:44 2012 -0700
4410
Remove unused imports
4412
Change-Id: I9e307cd5bab2542f43948c96767811a769814341
4414
nova/api/ec2/cloud.py | 2 --
4415
nova/api/metadata/base.py | 4 ----
4416
nova/api/openstack/compute/contrib/config_drive.py | 7 -------
4417
.../compute/contrib/instance_usage_audit_log.py | 3 ---
4418
.../openstack/compute/contrib/security_groups.py | 2 --
4419
nova/compute/manager.py | 2 --
4420
nova/compute/rpcapi.py | 1 -
4421
nova/scheduler/driver.py | 1 -
4422
nova/scheduler/host_manager.py | 1 -
4424
nova/tests/test_metadata.py | 2 --
4425
nova/tests/test_misc.py | 1 -
4426
nova/tests/test_pipelib.py | 1 -
4428
14 files changed, 29 deletions(-)
4430
commit aec2b668b554362700cf0c2b016e74fb1b7184f7
4431
Author: Alex Meade <alex.meade@rackspace.com>
4432
Date: Thu Aug 2 16:56:20 2012 -0400
4434
Simple refactor of some db api tests.
4436
A few tests were using context.elevated instead of just passing the correct
4437
project id to the instance_create function.
4439
Change-Id: Ib54d079cbad823abd85dcca9e5cd813887169fb0
4441
nova/tests/test_db_api.py | 29 +++++++++++++++--------------
4442
1 file changed, 15 insertions(+), 14 deletions(-)
4444
commit a5184d5dbf67630dac3abb69b1678b60807cfce7
4445
Author: PƔdraig Brady <pbrady@redhat.com>
4446
Date: Wed Aug 1 14:26:54 2012 +0100
4448
fix unmounting of LXC containers
4450
There were two issues here.
4452
1. There was a global object stored for all instances,
4453
thus the last mounted instance was always unmounted.
4455
2. Even if there was only a single LXC instance in use,
4456
the global object would be lost on restart of Nova.
4458
Therefore we reset the internal state for the mount object,
4459
by passing in the mount point to destroy_container(),
4460
and querying the device in use for that mount point.
4463
Change-Id: I5442442f00d93f5e8b82f492d62918419db5cd3b
4465
nova/tests/test_virt.py | 64 +++++++++++++++++++++++++++++++++++++++++++
4466
nova/virt/disk/api.py | 60 +++++++++++++++++++++++++++++-----------
4467
nova/virt/disk/guestfs.py | 1 +
4468
nova/virt/disk/loop.py | 1 +
4469
nova/virt/disk/mount.py | 21 ++++++++++++--
4470
nova/virt/disk/nbd.py | 7 ++++-
4471
nova/virt/libvirt/driver.py | 18 +++++++-----
4472
7 files changed, 146 insertions(+), 26 deletions(-)
4474
commit 04a0bd690579a91b487b2865c52b6d073b25ad5d
4475
Author: Chuck Short <zulcss@ubuntu.com>
4476
Date: Thu Aug 2 09:13:07 2012 -0500
4478
Update usage of 'ip' to handle more return codes
4480
Make sure that ip raises an exception.ProcessExecutionError unless
4481
'ip' exits with a 0, 2, or 254.
4483
0 = command executed correctly
4484
2/254 = command has already been executed.
4486
Change-Id: I55dd63ca7fc22bc133ab5fe722df4141c332a819
4487
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
4489
nova/network/linux_net.py | 17 ++++++++++-------
4490
1 file changed, 10 insertions(+), 7 deletions(-)
4492
commit 751270fd4618fe054d767159eb2373583a63742c
4493
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
4494
Date: Thu Aug 2 13:12:18 2012 -0500
4496
Use function registration for policy checks
4498
The original policy framework allowed new policy checks to be created
4499
through inheritance. This is somewhat clunky and unnecessary in
4500
Python. This change refactors policy.py to allow new policy checks
4501
to be registered using an @register() decorator. One consequence is
4502
that HttpBrain is deprecated.
4504
Care has been taken to ensure backwards compatibility; deprecation
4505
warnings will be emitted for uses of HttpBrain or the inheritance-
4508
(Pull-up from openstack-common, with deprecation of HttpBrain.)
4510
Change-Id: Ia9a6039a82fe4ebfa9b18e5eb93c21fffee90f09
4512
nova/openstack/common/policy.py | 152 +++++++++++++++++++++++++++------------
4513
nova/policy.py | 2 +-
4514
2 files changed, 107 insertions(+), 47 deletions(-)
4516
commit 0c0e47b6ca2b88481891f742ee0e11cdef21c957
4517
Author: Dan Smith <danms@us.ibm.com>
4518
Date: Thu Jul 26 09:11:05 2012 -0700
4520
Check instance lock in compute/api
4522
This adds a check for the instance lock in compute/api.py, which:
4523
1. Helps avoid the need to call into the manager just to be stopped
4525
2. Returns a failure to the user right away when an operation cannot
4526
be completed due to the lock
4527
3. Avoids the potential for task_state to get into an unhappy state
4528
because a user unknowingly attempts an action whilst an instance
4530
4. Avoids the manager from having to re-do the lock check by
4531
stuffing a flag into RequestContext when the check has already
4534
Various tests needed to be fixed up in order to pass fake instances
4535
with the locked attribute. We could make the decorator ignore
4536
instances without it, but I think it's more explicit to push that
4537
requirement into the tests.
4539
This fixes bug 872541
4541
Change-Id: I1127e31d86a061a93a64ee1eb4a4d900d8bf49b5
4543
nova/compute/api.py | 62 +++++++++++++++++---
4544
nova/compute/manager.py | 5 +-
4545
nova/context.py | 6 +-
4546
nova/exception.py | 4 ++
4547
.../api/openstack/compute/test_server_actions.py | 12 ++++
4548
.../api/openstack/compute/test_server_metadata.py | 6 +-
4549
nova/tests/compute/test_compute.py | 2 +-
4550
7 files changed, 82 insertions(+), 15 deletions(-)
4552
commit 8583ce6bc0a6184c7f866bfd1ebfa7443da4b5f6
4553
Merge: 40a1965 1d447e6
4554
Author: Jenkins <jenkins@review.openstack.org>
4555
Date: Thu Aug 2 15:58:42 2012 +0000
4557
Merge "Deprecate root_helper in favor of rootwrap_config"
4559
commit 40a1965d11e2c5a21f5789cfb337243a3a3957b4
4560
Merge: 5eaf67d 54f4d3b
4561
Author: Jenkins <jenkins@review.openstack.org>
4562
Date: Thu Aug 2 15:19:53 2012 +0000
4564
Merge "Clarify TooManyInstances exception message."
4566
commit 5eaf67db76be71adfced794793e88150e94ad53c
4567
Author: Shane Wang <shane.wang@intel.com>
4568
Date: Thu Aug 2 21:34:30 2012 +0800
4570
Fix a comment typo in db api
4572
Fix the comment for instance_type_get_by_flavor_id().
4574
Change-Id: I6160c6d8e7a0160c01362f9a34550740600f8bc9
4575
Signed-off-by: Shane Wang <shane.wang@intel.com>
4577
nova/db/api.py | 2 +-
4578
1 file changed, 1 insertion(+), 1 deletion(-)
4580
commit 39be2fb2ba9762aee7ddd7f1d679baaf5b3cf68a
4581
Merge: fe21967 48572c4
4582
Author: Jenkins <jenkins@review.openstack.org>
4583
Date: Thu Aug 2 04:04:24 2012 +0000
4585
Merge "Pass a full instance to rotate_backups()."
4587
commit fe21967c6afce187e250efc2976ecd0b06e724c8
4588
Merge: 997250d 9893c3e
4589
Author: Jenkins <jenkins@review.openstack.org>
4590
Date: Thu Aug 2 01:34:12 2012 +0000
4592
Merge "Remove agent_update from the compute manager."
4594
commit 997250d43ee953ae25892213110b9a12860f8377
4595
Merge: 1bfeca6 3905d66
4596
Author: Jenkins <jenkins@review.openstack.org>
4597
Date: Thu Aug 2 01:28:43 2012 +0000
4599
Merge "Move tests.test_compute_utils into tests.compute."
4601
commit 1bfeca6fb74a7554ff67dba3015ec5e9f914bc35
4602
Author: Michael Still <mikal@stillhq.com>
4603
Date: Sat Jul 28 21:01:16 2012 +1000
4605
Audit log messages in nova/compute/manager.py
4607
To include instance whereever possible. This resolves bug 977978.
4609
Change-Id: Ic113489c464458f9b1859a21942b1bbe203698bd
4611
nova/compute/manager.py | 19 +++++++++++--------
4612
1 file changed, 11 insertions(+), 8 deletions(-)
4614
commit 4afaf1792de257c7ba9168d53628218706fa438a
4615
Author: Rick Harris <rconradharris@gmail.com>
4616
Date: Mon Jul 30 19:07:38 2012 +0000
4618
XenAPI: Add script to destroy cached images.
4620
Operations will want the ability to clear out cached images when
4621
disk-space becomes an issue.
4623
This script allows ops to clear out all cached images or just cached
4624
images that aren't in current use.
4626
Change-Id: If87bd10ef3f893c416d2f0615358ba65aef17a2d
4628
nova/virt/xenapi/vm_utils.py | 105 ++++++++++++++++++++++++++----
4629
tools/xenserver/destroy_cached_images.py | 68 +++++++++++++++++++
4630
2 files changed, 161 insertions(+), 12 deletions(-)
4632
commit ad7ae5cb5c8b091706f5c86e5c7ff931a69bb836
4633
Merge: e8941bf 6a8181e
4634
Author: Jenkins <jenkins@review.openstack.org>
4635
Date: Wed Aug 1 19:46:02 2012 +0000
4637
Merge "Don't pass kernel args to Xen HVM instances"
4639
commit e8941bf3b42ed9c177ed05f394664c2e99bf983d
4640
Merge: 3fa62e3 989b1e9
4641
Author: Jenkins <jenkins@review.openstack.org>
4642
Date: Wed Aug 1 19:37:39 2012 +0000
4644
Merge "Fix typo in db test."
4646
commit 3fa62e342ca9aef0d30c6455ae4096cc0de3fedd
4647
Merge: db076de 5de983a
4648
Author: Jenkins <jenkins@review.openstack.org>
4649
Date: Wed Aug 1 19:37:37 2012 +0000
4651
Merge "Avoid using logging in signal handler"
4653
commit db076de31eec46899fe2195d43a14beb9bb84073
4654
Merge: acb0f81 ef57978
4655
Author: Jenkins <jenkins@review.openstack.org>
4656
Date: Wed Aug 1 19:37:35 2012 +0000
4658
Merge "Fix issue with filtering where a value is unicode."
4660
commit acb0f81f8ae99c4d726abbfb059d5be6e23f3075
4661
Merge: f08cbf6 46e2c8a
4662
Author: Jenkins <jenkins@review.openstack.org>
4663
Date: Wed Aug 1 19:11:03 2012 +0000
4665
Merge "Fix traceback when using s3."
4667
commit f08cbf615206997df01f1abfc2189424430ef53e
4668
Merge: 74ee613 eb19ef9
4669
Author: Jenkins <jenkins@review.openstack.org>
4670
Date: Wed Aug 1 18:40:02 2012 +0000
4672
Merge "Fix failed iscsi tgt delete errors with new tgtadm"
4674
commit 74ee613d40d722398586fd7c9df5a90c72744803
4675
Merge: 3a5ea16 0a956de
4676
Author: Jenkins <jenkins@review.openstack.org>
4677
Date: Wed Aug 1 18:39:57 2012 +0000
4679
Merge "Send a full instance in terminate_instance."
4681
commit 989b1e988b36e97c2e1a49735d532b88fad9e8d0
4682
Author: Alex Meade <alex.meade@rackspace.com>
4683
Date: Wed Aug 1 14:33:25 2012 -0400
4685
Fix typo in db test.
4687
test_instance_get_all_by_filters was doing an assertTrue on two values when an
4688
assertEquals was intended.
4690
Change-Id: I335f873a27d1777309d6fb850d7f259b87ebcb0d
4692
nova/tests/test_db_api.py | 4 ++--
4693
1 file changed, 2 insertions(+), 2 deletions(-)
4695
commit ef579789065bd5eca90404e29463c63d538c5a01
4696
Author: Alex Meade <alex.meade@rackspace.com>
4697
Date: Wed Aug 1 13:40:56 2012 -0400
4699
Fix issue with filtering where a value is unicode.
4701
This fixes an issue where if an attribute, such as name, for an instance
4702
contains unicode and doing a list of instances filtering by that attribute
4707
Change-Id: I2e9e9a36194dad1326b0d7257308576f8553ef06
4709
nova/db/sqlalchemy/api.py | 2 +-
4710
nova/tests/test_db_api.py | 9 +++++++++
4711
2 files changed, 10 insertions(+), 1 deletion(-)
4713
commit 5de983ae390993450ac182eff2de3f358593f847
4714
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
4715
Date: Wed Aug 1 18:19:22 2012 +0000
4717
Avoid using logging in signal handler
4721
In some cases, logging can grab locks and thusly attempt to reschedule,
4722
which will fail in signal handlers.
4724
This patch simplifies the signal handlers for multi-process support to
4725
only reset the signal handlers and then raise an exception. This will
4726
move all logging and other cleanup out of the signal handler and into
4729
Change-Id: I0878adf6ef5c54e577ab2ea39e2ff9845e0e9191
4731
nova/service.py | 51 +++++++++++++++++++++++++++++++++++----------------
4732
1 file changed, 35 insertions(+), 16 deletions(-)
4734
commit 46e2c8a575fecc55a896632029d5db6b5bd7b112
4735
Author: Chuck Short <zulcss@ubuntu.com>
4736
Date: Wed Aug 1 13:03:15 2012 -0500
4738
Fix traceback when using s3.
4740
Fix a regression that causes tracebacks in s3
4742
Traceback (most recent call last):
4743
File "/opt/stack/nova/nova/image/s3.py", line 294, in delayed_create
4744
_update_image_state(context, image_uuid, 'downloading')
4745
File "/opt/stack/nova/nova/image/s3.py", line 286, in _update_image_state
4747
TypeError: update() takes at most 5 arguments (6 given)
4749
This is due to 6e4539f397bfc5dbf9ec88ddc3968621815d576b
4753
Change-Id: I6cf786999c623c0ca780a173dcba49354207e9c3
4754
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
4756
nova/image/glance.py | 4 ++--
4757
nova/tests/glance/stubs.py | 2 +-
4758
2 files changed, 3 insertions(+), 3 deletions(-)
4760
commit 6a8181e3c40d9b4f5eb644c2cad79fc7866ba767
4761
Author: Jim Fehlig <jfehlig@suse.com>
4762
Date: Mon Jul 30 21:10:19 2012 -0600
4764
Don't pass kernel args to Xen HVM instances
4766
The refactoring in commit c0f67877 missed setting guest.os_root for
4767
Xen PV instances only. If set for Xen HVM instances, the xen tools
4768
will invoke qemu-dm with '-append root=/dev/xxx'. qemu-dm promptly
4769
failes with '-append only allowed with -kernel option'.
4771
Change-Id: Iba8054b728e28463fb221d44417b1ddba323f596
4773
nova/tests/test_libvirt.py | 9 +++++++++
4774
nova/virt/libvirt/driver.py | 2 +-
4775
2 files changed, 10 insertions(+), 1 deletion(-)
4777
commit 997fc59c4783b8c8dfe334bf0513169ec6126efb
4778
Author: Dan Prince <dprince@redhat.com>
4779
Date: Wed Aug 1 13:02:16 2012 -0400
4781
Sync w/ latest openstack common log.py.
4783
Includes the following updates for openstack-common's log.py:
4785
Remove code to clear basicConfig root log handlers
4787
Removes some old Nova specific code to clear out the log handlers
4788
from Nova's logging basicConfig. This code is arguably Nova specific
4789
and doesn't really belong in openstack-common's generic logging
4792
Additionally, This code was actually removing the root logger used
4794
some command line tools and binaries and hiding log messages that
4796
have otherwise gone to the console.
4798
Fixes LP Bug #1029577.
4800
Change-Id: Ic6a6862e5bc357846bf3202186c7e24622d3bb87
4802
nova/openstack/common/log.py | 11 -----------
4803
1 file changed, 11 deletions(-)
4805
commit 3a5ea16bec06fceddfe06af343ee505cfc419a1b
4806
Merge: a1834b7 95b7569
4807
Author: Jenkins <jenkins@review.openstack.org>
4808
Date: Wed Aug 1 16:24:42 2012 +0000
4810
Merge "Revert "Check for selinux before setting up selinux.""
4812
commit 48572c4af3f6c41d31bd77797ebd3dd25fbbc36a
4813
Author: Russell Bryant <rbryant@redhat.com>
4814
Date: Wed Aug 1 12:18:33 2012 -0400
4816
Pass a full instance to rotate_backups().
4818
This patch renames rotate_backups() to _rotate_backups(), as this method
4819
has never been used over rpc since it was first introduced in
4820
75a87df739effe840e6cb39c976002e99b49c796. The name change makes it more
4821
clear that it's a private method.
4823
The change also makes it so this method takes an instance dict instead
4824
of just the instance_uuid as an argument. This is mainly for
4825
consistency with the rest of this file, where things are moving toward
4826
passing the full instance dict around instead to avoid any potential
4829
In passing, this also fixes up some uses of instance_uuid in
4830
snapshot_instance() where instance_uuid is most likely None.
4832
Part of blueprint no-db-messaging.
4834
Change-Id: I275f71384e77eb038aa1140bbfde108b91cd2f83
4836
nova/compute/manager.py | 18 +++++++++---------
4837
1 file changed, 9 insertions(+), 9 deletions(-)
4839
commit 9893c3eb5794e689736e881ec0551bdfeda48d8f
4840
Author: Russell Bryant <rbryant@redhat.com>
4841
Date: Wed Aug 1 11:24:59 2012 -0400
4843
Remove agent_update from the compute manager.
4845
It appears that this method of the compute method has never been used
4846
since it was added in fa0b64b500f3a196044459ba4bf8ed0dea214e92, so just
4849
It was also added to the virt driver API, but the only use is internally
4850
to the xenapi driver, so leave it as an internal thing to that driver
4853
Part of blueprint no-db-messaging.
4855
Change-Id: Idb2c823421e714fa364affbbb80d28175b9b5b4e
4857
nova/compute/manager.py | 18 ------------------
4858
nova/tests/compute/test_compute.py | 20 --------------------
4859
nova/tests/test_virt_drivers.py | 6 ------
4860
nova/virt/driver.py | 13 -------------
4861
nova/virt/fake.py | 3 ---
4862
5 files changed, 60 deletions(-)
4864
commit 3905d66dae8c4bc08079ffd4bff67ebed8044d8f
4865
Author: Russell Bryant <rbryant@redhat.com>
4866
Date: Tue Jul 31 16:36:52 2012 -0400
4868
Move tests.test_compute_utils into tests.compute.
4870
Move the test_compute_utils module into nova.tests.compute to be with
4871
other compute related unit tests.
4873
Change-Id: I0956a18279caa15504448ddca7ffe7f4113f1f65
4875
nova/tests/compute/test_compute_utils.py | 214 ++++++++++++++++++++++++++++++
4876
nova/tests/test_compute_utils.py | 214 ------------------------------
4877
2 files changed, 214 insertions(+), 214 deletions(-)
4879
commit 0a956de32c2fa24cf00461803914fe3ffba2b492
4880
Author: Russell Bryant <rbryant@redhat.com>
4881
Date: Tue Jul 31 16:07:57 2012 -0400
4883
Send a full instance in terminate_instance.
4885
Change the terminate_instance method of the compute
4886
rpc API to take a full instance over rpc instead of just
4887
the instance UUID. This cuts down on database access needed
4890
This is the final change for instances in rpcapi.py. \o/
4891
Unfortunately, I discovered that the scheduler isn't properly using
4892
rpc API versioning when talking to compute nodes, so some of the methods
4893
used by the scheduler still need some love.
4895
Part of blueprint no-db-messaging.
4897
Change-Id: Ic62450346ea90b9a6d64e282e992a21a4dd6ab64
4899
nova/compute/manager.py | 18 ++--
4900
nova/compute/rpcapi.py | 8 +-
4901
nova/tests/compute/test_compute.py | 172 +++++++++++++++++++++---------------
4902
nova/tests/compute/test_rpcapi.py | 24 +----
4903
nova/tests/test_compute_utils.py | 12 ++-
4904
5 files changed, 128 insertions(+), 106 deletions(-)
4906
commit a1834b70461a961dbe5adfe5aa54a555c9a0bda0
4907
Merge: 906e32b 0909c1c
4908
Author: Jenkins <jenkins@review.openstack.org>
4909
Date: Wed Aug 1 16:18:11 2012 +0000
4911
Merge "Prevent instance_info_cache from being altered post instance"
4913
commit 906e32baf614f42e72c3eb5fabfd18e05a3c3a2b
4914
Merge: 3a35d9c f01fc5d
4915
Author: Jenkins <jenkins@review.openstack.org>
4916
Date: Wed Aug 1 16:18:09 2012 +0000
4918
Merge "maint: don't require write access when reading files"
4920
commit 3a35d9c03dedee38f2de367de5f67846a24da490
4921
Merge: 56a5ba1 5e7275f
4922
Author: Jenkins <jenkins@review.openstack.org>
4923
Date: Wed Aug 1 15:50:43 2012 +0000
4925
Merge "Fix get_diagnostics RPC arg ordering."
4927
commit 56a5ba1170783cb968db76f16ef2217bac7a1272
4928
Merge: a9432ce 4f3291e
4929
Author: Jenkins <jenkins@review.openstack.org>
4930
Date: Wed Aug 1 15:49:59 2012 +0000
4932
Merge "XenAPI: Fix race-condition with cached images."
4934
commit a9432ce66e07b075c582000087850111abf262dc
4935
Merge: ce638a6 eab5851
4936
Author: Jenkins <jenkins@review.openstack.org>
4937
Date: Wed Aug 1 15:48:48 2012 +0000
4939
Merge "Add check exit codes for vlans"
4941
commit f01fc5deb9ecdba5918ddf113c62497d5be35dc5
4942
Author: PƔdraig Brady <pbrady@redhat.com>
4943
Date: Wed Aug 1 16:08:21 2012 +0100
4945
maint: don't require write access when reading files
4947
Change 'r+' to 'r' for open() when just reading.
4948
The '+' is uneeded and distracting.
4950
Change-Id: I8c611ab6d63e165f86e588992011f73f69565249
4952
nova/tests/fake_libvirt_utils.py | 2 +-
4953
nova/tests/test_libvirt.py | 2 +-
4954
nova/tests/test_utils.py | 2 +-
4955
nova/virt/libvirt/utils.py | 2 +-
4956
4 files changed, 4 insertions(+), 4 deletions(-)
4958
commit ce638a66d0911d7a677dd5d12bd938018050f01b
4959
Merge: fce61c1 3ab808b
4960
Author: Jenkins <jenkins@review.openstack.org>
4961
Date: Wed Aug 1 15:00:51 2012 +0000
4963
Merge "Setting root passwd no longer fails silently."
4965
commit 5e7275f5bca9c7c6f30a442c3bd2b66eba19fe04
4966
Author: Dan Prince <dprince@redhat.com>
4967
Date: Wed Aug 1 10:55:14 2012 -0400
4969
Fix get_diagnostics RPC arg ordering.
4971
Updates the ordering of the compute managers get_diagnostics
4972
call so it works correctly with the current wrap_instance_fault and
4973
checks_instance_lock decorators. To work correctly 'instance' needs
4974
to be the first argument after the context.
4976
Fixes LP Bug #1031788.
4978
Change-Id: Ia7105eb272cd2932fc4f25b297ecab9e5ab8dbe2
4980
nova/compute/manager.py | 2 +-
4981
nova/tests/compute/test_compute.py | 6 +++++-
4982
2 files changed, 6 insertions(+), 2 deletions(-)
4984
commit eb19ef9a195bb36ef4310277d072f2911eda0f73
4985
Author: John Griffith <john.griffith@solidfire.com>
4986
Date: Tue Jul 31 18:57:42 2012 -0600
4988
Fix failed iscsi tgt delete errors with new tgtadm
4990
Now that the tgtadm patches are working, one problem was detected
4991
The delete target operation would fail, and as a result lvremove
4992
would fail due to an open connection.
4994
There were a number of issue using the config file method, but
4995
the most reliable way is to just use the iqn since we're going
4996
to perform an os.unlink on the config file anyway.
4998
devstack volumes.sh tests now pass and the detach/delete
4999
calls are succesful.
5001
Adjust test_iscsi for modifications to delete
5003
Change-Id: Ic34ca2194b8d75fb84a06dfba6793106eb8055fe
5005
nova/tests/test_iscsi.py | 5 ++++-
5006
nova/volume/iscsi.py | 16 +++++++++++-----
5007
2 files changed, 15 insertions(+), 6 deletions(-)
5009
commit 1d447e69f9f898eeda6fc37c965baa905105a1cc
5010
Author: Thierry Carrez <thierry@openstack.org>
5011
Date: Wed Aug 1 14:44:28 2012 +0200
5013
Deprecate root_helper in favor of rootwrap_config
5015
Mark the root_helper option deprecated and introduce usage of
5016
the rootwrap_config option instead. The root_helper option will
5017
still fully be supported in Folsom, but will be removed in Grizzly.
5019
Transition notes: you should replace:
5020
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
5023
rootwrap_config=/etc/nova/rootwrap.conf
5025
Implements bp deprecate-root-helper
5027
Change-Id: I8dfc94e9b91f7ffc82d393b345f09409da347e78
5029
bin/nova-rootwrap | 2 +-
5030
nova/flags.py | 6 +++++-
5031
nova/utils.py | 14 ++++++++++++--
5032
3 files changed, 18 insertions(+), 4 deletions(-)
5034
commit fce61c1bc0ddb5e8bffdc5ed6345fc8c2d5bb0c3
5035
Author: Dan Prince <dprince@redhat.com>
5036
Date: Wed Aug 1 08:43:46 2012 -0400
5038
Use instance_get instead of instance_by.
5040
Updates the network manager to use db.instance_get instead of
5041
db.instance_by (which doesn't exist). This change seems to have
5042
slipped in in the recent vifs UUID conversion code.
5044
Fixes LP Bug #1031756.
5046
Change-Id: Ie487a2f845a722a5e7923e26a550d74f553e8afc
5048
nova/network/manager.py | 2 +-
5049
1 file changed, 1 insertion(+), 1 deletion(-)
5051
commit 54f4d3be88d53035303328d3b0c287956c4dbd2f
5052
Author: Eoghan Glynn <eglynn@redhat.com>
5053
Date: Tue Jul 31 16:18:16 2012 +0000
5055
Clarify TooManyInstances exception message.
5059
Previously the message indicated the number of instances requested
5060
and an incorrect indication of the headroom, in the case where ram
5061
or cores was the resource gone over-quota (as opposed to the number
5064
Change-Id: I9f7f3203f0e644ba533940a87e496bfd09da0460
5066
nova/compute/api.py | 16 +++++++-----
5067
nova/exception.py | 2 +-
5068
nova/tests/api/openstack/compute/test_servers.py | 30 ++++++++++++++++------
5069
nova/tests/api/openstack/fakes.py | 25 +++++++++---------
5070
4 files changed, 46 insertions(+), 27 deletions(-)
5072
commit 3ab808b23d17900cc859b75895ac1c7a8f2d7bb9
5073
Author: Eoghan Glynn <eglynn@redhat.com>
5074
Date: Mon Jul 23 12:25:43 2012 +0000
5076
Setting root passwd no longer fails silently.
5080
Previously an attempt to set the root password would fail silently if
5081
for example the driver did not support this action.
5083
To avoid the user being misled that the password change had succeeded,
5084
we now report any failure by changing the MEP for set_admin_password
5085
RPC from cast to call.
5087
Change-Id: I1fd7b925e9226d30892f3a7cc4ddb938ff678a55
5089
nova/compute/api.py | 5 +++--
5090
nova/compute/manager.py | 22 ++++++++++++------
5091
nova/compute/rpcapi.py | 2 +-
5092
nova/exception.py | 6 +++++
5093
nova/tests/compute/test_compute.py | 43 +++++++++++++++++++++++++++++-------
5094
nova/tests/compute/test_rpcapi.py | 2 +-
5095
6 files changed, 61 insertions(+), 19 deletions(-)
5097
commit 794a673b05d7479ba8d1b34b3d1c9149304a3528
5098
Merge: 17cdb77 cdc5a6a
5099
Author: Jenkins <jenkins@review.openstack.org>
5100
Date: Wed Aug 1 07:19:11 2012 +0000
5102
Merge "Fix ip6tables support in xenapi bug 934603"
5104
commit 17cdb77f467aa64832a660a029dce0a805d901a9
5105
Merge: c577144 38334ed
5106
Author: Jenkins <jenkins@review.openstack.org>
5107
Date: Wed Aug 1 07:04:40 2012 +0000
5109
Merge "Set default keystone auth_token signing_dir loc."
5111
commit 4f3291e3795460f0b8da5a029faa2e4a9271c8a9
5112
Author: Rick Harris <rconradharris@gmail.com>
5113
Date: Tue Jul 31 22:49:13 2012 +0000
5115
XenAPI: Fix race-condition with cached images.
5117
The core problem is that XenServer's `VDI.copy` call drops the
5118
destination file directly into the SR. This means that half-completed
5119
files are visible with no way to distinguish these from fully-copied
5122
We had some code that attempted to mitigate this issue by checking
5123
physical_utilisation against an expected value. The problem with this
5124
code is that it didn't account for VDI chaining where the
5125
physical_utilisation would not necessarily match the parent.
5127
The net effect of this was that 'cloned' VDIs would never be found
5128
because their physical_utilisation was far below what was expected.
5130
The work around is to create our own `_safe_copy_vdi` which is isolated
5131
and atomic. Long term, `VDI.copy` should be fixed so that half-completed
5132
files are never stored in the SR.
5134
Change-Id: I6eb3cb5259f9ee1c7394e58f76105a8b39bfc720
5136
nova/tests/test_xenapi.py | 9 ++
5137
nova/virt/xenapi/vm_utils.py | 102 +++++++++++++-------
5138
.../rpmbuild/SPECS/openstack-xen-plugins.spec | 1 +
5139
.../xenapi/etc/xapi.d/plugins/workarounds | 65 +++++++++++++
5140
4 files changed, 141 insertions(+), 36 deletions(-)
5142
commit c577144166913d6bdbed626e06ad1fc865d3334d
5143
Merge: 2b029d5 6e4539f
5144
Author: Jenkins <jenkins@review.openstack.org>
5145
Date: Wed Aug 1 00:11:06 2012 +0000
5147
Merge "Tidy up nova.image.glance"
5149
commit 2b029d576c531f64e7f2c4b975d045b5837d14c9
5150
Merge: 13c82f9 dcc26e8
5151
Author: Jenkins <jenkins@review.openstack.org>
5152
Date: Tue Jul 31 23:54:33 2012 +0000
5154
Merge "Update targets information when creating target."
5156
commit 0909c1cf68c78c6338799884f58755ab5ab52551
5157
Author: Trey Morris <trey.morris@rackspace.com>
5158
Date: Tue Jul 31 18:20:35 2012 -0500
5160
Prevent instance_info_cache from being altered post instance
5162
It turns out people have found ways to use the info cache everywhere.
5163
The problem is when these ways require information about deleted
5164
instances the info_cache may not be accurate.
5166
This patch prevents the info_cache from being altered after it is
5167
marked as deleted and marks an instance's info_cache as deleted
5168
towards the beginning of the destroy process to ensure it doesn't
5169
get blown away by a cache refresh somewhere along the way.
5171
Change-Id: I0d5c2f1fc7e5f8f6c1154958986bb775ced07443
5173
nova/compute/manager.py | 1 +
5174
nova/db/sqlalchemy/api.py | 5 ++++-
5175
2 files changed, 5 insertions(+), 1 deletion(-)
5177
commit 13c82f931f8220ebdcf561933bdd53799a4d8bb5
5178
Merge: b85641e 14129b4
5179
Author: Jenkins <jenkins@review.openstack.org>
5180
Date: Tue Jul 31 22:41:53 2012 +0000
5182
Merge "Send a full instance in change_instance_metadata."
5184
commit b85641e1bc8d5dd6472d1ba4d450b7babe516a49
5185
Merge: 4270a5c 6a6fe2f
5186
Author: Jenkins <jenkins@review.openstack.org>
5187
Date: Tue Jul 31 22:41:51 2012 +0000
5189
Merge "Send a full instance in unrescue_instance."
5191
commit dcc26e8c414765754dbf568dcaa4490e62f0bc44
5192
Author: Chuck Short <zulcss@ubuntu.com>
5193
Date: Tue Jul 31 15:56:57 2012 -0500
5195
Update targets information when creating target.
5197
tgt-admin needs to use --execute --update to tell
5198
tgtd to re-read its configuration files when target
5203
Change-Id: I71fe4d90a8cc9bcf7a4817aefd6de52e216102a4
5204
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
5206
nova/tests/test_iscsi.py | 2 +-
5207
nova/volume/iscsi.py | 2 +-
5208
2 files changed, 2 insertions(+), 2 deletions(-)
5210
commit 4270a5ca49f014b735c2579845bbf93499135412
5211
Author: Eoghan Glynn <eglynn@redhat.com>
5212
Date: Tue Jul 31 21:30:50 2012 +0100
5214
Avoid recursion from @refresh_cache
5216
Previously the decorator current called out indirectly to
5217
nova.api.network.api.API.get_instance_nw_info(), which is also
5218
decoratored by @refresh_cache.
5220
Change-Id: I8b71e2f6c85d007cde0da32890168c922102a7d8
5222
nova/network/api.py | 2 +-
5223
nova/network/quantumv2/api.py | 3 +++
5224
nova/tests/network/test_api.py | 2 +-
5225
3 files changed, 5 insertions(+), 2 deletions(-)
5227
commit 14129b4af8795a28a62b69897dc5cd6602353cc9
5228
Author: Russell Bryant <rbryant@redhat.com>
5229
Date: Tue Jul 31 15:31:55 2012 -0400
5231
Send a full instance in change_instance_metadata.
5233
Change the change_instance_metadata method of the compute
5234
rpc API to take a full instance over rpc instead of just
5235
the instance UUID. This cuts down on database access needed
5238
These methods were moved in rpcapi.py and test_rpcapi.py but only because
5239
the rest of the file was in alphabetical order. The move puts it in the
5240
right place to maintain that order.
5242
Part of blueprint no-db-messaging.
5244
Change-Id: I7dd2fb7480010893f66c753b3d31a4556009efe0
5246
nova/compute/manager.py | 12 +++++++-----
5247
nova/compute/rpcapi.py | 15 +++++++++------
5248
nova/tests/compute/test_compute.py | 3 ++-
5249
nova/tests/compute/test_rpcapi.py | 12 ++++++------
5250
4 files changed, 24 insertions(+), 18 deletions(-)
5252
commit 6a6fe2f6bf736583d9e2cde0733c6568877b7979
5253
Author: Russell Bryant <rbryant@redhat.com>
5254
Date: Tue Jul 31 15:26:31 2012 -0400
5256
Send a full instance in unrescue_instance.
5258
Change the unrescue_instance method of the compute
5259
rpc API to take a full instance over rpc instead of just
5260
the instance UUID. This cuts down on database access needed
5263
Part of blueprint no-db-messaging.
5265
Change-Id: I9a693b347ce583aa350f4c10531b53e0f9813577
5267
nova/compute/manager.py | 21 +++++++++++----------
5268
nova/compute/rpcapi.py | 8 ++++++--
5269
nova/tests/compute/test_compute.py | 12 +++++++++++-
5270
nova/tests/compute/test_rpcapi.py | 4 ++--
5271
4 files changed, 30 insertions(+), 15 deletions(-)
5273
commit eab5851b0b55c4230cc11460f9efc6b617ae2e68
5274
Author: Chuck Short <zulcss@ubuntu.com>
5275
Date: Tue Jul 31 11:49:58 2012 -0400
5277
Add check exit codes for vlans
5279
Add check_exit_code to check the ip address
5280
creation in ensure_vlan.
5282
Ignores error code '2' and '0' and '254'
5283
from iproute2, which means the address
5284
has been added or removed.
5286
A further audit of return codes will come later.
5290
Change-Id: Ie95b106446c9f136fa079d95df7a14fe50046696
5291
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
5293
nova/network/linux_net.py | 12 ++++++++----
5294
1 file changed, 8 insertions(+), 4 deletions(-)
5296
commit 37dee20d2f963ca08e56a95be8c654e1920e4a2a
5297
Author: Rick Harris <rconradharris@gmail.com>
5298
Date: Tue Jul 31 18:23:14 2012 +0000
5300
Compute: Error out instance on rebuild and resize.
5302
If a rebuild or a resize fails, then we should error out the instance.
5303
This code takes an idiom we already use in the compute manager and adds
5304
it to the rebuild and resize code.
5306
Change-Id: Ia90c038eb4677e109d58e9b79bb8a05490689c9f
5308
nova/compute/manager.py | 304 +++++++++++++++++-------------------
5309
nova/tests/compute/test_compute.py | 7 +-
5310
2 files changed, 148 insertions(+), 163 deletions(-)
5312
commit cf1540c4a62f0a31c4a313be3811d1e4b81091f8
5313
Author: Russell Bryant <rbryant@redhat.com>
5314
Date: Fri Jul 27 08:42:30 2012 -0400
5316
Partially revert "Remove unused scheduler functions"
5318
This partially reverts commit 2aaa3d2860eed7574c5df64a8ceeb8a6adf23460.
5320
The problem pointed out by this bug is that these changes introduce a
5321
non-backwards compatibile change to the schedulre rpc API. There are a
5322
couple of acceptable ways to deal with this:
5324
1) Leave most of the code and only remove the client side. This means
5325
that a message sent from an earlier version will still work. This is
5326
the ideal situation for almost *all* changes to rpc APIs. We have to
5327
make a habit of this to eventually be able to support rolling
5330
2) Leave the manager methods, but simply have them raise an exception.
5331
This is a bit better than removing the method because the error
5332
can be made more explicit and obvious. Otherwise, the operator will
5333
get "no such method" rpc exceptions, which will seem a bit more
5336
An example of when this option makes sense is commit
5337
cac332c39645286a11c009094a86f62d02752183. This patch refactored the
5338
live migration code is such a significant way that making it
5339
backwards compatibile seemed rather difficult to do. The old rpc
5340
methods stuck around but just raise an exception. The potential
5341
failure is just that live migration would fail, but the exception
5342
makes it obvious that an upgrade must be completed for live migration
5345
The current patch implements #2 in the case of get_service_capabilities,
5346
since it hasn't been used since pre-essex. Approach #2 is taken for
5347
get_host_list() as well. It was used until fairly recently, but was
5348
broken, including being broken in Essex. The fix that went into Essex
5349
for this makes it no longer use RPC.
5353
Change-Id: I74c7d2a3e88b3a4f114e7da62c56f0481ee64a64
5355
nova/scheduler/manager.py | 16 ++++++++++++++++
5356
1 file changed, 16 insertions(+)
5358
commit 8605f34a31883c97d9385b3c8c5c5120bae52433
5359
Merge: 341d40e 83ef4e3
5360
Author: Jenkins <jenkins@review.openstack.org>
5361
Date: Tue Jul 31 18:02:07 2012 +0000
5363
Merge "Instance cleanups from detach_volumes."
5365
commit 341d40e303fc4055faec1865ef7acfc0a5f02645
5366
Merge: 9d1c07d 28a7ac6
5367
Author: Jenkins <jenkins@review.openstack.org>
5368
Date: Tue Jul 31 17:28:46 2012 +0000
5370
Merge "Use event.listen() instead of deprecated listeners kwarg"
5372
commit 9d1c07d2f499082c30694d9a34319d97a3f9b4fd
5373
Merge: 5313ead 2aaf430
5374
Author: Jenkins <jenkins@review.openstack.org>
5375
Date: Tue Jul 31 17:09:48 2012 +0000
5377
Merge "Prefer instance in reboot_instance."
5379
commit 5313ead49154ac53b6a35f1f89d65175f5b53054
5380
Merge: dfeebca 6a5f095
5381
Author: Jenkins <jenkins@review.openstack.org>
5382
Date: Tue Jul 31 16:58:46 2012 +0000
5384
Merge "Avoid associating floating IP with two instances."
5386
commit dfeebca5a8d2f03d918928522f2ce8b66ec056c9
5387
Merge: 02ec8d9 40a84de
5388
Author: Jenkins <jenkins@review.openstack.org>
5389
Date: Tue Jul 31 16:39:29 2012 +0000
5391
Merge "Xen: VHD sequence validation should handle swap."
5393
commit 28a7ac658959a8dcc8ba0b7d316fe598e7992c8b
5394
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
5395
Date: Tue Jul 31 15:32:08 2012 +0000
5397
Use event.listen() instead of deprecated listeners kwarg
5401
The listeners kwarg is deprecated in SQLAlchemy 0.7.0. Since 0.7.3 is
5402
the minimum required version of SQLAlchemy, use the new event.listen()
5405
Change-Id: I3d2bd2e65dbc6787d1c9b69ffd0bcff85c157869
5407
nova/db/sqlalchemy/session.py | 39 +++++++++++++++++----------------------
5408
1 file changed, 17 insertions(+), 22 deletions(-)
5410
commit 6a5f095b0a9a73c57469b4e5f10694d1b738527f
5411
Author: Eoghan Glynn <eglynn@redhat.com>
5412
Date: Fri Jul 27 20:34:05 2012 +0100
5414
Avoid associating floating IP with two instances.
5416
Addresses LP 1029911.
5418
Associating an already-associated floating IP with another instance
5419
results in the floating IP being first disassociated from the original
5420
instance and then associated with the second instance.
5422
However when this transfer of the floating IP to the second instance
5423
occurs, the network info held in the database instance info cache was
5424
previously only updated for the second instance (via the
5425
@nova.network.api.refresh_cache decorator).
5427
As a result, the floating IP was initially reported as being associated
5428
with *both* instances. This misreporting is temporary - eventually the
5429
periodic heal_instance_info_cache task will roll around and purge the
5430
inaccurante network info for the original instance. However depending
5431
on the frequency configured for this task and the size of the instance
5432
population, it could take a while for the refresh to occur.
5434
This issue is addressed by immediately purging the obsolute network info
5435
when the reassignment occurs.
5437
Change-Id: Ibfb04997ff4a983d144d81350857cb07475aff54
5439
nova/network/api.py | 49 +++++++++++++++-------
5440
nova/network/manager.py | 8 ++++
5441
nova/tests/network/test_api.py | 81 ++++++++++++++++++++++++++++++++++++
5442
nova/tests/network/test_manager.py | 6 +++
5443
4 files changed, 129 insertions(+), 15 deletions(-)
5445
commit 02ec8d997a756824691e650d1dad01a10d2de365
5446
Merge: 705cc12 367300c
5447
Author: Jenkins <jenkins@review.openstack.org>
5448
Date: Tue Jul 31 06:27:04 2012 +0000
5450
Merge "sync openstack-common log changes with nova"
5452
commit 705cc12964996d0771cc142b07910b568d6bca43
5453
Merge: 5e6e473 65b76aa
5454
Author: Jenkins <jenkins@review.openstack.org>
5455
Date: Tue Jul 31 06:27:01 2012 +0000
5457
Merge "reduce debugging from utils.trycmd()"
5459
commit 5e6e4731cd1dcdae58c0e9bce5c8b3393355bb92
5460
Merge: 4e06103 e4dd271
5461
Author: Jenkins <jenkins@review.openstack.org>
5462
Date: Tue Jul 31 05:46:31 2012 +0000
5464
Merge changes I3ec871de,I401beb93,Iddcc7cb0,Id581d23d
5467
Fix arg to get_instance_volume_block_device_info().
5468
Send a full instance in snapshot_instance.
5469
Send a full instance in set_admin_password.
5470
Send a full instance in rollback_live_migration_at_destination.
5472
commit 4e061037034d0ec682127c3bea140e2edb2d7e4c
5473
Merge: 3b96ba8 0d9d248
5474
Author: Jenkins <jenkins@review.openstack.org>
5475
Date: Tue Jul 31 05:35:27 2012 +0000
5477
Merge "Convert virtual_interfaces to using instance_uuid."
5479
commit 3b96ba8add2ee3e544d4d0cbee98b9219fa45a00
5480
Merge: 8579e3a a8e83e1
5481
Author: Jenkins <jenkins@review.openstack.org>
5482
Date: Tue Jul 31 05:33:12 2012 +0000
5484
Merge "Turn on base image cleanup by default."
5486
commit 8579e3a86b626f6a4c879897d1f44add6419744c
5487
Merge: a6a3354 c46394a
5488
Author: Jenkins <jenkins@review.openstack.org>
5489
Date: Tue Jul 31 05:15:52 2012 +0000
5491
Merge "Compute: VM-Mode should use instance dict."
5493
commit a6a3354c3a1fd3a7149290c6ffb8df40fea36f63
5494
Merge: 2a8b3d8 3359e31
5495
Author: Jenkins <jenkins@review.openstack.org>
5496
Date: Tue Jul 31 04:44:33 2012 +0000
5498
Merge changes I55bdc631,I57789eab,I5ed8707b,Iaae16e63
5501
Send a full instance in revert_resize.
5502
Send a full instance in resume_instance.
5503
Send a full instance in resize_instance.
5504
Send a full instance in reset_network.
5506
commit 2a8b3d8f430ffb5e839d7b3800426a4f75c5f22b
5507
Merge: dc65ed4 697f2bd
5508
Author: Jenkins <jenkins@review.openstack.org>
5509
Date: Tue Jul 31 04:15:07 2012 +0000
5511
Merge "Send a full instance in rescue_instance."
5513
commit dc65ed42db79d242cbcdf4beb7a287be0fc707b6
5514
Merge: 1f45173 73af6fa
5515
Author: Jenkins <jenkins@review.openstack.org>
5516
Date: Tue Jul 31 04:01:56 2012 +0000
5518
Merge "Send a full instance in remove_volume_connection."
5520
commit 1f451731d58e01718f3b99d83f08acd251347202
5521
Merge: 100528f e24e351
5522
Author: Jenkins <jenkins@review.openstack.org>
5523
Date: Tue Jul 31 03:40:57 2012 +0000
5525
Merge "Fix rootwrapper with tgt-admin"
5527
commit 6e4539f397bfc5dbf9ec88ddc3968621815d576b
5528
Author: Brian Waldon <brian.waldon@rackspace.com>
5529
Date: Sun Jul 29 23:36:48 2012 -0700
5531
Tidy up nova.image.glance
5533
* Add comment explaining relevance of _is_image_available
5534
* Drop superfluous log statements
5535
* Drop GlanceImageService.delete_all as it has never been implemented
5536
* Drop the 'features' kwarg for GlanceImageService.update
5537
* Code simplification
5539
Change-Id: Ie538dd93dec729fb060bbcddfbddcba6cf303e52
5541
nova/image/glance.py | 50 ++++++--------------
5542
.../api/openstack/compute/test_server_actions.py | 1 -
5543
nova/tests/glance/stubs.py | 2 +-
5544
nova/tests/image/fake.py | 3 --
5545
nova/tests/image/test_fake.py | 8 ----
5546
nova/tests/image/test_glance.py | 1 -
5547
nova/tests/test_xenapi.py | 2 +-
5548
7 files changed, 16 insertions(+), 51 deletions(-)
5550
commit e4dd27188e071778c0675b6e8e4d050fb13004f3
5551
Author: Russell Bryant <rbryant@redhat.com>
5552
Date: Mon Jul 30 20:16:26 2012 -0400
5554
Fix arg to get_instance_volume_block_device_info().
5556
Michael Still caught this bug while reviewing an earlier patch in this
5557
patch series. This code was passing an instance ID to this function,
5558
but it expects an instance UUID.
5560
Not really related to, but tied up in the patch series
5561
for blueprint no-db-messaging.
5563
Change-Id: I3ec871deadd13a8117f16ad46c31b0a9c8a016db
5565
nova/compute/manager.py | 2 +-
5566
1 file changed, 1 insertion(+), 1 deletion(-)
5568
commit 773d1d61a72700ad5170c259d599891f1dd0a609
5569
Author: Russell Bryant <rbryant@redhat.com>
5570
Date: Mon Jul 30 16:08:50 2012 -0400
5572
Send a full instance in snapshot_instance.
5574
Change the snapshot_instance method of the compute
5575
rpc API to take a full instance over rpc instead of just
5576
the instance UUID. This cuts down on database access needed
5579
Part of blueprint no-db-messaging.
5581
Change-Id: I401beb932e329683c3434ecd643db345aa217492
5583
nova/compute/manager.py | 29 ++++++++++++++++-------------
5584
nova/compute/rpcapi.py | 8 ++++++--
5585
nova/tests/compute/test_compute.py | 8 ++++----
5586
nova/tests/compute/test_rpcapi.py | 7 ++++---
5587
4 files changed, 30 insertions(+), 22 deletions(-)
5589
commit 99f6c32bf8a5204da0e07137486c61cdba5318a3
5590
Author: Russell Bryant <rbryant@redhat.com>
5591
Date: Mon Jul 30 15:39:18 2012 -0400
5593
Send a full instance in set_admin_password.
5595
Change the set_admin_password method of the compute
5596
rpc API to take a full instance over rpc instead of just
5597
the instance UUID. This cuts down on database access needed
5600
Part of blueprint no-db-messaging.
5602
Change-Id: Iddcc7cb068090faa98f0bb87307e09d5b0ebf0c2
5604
nova/compute/manager.py | 30 ++++++++++++++++--------------
5605
nova/compute/rpcapi.py | 8 ++++++--
5606
nova/tests/compute/test_compute.py | 12 +++++++-----
5607
nova/tests/compute/test_rpcapi.py | 4 ++--
5608
4 files changed, 31 insertions(+), 23 deletions(-)
5610
commit 3359e31b204c9a3ac0f4d8bc400a3d7c4c3c081f
5611
Author: Russell Bryant <rbryant@redhat.com>
5612
Date: Mon Jul 30 11:43:48 2012 -0400
5614
Send a full instance in revert_resize.
5616
Change the revert_resize method of the compute
5617
rpc API to take a full instance over rpc instead of just
5618
the instance UUID. This cuts down on database access needed
5621
Part of blueprint no-db-messaging.
5623
Change-Id: I55bdc63149c0385fbf151f4f86f40e6c7635cf63
5625
nova/compute/manager.py | 20 +++++++++++---------
5626
nova/compute/rpcapi.py | 7 +++++--
5627
nova/tests/compute/test_compute.py | 8 ++++----
5628
nova/tests/compute/test_rpcapi.py | 8 +++++---
5629
4 files changed, 25 insertions(+), 18 deletions(-)
5631
commit 697f2bddf0e21368c69f13d0ec4e43df17d7f330
5632
Author: Russell Bryant <rbryant@redhat.com>
5633
Date: Fri Jul 27 15:13:39 2012 -0400
5635
Send a full instance in rescue_instance.
5637
Change the rescue_instance method of the compute
5638
rpc API to take a full instance over rpc instead of just
5639
the instance UUID. This cuts down on database access needed
5642
Part of blueprint no-db-messaging.
5644
Change-Id: I559bd45a8dda4537f6f4a3b8d744095291c7f058
5646
nova/compute/manager.py | 31 ++++++++++++++++++-------------
5647
nova/compute/rpcapi.py | 8 ++++++--
5648
nova/tests/compute/test_compute.py | 4 ++--
5649
nova/tests/compute/test_rpcapi.py | 7 ++++---
5650
4 files changed, 30 insertions(+), 20 deletions(-)
5652
commit 73af6fa9722b720923002f62e115d84b74c9fe33
5653
Author: Russell Bryant <rbryant@redhat.com>
5654
Date: Fri Jul 27 12:21:08 2012 -0400
5656
Send a full instance in remove_volume_connection.
5658
Change the remove_volume_connection method of the compute
5659
rpc API to take a full instance over rpc instead of just
5660
the instance ID. This cuts down on database access needed
5663
Part of blueprint no-db-messaging.
5665
Change-Id: I1bd47b161acd7b6dfb03adb77d00a861f754e188
5667
nova/compute/manager.py | 14 ++++++++------
5668
nova/compute/rpcapi.py | 8 ++++++--
5669
nova/tests/compute/test_compute.py | 6 ++++--
5670
nova/tests/compute/test_rpcapi.py | 8 ++++----
5671
4 files changed, 22 insertions(+), 14 deletions(-)
5673
commit 36dc58791482d44d63d63e9780451f9499619f05
5674
Author: Russell Bryant <rbryant@redhat.com>
5675
Date: Mon Jul 30 15:20:56 2012 -0400
5677
Send a full instance in rollback_live_migration_at_destination.
5679
Change the rollback_live_migration_at_destination method of the compute
5680
rpc API to take a full instance over rpc instead of just
5681
the instance ID. This cuts down on database access needed
5684
This was the last method of this API that was taking an instance ID
5685
as an argument. There still some left that take the instance UUID,
5686
but I can see the light at the end of the tunnel.
5688
Part of blueprint no-db-messaging.
5690
Change-Id: Id581d23d36fee5c6fc06d2a655e999fb9aae5ae3
5692
nova/compute/manager.py | 20 ++++++++++++--------
5693
nova/compute/rpcapi.py | 8 ++++++--
5694
nova/tests/compute/test_compute.py | 4 ++--
5695
nova/tests/compute/test_rpcapi.py | 9 ++++-----
5696
4 files changed, 24 insertions(+), 17 deletions(-)
5698
commit 564def16ba2b684c0fbdaef1861b5fddd9ed4b5c
5699
Author: Russell Bryant <rbryant@redhat.com>
5700
Date: Mon Jul 30 11:26:25 2012 -0400
5702
Send a full instance in resume_instance.
5704
Change the resume_instance method of the compute
5705
rpc API to take a full instance over rpc instead of just
5706
the instance UUID. This cuts down on database access needed
5709
Part of blueprint no-db-messaging.
5711
Change-Id: I57789eab047de7ff9b84e2bb5367139a9a7b8e40
5713
nova/compute/manager.py | 17 +++++++++--------
5714
nova/compute/rpcapi.py | 7 +++++--
5715
nova/tests/compute/test_compute.py | 7 +++----
5716
nova/tests/compute/test_rpcapi.py | 6 +++---
5717
4 files changed, 20 insertions(+), 17 deletions(-)
5719
commit 9302771de4324ac86aad4a8ec0dfe13d4ec3a0cc
5720
Author: Russell Bryant <rbryant@redhat.com>
5721
Date: Fri Jul 27 16:14:00 2012 -0400
5723
Send a full instance in resize_instance.
5725
Change the resize_instance method of the compute
5726
rpc API to take a full instance over rpc instead of just
5727
the instance UUID. This cuts down on database access needed
5730
Part of blueprint no-db-messaging.
5732
Change-Id: I5ed8707b2d018559ab4e983f8528dac8377783c7
5734
nova/compute/manager.py | 30 ++++++++++++++++--------------
5735
nova/compute/rpcapi.py | 6 ++++--
5736
nova/tests/compute/test_compute.py | 22 +++++++++++-----------
5737
nova/tests/compute/test_rpcapi.py | 7 ++++---
5738
4 files changed, 35 insertions(+), 30 deletions(-)
5740
commit 4b3ca6fbf3e89adfd92bdfcd02768f50152e68cf
5741
Author: Russell Bryant <rbryant@redhat.com>
5742
Date: Fri Jul 27 15:39:29 2012 -0400
5744
Send a full instance in reset_network.
5746
Change the reset_network method of the compute
5747
rpc API to take a full instance over rpc instead of just
5748
the instance UUID. This cuts down on database access needed
5751
Part of blueprint no-db-messaging.
5753
Change-Id: Iaae16e63da9d48d86e3bfc80f6c0cdb9f9bd3ddd
5755
nova/compute/manager.py | 11 ++++++-----
5756
nova/compute/rpcapi.py | 7 +++++--
5757
nova/tests/compute/test_compute.py | 15 ++++++++++-----
5758
nova/tests/compute/test_rpcapi.py | 7 ++++---
5759
4 files changed, 25 insertions(+), 15 deletions(-)
5761
commit 100528f3a0df724c5a9611f0e7a0cce41ca5e12e
5762
Merge: d56b5fc aab2f2e
5763
Author: Jenkins <jenkins@review.openstack.org>
5764
Date: Tue Jul 31 00:11:41 2012 +0000
5766
Merge "Fix image_type=base after snapshot"
5768
commit 0d9d2487e2ca921ab54b1ecbe359c32ce8fb0c48
5769
Author: Michael Still <mikal@stillhq.com>
5770
Date: Fri Jul 27 11:43:37 2012 +1000
5772
Convert virtual_interfaces to using instance_uuid.
5774
This review converts virtual_interfaces from tracking their
5775
instances with instance_id to using instance_uuid.
5777
This should be the last review for blueprint finish-uuid-conversion.
5779
Change-Id: I303bba009fa37c72394369c8338e6e759f794cd0
5781
nova/db/sqlalchemy/api.py | 22 ++--
5782
.../migrate_repo/versions/114_sqlite_downgrade.sql | 71 +++++++++++++
5783
.../migrate_repo/versions/114_sqlite_upgrade.sql | 71 +++++++++++++
5784
.../migrate_repo/versions/114_vifs_uses_uuid.py | 108 ++++++++++++++++++++
5785
nova/db/sqlalchemy/models.py | 2 +-
5786
nova/network/linux_net.py | 14 +--
5787
nova/network/manager.py | 72 +++++++------
5788
nova/network/quantum/manager.py | 19 ++--
5789
nova/network/quantum/nova_ipam_lib.py | 5 +-
5790
nova/tests/api/ec2/test_cloud.py | 2 +-
5791
nova/tests/compute/test_compute.py | 12 ++-
5792
nova/tests/fake_network.py | 12 +--
5793
nova/tests/network/test_linux_net.py | 59 ++++++-----
5794
nova/tests/network/test_manager.py | 48 ++++-----
5795
nova/tests/test_db_api.py | 23 +----
5796
nova/tests/test_xenapi.py | 3 +-
5797
16 files changed, 391 insertions(+), 152 deletions(-)
5799
commit d56b5fc3ad6dbfc56e0729174925fb146cef87fa
5800
Merge: 16b7e07 96134f9
5801
Author: Jenkins <jenkins@review.openstack.org>
5802
Date: Mon Jul 30 21:59:56 2012 +0000
5804
Merge "Send a full instance in remove_fixed_ip_from_instance."
5806
commit 16b7e07066446bdafc778ccb6c723783f80c0452
5807
Merge: a84c35d 0e16133
5808
Author: Jenkins <jenkins@review.openstack.org>
5809
Date: Mon Jul 30 21:53:15 2012 +0000
5811
Merge "Send a full instance in rebuild_instance."
5813
commit c46394ac7b953950a3eda3975308031b67cb7312
5814
Author: Rick Harris <rconradharris@gmail.com>
5815
Date: Mon Jul 30 20:05:35 2012 +0000
5817
Compute: VM-Mode should use instance dict.
5819
Instance dicts no longer support attribute-style access.
5821
Change-Id: Ia5191aa14ad7cc62630bd6b0df8aaccb87e51e03
5823
nova/compute/vm_mode.py | 2 +-
5824
nova/tests/test_vmmode.py | 15 +++++----------
5825
2 files changed, 6 insertions(+), 11 deletions(-)
5827
commit aab2f2e6733e1087a30782c43cf688e427a28f35
5828
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
5829
Date: Mon Jul 30 15:59:08 2012 -0500
5831
Fix image_type=base after snapshot
5833
When an instance is snapshotted, the resultant image should have the
5834
image_type property set to "snapshot". However, if the base image
5835
already had image_type set to "base", the image_type on the snapshot
5836
will also be set to "base". This turns out to be because we set
5837
image properties in two different places. The first is when the
5838
image record is created in glance, which occurs in
5839
nova.compute.api:API._create_image(); this is when image_type is set
5840
to "snapshot". However, in nova.virt.xenapi.vm_utils:upload_image(),
5841
all the properties from the base image are copied over, so all the
5842
properties set by _create_image() could be overwritten.
5844
The quick solution was to extend the non_inheritable_image_properties
5845
configuration setting to also cover the image properties set by
5846
_create_image(). Long-term, these two metadata-setting processes
5847
need to be more closely unified. (It should be noted that the
5848
upload_image() function contains a TODO stating that the code should
5849
move into the compute manager, so it can be shared across
5854
Change-Id: I936bc147fb823eca67e40084cba5c3bc1a7fe73a
5856
nova/flags.py | 8 +++++++-
5857
1 file changed, 7 insertions(+), 1 deletion(-)
5859
commit 96134f9e34faf7e4be1776b24c8d8d661a23342a
5860
Author: Russell Bryant <rbryant@redhat.com>
5861
Date: Fri Jul 27 11:58:19 2012 -0400
5863
Send a full instance in remove_fixed_ip_from_instance.
5865
Change the remove_fixed_ip_from_instance method of the compute
5866
rpc API to take a full instance over rpc instead of just
5867
the instance UUID. This cuts down on database access needed
5870
Part of blueprint no-db-messaging.
5872
Change-Id: Iee0daf068be9814ef0ba06a69111a45a2e198cbb
5874
nova/compute/manager.py | 18 ++++++++++--------
5875
nova/compute/rpcapi.py | 8 ++++++--
5876
nova/tests/compute/test_compute.py | 7 +++----
5877
nova/tests/compute/test_rpcapi.py | 5 +++--
5878
4 files changed, 22 insertions(+), 16 deletions(-)
5880
commit 0e16133db77b434f8dc5b298ef8166aa05013630
5881
Author: Russell Bryant <rbryant@redhat.com>
5882
Date: Fri Jul 27 11:05:46 2012 -0400
5884
Send a full instance in rebuild_instance.
5886
Change the rebuild_instance method of the compute
5887
rpc API to take a full instance over rpc instead of just
5888
the instance UUID. This cuts down on database access needed
5891
This patch also includes fixes for a couple of places that were getting
5892
the instance name using the old instance.name syntax. It must be
5893
instance['name']. These no-db-messaging patches are making it so more
5894
code paths have an instance as a dict (received over rpc) instead of
5895
the SQLAlchemy model (looked up from the db on the compute node).
5897
Part of blueprint no-db-messaging.
5899
Change-Id: I21647a5a5cbf71a2c498f6fee2e4adbe30b8f2ea
5901
nova/compute/manager.py | 41 ++++++++++++++++++------------------
5902
nova/compute/rpcapi.py | 8 +++++--
5903
nova/compute/utils.py | 2 +-
5904
nova/tests/compute/test_compute.py | 17 +++++++++------
5905
nova/tests/compute/test_rpcapi.py | 6 +++---
5906
nova/virt/libvirt/firewall.py | 4 ++--
5907
6 files changed, 43 insertions(+), 35 deletions(-)
5909
commit a84c35d0830f68553cf9c814f7ae2eccf04b84e8
5910
Author: Matt Dietz <matt.dietz@rackspace.com>
5911
Date: Mon Jul 30 19:27:52 2012 +0000
5913
Reverts fix lp1031004
5915
The fix was incorrectly applied to the resize.end event. There was a
5916
miscommunication about the resize.end versus resize.finish event
5918
Change-Id: I301b46bbb7684d70946a426ce371eaf1198b97df
5920
nova/compute/manager.py | 14 +++-----------
5921
nova/tests/compute/test_compute.py | 4 ++--
5922
2 files changed, 5 insertions(+), 13 deletions(-)
5924
commit 115fea1f9fa0fdb93f344a8ef9dc8ce9ba3cf6e9
5925
Merge: 857328b 3ffc109
5926
Author: Jenkins <jenkins@review.openstack.org>
5927
Date: Mon Jul 30 19:23:23 2012 +0000
5929
Merge "Resize.end now includes the correct instance_type"
5931
commit 367300c1566950c16157bc4ae2955e2ef3616fb5
5932
Author: Sean Dague <sdague@linux.vnet.ibm.com>
5933
Date: Mon Jul 30 14:55:58 2012 -0400
5935
sync openstack-common log changes with nova
5937
don't throw exceptions if %(color)s tag is used
5941
If the log format strings include the %(color)s key in them and you
5942
enable file logging, your log files won't work, and instead you'll
5943
see exceptions on the console as the default python log handler doesn't
5944
support that keyword.
5946
This approach stubs out the extra keywords to be empty strings to avoid
5947
the KeyError. Tests are also added to demonstrate the KeyError as defined
5948
behavior, and test that color codes can be passed.
5950
Change-Id: I24b2f45dd5a38b27b8cc5a70e0084d367e218172
5952
nova/openstack/common/log.py | 38 +++++++++++++++++++++-----------------
5953
1 file changed, 21 insertions(+), 17 deletions(-)
5955
commit 857328b3744eb5a12ea9c535ecc8a322a9ee11cf
5956
Merge: 9b61fdf af06519
5957
Author: Jenkins <jenkins@review.openstack.org>
5958
Date: Mon Jul 30 19:06:12 2012 +0000
5960
Merge "Avoid error during snapshot of ISO booted instance"
5962
commit 38334ed77975859608c3d9f98c5a102bd0276bb2
5963
Author: Dan Prince <dprince@redhat.com>
5964
Date: Mon Jul 30 14:34:46 2012 -0400
5966
Set default keystone auth_token signing_dir loc.
5968
Updates the nova api-paste.ini file with a custom signing_dir
5969
for Nova. This works around potential multi-service permission issues which
5970
can occur when multiple OpenStack services share a common signing directory.
5972
Change-Id: I99df63838fd41a4cade99b54da9511978b0d1a86
5974
etc/nova/api-paste.ini | 1 +
5975
1 file changed, 1 insertion(+)
5977
commit 3ffc109e380e4a7b0d899f3881ced845abd5d58c
5978
Author: Matt Dietz <matt.dietz@rackspace.com>
5979
Date: Mon Jul 30 18:17:40 2012 +0000
5981
Resize.end now includes the correct instance_type
5983
Fixes bug 1031004. Moves the notification to the destination compute node
5984
so that the correct instance_type attributes are assigned.
5986
Change-Id: I5886154ddd7a9768dc5d82dc4e43e9e0f681ee04
5988
nova/compute/manager.py | 14 +++++++++++---
5989
nova/tests/compute/test_compute.py | 4 ++--
5990
2 files changed, 13 insertions(+), 5 deletions(-)
5992
commit e24e3510d442e4616ef570dc108b6d537777a8d8
5993
Author: Chuck Short <zulcss@ubuntu.com>
5994
Date: Mon Jul 30 11:45:09 2012 -0500
5996
Fix rootwrapper with tgt-admin
5998
Dont use the full path when calling tgt-admin.
6002
Change-Id: Ifc7a1960aa67325e9219309e06de292010d7ec46
6003
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
6005
nova/tests/test_iscsi.py | 4 ++--
6006
nova/volume/iscsi.py | 4 ++--
6007
2 files changed, 4 insertions(+), 4 deletions(-)
6009
commit 9b61fdf34bee6ad9d8e28a32c4c30df243b02443
6010
Author: Brian Waldon <brian.waldon@rackspace.com>
6011
Date: Sun Jul 29 23:25:55 2012 -0700
6013
Use common parse_isotime in GlanceImageService
6015
Rather than reimplement openstack-common's isotime functionality,
6016
just use what's provided for us!
6018
Change-Id: Id44eab3c34ae2c682d27d1563c6baaf68b979d2b
6020
nova/image/glance.py | 18 +-----------------
6021
nova/tests/image/test_glance.py | 8 +++++++-
6022
2 files changed, 8 insertions(+), 18 deletions(-)
6024
commit 8f0d8e26d09ff6de3065864d6d62d124bcc85737
6025
Merge: 7047d85 e425b65
6026
Author: Jenkins <jenkins@review.openstack.org>
6027
Date: Mon Jul 30 16:03:54 2012 +0000
6029
Merge "Make compute only auto-confirm its own instances"
6031
commit 40a84de65ae870c363587b3cacb1c1308eee069e
6032
Author: Rick Harris <rconradharris@gmail.com>
6033
Date: Mon Jul 30 15:49:02 2012 +0000
6035
Xen: VHD sequence validation should handle swap.
6037
The VHD sequence validation code was erroneously counting `swap.vhd`,
6038
which caused it to raise an exception when a corresponding numbered VHD
6041
The fix is to simply ignore the `swap.vhd` file.
6043
Other unknown VHDs will generate an exception, but from a
6044
sanity-checking perspective, this is a Good Thing(tm).
6048
Change-Id: Ic82ae27a4af7ea8f7669fd006aea1a310b691218
6050
.../xenserver/xenapi/etc/xapi.d/plugins/utils.py | 3 +++
6051
1 file changed, 3 insertions(+)
6053
commit 95b7569bbb5d99d68c330fa2ca4c27a2147a5c96
6054
Author: PƔdraig Brady <pbrady@redhat.com>
6055
Date: Mon Jul 30 12:18:06 2012 +0000
6057
Revert "Check for selinux before setting up selinux."
6059
The existing code used trycmd(readlink) precisely because
6060
/etc/selinux might not exist. The presented traceback in
6061
the bug is only debug info.
6063
Also the change will not work with libguestfs for example,
6064
where the nova user can't access mount points mounted by root.
6066
After discussion on IRC it was decided to reduce
6067
debugging output in a subsequent commit.
6070
Change-Id: Id07eae5b330332f36ad7caa786593e486aa36469
6072
nova/virt/disk/api.py | 4 +---
6073
1 file changed, 1 insertion(+), 3 deletions(-)
6075
commit 65b76aa3cd847fdf8f8a312188b8b2e00371fb3c
6076
Author: PƔdraig Brady <pbrady@redhat.com>
6077
Date: Mon Jul 30 13:43:27 2012 +0100
6079
reduce debugging from utils.trycmd()
6081
In the case where the command fails, we're returning
6082
the err anyway and the caller can log if required.
6084
In the discard_warnings=True case, then the caller
6085
has explicitly asked to suppress the warnings,
6086
so don't log this noise either.
6089
Change-Id: I075c21aa6508182ae6dd030cf41ec31916559957
6091
nova/utils.py | 2 --
6092
1 file changed, 2 deletions(-)
6094
commit af0651946010e6bcc966005aa9fc2a1f38d3748a
6095
Author: Mark McLoughlin <markmc@redhat.com>
6096
Date: Mon Jul 30 13:03:39 2012 +0100
6098
Avoid error during snapshot of ISO booted instance
6102
If you boot an instance from an image with disk_format=iso and then
6103
attempt to snapshot (i.e. nova image-create) you currently get a
6104
traceback because we do:
6106
qemu-img convert -f qcow2 -O iso -s $snap $disk $out
6108
and 'iso' is not a format that qemu-img knows anything about.
6110
When booting the image, we use qemu-img to detect that the file is
6111
a raw image so we avoid having to special case disk_format=iso
6112
there. However, there's no way of avoiding the special casing when
6113
extracting a snapshot.
6115
Note 1 - it's not very clever to take a snapshot of a read-only
6116
disk downloaded from glance and upload it back to glance again.
6117
Adding such smarts would be a nice enhancement.
6119
Note 2 - only the destination format is important here because
6120
we can only be extracting from a qcow2 image since snapshots
6121
only work where use_cow_images=True. See also #1030844.
6123
Change-Id: I21ff6db8ebb59a83d27f224283fb76f582c38a0e
6125
nova/tests/test_libvirt.py | 15 ++++++++++++---
6126
nova/virt/libvirt/utils.py | 3 +++
6127
2 files changed, 15 insertions(+), 3 deletions(-)
6129
commit 7047d854f13f25f306968aa1b068848eea67d71f
6130
Author: Daniel P. Berrange <berrange@redhat.com>
6131
Date: Mon Jul 30 11:08:03 2012 +0100
6133
Add a link from HACKING to wiki GitCommitMessages page
6135
The HACKING file contains a short example of an effective
6136
commit message. For reasons for space, it cannot describe
6137
the rationale behind this example. It also does not have
6138
space to describe how to split up a patch into a series
6139
of commits. Add a link from the HACKING file to the wiki
6141
http://wiki.openstack.org/GitCommitMessages
6143
where further information can be found
6145
Change-Id: I34d44485486b623b11743106f09d5ef631d35888
6147
HACKING.rst | 6 ++++++
6148
1 file changed, 6 insertions(+)
6150
commit 90de9055355322f0c49366fe3001fe6f3cbe4b03
6151
Merge: d423c67 7ea6289
6152
Author: Jenkins <jenkins@review.openstack.org>
6153
Date: Mon Jul 30 02:41:02 2012 +0000
6155
Merge "EC2 DescribeImageAttribute by kernel/ramdisk."
6157
commit d423c67efbe4f9452f81c5e7511798fbc5ff8527
6158
Merge: 05d16b8 8680fd9
6159
Author: Jenkins <jenkins@review.openstack.org>
6160
Date: Mon Jul 30 02:33:05 2012 +0000
6162
Merge "maint: libvirt imagecache: remove redundant interpreter spec"
6164
commit 83ef4e36222d185b652a9b913eeb92c2bb96b70c
6165
Author: Michael Still <mikal@stillhq.com>
6166
Date: Sun Jul 29 15:28:37 2012 +1000
6168
Instance cleanups from detach_volumes.
6170
We can just use members of the instance dictionary without turning
6171
them into local variables, as we don't need to populate instance_uuid
6172
manually, as that is done by the @checks_instance_lock decorator.
6174
Change-Id: I2046d5688c2f5122624dc338680b7ddd850ed330
6176
nova/compute/manager.py | 14 ++++++--------
6177
1 file changed, 6 insertions(+), 8 deletions(-)
6179
commit 05d16b81bb05788dbbf1c2d2557594a652aeb7f2
6180
Merge: 9bea239 cefb875
6181
Author: Jenkins <jenkins@review.openstack.org>
6182
Date: Sun Jul 29 23:59:31 2012 +0000
6184
Merge "Support external gateways in VLAN mode."
6186
commit 9bea239f71279bd0da39180b28b45935d3203b02
6187
Author: Chuck Short <zulcss@ubuntu.com>
6188
Date: Sun Jul 29 15:34:07 2012 -0500
6190
Check for selinux before setting up selinux.
6192
Check to see if /etc/selinux exists before trying
6193
to setup ssh keys for selinux. If it doesnt exist
6194
it will result in a traceback when setting up the image
6195
since the directory doesnt exist on Ubuntu.
6199
Change-Id: I8af1e6232bc5a84cbb878c2663ab30eb4139484c
6200
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
6202
nova/virt/disk/api.py | 4 +++-
6203
1 file changed, 3 insertions(+), 1 deletion(-)
6205
commit 2aaf430aab248d3ea10fe4987b39942ff3eb56df
6206
Author: Michael Still <mikal@stillhq.com>
6207
Date: Sun Jul 29 11:29:08 2012 +1000
6209
Prefer instance in reboot_instance.
6211
Now that we're passed through an instance, or something which is
6212
immediately turned into an instance, we should prefer using the full
6213
instance inside compute methods. This is especially useful for log
6214
messages, as it allows users to format the messages more than they
6215
can if only the UUID is passed.
6217
Change-Id: I29370f33a63817f3e45d453499bd46131b947d7e
6219
nova/compute/manager.py | 13 ++++++-------
6220
1 file changed, 6 insertions(+), 7 deletions(-)
6222
commit 8680fd9aea983c0b10c36dc970d6ba60c6dcf842
6223
Author: PƔdraig Brady <pbrady@redhat.com>
6224
Date: Sun Jul 29 01:32:26 2012 +0100
6226
maint: libvirt imagecache: remove redundant interpreter spec
6228
This causes "non-executable-script" warnings in rpmlint at least.
6230
Change-Id: Ia62ce7026cfa59cfc7ab457fbb246496c8f58c10
6232
nova/tests/test_imagebackend.py | 1 -
6233
nova/tests/test_imagecache.py | 1 -
6234
nova/virt/libvirt/imagecache.py | 1 -
6235
3 files changed, 3 deletions(-)
6237
commit cefb87511c4eae22c46f25da7335b4beb4631c4a
6238
Author: mathrock <nathanael.i.burton@gmail.com>
6239
Date: Sat Jul 28 14:38:43 2012 -0400
6241
Support external gateways in VLAN mode.
6243
Add network label when starting dnsmasq. Fixes bug 1012443.
6245
To allow for per-network dnsmasq customization we can use the network
6246
label from the database as the dnsmasq network tag. A user can then
6247
specify a custom dnsmasq config file using the 'dnsmasq_config_file'
6250
An example dnsmasq config file showing how to set a custom external
6251
gateway or ntp server for particular networks based on their tag/label
6254
dhcp-option=tag:'private',option:router,10.0.0.254
6255
dhcp-option=tag:'private',option:ntp-server,10.0.0.253
6256
dhcp-option=tag:'private',option:dns-server,8.8.8.8
6258
dhcp-option=tag:'blue',option:router,10.10.0.254
6259
dhcp-option=tag:'blue',option:ntp-server,10.10.0.253
6260
dhcp-option=tag:'blue',option:dns-server,8.8.4.4
6262
Change-Id: I56cb175a968e33b803dfcb965f90f3a5ca4983ca
6264
nova/network/linux_net.py | 6 ++++--
6265
1 file changed, 4 insertions(+), 2 deletions(-)
6267
commit a8e83e130d999fecc217cc8581558193da780bc7
6268
Author: Michael Still <mikal@stillhq.com>
6269
Date: Thu Jul 26 21:12:49 2012 +1000
6271
Turn on base image cleanup by default.
6273
Essex shipped with the libvirt image cache manager hobbled so it
6274
wouldn't delete unused base images. Its been a while and we haven't
6275
had a new bug reported in ages. Let's turn it on for Folsom. This
6276
is tracked by bug 1029674.
6278
Change-Id: I5529232bf4a316f844d383d5f5a3c0c287d59c1f
6280
etc/nova/nova.conf.sample | 2 +-
6281
nova/virt/libvirt/imagecache.py | 2 +-
6282
2 files changed, 2 insertions(+), 2 deletions(-)
6284
commit e425b65b3d7e0736ce14c7523c8af85754eda27b
6285
Author: Chris Behrens <cbehrens@codestud.com>
6286
Date: Sat Jul 28 06:13:07 2012 +0000
6288
Make compute only auto-confirm its own instances
6292
Change-Id: I0e0cf0c9950f34b1bdab856b2e1c6872b29fdedc
6294
nova/compute/api.py | 2 --
6295
nova/compute/manager.py | 13 +++++++------
6296
nova/db/api.py | 11 ++++++++---
6297
nova/db/sqlalchemy/api.py | 4 +++-
6298
nova/tests/compute/test_compute.py | 8 +++++---
6299
nova/tests/test_db_api.py | 30 +++++++++++++++++++++++-------
6300
6 files changed, 46 insertions(+), 22 deletions(-)
6302
commit bad0a496c0e765da3cc879235c988b7cc617f367
6303
Merge: cb2bb9f 2740ef8
6304
Author: Jenkins <jenkins@review.openstack.org>
6305
Date: Sat Jul 28 05:55:59 2012 +0000
6307
Merge "Fix state logic for auto-confirm resizes"
6309
commit cb2bb9f0f60f3fe80ac9cbab832022f925df81b4
6310
Merge: ebd97be 1ba3dfe
6311
Author: Jenkins <jenkins@review.openstack.org>
6312
Date: Sat Jul 28 03:55:50 2012 +0000
6314
Merge "Add persistent volumes for tgtd."
6316
commit 2740ef8f31a98a9b1486af344ef8cb3399e68aa0
6317
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
6318
Date: Fri Jul 27 18:49:05 2012 -0500
6320
Fix state logic for auto-confirm resizes
6322
In the compute manager, the _poll_unconfirmed_resizes() periodic
6323
task mishandled state checks, and would call confirm_resize() in
6324
invalid states. This patch fixes the logic so that confirm_resize()
6325
is only called if the instance is in vm_state 'resized' and
6326
task_state None. The unit test is also fixed for the proper logic.
6330
Change-Id: I66028b7042d88fb0f1f41df07f42b4b02cf60247
6332
nova/compute/manager.py | 2 +-
6333
nova/tests/compute/test_compute.py | 9 ++++++---
6334
2 files changed, 7 insertions(+), 4 deletions(-)
6336
commit ebd97be9d6448298811ffccaf30b886ac08bf49f
6337
Merge: 3d50060 fa9ad5e
6338
Author: Jenkins <jenkins@review.openstack.org>
6339
Date: Fri Jul 27 23:22:03 2012 +0000
6341
Merge "Explicitly send primitive instances via rpc."
6343
commit 3d50060ee0e29d90c4d98030ca1f4f27d89b5c9a
6344
Merge: 004c5fa 158d821
6345
Author: Jenkins <jenkins@review.openstack.org>
6346
Date: Fri Jul 27 22:44:49 2012 +0000
6348
Merge "libvirt driver: set os_type to support xen hvm/pv"
6350
commit 004c5fa9058f88d07cb4019c815e8c45e5be9af3
6351
Merge: 3f31500 3f71934
6352
Author: Jenkins <jenkins@review.openstack.org>
6353
Date: Fri Jul 27 22:38:43 2012 +0000
6355
Merge "Return location header on volume creation"
6357
commit fa9ad5e3585734f42ae235c0eb4c4518ba1c201c
6358
Author: Russell Bryant <rbryant@redhat.com>
6359
Date: Fri Jul 27 17:37:02 2012 -0400
6361
Explicitly send primitive instances via rpc.
6363
This fixes a few bugs in recent no-db-messaging commits. There were a
6364
few places that I accidentally still used "instance" where I should have
6365
used "instance_p", which is the instance converted to primitive types.
6367
I noticed the problem looking at smokestack logs. I saw a Qpid
6368
traceback that indicated the problem. As an interesting point, systems
6369
using Kombu would not have seen this problem. Kombu uses anyjson. Our
6370
jsonutils module sets anyjson to go through jsonutils, which will
6371
automatically to jsonutils.to_primitive() if needed to serialize an
6372
object. Qpid doesn't do json serialization, so it will blow up if it
6373
hits a non-primitive type. Yay for testing multiple different
6374
configurations to find problems.
6376
Part of blueprint no-db-messaging.
6378
Change-Id: I3487195110572b7ae9586cfcc618ab7ab28d5017
6380
nova/compute/rpcapi.py | 8 ++++----
6381
1 file changed, 4 insertions(+), 4 deletions(-)
6383
commit 3f315000755732c4780dae03ef65f67d3f87e8f7
6384
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
6385
Date: Fri Jul 27 16:26:24 2012 -0500
6387
Allow _destroy_vdis if a mapping has no VDI
6389
In _destroy_vdis() in the xenapi vmops.py, a list of VDIs to not
6390
destroy is collected. If one of the block device mappings does
6391
not have a corresponding VDI, however, _destroy_vdis() fails
6392
(KeyError('vdi_uuid') is raised). This interferes with
6393
instance deletion. The problem is corrected by skipping mappings
6394
for which the connection_info data does not contain 'vdi_uuid'.
6398
Change-Id: I5125d557ab799fcf572f665523cd07a893ad3b90
6400
nova/virt/xenapi/vmops.py | 4 ++++
6401
1 file changed, 4 insertions(+)
6403
commit 8a139e6750adeec3597d6aa1ae82354d7fc8f38d
6404
Merge: f6f6c36 eef8556
6405
Author: Jenkins <jenkins@review.openstack.org>
6406
Date: Fri Jul 27 21:09:10 2012 +0000
6408
Merge "xenapi: Use instance uuid when calling DB API"
6410
commit f6f6c36bb34a06e7afd1c3a7ebbc5ae098c20628
6411
Merge: aad7743 395c71a
6412
Author: Jenkins <jenkins@review.openstack.org>
6413
Date: Fri Jul 27 20:47:51 2012 +0000
6415
Merge "Fix HACKING violation in nova/api/openstack/volume/types.py"
6417
commit aad7743f42e559aefde37bb44622986df4e2ae98
6418
Author: Monsyne Dragon <mdragon@rackspace.com>
6419
Date: Fri Jul 27 19:51:32 2012 +0000
6421
Correct host count in instance_usage_audit_log extension.
6423
This fixes bug 1030106. Basically we were not counting disabled hosts
6424
in the total host count. Also I have refactored the get_audit_task_logs
6425
method, it's really part of the extension (only the extension uses it),
6426
so I've moved it out of nova.compute.utils into the extension itself.
6428
(the tests that exercise it already lived in the extension's tests anyway.)
6430
Change-Id: Iaf42d887b824ba0cbf6ab0ed143a4c01b37b0cb1
6432
.../compute/contrib/instance_usage_audit_log.py | 69 +++++++++++++++++++-
6433
nova/compute/utils.py | 58 ----------------
6434
.../contrib/test_instance_usage_audit_log.py | 15 +++--
6435
3 files changed, 75 insertions(+), 67 deletions(-)
6437
commit 3f71934f0e05b43c2093104c0412e46f5343595a
6438
Author: Eoghan Glynn <eglynn@redhat.com>
6439
Date: Fri Jul 20 12:00:12 2012 +0100
6441
Return location header on volume creation
6443
Partially addresses LP 1026600
6445
Normal RESTful idiom would dictate that the "Location" header is set
6446
to reference the newly created resource.
6448
We defer lining up the status code returned with generally accepted
6449
RESTful convention (currently "200 OK", should be "201 Created" or
6450
"202 Accepted") until the next API major version bump.
6452
There is already substantial code duplication between the volumes API
6453
and the os-volumes API extension - this will be addressed in a later
6456
Change-Id: I166846a4cfea8adc8c156b8ae0e0d288681ac08c
6458
nova/api/openstack/compute/contrib/volumes.py | 5 ++++-
6459
nova/api/openstack/volume/types.py | 2 +-
6460
nova/api/openstack/volume/volumes.py | 6 +++++-
6461
nova/api/openstack/wsgi.py | 4 ++--
6462
nova/tests/api/openstack/volume/test_volumes.py | 6 ++++--
6463
5 files changed, 16 insertions(+), 7 deletions(-)
6465
commit 1ba3dfec786c60e53ceb3b682bcf927224102a0b
6466
Author: Chuck Short <zulcss@ubuntu.com>
6467
Date: Fri Jul 27 10:25:51 2012 -0500
6469
Add persistent volumes for tgtd.
6471
Currently if you restart the server running nova-volume
6472
or restart tgt, you will loose your iscsi targets that
6473
have been created. This is not good.
6475
In order for iscsi targets to be persistent across
6476
reboots or restarts, one has to have the target's configuration
6477
information in /etc/tgt/targets.conf or /etc/tgt/conf.d.
6478
So when tgtd is restarted then the iscsi targets will be there
6481
This patch will add a configuration file to $state_path/volumes
6482
when the volume is created. The configuration file is identified by
6483
the volume uuid. It creates a logicalunit when the volume is created
6484
as well. The iscsi target and configuration file
6485
will be removed once the volume has been removed as well.
6487
In order to use this, you have to include the following in
6488
your /etc/tgt/targets.conf
6490
include $state_path/volumes/*
6492
For upgrades, it will just re-create the volumes
6493
already in the volumes table.
6497
Change-Id: I38fc096ab881ccb52cb688ae46d9d36b0a7b3a45
6498
Signed-off-by: Chuck Short <zulcss@ubuntu.com>
6500
etc/nova/rootwrap.d/volume.filters | 1 +
6501
nova/tests/test_iscsi.py | 37 ++++-------
6502
nova/volume/driver.py | 12 ++--
6503
nova/volume/iscsi.py | 123 +++++++++++++++++++++++-------------
6504
4 files changed, 98 insertions(+), 75 deletions(-)
6506
commit eef8556444de21623da8c750dad37c506be5c484
6507
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
6508
Date: Fri Jul 27 19:15:04 2012 +0000
6510
xenapi: Use instance uuid when calling DB API
6512
The preferred form of calling the DB API is to use the instance UUID
6513
instead of the older instance id. Update that and use the dict form
6514
to be more compatible with blueprint no-db-messaging.
6516
Change-Id: Ib1a06b5385ec627f3daad5bafb3fa1be956a64e2
6518
nova/virt/xenapi/host.py | 6 +++---
6519
1 file changed, 3 insertions(+), 3 deletions(-)
6521
commit 395c71a05a256a3d50a4dca7f91357c3175d94f6
6522
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
6523
Date: Fri Jul 27 19:12:22 2012 +0000
6525
Fix HACKING violation in nova/api/openstack/volume/types.py
6527
Change-Id: Ibd28e8de19eb6dc696ab67d2f58b4a14eb9f034f
6529
nova/api/openstack/volume/types.py | 2 +-
6530
1 file changed, 1 insertion(+), 1 deletion(-)
6532
commit ffaffa12984449aba1468c14f1580c13cd867acf
6533
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
6534
Date: Thu Apr 12 22:58:38 2012 +0000
6536
Remove ugly instance._rescue hack
6538
The XenAPI driver would use _rescue to note when an instance was in
6539
the process of being rescued. The existance of this attribute would
6540
modify the 'name' property to append '-rescue' to the generated name.
6542
Among the problems with it, it wasn't saved anywhere (with resulting
6543
code to set it to False being unnecessary) and it led to "magic" code
6544
(see instance.name) that was confusing without understanding the hack.
6546
Change-Id: I1a91e4efdf69d4c1fba07658419f7bb30b733b5a
6548
nova/db/sqlalchemy/models.py | 2 -
6549
nova/tests/test_xenapi.py | 6 ++-
6550
nova/tests/xenapi/stubs.py | 6 +--
6551
nova/virt/xenapi/vm_utils.py | 88 ++++++++++++++++++++++-------------------
6552
nova/virt/xenapi/vmops.py | 85 +++++++++++++++++++--------------------
6553
nova/virt/xenapi/volumeops.py | 4 +-
6554
6 files changed, 100 insertions(+), 91 deletions(-)
6556
commit 3a00eb0c8029de719caf4b6658ae983bd9070bbb
6557
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
6558
Date: Fri Jul 27 17:56:02 2012 +0000
6560
Convert to using dict style key lookups in XenAPI
6564
With instances being passed as dicts via the RPC API, uses of the instance
6565
object should use dict style key lookups instead of attribute style
6568
Change-Id: Iefc0e403d440aada68b259ded457166ad10699fd
6570
nova/tests/test_xenapi.py | 10 +++---
6571
nova/virt/xenapi/vif.py | 4 +--
6572
nova/virt/xenapi/vm_utils.py | 22 ++++++-------
6573
nova/virt/xenapi/vmops.py | 75 +++++++++++++++++++++---------------------
6574
4 files changed, 57 insertions(+), 54 deletions(-)
6576
commit 0bd693056e04f97345e76ab06a9c4344d4a4cfaf
6577
Merge: 5129852 6bff9a5
6578
Author: Jenkins <jenkins@review.openstack.org>
6579
Date: Fri Jul 27 18:21:05 2012 +0000
6581
Merge "Sanitize xenstore keys for metadata injection"
6583
commit 5129852513aebb904ff5047b8090663bc507901e
6584
Merge: 9ce831a 1ca9d3c
6585
Author: Jenkins <jenkins@review.openstack.org>
6586
Date: Fri Jul 27 18:10:08 2012 +0000
6588
Merge "Don't store system_metadata in xenstore"
6590
commit 9ce831a0069cb5ac8a60f4f47e33121594d1701d
6591
Merge: b03e0dc 19b5499
6592
Author: Jenkins <jenkins@review.openstack.org>
6593
Date: Fri Jul 27 16:54:53 2012 +0000
6595
Merge "Implements notifications for more instance changes"
6597
commit b03e0dc04260401b34db0565026105662349f64f
6598
Merge: 5110f70 a1aa753
6599
Author: Jenkins <jenkins@review.openstack.org>
6600
Date: Fri Jul 27 15:40:52 2012 +0000
6602
Merge "Implements config_drive as extension"
6604
commit 19b54998bb5da2bf49190e22d6aa29da36d946b6
6605
Author: Nikhil Komawar <nikhil.komawar@rackspace.com>
6606
Date: Wed Jul 25 15:01:24 2012 -0400
6608
Implements notifications for more instance changes
6610
Now sends a notification of other changes in the instance besides state
6611
changes. Adds access_ip in notifications as well.
6615
Change-Id: I664e6b858eda17dd732927f2c9b259212084a8fa
6617
nova/compute/api.py | 2 +-
6618
nova/compute/manager.py | 1 +
6619
nova/compute/utils.py | 2 +-
6620
nova/notifications.py | 126 +++++++++++++++++++++++++++-----------
6621
nova/tests/test_notifications.py | 78 ++++++++++++++++++++---
6622
5 files changed, 163 insertions(+), 46 deletions(-)
6624
commit 5110f707dfc31ef756624c48ad7139397692350c
6625
Merge: cba6640 43bb473
6626
Author: Jenkins <jenkins@review.openstack.org>
6627
Date: Fri Jul 27 15:26:19 2012 +0000
6629
Merge "Revert "Add additional capabilities for computes""
6631
commit cba664069bd98930a482e6fdfe72cd1d21d2f198
6632
Merge: 218ecc0 44132ac
6633
Author: Jenkins <jenkins@review.openstack.org>
6634
Date: Fri Jul 27 15:16:43 2012 +0000
6636
Merge "Moving where the fixed ip deallocation happens."
6638
commit 218ecc090940c599dd5246eb078cbcf1868194fb
6639
Merge: ef5d595 01985dd
6640
Author: Jenkins <jenkins@review.openstack.org>
6641
Date: Fri Jul 27 15:02:34 2012 +0000
6643
Merge "Send a full instance in pre_live_migration."
6645
commit ef5d5951d891171d385eefee7562383ef59cb6d3
6646
Merge: bf58f02 bc1947d
6647
Author: Jenkins <jenkins@review.openstack.org>
6648
Date: Fri Jul 27 14:54:20 2012 +0000
6650
Merge "Send a full instance in power_on_instance and start_instance."
6652
commit bf58f027bf98fc811580c47b8d1c80bc5732f6ef
6653
Merge: 43a9637 3a03a9c
6654
Author: Jenkins <jenkins@review.openstack.org>
6655
Date: Fri Jul 27 14:47:21 2012 +0000
6657
Merge "Send a full instance in power_off_instance and stop_instance."
6659
commit 43a963747d20e053d64a069d58577d86086579fc
6660
Merge: 44bf63f 4a1650e
6661
Author: Jenkins <jenkins@review.openstack.org>
6662
Date: Fri Jul 27 14:33:56 2012 +0000
6664
Merge "Make instance_uuid backwards compat actually work."
6666
commit 44bf63f1c5bc1f5cc41e77b3a413cc7852e4de86
6667
Merge: c42a1a5 d5c3271
6668
Author: Jenkins <jenkins@review.openstack.org>
6669
Date: Fri Jul 27 14:28:36 2012 +0000
6671
Merge "Send a full instance via rpc for post_live_migration_at_destination."
6673
commit c42a1a5e4df0802b5d8e70ed8135ff42e23c5480
6674
Merge: 13612ca 2203249
6675
Author: Jenkins <jenkins@review.openstack.org>
6676
Date: Fri Jul 27 14:17:19 2012 +0000
6678
Merge "Send a full instance via rpc for inject_network_info."
6680
commit 13612cad14ee3e350f62088dfcd6a22c17482438
6681
Merge: 4421c9d 6fa8a08
6682
Author: Jenkins <jenkins@review.openstack.org>
6683
Date: Fri Jul 27 14:13:53 2012 +0000
6685
Merge "Send a full instance via rpc for inject_file."
6687
commit 4421c9d1f8c9ddcfbf7be69f3e7044f20c4fc64a
6688
Merge: 09bbae0 a484f06
6689
Author: Jenkins <jenkins@review.openstack.org>
6690
Date: Fri Jul 27 14:08:34 2012 +0000
6692
Merge "Send a full instance via rpc for get_vnc_console."
6694
commit 09bbae0bb2518e7e3a55dc6f2d9a94ef57592bda
6695
Merge: 0c1cd1f 9374157
6696
Author: Jenkins <jenkins@review.openstack.org>
6697
Date: Fri Jul 27 14:05:00 2012 +0000
6699
Merge "Remove get_instance_disk_info from compute rpcapi."
6701
commit 0c1cd1fa3c7f14820b3e606a892ce36a1b90882a
6702
Merge: 2ae2d94 6106973
6703
Author: Jenkins <jenkins@review.openstack.org>
6704
Date: Fri Jul 27 13:58:54 2012 +0000
6706
Merge "Send a full instance via rpc for get_diagnostics."
6708
commit 2ae2d9483ea5647a07152021bff510c4bf256775
6709
Merge: 0626def eba4be8
6710
Author: Jenkins <jenkins@review.openstack.org>
6711
Date: Fri Jul 27 13:45:52 2012 +0000
6713
Merge "Send a full instance via rpc for finish_revert_resize."
6715
commit cdc5a6a237dd57da59102b2a2020cadd67e4c168
6716
Author: Mate Lakat <mate.lakat@citrix.com>
6717
Date: Tue Jul 24 15:14:21 2012 +0100
6719
Fix ip6tables support in xenapi bug 934603
6721
Change-Id: Id7c4b0c4f8710652249b5c4fcb82abd5cccde6dd
6723
.../xenserver/xenapi/etc/xapi.d/plugins/xenhost | 5 ++++-
6724
1 file changed, 4 insertions(+), 1 deletion(-)
6726
commit 44132acbe91092de1188a3015a2c7155b5ec774c
6727
Author: David McNally <dave.mcnally@hp.com>
6728
Date: Fri Jul 27 13:32:14 2012 +0100
6730
Moving where the fixed ip deallocation happens.
6734
In network/manager/deallocate_fixed_ip the call
6735
to mark the IP as no longer allocated occurs before
6736
the call to update security group rules. This means
6737
that if an error occurs in the security group
6738
processing, or if for some reason it is very slow
6739
there is a risk that that the address is reused by
6740
another tenant before the rules relating to this address
6741
have been fully revoked.
6743
Moving the db call to after the call to trigger the
6744
security group refresh would avoid the issue when an
6745
error occurs (the fixed_ip should not be released in
6748
Change-Id: Iaba1af5c9a17fbbb82e42522b1060773de61550a
6750
nova/network/manager.py | 7 ++++---
6751
nova/tests/network/test_manager.py | 29 +++++++++++++++++++++++++++++
6752
2 files changed, 33 insertions(+), 3 deletions(-)
6754
commit 6bff9a5f4455cff14aa9c7c1fbf8e9fe36d203aa
6755
Author: Chris Behrens <cbehrens@codestud.com>
6756
Date: Fri Jul 27 07:04:58 2012 +0000
6758
Sanitize xenstore keys for metadata injection
6760
Xenstore only allows certain characters in key names. Change disallowed
6761
characters as well as '/' to '_'.
6765
Change-Id: I04055bfbe662f3f3e9d90336d03670aa5468e780
6767
nova/tests/test_xenapi.py | 14 ++++++++++----
6768
nova/virt/xenapi/vmops.py | 22 +++++++++++++++++++++-
6769
2 files changed, 31 insertions(+), 5 deletions(-)
6771
commit 1ca9d3c9df58f7ea28609cccac97a74d28fda4db
6772
Author: Chris Behrens <cbehrens@codestud.com>
6773
Date: Fri Jul 27 06:20:16 2012 +0000
6775
Don't store system_metadata in xenstore
6779
system_metadata should not be exposed to users.
6781
This reverts part of commit 82afe7ad5 / ChangeID I88a59f1b783
6783
Change-Id: Id454dbcbafef861db3f88620a56d8dd2ccd30e1d
6785
nova/db/sqlalchemy/api.py | 1 -
6786
nova/tests/test_xenapi.py | 41 ++---------------------------------------
6787
nova/virt/xenapi/vmops.py | 6 ------
6788
3 files changed, 2 insertions(+), 46 deletions(-)
6790
commit 0626def72e8c2271ef72910c1a2f64015ac9c38b
6791
Author: Michael Still <mikal@stillhq.com>
6792
Date: Fri Jul 27 11:24:06 2012 +1000
6794
Only enforce valid uuids if a uuid is passed.
6796
This fixes bug 1029721 which was causing instance spawn failures.
6798
Change-Id: Iab7fdb063874972e0bcd91c51bfd0e5b49e8023c
6800
nova/db/sqlalchemy/api.py | 2 +-
6801
1 file changed, 1 insertion(+), 1 deletion(-)
6803
commit 4f17fc93720874185dbc2742da8afa3316fd39fd
6804
Merge: 1510173 1b18c82
6805
Author: Jenkins <jenkins@review.openstack.org>
6806
Date: Fri Jul 27 01:07:08 2012 +0000
6808
Merge "Include architecture in instance base options passed to the scheduler"
6810
commit 01985dd44d1b29c7ad7cb0932a1d30f7b6fe1911
6811
Author: Russell Bryant <rbryant@redhat.com>
6812
Date: Thu Jul 26 18:45:51 2012 -0400
6814
Send a full instance in pre_live_migration.
6816
Change the pre_live_migration method of the compute
6817
rpc API to take a full instance over rpc instead of just
6818
the instance UUID. This cuts down on database access needed
6821
Part of blueprint no-db-messaging.
6823
Change-Id: Ib628d375254fc1539cd79ceaaad83c1c326863b4
6825
nova/compute/manager.py | 25 ++++++++---------
6826
nova/compute/rpcapi.py | 8 ++++--
6827
nova/tests/compute/test_compute.py | 53 ++++++++++++++++++++----------------
6828
nova/tests/compute/test_rpcapi.py | 9 +++---
6829
4 files changed, 52 insertions(+), 43 deletions(-)
6831
commit bc1947d2e9c21c19735a9470a498234b94b8d9c4
6832
Author: Russell Bryant <rbryant@redhat.com>
6833
Date: Thu Jul 26 17:57:45 2012 -0400
6835
Send a full instance in power_on_instance and start_instance.
6837
Change the power_on_instance and start_instance methods of the compute
6838
rpc API to take a full instance over rpc instead of just
6839
the instance UUID. This cuts down on database access needed
6842
Part of blueprint no-db-messaging.
6844
Change-Id: I5a95e72c6441f47f014dbcd52f346e8d2e94069c
6846
nova/compute/manager.py | 12 +++++++-----
6847
nova/compute/rpcapi.py | 14 ++++++++++----
6848
nova/tests/compute/test_compute.py | 6 +++---
6849
nova/tests/compute/test_rpcapi.py | 8 ++++----
6850
4 files changed, 24 insertions(+), 16 deletions(-)
6852
commit 3a03a9c46ad20b1c0f44497e9e23b9ef7be465e7
6853
Author: Russell Bryant <rbryant@redhat.com>
6854
Date: Thu Jul 26 17:37:34 2012 -0400
6856
Send a full instance in power_off_instance and stop_instance.
6858
Change the power_off_instance and stop_instance methods of the compute
6859
rpc API to take a full instance over rpc instead of just
6860
the instance UUID. This cuts down on database access needed
6863
Part of blueprint no-db-messaging.
6865
Change-Id: I641d5e7941c7de430c0ca3c9b961f967d947d963
6867
nova/compute/manager.py | 12 +++++++-----
6868
nova/compute/rpcapi.py | 14 ++++++++++----
6869
nova/tests/compute/test_compute.py | 16 ++++++++--------
6870
nova/tests/compute/test_rpcapi.py | 11 ++++++-----
6871
4 files changed, 31 insertions(+), 22 deletions(-)
6873
commit 4a1650eea23c3b8a064721a2985d481218f04500
6874
Author: Russell Bryant <rbryant@redhat.com>
6875
Date: Thu Jul 26 17:32:03 2012 -0400
6877
Make instance_uuid backwards compat actually work.
6879
In some refactoring of the decorator modifications I made for
6880
eebc64f949ccb2acb7462efc18f538f1827985af, I ended up breaking the case
6881
where an instance_uuid was passed to one of the methods that is supposed
6882
to be able to accept either an instance or instance_uuid. Oops. :-(
6884
This patch makes them work again, and adds one unit test that
6885
verifies that it works.
6887
These decorators are really ugly right now, but keep in mind that the
6888
2-version stuff is temporary. As soon as this patch series is finished
6889
(changing methods to take an instance), these decorators will get
6892
Part of blueprint no-db-messaging.
6894
Change-Id: Ic1b1269d90e147035c4eb7b4bd47de81eff3ffdc
6896
nova/compute/manager.py | 43 +++++++++++++++++-------------------
6897
nova/tests/compute/test_compute.py | 7 ++++++
6898
2 files changed, 27 insertions(+), 23 deletions(-)
6900
commit d5c3271b1159ea3dfce3c0bf56b75006784ee439
6901
Author: Russell Bryant <rbryant@redhat.com>
6902
Date: Thu Jul 26 16:45:22 2012 -0400
6904
Send a full instance via rpc for post_live_migration_at_destination.
6906
Change the post_live_migration_at_destination method of the compute
6907
rpc API to take a full instance over rpc instead of just
6908
the instance UUID. This cuts down on database access needed
6911
The method got moved in rpcapi.py, but that was just to restore
6914
Part of blueprint no-db-messaging.
6916
Change-Id: Ib36cb065f838f644e97b6e82b39409737df15558
6918
nova/compute/manager.py | 24 ++++++++++++------------
6919
nova/compute/rpcapi.py | 18 +++++++++++-------
6920
nova/tests/compute/test_compute.py | 8 ++++----
6921
nova/tests/compute/test_rpcapi.py | 13 +++++--------
6922
4 files changed, 32 insertions(+), 31 deletions(-)
6924
commit 2203249e190535aff7799a689effff77743fba61
6925
Author: Russell Bryant <rbryant@redhat.com>
6926
Date: Thu Jul 26 16:30:14 2012 -0400
6928
Send a full instance via rpc for inject_network_info.
6930
Change the inject_network_info method of the compute rpc API to take
6931
a full instance over rpc instead of just the instance UUID.
6932
This cuts down on database access needed by nova-compute.
6934
Part of blueprint no-db-messaging.
6936
Change-Id: I1bcf55e2819be321c3ea0a64fe136cd993a2443b
6938
nova/compute/manager.py | 16 +++++++++-------
6939
nova/compute/rpcapi.py | 8 ++++++--
6940
nova/tests/compute/test_compute.py | 4 ++--
6941
nova/tests/compute/test_rpcapi.py | 4 ++--
6942
4 files changed, 19 insertions(+), 13 deletions(-)
6944
commit 6fa8a0860dace7ba71f32207375d82387bbbbb68
6945
Author: Russell Bryant <rbryant@redhat.com>
6946
Date: Thu Jul 26 13:53:33 2012 -0400
6948
Send a full instance via rpc for inject_file.
6950
Change the inject_file method of the compute rpc API to take
6951
a full instance over rpc instead of just the instance UUID.
6952
This cuts down on database access needed by nova-compute.
6954
Part of blueprint no-db-messaging.
6956
Change-Id: Ife38a87cb8a597b40b2b87d9a6a8c7e81d4439c4
6958
nova/compute/manager.py | 16 +++++++++-------
6959
nova/compute/rpcapi.py | 7 +++++--
6960
nova/tests/compute/test_compute.py | 6 +++---
6961
nova/tests/compute/test_rpcapi.py | 4 +++-
6962
4 files changed, 20 insertions(+), 13 deletions(-)
6964
commit a484f066008487ed89c27ec4bee8a64b011c20f6
6965
Author: Russell Bryant <rbryant@redhat.com>
6966
Date: Thu Jul 26 13:44:12 2012 -0400
6968
Send a full instance via rpc for get_vnc_console.
6970
Change the get_vnc_console method of the compute rpc API to take
6971
a full instance over rpc instead of just the instance UUID.
6972
This cuts down on database access needed by nova-compute.
6974
Part of blueprint no-db-messaging.
6976
Change-Id: I4443e65fd6a9aafdad21fda63ef04a03428288a9
6978
nova/compute/manager.py | 12 +++++++-----
6979
nova/compute/rpcapi.py | 7 +++++--
6980
nova/tests/compute/test_compute.py | 30 ++++++++++++------------------
6981
nova/tests/compute/test_rpcapi.py | 5 +++--
6982
4 files changed, 27 insertions(+), 27 deletions(-)
6984
commit 9374157d27f5df34cdc5e78bc384f97382243013
6985
Author: Russell Bryant <rbryant@redhat.com>
6986
Date: Thu Jul 26 13:27:15 2012 -0400
6988
Remove get_instance_disk_info from compute rpcapi.
6990
This method is no longer used in any current code, so remove it from the
6991
client side code for the rpcapi. The server-side code remains (the
6992
compute manager) for backwards compatibility with older versions.
6994
This method was previously used by the scheduler, but was removed by
6995
some refactoring done in cac332c39645286a11c009094a86f62d02752183.
6997
Change-Id: Icb11001ac0880ca8df67b4dd9f0fe1eaca7fa3bb
6999
nova/compute/manager.py | 3 +++
7000
nova/compute/rpcapi.py | 5 -----
7001
nova/tests/compute/test_rpcapi.py | 6 ------
7002
3 files changed, 3 insertions(+), 11 deletions(-)
7004
commit 6106973d2fdf57be67d6de4bd5924321ed7e5772
7005
Author: Russell Bryant <rbryant@redhat.com>
7006
Date: Thu Jul 26 13:23:23 2012 -0400
7008
Send a full instance via rpc for get_diagnostics.
7010
Change the get_diagnostics method of the compute rpc API to take
7011
a full instance over rpc instead of just the instance UUID.
7012
This cuts down on database access needed by nova-compute.
7014
Part of blueprint no-db-messaging.
7016
Change-Id: Ic4db237849230899ad5f2f0780d4c237895a6631
7018
nova/compute/manager.py | 13 +++++++------
7019
nova/compute/rpcapi.py | 7 +++++--
7020
nova/tests/compute/test_rpcapi.py | 4 ++--
7021
3 files changed, 14 insertions(+), 10 deletions(-)
7023
commit eba4be81a17ada6da228659db7bad2c346e02db8
7024
Author: Russell Bryant <rbryant@redhat.com>
7025
Date: Thu Jul 26 12:56:46 2012 -0400
7027
Send a full instance via rpc for finish_revert_resize.
7029
Change the finish_revert_resize method of the compute rpc API to take
7030
a full instance over rpc instead of just the instance UUID.
7031
This cuts down on database access needed by nova-compute.
7033
Part of blueprint no-db-messaging.
7035
Change-Id: Ibe2f8b990cc8f2a3d05e8ba8216a1e74cbcfb67b
7037
nova/compute/manager.py | 20 +++++++++++---------
7038
nova/compute/rpcapi.py | 8 ++++++--
7039
nova/tests/compute/test_compute.py | 5 +++--
7040
nova/tests/compute/test_rpcapi.py | 6 ++++--
7041
4 files changed, 24 insertions(+), 15 deletions(-)
7043
commit 151017385a03b6652f28965001c893fd4d57b6fb
7044
Merge: 53046eb 8644584
7045
Author: Jenkins <jenkins@review.openstack.org>
7046
Date: Thu Jul 26 22:14:12 2012 +0000
7048
Merge "Enhance nova-manage to set flavor extra specs"
7050
commit 53046eb4e01d6676469fbeaeba2876e7b3df6c7c
7051
Merge: 66f9e08 cce8270
7052
Author: Jenkins <jenkins@review.openstack.org>
7053
Date: Thu Jul 26 21:59:21 2012 +0000
7055
Merge "Send a full instance via rpc for finish_resize."
7057
commit 66f9e085aae73ecfbf9ac3a1447917fa99d8a606
7058
Merge: c8ee0c3 fc82c6d
7059
Author: Jenkins <jenkins@review.openstack.org>
7060
Date: Thu Jul 26 21:50:36 2012 +0000
7062
Merge "Convert fixed_ips to using instance_uuid."
7064
commit c8ee0c36e5e25c95403e2a49e989c2fcf447f7ff
7065
Merge: 01d1e49 5974c44
7066
Author: Jenkins <jenkins@review.openstack.org>
7067
Date: Thu Jul 26 21:50:33 2012 +0000
7069
Merge "Ensure instance is moved to ERROR on suspend failure"
7071
commit 01d1e4937e175bb08de853719e0ffb9f9c56aa61
7072
Merge: 0322520 ac180dc
7073
Author: Jenkins <jenkins@review.openstack.org>
7074
Date: Thu Jul 26 21:39:34 2012 +0000
7076
Merge "Remove return values from some compute RPC methods"
7078
commit 0322520ae48f764ee63006319c57958b4d996356
7079
Merge: 8878ac1 4810269
7080
Author: Jenkins <jenkins@review.openstack.org>
7081
Date: Thu Jul 26 21:14:14 2012 +0000
7083
Merge "Fix exception handling in libvirt attach_volume()"
7085
commit 8878ac1dce3862a75e25fb1d10aa57c32f5fcadd
7086
Merge: ef4f5b2 eb1e9ae
7087
Author: Jenkins <jenkins@review.openstack.org>
7088
Date: Thu Jul 26 21:04:53 2012 +0000
7090
Merge "Trim volume type representation."
7092
commit 5974c441bd538897bd4547e6a05ee27216461d97
7093
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
7094
Date: Thu Jul 26 19:53:51 2012 +0000
7096
Ensure instance is moved to ERROR on suspend failure
7100
Change-Id: I8b137cafe56be5f2f9ffca08c0edc1d1468bc3b1
7102
nova/compute/manager.py | 3 ++-
7103
nova/tests/compute/test_compute.py | 17 +++++++++++++++++
7104
2 files changed, 19 insertions(+), 1 deletion(-)
7106
commit ef4f5b21d7917eacd1d07b7a61f51f0d3d7654bf
7107
Merge: 275843d 6c08499
7108
Author: Jenkins <jenkins@review.openstack.org>
7109
Date: Thu Jul 26 20:12:18 2012 +0000
7111
Merge "Avoid using 'is' operator when comparing strings"
7113
commit 275843d5d549989c12599d870274b6359816bbd4
7114
Merge: c0eef1c 177ad3f
7115
Author: Jenkins <jenkins@review.openstack.org>
7116
Date: Thu Jul 26 19:52:07 2012 +0000
7118
Merge "Fix resizing VDIs on XenServer >= 6"
7120
commit 6c084991bfdafda7d75d0a49d4359b42b9c6451f
7121
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
7122
Date: Thu Jul 26 19:35:12 2012 +0000
7124
Avoid using 'is' operator when comparing strings
7126
The 'is' operator compares identity, not value. Python doesn't guarantee
7127
that two strings that are the same will also be the same object.
7129
Change-Id: I2d7e7947b14272fa2a82d5e8eefa95dcaba375f7
7131
nova/api/openstack/__init__.py | 2 +-
7132
nova/tests/test_SolidFireSanISCSIDriver.py | 12 ++++++------
7133
2 files changed, 7 insertions(+), 7 deletions(-)
7135
commit c0eef1ccc796ecdb6ef036daafaafe1214d05c88
7136
Merge: fd5d348 27826a8
7137
Author: Jenkins <jenkins@review.openstack.org>
7138
Date: Thu Jul 26 19:21:21 2012 +0000
7140
Merge "Allow power_off when instance doesn't exist"
7142
commit fd5d3489f93effee45b3e629b8fb1908ca2d8709
7143
Merge: 39a4014 0c59003
7144
Author: Jenkins <jenkins@review.openstack.org>
7145
Date: Thu Jul 26 19:20:24 2012 +0000
7147
Merge "Refactor glance image service code"
7149
commit 43bb473d004149f4d0fd6f0c7ad1a0712be3ab94
7150
Author: Joe Gordon <jogo@cloudscaling.com>
7151
Date: Tue Jul 24 17:25:31 2012 -0700
7153
Revert "Add additional capabilities for computes"
7155
This reverts commit bd30eb36bbf2c5164ac47256355c543f6b77e064.
7157
From the original commit message:
7158
" This is an interim solution to provide this functionality until
7159
it is replaced by more general HostAggregate functionality later
7162
Now that general host aggregates is in, this is ready to be removed.
7164
Partially implements blueprint general-host-aggregates
7166
Change-Id: Ic5f418a5d15117888198c79c3a32cec8f19d1a88
7168
nova/compute/manager.py | 26 +-------------------------
7169
nova/tests/compute/test_compute.py | 31 -------------------------------
7170
2 files changed, 1 insertion(+), 56 deletions(-)
7172
commit 27826a84cc603772dd4fb9fc7360b27e0f52b322
7173
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
7174
Date: Thu Jul 26 13:49:09 2012 -0500
7176
Allow power_off when instance doesn't exist
7178
Certain errors that can occur while booting an instance may leave no
7179
VM on the Xen hypervisor. This can make that instance undeletable,
7180
since the first step in soft_delete() is to power_off the instance,
7181
and nothing catches the NotFound error thrown if the instance doesn't
7182
exist. The libvirt support handles the case of a non-existant
7183
instance by ignoring NotFound--after all, a non-existant instance is,
7184
by definition, powered off, right?
7188
Change-Id: I5bffe3b61fe92fc32fb70cab941fa5ecd250df77
7190
nova/virt/xenapi/vmops.py | 8 ++++++--
7191
1 file changed, 6 insertions(+), 2 deletions(-)
7193
commit 177ad3f61268c58bbbd211d6255381fc8b85c58d
7194
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
7195
Date: Thu Jul 26 18:46:30 2012 +0000
7197
Fix resizing VDIs on XenServer >= 6
7199
The check used 'is' when it should have been '=='.
7201
Also, a couple of small cleanups to make the code easier to read.
7203
Change-Id: If98892703bc557732093230b023085c4744b8455
7205
nova/virt/xenapi/vmops.py | 21 +++++++++++----------
7206
1 file changed, 11 insertions(+), 10 deletions(-)
7208
commit 39a40142254d4dbad8dfe1509d92e7e9fdbb44fb
7209
Merge: 7bcd57c f6f293e
7210
Author: Jenkins <jenkins@review.openstack.org>
7211
Date: Thu Jul 26 18:43:55 2012 +0000
7213
Merge "Don't import libvirt_utils in disk api."
7215
commit 7bcd57c88e49efc762372484cde38d2c6d724b9f
7216
Merge: 7b8cb82 1dab663
7217
Author: Jenkins <jenkins@review.openstack.org>
7218
Date: Thu Jul 26 18:36:36 2012 +0000
7220
Merge "Reinstate instance locked error logging"
7222
commit 7b8cb82e09cc53a7dc9053e6eb1d37a31ddb2cda
7223
Merge: ee4e63d b55d533
7224
Author: Jenkins <jenkins@review.openstack.org>
7225
Date: Thu Jul 26 18:36:33 2012 +0000
7227
Merge "Call correct implementation for quota_destroy_all_by_project"
7229
commit 0c59003b1cc2ce17e3215e6c69b0dc2407f1b38b
7230
Author: Chris Behrens <cbehrens@codestud.com>
7231
Date: Thu Jul 26 08:59:24 2012 +0000
7233
Refactor glance image service code
7237
This adds better retry support, making sure that if we need to retry
7238
requests to glance, we cycle through all hosts before potentially
7239
attemping the hosts that failed. The old random selection could cause
7240
immediate retrying of the same host that failed.
7242
This also adds logging of the host:port that failed and fixes a bug in
7243
the retry test, which didn't actually successfully test retrying.
7245
Tests for new code added.
7247
Change-Id: I400616081e1e547b9ca2e0be622889d3a399a5bf
7249
nova/exception.py | 3 +-
7250
nova/image/glance.py | 182 +++++++++++++++++-----------------
7251
nova/tests/api/openstack/fakes.py | 6 +-
7252
nova/tests/image/test_glance.py | 196 ++++++++++++++++++++++++++++++++++---
7253
nova/tests/test_xenapi.py | 6 --
7254
nova/virt/xenapi/vm_utils.py | 7 +-
7255
6 files changed, 287 insertions(+), 113 deletions(-)
7257
commit f6f293ea44c73c59e651817a9315778ab5aa0e5e
7258
Author: Dan Prince <dprince@redhat.com>
7259
Date: Thu Jul 26 11:23:13 2012 -0400
7261
Don't import libvirt_utils in disk api.
7263
Updates the virt/disk/api so that we no longer import libvirt_utils.
7265
This fixes issues when using Nova compute with compute drivers other
7266
than libvirt. (xenapi, etc.)
7268
Fixes LP Bug #1029501.
7270
Change-Id: I46ece309480ce0a0941a96371a51d77712c41eb6
7272
nova/tests/fake_libvirt_utils.py | 4 ----
7273
nova/tests/test_imagebackend.py | 8 ++++----
7274
nova/tests/test_libvirt.py | 21 +++++++++++++--------
7275
nova/virt/disk/api.py | 18 +++++++++++++++---
7276
nova/virt/libvirt/driver.py | 2 +-
7277
nova/virt/libvirt/imagebackend.py | 2 +-
7278
6 files changed, 34 insertions(+), 21 deletions(-)
7280
commit ee4e63dbf45a46fc35f1a6681b49ee2aba9b396b
7281
Merge: 3fc62d3 c3ff5c5
7282
Author: Jenkins <jenkins@review.openstack.org>
7283
Date: Thu Jul 26 17:43:33 2012 +0000
7285
Merge "update compute_fill_first_cost_fn docstring"
7287
commit 3fc62d308afeea7c1bb5d0edc3e86244b7efe2bf
7288
Merge: cf1cd28 8f16644
7289
Author: Jenkins <jenkins@review.openstack.org>
7290
Date: Thu Jul 26 17:23:16 2012 +0000
7292
Merge "libvirt driver: set driver name consistently"
7294
commit b55d533393ec9cbf15d4161e4aef1c64f1ba8c58
7295
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
7296
Date: Thu Jul 26 16:34:36 2012 +0000
7298
Call correct implementation for quota_destroy_all_by_project
7302
Change-Id: I38779cbc84c5eacd796ce1ae5559d1ebffd1037e
7304
nova/db/api.py | 2 +-
7305
1 file changed, 1 insertion(+), 1 deletion(-)
7307
commit ac180dc10aa0ee7eb5e288f4d51cfe46bff33b2d
7308
Author: Mark McLoughlin <markmc@redhat.com>
7309
Date: Thu Jul 26 14:16:24 2012 +0100
7311
Remove return values from some compute RPC methods
7313
The checks_instance_lock decorator currently discards any return value
7314
from the functions it wraps. Luckily, none of the callers of these
7315
functions check for a return value.
7317
Since the return values are unused, just remove them. Fixing the
7318
decorator to return them would effectively be a change to the RPC
7321
And since we know the return value is unused, we also know that nothing
7322
checks for the False return from checks_instance_lock() and that too
7325
Change-Id: I8b49107dba51caf52665341e4977de179b6404f6
7327
nova/compute/manager.py | 19 +++++++++----------
7328
nova/tests/compute/test_compute.py | 19 +++++++++++++------
7329
2 files changed, 22 insertions(+), 16 deletions(-)
7331
commit 1dab66327368dab8271ee68db0c0bbb97c8d0555
7332
Author: Mark McLoughlin <markmc@redhat.com>
7333
Date: Thu Jul 26 13:58:06 2012 +0100
7335
Reinstate instance locked error logging
7337
Commit eebc64f removed some error logging, presumably by mistake.
7339
If checks_instance_state fails, and the action blocked, users aren't
7340
notified but the error is logged for admins. Changing this behavior
7341
clearly wasn't the intent of the no-db-messaging commit.
7343
Change-Id: I14581171c201770b03cecc77d4a2933c9687ef11
7345
nova/compute/manager.py | 2 ++
7346
1 file changed, 2 insertions(+)
7348
commit cce8270d30a4d8e4a9e6c021056d10e65dc0831c
7349
Author: Russell Bryant <rbryant@redhat.com>
7350
Date: Wed Jul 25 17:33:13 2012 -0400
7352
Send a full instance via rpc for finish_resize.
7354
Change the finish_resize method of the compute rpc API to take
7355
a full instance over rpc instead of just the instance UUID.
7356
This cuts down on database access needed by nova-compute.
7358
Part of blueprint no-db-messaging.
7360
Change-Id: I2b0c7cbd2ba9b6243c2c50e69e894d192e230491
7362
nova/compute/manager.py | 47 ++++++++++++++++++------------------
7363
nova/compute/rpcapi.py | 7 ++++--
7364
nova/tests/compute/test_compute.py | 25 ++++++++++---------
7365
nova/tests/compute/test_rpcapi.py | 5 ++--
7366
4 files changed, 46 insertions(+), 38 deletions(-)
7368
commit cf1cd2863afbc418dcd0056a575ec47807de7df6
7369
Merge: 2578945 e6f2e88
7370
Author: Jenkins <jenkins@review.openstack.org>
7371
Date: Thu Jul 26 14:33:47 2012 +0000
7373
Merge "Replace subprocess.check_output with Popen"
7375
commit 2578945be71f2e1b757e184b00eaf76220555889
7376
Merge: 71062fe 5d8e73f
7377
Author: Jenkins <jenkins@review.openstack.org>
7378
Date: Thu Jul 26 14:28:19 2012 +0000
7380
Merge "refactor all uses of the `qemu-img info` command"
7382
commit 4810269ef648348bbc7ef9113d4e7faf47b15c55
7383
Author: Dan Smith <danms@us.ibm.com>
7384
Date: Wed Jul 25 10:33:16 2012 -0700
7386
Fix exception handling in libvirt attach_volume()
7388
Currently, the real reason for a failure is dropped when attempting
7389
to unroll the volume connection (with the exception of when it is
7390
VIR_ERR_OPERATION_FAILED). This change uses save_and_reraise_exception()
7391
to correct that so that the actual reason for failure gets logged.
7395
Change-Id: Id47db565c4fb5a88d1a263600b41706dd3419726
7397
nova/virt/libvirt/driver.py | 13 ++++++++-----
7398
1 file changed, 8 insertions(+), 5 deletions(-)
7400
commit 71062fe8e061c3f8157b67762c4d190d13351447
7401
Merge: ae36736 ad59c92
7402
Author: Jenkins <jenkins@review.openstack.org>
7403
Date: Thu Jul 26 13:53:58 2012 +0000
7405
Merge changes Ibc5e4f16,I58313564
7408
Send a full instance via rpc for detach_volume.
7409
Send a full instance via rpc for confirm_resize.
7411
commit ae3673614a8e4c1c047a130fd0fd74da15003766
7412
Merge: fda8a73 2fed955
7413
Author: Jenkins <jenkins@review.openstack.org>
7414
Date: Thu Jul 26 13:50:56 2012 +0000
7416
Merge changes I0ae2cd3f,Ifc655fb8
7419
Remove unused methods from compute rpcapi.
7420
Send a full instance via rpc for check_can_live_migrate_source.
7422
commit fc82c6dbbd0fa1cdc130cefea534967e273d5570
7423
Author: Michael Still <mikal@stillhq.com>
7424
Date: Wed Jul 4 14:42:08 2012 +1000
7426
Convert fixed_ips to using instance_uuid.
7428
This should be the second last blueprint finish-uuid-conversion change.
7430
Change-Id: Idd47c5ed3c30af24d60eb23b8e3881d61b4c7976
7432
bin/nova-manage | 17 ++-
7433
nova/api/metadata/base.py | 2 +-
7434
nova/api/openstack/compute/contrib/floating_ips.py | 8 +-
7435
nova/db/api.py | 17 +--
7436
nova/db/sqlalchemy/api.py | 60 +++++++----
7437
.../migrate_repo/versions/106_add_foreign_keys.py | 2 +-
7438
.../versions/113_fixed_ips_uses_uuid.py | 108 ++++++++++++++++++++
7439
.../migrate_repo/versions/113_sqlite_downgrade.sql | 85 +++++++++++++++
7440
.../migrate_repo/versions/113_sqlite_upgrade.sql | 85 +++++++++++++++
7441
nova/db/sqlalchemy/models.py | 2 +-
7442
nova/exception.py | 9 +-
7443
nova/network/manager.py | 93 +++++++++++------
7444
nova/network/quantum/manager.py | 2 +-
7445
nova/network/quantum/nova_ipam_lib.py | 3 +-
7446
.../openstack/compute/contrib/test_floating_ips.py | 4 +-
7447
nova/tests/compute/test_compute.py | 2 +-
7448
nova/tests/network/test_manager.py | 82 +++++++--------
7449
nova/tests/network/test_quantum.py | 6 +-
7450
nova/tests/test_db_api.py | 26 ++---
7451
19 files changed, 467 insertions(+), 146 deletions(-)
7453
commit eb1e9ae114eccae373157c5391d06c97eec1e0a2
7454
Author: Eoghan Glynn <eglynn@redhat.com>
7455
Date: Thu Jul 26 11:02:05 2012 +0100
7457
Trim volume type representation.
7459
Fixes nova-volume aspect of LP 1027281.
7461
Use view builder pattern to only include non-extraneous
7462
volume type attributes in the representation.
7464
Change-Id: I33f1b579fd6ed4ed98fa04e9148e91eca125213e
7466
nova/api/openstack/volume/contrib/types_manage.py | 5 ++-
7467
nova/api/openstack/volume/types.py | 10 +++--
7468
nova/api/openstack/volume/views/types.py | 34 +++++++++++++++
7469
nova/tests/api/openstack/volume/test_types.py | 48 +++++++++++++++++++++
7470
4 files changed, 93 insertions(+), 4 deletions(-)
7472
commit fda8a73cb6463916240104f4c95ef0495b7f7041
7473
Author: Eoghan Glynn <eglynn@redhat.com>
7474
Date: Thu Jul 26 11:26:24 2012 +0100
7476
Fix a couple of PEP8 nits.
7478
Address a couple of recently introduced PEP8 violations in
7479
console output API extension.
7481
Change-Id: Ia80fa5103e342c8e51772b0edc2a115abeaddf36
7483
.../openstack/compute/contrib/console_output.py | 5 +++--
7484
1 file changed, 3 insertions(+), 2 deletions(-)
7486
commit e6f2e886a4246098eefae9d9a564b321b28280c2
7487
Author: Chris Behrens <cbehrens@codestud.com>
7488
Date: Thu Jul 26 09:15:09 2012 +0000
7490
Replace subprocess.check_output with Popen
7492
The check_output method does not exist in python 2.6
7496
Change-Id: I1ee24fa2029f21706924cc19dfcbc41655b022e6
7498
tools/hacking.py | 8 +++++++-
7499
1 file changed, 7 insertions(+), 1 deletion(-)
7501
commit 158d821204d2f79cc06c1443562b3ce9bbe7cb9f
7502
Author: Christoph Thiel <cthiel@suse.com>
7503
Date: Thu Jul 26 00:07:24 2012 +0200
7505
libvirt driver: set os_type to support xen hvm/pv
7507
Generate libvirt config for xen hvm and pv guests based on instance
7508
vm_mode. The vm_mode can be set via the vm_mode image property.
7510
Use hvmloader for vm_mode.HVM guests. libvirt_type xen still defaults to
7511
vm_mode.XEN (pv), to not change any behavior.
7513
Change-Id: I5f92bedf6588ab2674d784772a5ecdb895fabe40
7515
nova/tests/test_libvirt.py | 33 ++++++++++++++++++++++++----
7516
nova/tests/test_libvirt_config.py | 43 ++++++++++++++++++++++++++++++++++++-
7517
nova/virt/libvirt/config.py | 3 +++
7518
nova/virt/libvirt/driver.py | 18 ++++++++++++++--
7519
4 files changed, 90 insertions(+), 7 deletions(-)
7521
commit e238e07692c747ddcb0c70452578a812836cea67
7522
Merge: 475e538 dd54a15
7523
Author: Jenkins <jenkins@review.openstack.org>
7524
Date: Thu Jul 26 04:52:21 2012 +0000
7526
Merge "Xen: Validate VHD footer timestamps."
7528
commit 475e5384a8ef8b32400337790a729a34081864a0
7529
Merge: 1ba5044 196a489
7530
Author: Jenkins <jenkins@review.openstack.org>
7531
Date: Thu Jul 26 04:51:55 2012 +0000
7533
Merge "Xen: Add race-condition troubleshooting script."
7535
commit 1b18c82ca29e3e510ab521ae58bfcbe6b68bbffe
7536
Author: Jim Fehlig <jfehlig@suse.com>
7537
Date: Wed Jul 25 14:15:12 2012 -0600
7539
Include architecture in instance base options passed to the scheduler
7541
Commit 31336b35 removed architecture from the instance base_options
7542
passed to _schedule_run_instance(). The architecture specified in
7543
the image is needed by a subsequent patch to the ComputeFilter which
7544
filters compute hosts against the triple (architecture, hypervisor_type,
7547
Change-Id: I840356979e51de3a6d941fe4ae9610e488383a44
7549
nova/compute/api.py | 1 +
7550
1 file changed, 1 insertion(+)
7552
commit 1ba504464d8202ab6d93c5a081e03a8a1e63ba95
7553
Merge: 8207cd8 543aba7
7554
Author: Jenkins <jenkins@review.openstack.org>
7555
Date: Thu Jul 26 04:17:14 2012 +0000
7557
Merge "Don't log debug auth token when using cinder."
7559
commit 8207cd84440a426cd4035c068aeb7de71eb4c70a
7560
Merge: 2999e11 32bb352
7561
Author: Jenkins <jenkins@review.openstack.org>
7562
Date: Thu Jul 26 04:13:33 2012 +0000
7564
Merge "Shrink Simple Scheduler"
7566
commit 2999e1143dafe175a494ee648d44b3c5dd147959
7567
Merge: e29a735 a6f0678
7568
Author: Jenkins <jenkins@review.openstack.org>
7569
Date: Thu Jul 26 04:04:28 2012 +0000
7571
Merge "Send a full instance via rpc for check_can_live_migrate_destination."
7573
commit e29a7350ab194c91d93190088d252ab07ffbaa7d
7574
Merge: 535ec63 77ce3e7
7575
Author: Jenkins <jenkins@review.openstack.org>
7576
Date: Thu Jul 26 03:40:10 2012 +0000
7578
Merge "Fix typo of localhost's IP."
7580
commit 535ec63542ef021ec1b2f2c4d9620489669856da
7581
Merge: 965a5a0 50c74cc
7582
Author: Jenkins <jenkins@review.openstack.org>
7583
Date: Thu Jul 26 03:19:41 2012 +0000
7585
Merge "tests: remove misleading docstrings on libvirt tests"
7587
commit 965a5a0e059e8a6879cf7a6b167ad112bea159b9
7588
Merge: d19c6db 8dac75f
7589
Author: Jenkins <jenkins@review.openstack.org>
7590
Date: Thu Jul 26 03:10:26 2012 +0000
7592
Merge changes I85ad29e8,I21d91e6c,I114081fc,If881fb41,Ia7e31428,I15ceb762,Id2c455f6,I45914ed5
7595
Send a full instance via rpc for attach_volume.
7596
Send a full instance via rpc for add_fixed_ip_to_instance.
7597
Send a full instance via rpc for get_console_output.
7598
Send a full instance via rpc for suspend_instance.
7599
Send a full instance via rpc for (un)pause_instance.
7600
Don't use rpc to lock/unlock an instance.
7601
Convert reboot_instance to take a full instance.
7602
Include name in a primitive Instance.
7604
commit d19c6db90a625333874eb534b49e9894e57453a8
7605
Merge: 868bbaf 2aaa3d2
7606
Author: Jenkins <jenkins@review.openstack.org>
7607
Date: Thu Jul 26 02:59:23 2012 +0000
7609
Merge "Remove unused scheduler functions"
7611
commit 868bbaf52e82cb4810836b49fab2749845ce486b
7612
Merge: f0f9a3e c37633e
7613
Author: Jenkins <jenkins@review.openstack.org>
7614
Date: Thu Jul 26 01:51:03 2012 +0000
7616
Merge "Fix docstring for SecurityGroupHandlerBase"
7618
commit 77ce3e7886961db395fb64e7e87dcdbb36804ab8
7619
Author: Michael Still <mikal@stillhq.com>
7620
Date: Thu Jul 26 11:31:01 2012 +1000
7622
Fix typo of localhost's IP.
7624
Fix for bug 1029206.
7626
Change-Id: I61550f22a063ada0dfc654f8f653dcf52637f191
7628
nova/volume/san.py | 2 +-
7629
1 file changed, 1 insertion(+), 1 deletion(-)
7631
commit f0f9a3e4e731e49e220b1bd515f9174c791e5a28
7632
Merge: a155e8b eebc64f
7633
Author: Jenkins <jenkins@review.openstack.org>
7634
Date: Thu Jul 26 01:11:55 2012 +0000
7636
Merge "Update decorators in compute manager."
7638
commit a155e8bf0d744809e4c551b76c0195244207481f
7639
Merge: 9072290 f9ee106
7640
Author: Jenkins <jenkins@review.openstack.org>
7641
Date: Thu Jul 26 01:05:23 2012 +0000
7643
Merge "Add support for snapshots and volume types to netapp driver."
7645
commit 8644584eb6daf4d2870cee9bba5b849bc37e36d0
7646
Author: Yunhong, Jiang <yunhong.jiang@intel.com>
7647
Date: Wed Jul 18 14:32:36 2012 +0800
7649
Enhance nova-manage to set flavor extra specs
7651
blueprint update-flavor-key-value
7653
Enhance nova-manage so that it can add, delete and list key/value pairs for
7654
flavors extra specs.
7656
Change-Id: I0665bec6aecd7f7a1d8e845fd930f4bd5a841522
7657
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
7659
bin/nova-manage | 49 +++++++++++++++++++++++-
7660
nova/tests/test_nova_manage.py | 80 ++++++++++++++++++++++++++++++++++++++++
7661
2 files changed, 127 insertions(+), 2 deletions(-)
7663
commit ad59c9236dd61890a0d182f55bf8c84a776b6dc1
7664
Author: Russell Bryant <rbryant@redhat.com>
7665
Date: Wed Jul 25 17:10:57 2012 -0400
7667
Send a full instance via rpc for detach_volume.
7669
Change the detach_volume method of the compute rpc API to take
7670
a full instance over rpc instead of just the instance UUID.
7671
This cuts down on database access needed by nova-compute.
7673
Part of blueprint no-db-messaging.
7675
Change-Id: Ibc5e4f16c393bf97fcc4fe9b76e6b435eb99de87
7677
nova/compute/manager.py | 14 +++++++++-----
7678
nova/compute/rpcapi.py | 7 +++++--
7679
nova/tests/compute/test_rpcapi.py | 4 ++--
7680
3 files changed, 16 insertions(+), 9 deletions(-)
7682
commit 2fed9559934fb44eed394f12aba8c8ff0dcdb60c
7683
Author: Russell Bryant <rbryant@redhat.com>
7684
Date: Wed Jul 25 16:16:06 2012 -0400
7686
Remove unused methods from compute rpcapi.
7688
Remove some deprecated methods from the compute rpcapi. These methods
7689
remain in the compute manager code, but there is no need to have them
7690
here in the client side code since they aren't used and we don't want
7691
any new code trying to use them.
7693
Change-Id: I0ae2cd3f25339d91fbd27f8a157b3f95e2acbc6f
7695
nova/compute/rpcapi.py | 12 ------------
7696
1 file changed, 12 deletions(-)
7698
commit bfc335f0f43b868f75fcd9d1e148bb6fca397b83
7699
Author: Russell Bryant <rbryant@redhat.com>
7700
Date: Wed Jul 25 16:48:55 2012 -0400
7702
Send a full instance via rpc for confirm_resize.
7704
Change the confirm_resize method of the compute rpc API to take
7705
a full instance over rpc instead of just the instance UUID.
7706
This cuts down on database access needed by nova-compute.
7708
Part of blueprint no-db-messaging.
7710
Change-Id: I58313564b240c6b55de1849efc2d5d9031a1c97c
7712
nova/compute/manager.py | 20 +++++++++++---------
7713
nova/compute/rpcapi.py | 7 +++++--
7714
nova/tests/compute/test_rpcapi.py | 9 ++++++---
7715
3 files changed, 22 insertions(+), 14 deletions(-)
7717
commit 7c489cbdf45cdc9c4fb6d1ecfed52fe8702ed52f
7718
Author: Russell Bryant <rbryant@redhat.com>
7719
Date: Wed Jul 25 15:59:47 2012 -0400
7721
Send a full instance via rpc for check_can_live_migrate_source.
7723
Change the check_can_live_migrate_source method of the compute
7724
rpc API to take a full instance over rpc instead of just the instance
7725
UUID. This cuts down on database access needed by nova-compute.
7727
Part of blueprint no-db-messaging.
7729
Change-Id: Ifc655fb86c94adc9a64e878a89a77342313cace2
7731
nova/compute/manager.py | 15 +++++++++------
7732
nova/compute/rpcapi.py | 7 +++++--
7733
nova/tests/compute/test_compute.py | 8 ++++----
7734
nova/tests/compute/test_rpcapi.py | 5 +++--
7735
4 files changed, 21 insertions(+), 14 deletions(-)
7737
commit a6f06782157a5cd3384ae63d723f98e01c0792a1
7738
Author: Russell Bryant <rbryant@redhat.com>
7739
Date: Wed Jul 25 15:10:44 2012 -0400
7741
Send a full instance via rpc for check_can_live_migrate_destination.
7743
Change the check_can_live_migrate_destination method of the compute
7744
rpc API to take a full instance over rpc instead of just the instance
7745
UUID. This cuts down on database access needed by nova-compute.
7747
Part of blueprint no-db-messaging.
7749
Change-Id: I98a403fc4af7c3660c5144e532a318151c6c3b54
7751
nova/compute/manager.py | 19 +++++++++++--------
7752
nova/compute/rpcapi.py | 7 +++++--
7753
nova/tests/compute/test_compute.py | 26 +++++++++++++-------------
7754
nova/tests/compute/test_rpcapi.py | 8 +++++---
7755
nova/tests/scheduler/test_scheduler.py | 6 +++---
7756
5 files changed, 37 insertions(+), 29 deletions(-)
7758
commit 2aaa3d2860eed7574c5df64a8ceeb8a6adf23460
7759
Author: Joe Gordon <jogo@cloudscaling.com>
7760
Date: Wed Jul 25 16:33:17 2012 -0700
7762
Remove unused scheduler functions
7764
* get_service_capabilities
7766
* host_service_caps_stale
7767
* delete_expired_host_services
7769
The functions were introduced in d328ddcadb24d1b1961bd05a7676bc8f54b6776f
7770
but are currently unused outside of nova.tests
7772
Change-Id: I15388db5eb684a9f5cfe74f4c2a32b6c87f57894
7774
nova/scheduler/driver.py | 9 ---
7775
nova/scheduler/host_manager.py | 65 ----------------
7776
nova/scheduler/manager.py | 8 --
7777
nova/scheduler/rpcapi.py | 3 -
7778
nova/tests/scheduler/fakes.py | 8 --
7779
nova/tests/scheduler/test_host_manager.py | 114 -----------------------------
7780
nova/tests/scheduler/test_rpcapi.py | 3 -
7781
nova/tests/scheduler/test_scheduler.py | 44 -----------
7782
8 files changed, 254 deletions(-)
7784
commit 8dac75fa0b6bb16adfdca2198703031249722f3d
7785
Author: Russell Bryant <rbryant@redhat.com>
7786
Date: Wed Jul 25 14:19:40 2012 -0400
7788
Send a full instance via rpc for attach_volume.
7790
Change the attach_volume method of the compute rpc API to take a
7791
full instance over rpc instead of just the instance UUID. This cuts
7792
down on database access needed by nova-compute.
7794
Part of blueprint no-db-messaging.
7796
Change-Id: I85ad29e84b5e97a3f918059b10e2309312756050
7798
nova/compute/manager.py | 22 ++++++++++++----------
7799
nova/compute/rpcapi.py | 7 +++++--
7800
nova/tests/compute/test_rpcapi.py | 8 +++++---
7801
3 files changed, 22 insertions(+), 15 deletions(-)
7803
commit 5547d08b28a7edc3e162174670cca892ae15e290
7804
Author: Russell Bryant <rbryant@redhat.com>
7805
Date: Wed Jul 25 14:02:35 2012 -0400
7807
Send a full instance via rpc for add_fixed_ip_to_instance.
7809
Change the add_fixed_ip_to_instance method of the compute rpc API to take a
7810
full instance over rpc instead of just the instance UUID. This cuts
7811
down on database access needed by nova-compute.
7813
Part of blueprint no-db-messaging.
7815
Change-Id: I21d91e6c95dca47390b306517eeb4155defc4e65
7817
nova/compute/manager.py | 20 +++++++++++---------
7818
nova/compute/rpcapi.py | 8 ++++++--
7819
nova/tests/compute/test_compute.py | 5 +++--
7820
nova/tests/compute/test_rpcapi.py | 6 +++---
7821
4 files changed, 23 insertions(+), 16 deletions(-)
7823
commit a43909352f2ef8c4a3fc540f8952ab2defa09ad6
7824
Author: Russell Bryant <rbryant@redhat.com>
7825
Date: Fri Jul 20 16:03:18 2012 -0400
7827
Send a full instance via rpc for get_console_output.
7829
Change the get_console_output method of the compute rpc API to take a
7830
full instance over rpc instead of just the instance UUID. This cuts
7831
down on database access needed by nova-compute.
7833
Part of blueprint no-db-messaging.
7835
Change-Id: I114081fceddc2c7226aab9bd560f3664000a43af
7837
nova/compute/manager.py | 12 +++++++-----
7838
nova/compute/rpcapi.py | 8 ++++++--
7839
nova/tests/compute/test_compute.py | 9 ++++-----
7840
nova/tests/compute/test_rpcapi.py | 6 +++---
7841
4 files changed, 20 insertions(+), 15 deletions(-)
7843
commit 1d0362929d2bbb39a5665b0d0ce9972ca66c643b
7844
Author: Russell Bryant <rbryant@redhat.com>
7845
Date: Fri Jul 20 15:58:49 2012 -0400
7847
Send a full instance via rpc for suspend_instance.
7849
Change the suspend_instance method of the compute rpc API to take a full
7850
instance over rpc instead of just the instance UUID. This cuts down on
7851
database access needed by nova-compute.
7853
Part of blueprint no-db-messaging.
7855
Change-Id: If881fb419a52a2486b2e7b85b4d58a17f72c48a6
7857
nova/compute/manager.py | 17 +++++++++--------
7858
nova/compute/rpcapi.py | 7 +++++--
7859
nova/tests/compute/test_compute.py | 3 ++-
7860
nova/tests/compute/test_rpcapi.py | 5 +++--
7861
4 files changed, 19 insertions(+), 13 deletions(-)
7863
commit 94018d1f753d62ba75f3262f2c2fcdb1ee7f731b
7864
Author: Russell Bryant <rbryant@redhat.com>
7865
Date: Fri Jul 20 14:08:10 2012 -0400
7867
Send a full instance via rpc for (un)pause_instance.
7869
Change the pause_instance and unpause_instance methods of the compute
7870
rpc API to take a full instance over rpc instead of just the instance
7871
UUID. This cuts down on database access needed by nova-compute.
7873
Part of blueprint no-db-messaging.
7875
Change-Id: Ia7e31428c7d2edb9a0c4d0958f1c7774742ea1cd
7877
nova/compute/manager.py | 28 +++++++++++++++-------------
7878
nova/compute/rpcapi.py | 14 ++++++++++----
7879
nova/tests/compute/test_compute.py | 9 ++++++---
7880
nova/tests/compute/test_rpcapi.py | 8 +++++---
7881
4 files changed, 36 insertions(+), 23 deletions(-)
7883
commit f5289971b7da19111ca6a68bb46c1108ea46664b
7884
Author: Russell Bryant <rbryant@redhat.com>
7885
Date: Fri Jul 20 13:50:00 2012 -0400
7887
Don't use rpc to lock/unlock an instance.
7889
Instead of converting this method to send a full instance over rpc
7890
instead of just an instance UUID, this patch removes the usage of rpc
7891
for this operation entirely. All it's doing is a database update. RPC
7892
is expensive, so cut out the middle-man.
7894
One functional difference with this approach is that the db update is
7895
now synchronous on the API node, instead of kicking off an async message
7896
to a compute node to handle it. This seems fine, though.
7898
Part of blueprint no-db-messaging.
7900
Change-Id: I15ceb7625425ab097eebd5b7dd3606a171329f97
7902
nova/compute/api.py | 19 +++++++++++++++++--
7903
nova/compute/manager.py | 14 ++++++++++++--
7904
nova/compute/rpcapi.py | 10 ----------
7905
nova/tests/compute/test_compute.py | 5 +++--
7906
nova/tests/compute/test_rpcapi.py | 8 --------
7907
5 files changed, 32 insertions(+), 24 deletions(-)
7909
commit 6aac5f1308aa3e360204bd8f4dcfe90522f6db2e
7910
Author: Russell Bryant <rbryant@redhat.com>
7911
Date: Fri Jul 20 10:56:29 2012 -0400
7913
Convert reboot_instance to take a full instance.
7915
Convert the reboot_instance method in the compute rpc API to take a full
7916
instance via rpc instead of just the instance UUID. This cuts down on
7917
database access needed by nova-compute.
7919
Part of blueprint no-db-messaging.
7921
Change-Id: Id2c455f66966a9b446e5bbbe542ed3a2b0655289
7923
nova/compute/manager.py | 14 +++++++-------
7924
nova/compute/rpcapi.py | 8 ++++++--
7925
nova/tests/compute/test_compute.py | 17 ++++++++++-------
7926
nova/tests/compute/test_rpcapi.py | 8 ++++++--
7927
4 files changed, 29 insertions(+), 18 deletions(-)
7929
commit eebc64f949ccb2acb7462efc18f538f1827985af
7930
Author: Russell Bryant <rbryant@redhat.com>
7931
Date: Fri Jul 20 10:32:23 2012 -0400
7933
Update decorators in compute manager.
7935
This patch modifies two decorators in the compute manager:
7936
checks_instance_lock and wrap_instance_fault. Both of these assumed that
7937
the function they are wrapping takes two positional arguments: context
7938
and instance_uuid. They will automatically adapt to the new form that
7939
the functions they wrap will be taking. These functions will all be
7940
modified to take either a full instance dict or an instance_uuid for
7941
backwards compatibility.
7943
Part of blueprint no-db-messaging.
7945
Change-Id: I93e331706aed1c97877655ce54784a0dbd8de89e
7947
nova/compute/manager.py | 94 +++++++++++++++++++++++++++++++++++++++--------
7948
1 file changed, 78 insertions(+), 16 deletions(-)
7950
commit d030e29f5b0ba215789739e443f25ca1c80bc3da
7951
Author: Russell Bryant <rbryant@redhat.com>
7952
Date: Fri Jul 20 10:45:04 2012 -0400
7954
Include name in a primitive Instance.
7956
This ensures that the name of an instance will be present in the result
7957
of jsonutils.to_primitive(Instance). The name isn't a column. It's a
7958
property that gets generated dynamically by the Instance class.
7960
Part of blueprint no-db-messaging.
7962
Change-Id: I45914ed55f2c037ee2efd7775bd57fbde36a2116
7964
nova/db/sqlalchemy/models.py | 20 ++++++++++++++++----
7965
nova/tests/compute/test_rpcapi.py | 15 +++++++++------
7966
2 files changed, 25 insertions(+), 10 deletions(-)
7968
commit 32bb352f4cf413397e8616e898ee9a52bbbe0a55
7969
Author: Joe Gordon <jogo@cloudscaling.com>
7970
Date: Wed Jul 25 15:33:25 2012 -0700
7972
Shrink Simple Scheduler
7974
* The same functionality exists in the filter scheduler, except for
7975
nova volumes. So just keep nova-volume scheduling here.
7976
* Add very basic Simple Scheduler testing
7977
* Simple Scheduler will be completely removed after Folsom release
7979
Change-Id: Ia2a2b26bc67cf152963533d68a774f454d763cbd
7981
nova/scheduler/simple.py | 71 ++------------------------
7982
nova/tests/scheduler/test_multi_scheduler.py | 40 +++++++++++++++
7983
2 files changed, 43 insertions(+), 68 deletions(-)
7985
commit 9072290b22732f29152cca1bff54c7a0af5643f7
7986
Merge: 8b6ef63 974417b
7987
Author: Jenkins <jenkins@review.openstack.org>
7988
Date: Wed Jul 25 23:11:17 2012 +0000
7990
Merge "Fix wrong regex in cleanup_file_locks."
7992
commit 8b6ef639f94200b1c54b12beec115dc19f953da3
7993
Merge: 6f0fecb 82afe7a
7994
Author: Jenkins <jenkins@review.openstack.org>
7995
Date: Wed Jul 25 23:00:26 2012 +0000
7997
Merge "Inject instance metadata into xenstore"
7999
commit 6f0fecbed3a72ce052662a6bc6441d6aac6b9d1f
8000
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
8001
Date: Wed Jul 25 17:27:57 2012 -0500
8003
Allow soft deletes from any state
8005
At some point in the past, the compute manager's delete() method had
8006
its @check_instance_state() decorator updated to allow deletes to be
8007
performed from any combination of vm_state and task_state. This same
8008
change was not made to the soft_delete() method, and so soft_delete()
8009
is only available if the task_state is clear, meaning that instances
8010
that are put into ERROR state with task_state set to something are
8011
effectively undeletable, if FLAGS.reclaim_instance_interval is set to
8012
some non-zero value (which is what causes the API DELETE call to use
8013
soft_delete() as opposed to delete()). This patch updates the
8014
@check_instance_state() on soft_delete() to match that on delete(),
8015
and fixes bug 1029130 and bug 1029133. This patch also partially
8016
fixes bug 1029132, but more needs to be done to completely fix that
8019
Change-Id: I78878110c696280f2bc28434433814884a526264
8021
nova/compute/api.py | 3 +--
8022
1 file changed, 1 insertion(+), 2 deletions(-)
8024
commit 6908fbf2f819482e99fd266985e9d16cb97e2bb8
8025
Merge: 21a0120 5522507
8026
Author: Jenkins <jenkins@review.openstack.org>
8027
Date: Wed Jul 25 22:06:00 2012 +0000
8029
Merge "Return 400 in get_console_output for bad length."
8031
commit 21a0120ceef04355111c533f90b40141b6ae5426
8032
Merge: f4c5d4c a8c08ba
8033
Author: Jenkins <jenkins@review.openstack.org>
8034
Date: Wed Jul 25 22:00:56 2012 +0000
8036
Merge "Handle NULL deleted_at in migration 112."
8038
commit f4c5d4ca54333e1b9d80afe722c6f11a1c3a7e81
8039
Merge: 9a40e9e 6b69e63
8040
Author: Jenkins <jenkins@review.openstack.org>
8041
Date: Wed Jul 25 21:50:54 2012 +0000
8043
Merge "Allow floating IP pools to be deleted"
8045
commit a8c08baeb2ee6268ac61613a23cc86cf885a9d09
8046
Author: Rick Harris <rconradharris@gmail.com>
8047
Date: Wed Jul 25 20:43:17 2012 +0000
8049
Handle NULL deleted_at in migration 112.
8051
A NULL value in `instance.deleted_at` will cause the migration to break.
8052
In the absence of instance deleted_at timestamp, we should be
8053
conservative and skip cleanup.
8057
Change-Id: Ieb978281bc55727fb7db02ddc8c3e0fd6c8814f0
8059
.../versions/112_update_deleted_instance_data.py | 2 ++
8060
1 file changed, 2 insertions(+)
8062
commit f9ee106ac484e390171d43f5c8aee77af127ddaf
8063
Author: Ben Swartzlander <bswartz@netapp.com>
8064
Date: Fri Jul 13 17:22:38 2012 -0400
8066
Add support for snapshots and volume types to netapp driver.
8068
This is a continuation of blueprint netapp-volume-driver.
8070
Change-Id: Ic79a98f3949c815f532e52a9b9d45ad7d8aa99ec
8072
nova/tests/test_netapp.py | 119 +++++++--
8073
nova/volume/netapp.py | 641 +++++++++++++++++++++++++++++++++------------
8074
2 files changed, 571 insertions(+), 189 deletions(-)
8076
commit 82afe7ad5eac668aaefc79e16bbf2226eddde97d
8077
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
8078
Date: Wed Jul 25 15:31:11 2012 -0500
8080
Inject instance metadata into xenstore
8082
When using Xenserver, inject instance metadata into the xenstore, for
8083
the use of the instance. Implements blueprint xenstore-metadata.
8085
Change-Id: I88a59f1b783eaaaef6ba5efd8bd448aece2f869c
8087
nova/compute/api.py | 10 +-
8088
nova/compute/manager.py | 12 +-
8089
nova/compute/rpcapi.py | 7 +
8090
nova/db/sqlalchemy/api.py | 1 +
8091
.../api/openstack/compute/test_server_metadata.py | 8 +
8092
nova/tests/compute/test_compute.py | 15 +-
8093
nova/tests/compute/test_rpcapi.py | 5 +
8094
nova/tests/test_utils.py | 32 +++
8095
nova/tests/test_xenapi.py | 217 ++++++++++++++++++++
8096
nova/utils.py | 18 ++
8097
nova/virt/driver.py | 11 +
8098
nova/virt/xenapi/driver.py | 4 +
8099
nova/virt/xenapi/vmops.py | 49 +++++
8100
13 files changed, 386 insertions(+), 3 deletions(-)
8102
commit 9a40e9e9a4538f6ba87451137bf0d6d2598f2319
8103
Merge: a1ac67f 6044131
8104
Author: Jenkins <jenkins@review.openstack.org>
8105
Date: Wed Jul 25 20:19:34 2012 +0000
8107
Merge "Add missing tempfile import to libvirt driver."
8109
commit a1ac67f1e07f042fabc328a603821bdf87d4c565
8110
Merge: 6813524 eb07432
8111
Author: Jenkins <jenkins@review.openstack.org>
8112
Date: Wed Jul 25 20:11:39 2012 +0000
8114
Merge "Define cross-driver standardized vm_mode values"
8116
commit 604413135d37f50308efa9b4046d7aba021c6dd9
8117
Author: Russell Bryant <rbryant@redhat.com>
8118
Date: Wed Jul 25 15:18:41 2012 -0400
8120
Add missing tempfile import to libvirt driver.
8122
import tempfile in the libvirt driver. This is needed in
8123
_create_shared_storage_test_file(). I saw this come up on the mailing
8126
http://lists.openstack.org/pipermail/openstack-dev/2012-July/000192.html
8128
Change-Id: Ib327772d61be0202b257049d8aca3d04819a48f5
8130
nova/virt/libvirt/driver.py | 1 +
8131
1 file changed, 1 insertion(+)
8133
commit c37633ef079a3229df14e5bffacd6fb2f3896809
8134
Author: Sean M. Collins <sean@coreitpro.com>
8135
Date: Tue Jul 17 11:57:37 2012 -0400
8137
Fix docstring for SecurityGroupHandlerBase
8139
Change-Id: I645a03cd1a80dc34a7b5a2e91072604e5156d51d
8141
nova/network/quantum/sg.py | 4 ++--
8142
1 file changed, 2 insertions(+), 2 deletions(-)
8144
commit 543aba72e15fb6d37043d009b5478240942678fd
8145
Author: Dan Prince <dprince@redhat.com>
8146
Date: Wed Jul 25 14:28:40 2012 -0400
8148
Don't log debug auth token when using cinder.
8150
Updates a log messages in the Nova cinderclient function so
8151
it doesn't log the auth token from the request context.
8153
Also properly localizes the log message.
8155
Fixes LP Bug #1029049.
8157
Change-Id: I89120f0e9b7a33c00b9b4b629d61d44d0e9b518f
8159
nova/volume/cinder.py | 3 +--
8160
1 file changed, 1 insertion(+), 2 deletions(-)
8162
commit 68135241484ede24c8838afc2cf3d076f5b9c19f
8163
Merge: 474b41d 9a2cc25
8164
Author: Jenkins <jenkins@review.openstack.org>
8165
Date: Wed Jul 25 17:49:54 2012 +0000
8167
Merge "Adds xcp disk resize support."
8169
commit 474b41d07a5813c17dcb5ab77558e4bfb3153fe5
8170
Merge: d64bbd2 d972222
8171
Author: Jenkins <jenkins@review.openstack.org>
8172
Date: Wed Jul 25 17:44:57 2012 +0000
8174
Merge "Use compute_driver in xenapi driver help messages."
8176
commit d64bbd252497593112fbd9035c8b31555d841f31
8177
Merge: b9c542b c542f82
8178
Author: Jenkins <jenkins@review.openstack.org>
8179
Date: Wed Jul 25 17:38:44 2012 +0000
8181
Merge "Xen: Ensure snapshot is torn down on error."
8183
commit b9c542ba5df9bb4f8147f1dab858e29fc5c9f1e2
8184
Merge: 6618878 00d65fa
8185
Author: Jenkins <jenkins@review.openstack.org>
8186
Date: Wed Jul 25 17:31:23 2012 +0000
8188
Merge "Add missing parameters to novas cinder api"
8190
commit 6618878b71c48abbdfe766c01e6b2e7604b60002
8191
Merge: a4ce1e5 76c1fd1
8192
Author: Jenkins <jenkins@review.openstack.org>
8193
Date: Wed Jul 25 17:25:16 2012 +0000
8195
Merge "Check for exception codes in openstack API results"
8197
commit a4ce1e57a61a858506ccde4ae1dc10641067637e
8198
Author: Sean M. Collins <sean@coreitpro.com>
8199
Date: Wed Jul 25 12:42:52 2012 -0400
8201
Remove temporary variable
8203
Change-Id: I53fd54bad1f08d8c1d4ebf27a5a282189c0f3c04
8205
nova/network/manager.py | 4 ++--
8206
1 file changed, 2 insertions(+), 2 deletions(-)
8208
commit eb074328041b5f8b4f5a109794c54a9bd4e245ed
8209
Author: Daniel P. Berrange <berrange@redhat.com>
8210
Date: Wed Jul 25 13:32:28 2012 +0100
8212
Define cross-driver standardized vm_mode values
8214
Currently the XenAPI driver allows for a 'vm_mode' parameter to
8215
be set against an instance to determine whether it is launched
8216
a paravirt or fullvirt domain. This allows the values 'pv', 'hv'
8219
The libvirt driver also needs to be extended to allow a 'vm_mode'
8220
parameter, and to facilitate deployment of heterogeneous Nova
8221
compute farms, it is desirable to have standardization of the
8222
VM mode values across all drivers.
8224
To address this, the nova.compute.vm_mode module is introduced
8225
which defines a set of constants. The constants provide four
8228
- vm_mode.XEN = 'xen' - for Xen 3.0 paravirt ABI
8229
- vm_mode.HVM = 'hvm' - for native ABI
8230
- vm_mode.UML = 'uml' - for User Mode Linux paravirt ABI
8231
- vm_mode.EXE = 'exe' - for container virt executable ABI
8233
The existing 'pv' value from XenAPI is deprecated, because it
8234
is ambiguous - both Xen and UML are paravirt, and other
8235
paravirt hypervisor ABIs also exist
8237
The existing 'hv' value is also deprecated since it duplicates
8238
the other existing 'hvm' value.
8240
The 'vm_mode.get_from_instance' method will extract the
8241
vm_mode value for an instance. It normalizes the value to
8242
all lower case, translates 'hv' and 'pv' into the new
8243
values for back compat, and validates that the value
8244
matches one of the defined constants
8246
The XenAPI and libvirt drivers are then updated to use the
8247
nova.compute.vm_mode constants instead of bare strings.
8248
The test_xenapi.py test case is updated to set 'vm_mode'
8249
to exercise the new codepaths. A new test_vmmode.py
8250
case is also written to fully exercise the logic
8252
NB, previously the libvirt driver would set 'guest.os_type'
8253
to 'linux' to request Xen paravirt. This is a legacy value,
8254
with libvirt preferring the string 'xen'. So although the
8255
new code sets a different value for Xen paravirt os_type,
8256
the functional result is unchanged.
8259
blueprint hypervisor-code-consolidation
8260
Change-Id: I23efc5dc1528b0d8472d752a8a30f55c85310b21
8261
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
8263
nova/compute/vm_mode.py | 58 +++++++++++++++++++++++++++++++++++++++++++
8264
nova/tests/test_libvirt.py | 21 ++++++++++------
8265
nova/tests/test_vmmode.py | 54 ++++++++++++++++++++++++++++++++++++++++
8266
nova/tests/test_xenapi.py | 1 +
8267
nova/virt/libvirt/driver.py | 9 ++++---
8268
nova/virt/xenapi/vmops.py | 14 +++++------
8269
6 files changed, 138 insertions(+), 19 deletions(-)
8271
commit 76c1fd11b73fd8516bbde20cb46f627b658d4a6d
8272
Author: John Griffith <john.griffith@solidfire.com>
8273
Date: Mon Jul 23 22:42:25 2012 -0600
8275
Check for exception codes in openstack API results
8277
* Inspect all exceptions for code, not just nova.exceptions
8279
Originally the fault wrapper would only inspect an exception for
8280
status, header and safe attributes if it was a nova.exception.
8282
As a result, excecptions returned from Cinder were always being incorrectly
8283
interpretted/categorized as ComputeFaults (500). This results in tempest
8284
tests that expect exceptions such as 404 NotFound to fail.
8286
Now that we're checking all Exceptions the same way, there's no need
8287
for a specifying nova.exceptions or even doing the import.
8289
Change-Id: If49e364063d5288c81ce1557bddc6dcec3ec457e
8291
nova/api/openstack/__init__.py | 10 +++++----
8292
nova/tests/api/openstack/compute/test_api.py | 30 ++++++++++++++++++++------
8293
2 files changed, 29 insertions(+), 11 deletions(-)
8295
commit 00d65fa8bf83c2e9e5937108cbbf096918bbd23f
8296
Author: John Griffith <john.griffith@solidfire.com>
8297
Date: Tue Jul 24 19:31:50 2012 -0600
8299
Add missing parameters to novas cinder api
8301
* Addresses bug 1028684
8302
* Adds metadata and other parameters to volume create and translate_view
8304
Change-Id: I0c1def739c4a5cbcd2dbe72df6fc54b16e68b4b7
8306
nova/volume/cinder.py | 22 +++++++++++++---------
8307
1 file changed, 13 insertions(+), 9 deletions(-)
8309
commit 8f1664416abf7aaf8e049ba26ca404ab627b7d57
8310
Author: Christoph Thiel <cthiel@suse.com>
8311
Date: Tue Jul 24 22:25:12 2012 +0200
8313
libvirt driver: set driver name consistently
8315
Add pick_disk_driver_name to utils, to be able to set driver_name
8316
consistently across volume and imagebackend. This is mostly required for
8319
Xen requires specifying both the driver name and type attributes when
8320
defining disks. E.g. the following disk XML snippet
8322
<disk type='file' device='disk'>
8323
<driver type='qcow2'/>
8324
<source file='/tmp/disk0.qcow2'/>
8325
<target dev='xvda'/>
8328
produces incorrect configuration in the xen tools
8330
(uname file:/tmp/disk0.qcow2)
8332
Including the driver name fixes this
8334
<disk type='file' device='disk'>
8335
<driver name='tap' type='qcow2'/>
8336
<source file='/tmp/disk0.qcow2'/>
8337
<target dev='xvda'/>
8342
(uname tap:qcow2:/tmp/disk0.qcow2)
8344
Change-Id: Id984e0c431b6fc743a39e6e6f3dc3eb289fbb43a
8346
nova/tests/test_libvirt.py | 13 +++++++++++++
8347
nova/virt/libvirt/imagebackend.py | 12 ++++++++----
8348
nova/virt/libvirt/utils.py | 25 +++++++++++++++++++++++++
8349
nova/virt/libvirt/volume.py | 9 +++------
8350
4 files changed, 49 insertions(+), 10 deletions(-)
8352
commit 6b69e63683c49900ac24038b60123a93925401db
8353
Author: Mark McLoughlin <markmc@redhat.com>
8354
Date: Wed Jul 25 08:50:17 2012 +0100
8356
Allow floating IP pools to be deleted
8360
If you delete all the floating IPs associated with a floating IP, the
8361
pool still shows up in os-floating-ip-pools extension.
8363
Fix this by using model_query() in the DB layer so that we ignore
8364
deleted floating IPs.
8366
Change-Id: I30d2e716e931400ca4b798b51bb26a73a7747808
8368
nova/db/sqlalchemy/api.py | 2 +-
8369
1 file changed, 1 insertion(+), 1 deletion(-)
8371
commit b8aedb281f8e6cc8b1583640c31f5d52ce5e4eac
8372
Author: Zhongyue Luo <lzyeval@gmail.com>
8373
Date: Wed Jul 25 14:37:57 2012 +0800
8375
Fixes console/vmrc_manager.py import error
8379
Change-Id: I1be5637f561008489fe7367052ec2ecb6b9ae59f
8381
nova/console/vmrc_manager.py | 2 +-
8382
1 file changed, 1 insertion(+), 1 deletion(-)
8384
commit 7ea62897626546d330c3458bba4112f52882f313
8385
Author: MotoKen <motokentsai@gmail.com>
8386
Date: Tue Jul 24 16:27:45 2012 +0800
8388
EC2 DescribeImageAttribute by kernel/ramdisk.
8392
Supports kernel/ramdisk attributes for EC2 DescribeImageAttribute API to
8393
display the ID of the kernel/ramdisk associated with the AMI. And adds
8394
test cases to verify this behavior.
8396
Change-Id: I3ea91b95812dcec349b4ff6dc889645a57975278
8398
nova/api/ec2/cloud.py | 16 ++++++++++++++++
8399
nova/tests/api/ec2/test_cloud.py | 6 ++++++
8400
2 files changed, 22 insertions(+)
8402
commit 196a4892fcffdd0b2d0f2caa7996e5bde1858268
8403
Author: Rick Harris <rconradharris@gmail.com>
8404
Date: Wed Jul 25 00:31:26 2012 +0000
8406
Xen: Add race-condition troubleshooting script.
8408
This stress-test runs builds and migrations concurrently making it
8409
easier to uncovers certain types of race-conditions in the virt-layer
8412
Change-Id: I89c382b85aa6d0eb3dc957803f3ea34e3a36e9d4
8414
tools/xenserver/stress_test.py | 172 ++++++++++++++++++++++++++++++++++++++++
8415
1 file changed, 172 insertions(+)
8417
commit 5522507bd7ff51ad8a55f8318c327ace3157675d
8418
Author: Roland Hochmuth <roland.hochmuth@hp.com>
8419
Date: Sat Jul 21 10:52:41 2012 +0100
8421
Return 400 in get_console_output for bad length.
8423
Fixes bug 1027069. Prior to this fix if the length in the
8424
request body was set to a non-integer value a error code of 500
8425
was returned. The documentation also shows an integer in the
8426
example request body.
8428
The fix tests if the optional length is provided and
8429
if it is either an "int" or "long". If not, a 400 error
8432
Additionally, cleaned up some error message to be more
8435
Change-Id: I27a66fb1111e74665969f98e1101a9c37c665abc
8437
.../openstack/compute/contrib/console_output.py | 13 +++++++++---
8438
.../compute/contrib/test_console_output.py | 21 ++++++++++++++++++++
8439
2 files changed, 31 insertions(+), 3 deletions(-)
8441
commit 9468508efe36097e422bf3b43d586ff962b8f4b2
8442
Merge: 013ab2f cc74222
8443
Author: Jenkins <jenkins@review.openstack.org>
8444
Date: Tue Jul 24 22:47:57 2012 +0000
8446
Merge "Add image_name to create and rebuild notifications"
8448
commit c3ff5c5e932509a56bddab625513dc1663b0f1df
8449
Author: Sean Dague <sdague@linux.vnet.ibm.com>
8450
Date: Tue Jul 24 14:14:48 2012 -0400
8452
update compute_fill_first_cost_fn docstring
8454
The default value for weight of the compute_fill_first_cost_fn is
8455
actually -1.0, which means it does exactly the opposite of what
8456
the function docstring says it does. Update the docstring to
8457
warn people of this fact.
8459
Issue reported via bug #1023827 which was closed as won't fix
8460
but the docs should be clearer. Updated based on feedback.
8462
Change-Id: I56acde254c932a8e66f941aaeb7304665500610f
8464
nova/scheduler/least_cost.py | 9 +++++++--
8465
1 file changed, 7 insertions(+), 2 deletions(-)
8467
commit dd54a15a7f3964addae3eef9a4eef30d22690b97
8468
Author: Rick Harris <rconradharris@gmail.com>
8469
Date: Tue Jul 24 18:22:41 2012 +0000
8471
Xen: Validate VHD footer timestamps.
8473
This is a sanity check to ensure the footer timestamps on a VHD are
8474
reasonable (e.g. not in the future). This condition can occur if the
8475
local time for the source and destination machines in a migration are
8476
not in agreement, requiring an adjustment to /etc/localtime and/or NTP
8479
Without this check there is a risk of importing a corrupt VHD into the
8480
SR causing the entire SR to become corrupted.
8482
Change-Id: I17228e50d6f54632f3bfc32a682e511f876517ec
8484
.../xenserver/xenapi/etc/xapi.d/plugins/utils.py | 24 ++++++++++++++++++++
8485
1 file changed, 24 insertions(+)
8487
commit c542f82396ce6cf1399a2d7cfc3d9660fe2cf6c3
8488
Author: Rick Harris <rconradharris@gmail.com>
8489
Date: Tue Jul 24 17:05:52 2012 +0000
8491
Xen: Ensure snapshot is torn down on error.
8493
This patch solves the problem of snapshots being left around if an
8494
exception is generated in _wait_for_vhd_coalesce.
8496
The solution is to separate snapshot from coalesce and then to ensure
8497
any exceptions generated after a snapshot trigger a cleanup.
8499
Change-Id: I4c03243bc41f76d80d32934dd9506d1861951184
8501
nova/virt/xenapi/vm_utils.py | 46 +++++++++++++++++-------------------------
8502
1 file changed, 19 insertions(+), 27 deletions(-)
8504
commit 013ab2fdfc2c8a0c74ecf3c2287fb6a36d8b6728
8505
Merge: 4c9c0d7 6c88800
8506
Author: Jenkins <jenkins@review.openstack.org>
8507
Date: Tue Jul 24 16:21:41 2012 +0000
8509
Merge "Provide rootwrap filters for nova-api-metadata"
8511
commit 6c888001f15fba44aaaaaf367757dd81b8512f65
8512
Author: Thierry Carrez <thierry@openstack.org>
8513
Date: Tue Jul 24 17:03:13 2012 +0200
8515
Provide rootwrap filters for nova-api-metadata
8517
The metadata service in nova-api needs access to
8518
ip[6]tables-{save-restore} to accept connections to the
8519
metadata service. This change adds an api-metadata.filters file
8520
that needs to be deployed on setups running nova-api-metadata
8521
or nova-api with "metadata" in enabled_apis.
8525
Change-Id: I5aecb223876e12550394f31dbc7df893868baa8b
8527
etc/nova/rootwrap.d/api-metadata.filters | 17 +++++++++++++++++
8528
1 file changed, 17 insertions(+)
8530
commit 4c9c0d74d4de955f3ab7d0ceb2e6f0621710a6a3
8531
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
8532
Date: Tue Jul 24 09:47:21 2012 -0500
8534
Fix a bug in compute_node_statistics
8536
Turns out, using Sqlalchemy's sum aggregation functions returns
8537
instances of Decimal. This caused the statistics reporting to
8538
fail with a cryptic "Circular reference" error during
8539
serialization. Fixed by forcing the values to integer.
8541
Change-Id: Ia89c191f420e116b2f7ca144cdb2e21e6ace404a
8543
nova/db/sqlalchemy/api.py | 3 ++-
8544
1 file changed, 2 insertions(+), 1 deletion(-)
8546
commit a53b2f56aeb72127e4eb327c2b2dab0284e9f78f
8547
Merge: ce28a5f 046b3f2
8548
Author: Jenkins <jenkins@review.openstack.org>
8549
Date: Tue Jul 24 12:48:00 2012 +0000
8551
Merge "Updates migration 111 to work w/ Postgres."
8553
commit ce28a5f778389e7b5222f8c558037f91c3ec55b6
8554
Merge: a08f800 7a376fa
8555
Author: Jenkins <jenkins@review.openstack.org>
8556
Date: Tue Jul 24 11:37:21 2012 +0000
8558
Merge "Add git commit message validation to hacking.py"
8560
commit 5d8e73ff17178f6a5b1125dcc7be946a134d77f5
8561
Author: PƔdraig Brady <pbrady@redhat.com>
8562
Date: Wed Jul 18 00:40:24 2012 +0100
8564
refactor all uses of the `qemu-img info` command
8566
* nova/virt/images.py: Define a single function that
8567
calls `qemu-img info` in a robust manner, by avoiding
8569
* nova/virt/libvirt/utils.py: Define secondary functions
8570
to parse items returned from images.qemu_img_info().
8571
* nova/virt/libvirt/driver.py: Use the libvirt.utils functions.
8572
* nova/virt/disk/api.py: Likewise.
8573
* nova/tests/test_libvirt.py: Remove no longer needed stub
8574
for utils.execute('qemu-img info'). Adjust to a more restrictive
8575
`qemu-img info` format, and more robust calling signature.
8576
* nova/tests/test_imagebackend.py: Adjust to moved method.
8578
Change-Id: I739dd246410c215f401ebd3a92b8207f46e8fb9a
8580
nova/tests/test_imagebackend.py | 14 +++++------
8581
nova/tests/test_libvirt.py | 18 ++++----------
8582
nova/virt/disk/api.py | 17 +++-----------
8583
nova/virt/images.py | 47 +++++++++++++++++++------------------
8584
nova/virt/libvirt/driver.py | 9 +------
8585
nova/virt/libvirt/imagebackend.py | 2 +-
8586
nova/virt/libvirt/utils.py | 21 ++++++-----------
8587
7 files changed, 48 insertions(+), 80 deletions(-)
8589
commit a08f8009d20918b8842f3c781934d1072f6f2643
8590
Author: Rick Harris <rconradharris@gmail.com>
8591
Date: Tue Jul 24 04:42:50 2012 +0000
8593
Xen: Fix snapshots when use_cow=True.
8595
This fixes an issue where use_cow=True would sporadically cause snapshot
8598
The root cause was a race-condition where the VM's sm_config was
8599
sometimes out-of-sync with the underlying VHDs.
8601
The solution is to force an SR rescan immediately after taking a
8602
snapshot so that any VHD parent-pointer modifications are propogated
8603
into the sm_config so that _walk_vdi_chain will receive accurate
8606
Change-Id: I03b4914d9420918590ae27dfc77dfedac9c767c1
8608
nova/virt/xenapi/vm_utils.py | 5 +++++
8609
1 file changed, 5 insertions(+)
8611
commit 4d882ab978055b0b4199a749f4c243cfd53425ef
8612
Merge: 8a164f5 09d9789
8613
Author: Jenkins <jenkins@review.openstack.org>
8614
Date: Tue Jul 24 03:28:12 2012 +0000
8616
Merge "Add call to get hypervisor statistics"
8618
commit 50c74cc7af619b96eb9e1b3db8d1e8a289afb6da
8619
Author: PƔdraig Brady <pbrady@redhat.com>
8620
Date: Tue Jul 24 00:14:11 2012 +0100
8622
tests: remove misleading docstrings on libvirt tests
8624
These docstrings take precedence over the method name,
8625
to identify the test in the results. So just remove
8626
these misleading docstrings as they don't give extra
8627
info over the method name itself.
8629
Change-Id: I4c415f8c4be588f5de751ab8e4d21e85a18f6b75
8631
nova/tests/test_libvirt.py | 3 ---
8632
1 file changed, 3 deletions(-)
8634
commit 8a164f5e05509307720ad8a8f39ab1f352553098
8635
Merge: 97478db dd4dcd1
8636
Author: Jenkins <jenkins@review.openstack.org>
8637
Date: Mon Jul 23 22:41:22 2012 +0000
8639
Merge "Use compute_driver in vmware driver help messages."
8641
commit 97478dbd48e343300cc71f3d5aae00843456d796
8642
Author: Dan Prince <dprince@redhat.com>
8643
Date: Mon Jul 23 17:06:54 2012 -0400
8645
Update NovaKeystoneContext to use jsonutils.
8647
Minor fix to use jsonutils.loads instead of json.loads to
8648
standardize w/ the rest of Nova.
8650
Change-Id: I4a6912d29fbe425b29bd1b170b9bec19e3bfc46e
8652
nova/api/auth.py | 4 ++--
8653
1 file changed, 2 insertions(+), 2 deletions(-)
8655
commit dd4dcd1889bdbfd5952028ef9c478b6c63a8cbce
8656
Author: Dan Prince <dprince@redhat.com>
8657
Date: Mon Jul 23 17:19:32 2012 -0400
8659
Use compute_driver in vmware driver help messages.
8661
Updates the help messages in the vmware driver to use 'compute_driver'
8662
examples instead of 'connection_type' which is now deprecated.
8664
Change-Id: Iddea2cabc841200edd561d71f0c11fd6ba272f5d
8666
nova/virt/vmwareapi/driver.py | 16 ++++++++++------
8667
1 file changed, 10 insertions(+), 6 deletions(-)
8669
commit d972222e50e38aa45447b57c1893678043b583aa
8670
Author: Dan Prince <dprince@redhat.com>
8671
Date: Mon Jul 23 17:16:52 2012 -0400
8673
Use compute_driver in xenapi driver help messages.
8675
Updates the help messages in the xenapi driver to use 'compute_driver'
8676
examples instead of 'connection_type' which is now deprecated.
8678
Change-Id: I79b050f0b083533e60129da261326cfb7f304321
8680
nova/virt/xenapi/driver.py | 17 +++++++++--------
8681
1 file changed, 9 insertions(+), 8 deletions(-)
8683
commit 09d978994325b28c76050f112af3ee66b84a5e1f
8684
Author: Kevin L. Mitchell <kevin.mitchell@rackspace.com>
8685
Date: Mon Jul 23 16:01:47 2012 -0500
8687
Add call to get hypervisor statistics
8689
Adds an admin API call to retrieve the compute node statistics for an
8690
entire nova instance. Counts up all hypervisors and sums all their
8691
values (vcpus, vcpus_used, etc.).
8693
Change-Id: I36272656bb417c1549133fd2963bac54db0e86c6
8695
nova/api/openstack/compute/contrib/hypervisors.py | 30 +++++++-
8696
nova/db/api.py | 5 ++
8697
nova/db/sqlalchemy/api.py | 24 +++++++
8698
.../openstack/compute/contrib/test_hypervisors.py | 74 +++++++++++++++++++-
8699
4 files changed, 130 insertions(+), 3 deletions(-)
8701
commit 9b653109bb4cc83b610ca0eeb404b991157f3c9e
8702
Merge: 7d0758b 109a432
8703
Author: Jenkins <jenkins@review.openstack.org>
8704
Date: Mon Jul 23 20:55:58 2012 +0000
8706
Merge "Log snapshot UUID and not OpaqueRef."
8708
commit 9a2cc2544a4e6609c409b06c8ff91d596fe43a8c
8709
Author: Marco Sinhoreli <msinhore@gmail.com>
8710
Date: Mon Jul 23 15:24:59 2012 -0300
8712
Adds xcp disk resize support.
8714
Implements resize image during instance creation. Fixes bug 1016650.
8716
Change-Id: I25f9d1030d9d014b1c9a65430bd535388b8f8943
8718
nova/tests/test_xenapi.py | 28 +++++++++++++++++++++++++++-
8719
nova/tests/xenapi/stubs.py | 7 ++++---
8720
nova/virt/xenapi/driver.py | 14 +++++++++-----
8721
nova/virt/xenapi/vmops.py | 19 +++++++++++++++----
8722
4 files changed, 55 insertions(+), 13 deletions(-)
8724
commit 109a4321d4488cd8a6c3be8b8cfcb7baad819de6
8725
Author: Rick Harris <rconradharris@gmail.com>
8726
Date: Mon Jul 23 16:59:52 2012 +0000
8728
Log snapshot UUID and not OpaqueRef.
8730
The OpaqueRef doesn't help troubleshooting since it can't be easily used
8731
to identify an image after the session finishes. UUID, which is
8732
invariant, is much more useful.
8734
Change-Id: I3b802e41e583bee84ee6f5d05e1ffc581761571d
8736
nova/virt/xenapi/vm_utils.py | 10 ++++------
8737
1 file changed, 4 insertions(+), 6 deletions(-)
8739
commit 7d0758b2f355d5b086b2ea1e9d6b7b7838b3a157
8740
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
8741
Date: Mon Jul 23 19:17:32 2012 +0000
8743
Remove unused user_id and project_id arguments
8745
The code using the arguments was removed a long time ago.
8747
Change-Id: Ic64ce46115617d05e41b6d01c8d403b58f8cacf9
8749
nova/virt/xenapi/vm_utils.py | 3 +--
8750
nova/virt/xenapi/vmops.py | 8 ++++----
8751
2 files changed, 5 insertions(+), 6 deletions(-)
8753
commit 62b75bf7c4259993e493d66d2fdf256d59ed4aa9
8754
Merge: 601882a a7f307b
8755
Author: Jenkins <jenkins@review.openstack.org>
8756
Date: Mon Jul 23 19:02:42 2012 +0000
8758
Merge "Update jsonutils from openstack-common."
8760
commit 601882a23dd8a6573f0e59bb26e13233e2dce736
8761
Merge: fc77e8e c2e957c
8762
Author: Jenkins <jenkins@review.openstack.org>
8763
Date: Mon Jul 23 18:42:30 2012 +0000
8765
Merge "Adding networking rules to vm's on compute service startup"
8767
commit fc77e8ed3bbc114816c87d368e9cad92a002a82b
8768
Merge: 563ed09 3dd86f5
8769
Author: Jenkins <jenkins@review.openstack.org>
8770
Date: Mon Jul 23 18:33:11 2012 +0000
8772
Merge "use boto's HTTPResponse class for versions of boto >=2.5.2"
8774
commit 974417b75f5f839ce4daaf080147ad154d727f10
8775
Author: Eugene Kirpichov <ekirpichov@gmail.com>
8776
Date: Sat Jul 21 23:17:55 2012 +0000
8778
Fix wrong regex in cleanup_file_locks.
8780
The sentinel filename actually has form hostname-threadid.pid,
8781
not hostname.threadid-pid.
8782
Launchpad bug 1018586.
8783
Change-Id: I09c01e0e63ee704b1485c196dc0b396ee03b2e5c
8785
nova/tests/test_utils.py | 2 +-
8786
nova/utils.py | 2 +-
8787
2 files changed, 2 insertions(+), 2 deletions(-)
8789
commit 563ed09b9a35e50e24ca10c9a588df119e9a7725
8790
Merge: 1af6e20 0743313
8791
Author: Jenkins <jenkins@review.openstack.org>
8792
Date: Mon Jul 23 17:05:39 2012 +0000
8794
Merge "Make it clear subnet_bits is unused in ipam case"
8796
commit 1af6e20064a6f88def384d7030ba980431d1b990
8797
Merge: 6ba048b d8e39cb
8798
Author: Jenkins <jenkins@review.openstack.org>
8799
Date: Mon Jul 23 16:57:53 2012 +0000
8801
Merge "Remove unused add_network_to_project() method"
8803
commit 6ba048b5e5a2b74ac8866655d5d03f2607649ac9
8804
Merge: e206507 07105cb
8805
Author: Jenkins <jenkins@review.openstack.org>
8806
Date: Mon Jul 23 16:49:24 2012 +0000
8808
Merge "Return 404 when attempting to remove a non-existent floating ip"
8810
commit a7f307bbc2607b7aaa830574010289767f43de4a
8811
Author: Russell Bryant <rbryant@redhat.com>
8812
Date: Mon Jul 23 12:25:20 2012 -0400
8814
Update jsonutils from openstack-common.
8816
commit 9e1bd9d9313a9f324c5b7b02232e8bd2fd12ea8a
8817
Author: Russell Bryant <rbryant@redhat.com>
8818
Date: Wed Jul 18 16:47:34 2012 -0400
8820
Add missing convert_instances arg.
8822
When calling jsonutils.to_primitive() recursively, the convert_instances
8823
argument should be passed along. This change fixes one place where it
8826
commit 2d6f84742a3e8ea51ebbfb82cbeacefe97e199d5
8827
Author: Russell Bryant <rbryant@redhat.com>
8828
Date: Wed Jul 18 16:15:52 2012 -0400
8830
Track to_primitive() depth after iteritems().
8832
Change jsonutils.to_primitive() to increase the recursion depth counter
8833
when calling to_primitive() on the result of iteritems() from the
8834
current element. Previously, the only time the counter was increased
8835
was when converting the __dict__ from an object. The iteritems() case
8836
risks cycles, as well.
8838
I hit a problem with this when trying to call to_primitive on an
8839
instance of nova.db.sqlalchemy.models.Instance. An Instance includes a
8840
reference to InstanceInfoCache, which has a reference back to the
8841
Instance. Without this change, to_primitive() would raise an exception
8842
for an Instance due to excessive recursion.
8844
Related to nova blueprint no-db-messaging.
8846
Change-Id: Iaa49ea08b406a38840e8a0b5466d48f2d3f7e840
8848
nova/openstack/common/jsonutils.py | 6 ++++--
8849
1 file changed, 4 insertions(+), 2 deletions(-)
8851
commit e2065072ced0c288fb558e10e7d6371be7c55f16
8852
Merge: a968261 ae7adbb
8853
Author: Jenkins <jenkins@review.openstack.org>
8854
Date: Mon Jul 23 16:22:40 2012 +0000
8856
Merge "Adds non_inheritable_image_properties flag."
8858
commit 07105cb78e366d35dd8c8a046c951780c274e9a2
8859
Author: Dan Smith <danms@us.ibm.com>
8860
Date: Mon Jul 23 08:20:37 2012 -0700
8862
Return 404 when attempting to remove a non-existent floating ip
8864
This fixes bug 993774 and returns 404 instead of 202 when trying to
8865
delete a floating ip from an instance to which it is not allocated.
8867
Change-Id: I9538a8a71cbbb9d19e9ebb76f93b180dbf619764
8869
nova/api/openstack/compute/contrib/floating_ips.py | 7 ++++---
8870
.../openstack/compute/contrib/test_floating_ips.py | 13 +++++++++++++
8871
2 files changed, 17 insertions(+), 3 deletions(-)
8873
commit a1aa75383fd4f04d690c547e23f79f51662f6608
8874
Author: isethi <iccha.sethi@rackspace.com>
8875
Date: Mon Jul 23 15:36:13 2012 +0000
8877
Implements config_drive as extension
8879
Adding config drive as an extension allows users to turn it off in case they
8880
do not want to use it. Config drive was not intended to be a part of the core
8885
Change-Id: Icf4b5a21d8cc9df0f140a1a87908ff48c447004b
8887
nova/api/openstack/compute/contrib/config_drive.py | 94 ++++++++++++++++++++
8888
nova/api/openstack/compute/views/servers.py | 1 -
8889
.../openstack/compute/contrib/test_config_drive.py | 52 +++++++++++
8890
nova/tests/api/openstack/compute/test_servers.py | 9 --
8891
nova/tests/api/openstack/fakes.py | 3 +-
8892
nova/tests/policy.json | 1 +
8893
6 files changed, 149 insertions(+), 11 deletions(-)
8895
commit a9682615879215517231230a87af75ab28a8d974
8896
Merge: 363bb34 9ac962c
8897
Author: Jenkins <jenkins@review.openstack.org>
8898
Date: Mon Jul 23 15:31:57 2012 +0000
8900
Merge "Avoid unrecognized content-type message"
8902
commit 3dd86f5e571aead0b3e9a432b59c21fe8bc32794
8903
Author: IonuČ ArČÄriČi <iartarisi@suse.cz>
8904
Date: Mon Jul 23 16:50:51 2012 +0200
8906
use boto's HTTPResponse class for versions of boto >=2.5.2
8910
Change-Id: I2101ddaa78ede90f39b55d28aab73e7f5a816af5
8912
nova/tests/test_api.py | 10 +++++++---
8913
1 file changed, 7 insertions(+), 3 deletions(-)
8915
commit 363bb3418402225d3454675ec2414ab2154d1d9e
8916
Merge: 92cdc49 75209cd
8917
Author: Jenkins <jenkins@review.openstack.org>
8918
Date: Mon Jul 23 15:04:40 2012 +0000
8920
Merge "Migrations for deleted data for previously deleted instances."
8922
commit 92cdc49c28989ed7b20fd1bf6aa0c602df29379b
8923
Merge: 3e13afa 854be48
8924
Author: Jenkins <jenkins@review.openstack.org>
8925
Date: Mon Jul 23 14:55:44 2012 +0000
8927
Merge "fixes for nova-manage not returning a full list of fixed IPs"
8929
commit 3e13afa8ecfb8f6b30ea247098095c079cacfd3b
8930
Merge: 4a25192 9250a5d
8931
Author: Jenkins <jenkins@review.openstack.org>
8932
Date: Mon Jul 23 14:46:58 2012 +0000
8934
Merge "Fix EC2 CreateImage no_reboot logic"
8936
commit 4a251921c8dd24b3fe2dd30501d744804af00582
8937
Merge: c94cbe2 8bf5d09
8938
Author: Jenkins <jenkins@review.openstack.org>
8939
Date: Mon Jul 23 14:43:00 2012 +0000
8941
Merge "Reject EC2 CreateImage for instance-store"
8943
commit 75209cd605a430131e023c40d0f63a87b03af062
8944
Author: Alex Meade <alex.meade@rackspace.com>
8945
Date: Mon Jul 9 10:13:34 2012 -0400
8947
Migrations for deleted data for previously deleted instances.
8949
These migrations undelete metadata, system metadata, and block device mappings
8950
that were deleted when instances were deleted before the change:
8951
0598db0a6c66eb2b6d2e0e3f0b3b2b921ebe8621
8953
Before that change; metadata, system metadata, and block device mappings were
8954
deleted when and instance was deleted, this is no longer the behavior.
8955
These migrations undelete all of the data that was deleted within two
8956
seconds of the instance being deleted in order for old deleted instances
8957
to be consistent with the new behavior.
8961
Change-Id: I36c66913abcb231f23e409f1f71c00ef0f6e69e5
8963
.../versions/112_update_deleted_instance_data.py | 67 ++++++++++++++++++++
8964
1 file changed, 67 insertions(+)
8966
commit cc742225d4b37b8bf03a3d0a21be78fcbec29199
8967
Author: isethi <iccha.sethi@rackspace.com>
8968
Date: Thu Jul 19 20:51:30 2012 +0000
8970
Add image_name to create and rebuild notifications
8974
Without image_name in notifications, one has to use the image_ref
8975
and hit glance again.
8976
The create and rebuild functions already contain image_metadata, hence
8977
adding the image_name in their notification can prevent additional
8980
Change-Id: I3813eafa24b125575bcdceac8d30ab6bd909cfe4
8982
nova/compute/manager.py | 18 +++++++++-------
8983
nova/tests/api/ec2/test_cinder_cloud.py | 3 +++
8984
nova/tests/api/ec2/test_cloud.py | 13 ++++++++++++
8985
nova/tests/compute/test_compute.py | 15 ++++++++++----
8986
nova/tests/test_compute_utils.py | 34 +++++++++++++++++++++++++++++++
8987
5 files changed, 72 insertions(+), 11 deletions(-)
8989
commit 0743313b521e3a7f2528d774ecf117ce03ec60d5
8990
Author: Mark McLoughlin <markmc@redhat.com>
8991
Date: Mon Jul 23 14:16:26 2012 +0100
8993
Make it clear subnet_bits is unused in ipam case
8995
In NetworkManager.create_networks(), the subnet_bits variable is unused
8996
where 'ipam' is passed as a parameter - i.e. when the method is called
8997
from QuantumNovaIPAMLib. This is because in the ipam case we never
8998
carve up the IP range into multiple networks.
9000
Move the variable around so that its usage scope is more obvious.
9002
Change-Id: I2a1a2cb63f9864c15b33b30f1bf995a50a6ec067
9004
nova/network/manager.py | 3 +--
9005
1 file changed, 1 insertion(+), 2 deletions(-)
9007
commit d8e39cb775a872c46d067bee8febc40dee799369
9008
Author: Mark McLoughlin <markmc@redhat.com>
9009
Date: Mon Jul 23 12:54:21 2012 +0100
9011
Remove unused add_network_to_project() method
9013
This method was added here:
9015
https://code.launchpad.net/~tr3buchet/nova/multi_nic/+merge/64767
9017
but appears never to have been used.
9019
We can safely remove it and the 'force' parameter to network_associate()
9022
This removal from the network service RPC API would not warrant a
9023
major version number bump since nothing ever used this part of the
9026
Change-Id: Iba3cf7b61b629ba513a58a38886c9322818accb5
9028
etc/nova/policy.json | 1 -
9029
nova/db/sqlalchemy/api.py | 21 +++++----------------
9030
nova/network/api.py | 6 ------
9031
nova/network/manager.py | 5 -----
9032
nova/network/quantumv2/api.py | 4 ----
9033
nova/tests/policy.json | 1 -
9034
6 files changed, 5 insertions(+), 33 deletions(-)
9036
commit c2e957ceb555b88084033d9a1c15a4f338b1476e
9037
Author: Derek Higgins <derekh@redhat.com>
9038
Date: Mon Jul 23 10:46:41 2012 +0100
9040
Adding networking rules to vm's on compute service startup
9044
Restarting nova-compute resulted in a new empty iptables chain
9045
"nova-compute-FORWARD" being create. This commit adds a single
9046
call to plug_vifs which ensures the appropriate filters (and
9047
bridge) are present on service startup.
9049
Change-Id: I51cbb56acbb244ddddd951a26d3168cf5a9c0314
9051
nova/compute/manager.py | 9 ++++++++-
9052
1 file changed, 8 insertions(+), 1 deletion(-)
9054
commit 9ac962cc82ef55cf211c0dfa5d18bc5bde27563b
9055
Author: Mark McLoughlin <markmc@redhat.com>
9056
Date: Mon Jul 23 09:32:30 2012 +0100
9058
Avoid unrecognized content-type message
9062
If the client does not include a Content-type header in its request
9063
(which is normal for e.g. GET and DELETE) then eventlet will pass us
9066
Because 'text/plain' isn't one of our supported request content types
9069
Unrecognized Content-Type provided in request
9071
This can be an annoying red-herring for people debugging issues.
9073
The reason that eventlet defaults to text/plain is because it uses
9074
the mimetools.Message.gettype() method:
9077
Return the message type [..] as specified in the Content-Type
9078
header. If no such header exists, return 'text/plain'.
9080
The wsgiref web server has the same behavior, whereas mod_wsgi will
9081
pass no content-type and twisted will pass an empty string.
9083
Make our code more robust by treating the empty string or text/plain
9084
as if no content-type header was supplied.
9086
Change-Id: Ide117c807db0dc0f5cbe974788b604b5e236800a
9088
nova/api/openstack/wsgi.py | 9 +++++++--
9089
1 file changed, 7 insertions(+), 2 deletions(-)
9091
commit 046b3f2e0c4b6a80428aea1e69957429d23783a0
9092
Author: Dan Prince <dprince@redhat.com>
9093
Date: Sat Jul 21 10:19:52 2012 -0400
9095
Updates migration 111 to work w/ Postgres.
9097
Updates migration 111 so that we drop the aggregate_hosts_host_key
9098
unique constrain by name.
9100
Fixes LP Bug #1027453
9102
Change-Id: Ibe36eace6a2d5d5a8d8d03d2cb170cbe0056320e
9104
.../versions/111_general_aggregates.py | 5 +++++
9105
1 file changed, 5 insertions(+)
9107
commit 854be4815127fd703cd91f40fa7511c170351bbc
9108
Author: Tong Li <litong01@us.ibm.com>
9109
Date: Fri Jul 20 22:48:42 2012 -0400
9111
fixes for nova-manage not returning a full list of fixed IPs
9113
This fix correct the problem reported in bug 930193
9114
nova-manage does not return a full list of fixed IPs. The reason
9115
is that the call to fixed_ip['instance_id'] can throw exception
9116
when fixed_ip does not have instance_id as its member. The changes
9117
in this fix corrects the problem.
9118
rebase to resolve the automatic merge issue.
9120
Change-Id: Ic15a0a0f43f53b82f9d88a03803c96b44a8ddcb9
9122
bin/nova-manage | 2 +-
9123
1 file changed, 1 insertion(+), 1 deletion(-)
9125
commit c94cbe223fffa57969d91219538bc3576e9893da
9126
Merge: 9c71217 040f09c
9127
Author: Jenkins <jenkins@review.openstack.org>
9128
Date: Fri Jul 20 22:42:18 2012 +0000
9130
Merge "Remove unnecessary use of with_lockmode"
9132
commit ae7adbb92babf2dfc928daa76474aaba8e325d9c
9133
Author: Rick Harris <rconradharris@gmail.com>
9134
Date: Fri Jul 20 22:35:10 2012 +0000
9136
Adds non_inheritable_image_properties flag.
9138
Some image-properties should not be inherited from the instance when
9139
taking a snapshot because we want that functionality to only available
9140
for the base-image, not subsequent snapshots.
9142
As an example, we would like 'cache_in_nova' fast-cloning to be
9143
available just for base-images and not customer snapshots created off a
9146
This patch adds a new configuration which allows operators to, at
9147
runtime, select which image-properties should not be inherited by newly
9150
Change-Id: I8d7781b05ffd71a59ba69fb7c3df4616cba94cce
9152
nova/flags.py | 4 ++++
9153
nova/virt/xenapi/vm_utils.py | 4 ++++
9154
2 files changed, 8 insertions(+)
9156
commit 9c71217c97dbbd27224eac4301d1b6074c04f367
9157
Merge: 4c6ecee 153c40e
9158
Author: Jenkins <jenkins@review.openstack.org>
9159
Date: Fri Jul 20 22:33:56 2012 +0000
9161
Merge "Make flavorextradata ignore deleted flavors."
9163
commit 4c6ecee63ea344507407027d0119201f257e2934
9164
Merge: 9038e32 7bac53f
9165
Author: Jenkins <jenkins@review.openstack.org>
9166
Date: Fri Jul 20 22:31:09 2012 +0000
9168
Merge "set correct SELinux context for injected ssh keys"
9170
commit 9038e324b11fe3b23301fdd8e9dc057d0d6fe441
9171
Merge: b133f02 4cee1e5
9172
Author: Jenkins <jenkins@review.openstack.org>
9173
Date: Fri Jul 20 22:22:16 2012 +0000
9175
Merge "Improve VDI chain logging."
9177
commit b133f0221a1ae377c29b940bad59e3710c81fd2a
9178
Merge: 5ac7076 b1d5719
9179
Author: Jenkins <jenkins@review.openstack.org>
9180
Date: Fri Jul 20 22:20:48 2012 +0000
9182
Merge "Support requested_networks with quantum v2."
9184
commit 7a376fa48b8230b8cfebafeaf28ca879216d42a9
9185
Author: Joe Gordon <jogo@cloudscaling.com>
9186
Date: Wed Jul 18 15:22:09 2012 -0700
9188
Add git commit message validation to hacking.py
9190
Adds N801: git commit title should provide a description
9192
Change-Id: Ic6334b20f5f06631b7a5579a4d1b2303685463eb
9194
tools/hacking.py | 30 +++++++++++++++++++++++++++++-
9195
1 file changed, 29 insertions(+), 1 deletion(-)
9197
commit 5ac7076255946caf59e5d0410e47841b38ceadc3
9198
Merge: e21e3a2 b35acd2
9199
Author: Jenkins <jenkins@review.openstack.org>
9200
Date: Fri Jul 20 22:03:09 2012 +0000
9202
Merge "Fixes bare-metal spawn error."
9204
commit 040f09c85905ef479bfb0c2b74f230f92b5315b7
9205
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
9206
Date: Fri Jul 20 21:47:16 2012 +0000
9208
Remove unnecessary use of with_lockmode
9210
Using with_lockmode outside of a transaction is useless. It's also
9211
unnecessary when code won't ever make any updates to the records.
9213
Change-Id: Ib58b035cc5803e49654570b451ad381bebdd300c
9215
nova/db/sqlalchemy/api.py | 2 +-
9216
1 file changed, 1 insertion(+), 1 deletion(-)
9218
commit e21e3a2eed4b19cebeae8255ad89022a78676016
9219
Merge: 4263dcd 8ba14de
9220
Author: Jenkins <jenkins@review.openstack.org>
9221
Date: Fri Jul 20 21:59:22 2012 +0000
9223
Merge "Remove unused testing.fake"
9225
commit 4263dcdaf8f02074ce5b8be9166185d8e50862f4
9226
Merge: 7587738 d1744b7
9227
Author: Jenkins <jenkins@review.openstack.org>
9228
Date: Fri Jul 20 20:55:50 2012 +0000
9230
Merge "Remove profane words"
9232
commit 7587738bdf52588672af014acf5f5b48e02205ba
9233
Merge: 935748e 7343f79
9234
Author: Jenkins <jenkins@review.openstack.org>
9235
Date: Fri Jul 20 20:44:47 2012 +0000
9237
Merge "Fixes nova-manage fixed list with deleted networks"
9239
commit 935748e05026388dd578ec24579e5c26de365be5
9240
Merge: 7706a87 9283f68
9241
Author: Jenkins <jenkins@review.openstack.org>
9242
Date: Fri Jul 20 20:42:36 2012 +0000
9244
Merge changes Ibbfbb88c,I0807eed7,I6796c125,I742184b0,If0a4c500,Idf29df5c,I7bff6b0b,I2ee0f3d1
9247
Move libvirt disk config setup out of main get_guest_config method
9248
Refactor libvirt imagebackend module to reduce code duplication
9249
Move more libvirt disk setup into the imagebackend module
9250
Don't hardcode use of 'virtio' for root disk in libvirt driver
9251
Ensure to use 'hdN' for IDE disk device in libvirt driver
9252
Don't set device='cdrom' for all disks in libvirt driver
9253
Move setup of libvirt disk cachemode into imagebackend module
9254
Get rid of pointless 'suffix' parameter in libvirt imagebackend
9256
commit 7706a871177a1a57506977a579cfd2ef7a4f7b50
9257
Merge: 075cd48 3a3ad54
9258
Author: Jenkins <jenkins@review.openstack.org>
9259
Date: Fri Jul 20 20:42:13 2012 +0000
9261
Merge "improve efficiency of image transfer during migration"
9263
commit 4cee1e5b156d735468bcbd3fc51384d53ea28f76
9264
Author: Rick Harris <rconradharris@gmail.com>
9265
Date: Fri Jul 20 20:25:16 2012 +0000
9267
Improve VDI chain logging.
9269
Currently we're logging the parent's OpaqueRef which is rather useless.
9270
This patches uses the much more useful UUID.
9272
Some small cleanups are included as well.
9274
Change-Id: I6a9dd712dbac1d1b1aaba65da2b7c399b606e934
9276
nova/virt/xenapi/vm_utils.py | 39 +++++++++++----------------------------
9277
1 file changed, 11 insertions(+), 28 deletions(-)
9279
commit 075cd488472ee8dd241629007460942ffb53ba5e
9280
Merge: 4520573 d42f44f
9281
Author: Jenkins <jenkins@review.openstack.org>
9282
Date: Fri Jul 20 20:11:52 2012 +0000
9284
Merge "Adds logging for renaming and hardlinking."
9286
commit 45205734d31c8b281056a44c236a64af343efb70
9287
Merge: a8e16cf 8b77652
9288
Author: Jenkins <jenkins@review.openstack.org>
9289
Date: Fri Jul 20 20:01:46 2012 +0000
9291
Merge "Fix cloudpipe keypair creation. Add pipelib tests"
9293
commit a8e16cfd8886e09493f23f72022756209060f8a0
9294
Merge: 4a9d44d ac5df22
9295
Author: Jenkins <jenkins@review.openstack.org>
9296
Date: Fri Jul 20 19:51:48 2012 +0000
9298
Merge "Don't create volumes if an incorrect size was given"
9300
commit d1744b70d427592c8035ebd32ebba4a21c7e0394
9301
Author: Joe Gordon <jogo@cloudscaling.com>
9302
Date: Fri Jul 20 12:49:10 2012 -0700
9304
Remove profane words
9306
Change-Id: I0e1e48b92d5401d61cf127711388a9c63698b96e
9308
nova/tests/test_SolidFireSanISCSIDriver.py | 2 +-
9309
1 file changed, 1 insertion(+), 1 deletion(-)
9311
commit 4a9d44d4088bcd14479aafd6404ca93c6399e38c
9312
Merge: 1948137 4881ccf
9313
Author: Jenkins <jenkins@review.openstack.org>
9314
Date: Fri Jul 20 19:46:50 2012 +0000
9316
Merge "Ensure VHDs in staging area are sequenced properly."
9318
commit 1948137c9708608d9c39a643923c42b3419a7592
9319
Merge: 09d98f4 39146d2
9320
Author: Jenkins <jenkins@review.openstack.org>
9321
Date: Fri Jul 20 19:39:46 2012 +0000
9323
Merge "Ensure 413 response for security group over-quota"
9325
commit 09d98f413c5a1a997088879227c24010bd67e253
9326
Merge: fca17aa ebc05b8
9327
Author: Jenkins <jenkins@review.openstack.org>
9328
Date: Fri Jul 20 19:36:42 2012 +0000
9330
Merge "Allow NoMoreFloatingIps to bubble up to FaultWrapper"
9332
commit fca17aabc3864a564bf0f895a8717bec526d57c3
9333
Merge: 0cf6595 9c16f2a
9334
Author: Jenkins <jenkins@review.openstack.org>
9335
Date: Fri Jul 20 19:25:54 2012 +0000
9337
Merge "Don't let failure to delete filesystem block deletion of instances in libvirt"
9339
commit 0cf65957335100dc7ddfa864e4965f85946e79f6
9340
Merge: 8887c0e 458a5d6
9341
Author: Jenkins <jenkins@review.openstack.org>
9342
Date: Fri Jul 20 19:23:45 2012 +0000
9344
Merge "fixes for nova-manage network list if network has been deleted"
9346
commit 8887c0ea63e3308900640f04509842520d5854ef
9347
Merge: 1c9e359 a30ed72
9348
Author: Jenkins <jenkins@review.openstack.org>
9349
Date: Fri Jul 20 19:17:28 2012 +0000
9351
Merge "Add the plugin framework from common; use and test."
9353
commit 1c9e359428fef8cae6f6c331bb5462645e52a9c2
9354
Merge: 4335f66 20a9083
9355
Author: Jenkins <jenkins@review.openstack.org>
9356
Date: Fri Jul 20 19:12:01 2012 +0000
9358
Merge "Fix docstring typo"
9360
commit 4335f66163ee20eac9672c66b0a137c9e97d21bd
9361
Merge: 1878448 338ef02
9362
Author: Jenkins <jenkins@review.openstack.org>
9363
Date: Fri Jul 20 18:59:14 2012 +0000
9365
Merge "Tidy up handling of exceptions in floating_ip_dns"
9367
commit 1878448e72c8ce790523ed2e2e0837fab909cb8f
9368
Merge: a873b45 5d87409
9369
Author: Jenkins <jenkins@review.openstack.org>
9370
Date: Fri Jul 20 18:59:12 2012 +0000
9372
Merge "Make snapshot work for stopped VMs."
9374
commit a873b455fbceb0562c25d381a85250810eb0b784
9375
Merge: 7f9983e 0c704cd
9376
Author: Jenkins <jenkins@review.openstack.org>
9377
Date: Fri Jul 20 18:51:25 2012 +0000
9379
Merge "Split ComputeFilter up."
9381
commit 7f9983e896a7669e901a44334d60a0bf5b9f0e34
9382
Merge: 620d328 2ebfbb0
9383
Author: Jenkins <jenkins@review.openstack.org>
9384
Date: Fri Jul 20 18:46:06 2012 +0000
9386
Merge "Add debug output to RamFilter"
9388
commit 620d32832a1ae2876b9d275f05492f5c405eea31
9389
Merge: 759617d b898bad
9390
Author: Jenkins <jenkins@review.openstack.org>
9391
Date: Fri Jul 20 18:44:16 2012 +0000
9393
Merge "EC2 DescribeImages reports correct rootDeviceType"
9395
commit 759617d64829af34b2a65f00246e88c76cb66b08
9396
Merge: 05febcd e2f031c
9397
Author: Jenkins <jenkins@review.openstack.org>
9398
Date: Fri Jul 20 18:21:25 2012 +0000
9400
Merge "Fix venv wrapper to clean *.pyc."
9402
commit 05febcde0e14fa71095cfb8f174f517193e42cc2
9403
Merge: beb15b5 212045e
9404
Author: Jenkins <jenkins@review.openstack.org>
9405
Date: Fri Jul 20 18:17:54 2012 +0000
9407
Merge "Improved VM detection for bandwidth polling (XAPI)"
9409
commit d42f44f1e412bea24ad5b2a5c5a38226e6a52b9c
9410
Author: Rick Harris <rconradharris@gmail.com>
9411
Date: Fri Jul 20 16:59:09 2012 +0000
9413
Adds logging for renaming and hardlinking.
9415
This will provide a bit more visibility into what's happening when dom0
9416
plugin generates an exception.
9418
Change-Id: Ia529956ee4fc56e49efdcf2cca4f42fc8ebcc3ea
9420
.../xenserver/xenapi/etc/xapi.d/plugins/utils.py | 20 +++++++++++++++-----
9421
1 file changed, 15 insertions(+), 5 deletions(-)
9423
commit ac5df2277968598914aeb803f5d7b57fabe876f0
9424
Author: Mike Perez <thingee@gmail.com>
9425
Date: Fri Jul 20 09:12:50 2012 -0700
9427
Don't create volumes if an incorrect size was given
9429
backported from cinder
9433
Change-Id: I5f327dc0278413575e8c686b2db3b6000f19c4c7
9435
nova/tests/api/openstack/volume/test_volumes.py | 13 +++++++++++++
9436
nova/volume/api.py | 3 +++
9437
2 files changed, 16 insertions(+)
9439
commit beb15b5e76312d9100b84d5a80af7ce2e1f57c9b
9440
Merge: 740d39e 4d3a50a
9441
Author: Jenkins <jenkins@review.openstack.org>
9442
Date: Fri Jul 20 16:12:11 2012 +0000
9444
Merge "Revert "Attach ISO as separate disk if given proper instruction""
9446
commit 7bac53f97e7c2025e492de7e9c9f5d2451aceee3
9447
Author: PƔdraig Brady <pbrady@redhat.com>
9448
Date: Wed Jun 27 10:29:57 2012 +0100
9450
set correct SELinux context for injected ssh keys
9452
Instruct guests to ensure at boot, that the correct
9453
SELinux context is set for /root/.ssh/.
9454
This will cater for keys injected by nova from hosts
9455
without SELinux (enabled) or using libguestfs which
9456
currently doesn't support setting extended attributes.
9458
Suggested-by: David Naori <dnaori@redhat.com>
9459
Change-Id: Ibf3869e3ee477e91623e0c030838c1ec8a6128a6
9461
etc/nova/rootwrap.d/compute.filters | 4 ++++
9462
nova/virt/disk/api.py | 33 +++++++++++++++++++++++++++++++++
9463
2 files changed, 37 insertions(+)
9465
commit 740d39e8e5dc097a66a1e9a8c278918da4997b03
9466
Merge: 6de8c6a 83fece1
9467
Author: Jenkins <jenkins@review.openstack.org>
9468
Date: Fri Jul 20 15:14:24 2012 +0000
9470
Merge "Adds generic retries for build failures."
9472
commit 7343f79cbe9ecc62f81a0170a182cb5363b6df24
9473
Author: Tong Li <litong01@us.ibm.com>
9474
Date: Thu Jul 19 18:13:28 2012 -0400
9476
Fixes nova-manage fixed list with deleted networks
9478
The fix addresses the bug reported in bug 1025827
9479
currently command 'nova-manage fixed list' will return
9480
'Command failed.' message when there is no network defined or
9481
all networks have been deleted or even when a network gets
9482
deleted, then a new network gets created. In all these cases,
9483
the command produces the 'Command failed.' error message which
9484
does not really tell what went wrong. This fix will produce
9485
'No fixed IP found' in these conditions.
9486
changes made for globalization.
9487
changes made for based on the comments for patchset 7.
9489
Change-Id: I3c2e9bf3fa3c748e680c1df27d243a648ed47cf5
9491
bin/nova-manage | 47 +++++++++++++++++++++++++++++++++--------------
9492
1 file changed, 33 insertions(+), 14 deletions(-)
9494
commit 6de8c6a3308d6c163c21d6f2174b4c5ae386bf99
9495
Merge: b244f6f 3f2c25c
9496
Author: Jenkins <jenkins@review.openstack.org>
9497
Date: Fri Jul 20 14:35:29 2012 +0000
9499
Merge "Fix error in error handler in instance_usage_audit task."
9501
commit 9283f68ea31ffe97efd075c791211a13a8bae6a9
9502
Author: Daniel P. Berrange <berrange@redhat.com>
9503
Date: Fri Jul 20 12:25:11 2012 +0100
9505
Move libvirt disk config setup out of main get_guest_config method
9507
The get_guest_config method in the libvirt driver is getting
9508
quite large and complicated, particularly wrt disk config.
9509
Moving the disk config setup out into a separate method,
9510
get_guest_storage_method, eases understanding of the code
9512
Change-Id: Ibbfbb88cafa45c98792e6732da726ab4afe4ca00
9513
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9515
nova/virt/libvirt/driver.py | 223 +++++++++++++++++++++++--------------------
9516
1 file changed, 119 insertions(+), 104 deletions(-)
9518
commit 2766ee2b6ed68f1784aad1b41e81baa75cc305df
9519
Author: Daniel P. Berrange <berrange@redhat.com>
9520
Date: Fri Jul 20 12:14:32 2012 +0100
9522
Refactor libvirt imagebackend module to reduce code duplication
9524
Currently each subclass of the Image class in imagebackend,
9525
repeats the impl of the 'libvirt_info' method. These methods
9526
are almost identical, only varying on two per-class settings.
9527
By providing the driver_format and source_type to the Image
9528
class constructor, it is possible to get to a single impl
9529
of the 'libvirt_info' method.
9531
Change-Id: I0807eed7f03aedf4980eedeb70195076ed5f4710
9532
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9534
nova/virt/libvirt/imagebackend.py | 64 ++++++++++++++-----------------------
9535
1 file changed, 24 insertions(+), 40 deletions(-)
9537
commit 1ec856db22c798bffbf0f7d5def0e880a8fc9842
9538
Author: Daniel P. Berrange <berrange@redhat.com>
9539
Date: Fri Jul 20 12:07:14 2012 +0100
9541
Move more libvirt disk setup into the imagebackend module
9543
Move the setup of target bus and target dev out of the libvirt
9544
driver and into the imagebackend module to reduce code duplication
9546
Change-Id: I6796c125af769236f93341361ee07c8319817f7f
9547
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9549
nova/tests/fake_imagebackend.py | 5 ++-
9550
nova/virt/libvirt/driver.py | 66 ++++++++++++++++++-------------------
9551
nova/virt/libvirt/imagebackend.py | 16 ++++++---
9552
3 files changed, 48 insertions(+), 39 deletions(-)
9554
commit 551078b567b9650353fd9695f7c88fb9ed1da0f9
9555
Author: Daniel P. Berrange <berrange@redhat.com>
9556
Date: Fri Jul 20 11:58:50 2012 +0100
9558
Don't hardcode use of 'virtio' for root disk in libvirt driver
9560
The libvirt driver is mistakenly using 'virtio' for the root
9561
disk, instead of the hypervisor specific disk bus.
9563
Change-Id: I742184b08a3ecd428af21ae5beb059bdbf38a9cd
9564
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9566
nova/virt/libvirt/driver.py | 2 +-
9567
1 file changed, 1 insertion(+), 1 deletion(-)
9569
commit cff588e67a4a1dee4f0a690c30d467495e0d679f
9570
Author: Daniel P. Berrange <berrange@redhat.com>
9571
Date: Fri Jul 20 11:54:51 2012 +0100
9573
Ensure to use 'hdN' for IDE disk device in libvirt driver
9575
When configuring the root disk for an image which is tagged as
9576
an ISO, the libvirt driver sets the bus=ide, but still uses
9577
the normal root device name, eg dev=vda. It must instead
9578
use dev=hda for the IDE bus
9580
Change-Id: If0a4c50043d6e4d9e54a5dcbdc05effbb72eced6
9581
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9583
nova/tests/test_libvirt.py | 17 ++++++++++-------
9584
nova/virt/libvirt/driver.py | 1 +
9585
2 files changed, 11 insertions(+), 7 deletions(-)
9587
commit 7b5a46b29fe994e9dc973bd7e5b60dee9f803f91
9588
Author: Daniel P. Berrange <berrange@redhat.com>
9589
Date: Fri Jul 20 11:45:04 2012 +0100
9591
Don't set device='cdrom' for all disks in libvirt driver
9593
When the root disk image was tagged as being an ISO image,
9594
the libvirt driver would mistakenly set device='cdrom' for
9595
all disks, instead of just the first image
9597
Change-Id: Idf29df5c460f8ebefd2e462a53d72280d5af4c5e
9598
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9600
nova/tests/test_libvirt.py | 49 +++++++++++++++++++++++++++++++++++--------
9601
nova/virt/libvirt/driver.py | 8 +++----
9602
2 files changed, 44 insertions(+), 13 deletions(-)
9604
commit 7292473944762c42c0d04e16599822ab55d9b726
9605
Author: Daniel P. Berrange <berrange@redhat.com>
9606
Date: Fri Jul 20 11:13:30 2012 +0100
9608
Move setup of libvirt disk cachemode into imagebackend module
9610
There is alot of repeated code setting the disk cache mode.
9611
Move this into the imagebackend module so that it can be
9614
Change-Id: I7bff6b0b2e7e40a5aef3126634ca814082f8cf4f
9615
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9617
nova/tests/fake_imagebackend.py | 3 ++-
9618
nova/virt/libvirt/driver.py | 10 ++--------
9619
nova/virt/libvirt/imagebackend.py | 12 ++++++++----
9620
3 files changed, 12 insertions(+), 13 deletions(-)
9622
commit 6d7bf9a2f9491ae9c7ad54b8b7a38a6e11a4bfcd
9623
Author: Daniel P. Berrange <berrange@redhat.com>
9624
Date: Fri Jul 20 11:06:55 2012 +0100
9626
Get rid of pointless 'suffix' parameter in libvirt imagebackend
9628
The libvirt 'imagebackend' module has various methods which take
9629
a 'name' and 'suffix' argument. They are never used in isolation,
9630
however, so passing them separately has no benefit. Indeed all
9631
but one caller passes a name which already has a suffix appended
9632
The suffix argument can thus trivially be removed completely.
9634
Change-Id: I2ee0f3d104a2eb5139fc85c2db68e36255b82dad
9635
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9637
nova/tests/fake_imagebackend.py | 8 ++++----
9638
nova/tests/test_imagebackend.py | 41 +++++++++++++++++--------------------
9639
nova/virt/libvirt/driver.py | 8 ++++----
9640
nova/virt/libvirt/imagebackend.py | 20 +++++++-----------
9641
4 files changed, 34 insertions(+), 43 deletions(-)
9643
commit 4d3a50a48011b412bf66b1386292f85cccf1db74
9644
Author: Daniel P. Berrange <berrange@redhat.com>
9645
Date: Fri Jul 20 10:26:19 2012 +0100
9647
Revert "Attach ISO as separate disk if given proper instruction"
9649
The following commit
9651
commit b63a3e8cbd8fe57d0be119368bf47964543270c2
9652
Author: Josh Kearney <josh@jk0.org>
9653
Date: Fri Jul 13 15:57:54 2012 -0500
9655
Attach ISO as separate disk if given proper instruction.
9657
This gives the option to attach the ISO as a separate drive, like we do in
9658
XenServer, and boot from that instead of replacing the root drive.
9662
Change-Id: I0e0560f5fcbc361b60ff1284e7369997dd770fd9
9664
Results in this XML config
9667
<disk type="file" device="cdrom">
9668
<driver type="qcow2" cache="none"/>
9669
<source file="instance-00000001/disk"/>
9670
<target bus="virtio" dev="vda"/>
9672
<disk type="file" device="cdrom">
9673
<driver type="qcow2" cache="none"/>
9674
<source file="instance-00000001/disk"/>
9675
<target bus="ide" dev="vda"/>
9680
which is broken in many ways
9682
- The same backing file is used in read/write mode on 2 disks
9683
which will cause data corruption on write.
9684
- The 'virtio' bus type does not allow device="cdrom" disks
9685
- The 'dev' attribute is given the same value on 2 disks
9687
To compound the problems, the original commit completely lacks
9688
any tests which would have caught the brokeness and/or identified
9689
what was actually intended.
9691
Change-Id: If1ec286f98fc91f9f411800bbb0adbf2797d2114
9692
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9694
nova/virt/libvirt/driver.py | 9 ---------
9695
1 file changed, 9 deletions(-)
9697
commit 4881ccf017a217214ae30c74c2f7effbee71c044
9698
Author: Rick Harris <rconradharris@gmail.com>
9699
Date: Thu Jul 19 21:32:36 2012 +0000
9701
Ensure VHDs in staging area are sequenced properly.
9703
This adds a check to raise a sensible error if the VHDs in the staging
9704
area are not sequence numbered properly, meaning 0 to n-1 with no gaps.
9706
The previous error was an UnboundLookupError which made it difficult to
9707
pinpoint the root cause.
9709
Change-Id: I6b9e4f854c271bf73711480568be384ba883775d
9711
.../xenserver/xenapi/etc/xapi.d/plugins/utils.py | 19 +++++++++++++++++++
9712
1 file changed, 19 insertions(+)
9714
commit 3f2c25cfac89500ddfe883e76ebfa3813a1f9103
9715
Author: Monsyne Dragon <mdragon@rackspace.com>
9716
Date: Wed Jul 18 20:46:09 2012 +0000
9718
Fix error in error handler in instance_usage_audit task.
9720
This fixes bug 1026307
9721
In the periodic task that generates .exists notifications, if there is
9722
an exception generating the notification for an instance, it attempts
9723
to log the exception and continue. Alas, there is an error in the error
9724
handler that clobbers the original error, preventing it from being logged.
9726
Turns out a variable in for loop was 'instance_ref' in one part, but 'instance' in
9727
except clause. Fixed.
9729
Change-Id: Ic887d9078725ec9b676c4f49cf58b567759b6210
9731
nova/compute/manager.py | 4 ++--
9732
1 file changed, 2 insertions(+), 2 deletions(-)
9734
commit b244f6fde2e4b85a01a8e0a340d12a1fa9073236
9735
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
9736
Date: Thu Jul 19 17:11:24 2012 +0000
9738
Fix SQL deadlock in quota reservations
9742
The code in quota_reserve acquires SQL locks in a different order than
9743
the code in reservation_commit/reservation_rollback. This can result in
9744
an SQL deadlock under heavy load. Due to an (unrelated) bug in
9745
SQLAlchemy, this can result in this exception:
9747
ResourceClosedError: This result object does not return rows. It has
9748
been closed automatically.
9750
This patch reorganizes the code to always fetch (and thusly lock) the
9751
quota_usages table before the reservations table.
9753
Change-Id: Ia364496a996870d754094915ea0501ff19052037
9755
nova/db/sqlalchemy/api.py | 49 +++++++++++++++++++++++-------------------
9756
nova/db/sqlalchemy/models.py | 8 -------
9757
nova/tests/test_quota.py | 2 +-
9758
3 files changed, 28 insertions(+), 31 deletions(-)
9760
commit f8b83b7220955252453a71046ef29f07e082ebca
9761
Merge: 9008791 7d8936c
9762
Author: Jenkins <jenkins@review.openstack.org>
9763
Date: Thu Jul 19 17:44:21 2012 +0000
9765
Merge "Static FaultWrapper status_to_type map."
9767
commit 900879104e0a1a5e394f21a86346df05f7467165
9768
Merge: 8d06ad4 cd5767e
9769
Author: Jenkins <jenkins@review.openstack.org>
9770
Date: Thu Jul 19 17:19:54 2012 +0000
9772
Merge "Update FilterSchedulerTestCase docstring"
9774
commit 39146d2e2e36ad96e8cf8b4f4bc9c426f1b80efb
9775
Author: Eoghan Glynn <eglynn@redhat.com>
9776
Date: Thu Jul 19 17:14:00 2012 +0100
9778
Ensure 413 response for security group over-quota
9782
Instead of raising the relevant webob.exc exception directly,
9783
we now follow the usual pattern of mapping in the FaultWrapper
9784
middleware from an internal exception type to the corresponding
9787
Change-Id: Ifb43685e4f9b0b5bd53e74747d1f87aa5e119fb5
9789
.../openstack/compute/contrib/security_groups.py | 2 +-
9790
nova/exception.py | 4 ++++
9791
.../compute/contrib/test_security_groups.py | 6 ++++--
9792
3 files changed, 9 insertions(+), 3 deletions(-)
9794
commit 458a5d61eac5eb5cef34ab301b67fa37271ba407
9795
Author: Tong Li <litong01@us.ibm.com>
9796
Date: Wed Jul 18 11:26:12 2012 -0400
9798
fixes for nova-manage network list if network has been deleted
9800
this fix addresses the bug #1021810
9801
Currently command 'nova-manage network list' or
9802
'nova-manage fixed list' will return 'Command failed.' message when
9803
there is no network defined or networks get deleted. This fix combined
9804
with fixes to bug 1025827 will fix both command problem.
9805
also change the print out message so that it can be translated.
9806
code structure changes according to the suggestion from comments.
9808
Change-Id: Id9a1a10217aac971cbbba9db5829c8478892db1a
9810
bin/nova-manage | 28 ++++++++++++++++++----------
9811
1 file changed, 18 insertions(+), 10 deletions(-)
9813
commit ebc05b803615b78a14008136bb549a41013e6cd1
9814
Author: Eoghan Glynn <eglynn@redhat.com>
9815
Date: Thu Jul 19 16:19:49 2012 +0100
9817
Allow NoMoreFloatingIps to bubble up to FaultWrapper
9821
The fix for LP 1021721 caught the wrong exception in order to
9822
address floating IP quota over-run. NoMoreFloatingIps is raised
9823
when the floating range is exhausted, whereas FloatingIpLimitExceeded
9824
is raised on over-quota.
9826
Also the HTTPRequestEntityTooLarge exception raised is mapped
9827
to 500 Server Error due to the required retry-after header being
9830
We now allow the NoMoreFloatingIps to bubble up to the FaultWrapper
9831
middleware, where its mapped to a 404 status due to it extending
9832
the NotFound exception.
9834
Change-Id: Id35c487113059ec3053f2f9e9e7eca24854ac02c
9836
nova/api/openstack/compute/contrib/floating_ips.py | 8 ++++----
9837
nova/exception.py | 1 +
9838
.../openstack/compute/contrib/test_floating_ips.py | 2 +-
9839
3 files changed, 6 insertions(+), 5 deletions(-)
9841
commit 8b7765276951f4a2a6a80df3bce7c12e64cee44f
9842
Author: Alvaro Lopez Garcia <aloga@ifca.unican.es>
9843
Date: Thu Jul 19 14:49:41 2012 +0200
9845
Fix cloudpipe keypair creation. Add pipelib tests
9847
Commit ec0a65d81fd11d26be77b45827a4dd7c77711675 introduced a new
9848
internal key pair API, removing the _gen_key() method from the EC2 API.
9849
pipelib.py used this method so as to generate the keypair of the
9852
This commit also adds unittests for pipelib.py, thus fixes bug 828588
9854
Change-Id: I0884289bac01ac5109dde4bdee5af55e7bfd5aa2
9856
nova/cloudpipe/pipelib.py | 7 +++--
9857
nova/tests/test_pipelib.py | 75 ++++++++++++++++++++++++++++++++++++++++++++
9858
2 files changed, 79 insertions(+), 3 deletions(-)
9860
commit 8d06ad4605457f909ed7f0cdfc7480b03e1a01b2
9861
Merge: 5f45ead 186d563
9862
Author: Jenkins <jenkins@review.openstack.org>
9863
Date: Thu Jul 19 11:54:58 2012 +0000
9865
Merge "Use _lookup_by_name instead of _conn.lookupByName"
9867
commit 9c16f2a05245bc0a6ae0af5f8edbde65ba812837
9868
Author: Daniel P. Berrange <berrange@redhat.com>
9869
Date: Thu Jul 5 13:18:05 2012 +0100
9871
Don't let failure to delete filesystem block deletion of instances in libvirt
9873
During cleanup of instances, the libvirt driver tries to delete all
9874
files under the /var/lib/nova/instances/$INSTANCENAME directory. If
9875
Nova is running non-root, it is entirely possible for this to fail.
9876
If this happens an OSError is raised and the result is an unkillable
9877
instance. By catching and logging any OSError raised, we can ensure
9878
that the instances are cleaned up as much as possible and not left
9879
with unkillable instances.
9881
Change-Id: I204b087c610396d917e94a6e35dd2f5e1c26704e
9882
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
9884
nova/virt/libvirt/driver.py | 9 ++++++++-
9885
1 file changed, 8 insertions(+), 1 deletion(-)
9887
commit 7d8936cc802ce28a476e30a6b94ab23881580b48
9888
Author: Eoghan Glynn <eglynn@redhat.com>
9889
Date: Thu Jul 19 11:42:15 2012 +0100
9891
Static FaultWrapper status_to_type map.
9893
Avoid maintaining needless copies of this dict, by instantiating
9894
lazily once and only once.
9896
This approach will bring master into sync with the corresponding
9897
patch proposed to stable/essex:
9899
https://review.openstack.org/9446
9901
Change-Id: I8a7cd5fc4fe0effd436e91a6c481df7b0d5a8b01
9903
nova/api/openstack/__init__.py | 17 ++++++++++-------
9904
1 file changed, 10 insertions(+), 7 deletions(-)
9906
commit 5f45eadbf2c1ea4a4cf6c9358aac269ca3f2cff6
9907
Merge: 9a89b78 9d76b6f
9908
Author: Jenkins <jenkins@review.openstack.org>
9909
Date: Thu Jul 19 00:12:38 2012 +0000
9911
Merge "Raise NotImplementedError, not NotImplemented singleton"
9913
commit 9a89b78032834b2c223459678b9076d991d970e8
9914
Merge: 758356c 8b66721
9915
Author: Jenkins <jenkins@review.openstack.org>
9916
Date: Thu Jul 19 00:01:39 2012 +0000
9918
Merge "Partially implements blueprint xenapi-live-migration"
9920
commit 153c40ea1a026de17872c907ea543ea80bf5a074
9921
Author: David Besen <david.besen@hp.com>
9922
Date: Wed Jul 18 16:27:27 2012 -0600
9924
Make flavorextradata ignore deleted flavors.
9926
In _get_flavor_refs, don't retrieve inactive flavors. Fixes bug 1026210.
9928
Change-Id: I7c5d7848d2d1326d01770195e1c8a754bb673a7a
9930
.../openstack/compute/contrib/flavorextradata.py | 2 +-
9931
1 file changed, 1 insertion(+), 1 deletion(-)
9933
commit 338ef025c76ae2d81e403f2dd9f0094a52f7ec7a
9934
Author: Martin Packman <martin.packman@canonical.com>
9935
Date: Wed Jul 18 21:53:27 2012 +0100
9937
Tidy up handling of exceptions in floating_ip_dns
9939
Removes translation of NotAuthorized which is already handled at a
9940
higher level. Also makes delete methods more typical, switches http
9941
status code on success to 202 rather than 200, includes details when
9942
handling NotFound and adds test coverage.
9944
Change-Id: Id59e397891b80b45ea38e42654a6f7f9859379f8
9946
.../openstack/compute/contrib/floating_ip_dns.py | 43 ++++++---------
9947
.../compute/contrib/test_floating_ip_dns.py | 55 +++++++++++++-------
9948
2 files changed, 53 insertions(+), 45 deletions(-)
9950
commit 758356c512df7f23d112b6ffa6e921991bbae6f6
9951
Merge: 8e2460e 3fd5b61
9952
Author: Jenkins <jenkins@review.openstack.org>
9953
Date: Wed Jul 18 22:19:29 2012 +0000
9955
Merge "Rename get_lock() to _get_lock()."
9957
commit 9d76b6f9f7b0430cbc368da927d5caed53f1e0c4
9958
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
9959
Date: Wed Jul 18 21:46:19 2012 +0000
9961
Raise NotImplementedError, not NotImplemented singleton
9963
NotImplementedError is for exceptions, NotImplemented is an error
9966
Change-Id: I2bc42783c5bb92a32d7c3b0f5efab32a2e2f8fb6
9968
nova/scheduler/filters/__init__.py | 2 +-
9969
1 file changed, 1 insertion(+), 1 deletion(-)
9971
commit 8e2460ea5785fe3e97d2aa6fa4ba21e6867a8a47
9972
Author: Yun Mao <yunmao@gmail.com>
9973
Date: Wed Jul 18 17:20:29 2012 -0400
9975
Fix the mis-use of NotImplemented
9977
An exception object NotImplementedError() should be raised instead
9980
Change-Id: I0a3f0d99529b18d613f8fdb5fafa2d0307a66d86
9982
nova/network/quantumv2/api.py | 60 ++++++++++++++++++++---------------------
9983
1 file changed, 30 insertions(+), 30 deletions(-)
9985
commit cd5767e70c703e1024c816da1ef962e8e21650ae
9986
Author: Joe Gordon <jogo@cloudscaling.com>
9987
Date: Wed Jul 18 11:55:11 2012 -0700
9989
Update FilterSchedulerTestCase docstring
9991
Change-Id: I91ea24747eba9f0f0090f923c5728ba2b85eb141
9993
nova/tests/scheduler/test_filter_scheduler.py | 4 ++--
9994
1 file changed, 2 insertions(+), 2 deletions(-)
9996
commit 8ba14de31f39bcb2b06fa1d6299bf0192002abe8
9997
Author: Joe Gordon <jogo@cloudscaling.com>
9998
Date: Wed Jul 18 13:36:17 2012 -0700
10000
Remove unused testing.fake
10002
Change-Id: If86a65a6908b53e6f467d0e7a36c2ea941bf5040
10004
doc/source/devref/fakes.rst | 10 ----------
10005
nova/testing/fake/__init__.py | 1 -
10006
2 files changed, 11 deletions(-)
10008
commit 5d8740932a42ce15c4a84764b9367ab37aa41a6e
10009
Author: Yun Mao <yunmao@gmail.com>
10010
Date: Wed Jul 18 15:47:11 2012 -0400
10012
Make snapshot work for stopped VMs.
10014
Fix bug 1023682. Currently VM state is updated to ACTIVE no matter
10015
what during snapshot. But VM should remain STOPPED if a snapshot
10016
is taken on a stopped VM, i.e. remain unchanged.
10018
VM state should not be changed during snapshot.
10020
Change-Id: I5578e6064e23a8ff6f4019116b5bcdd12529360c
10022
nova/compute/manager.py | 3 +--
10023
1 file changed, 1 insertion(+), 2 deletions(-)
10025
commit 98e412b027c52e20b462e66a0586169575e5a5d2
10026
Merge: 1cc28ed 26dbf7d
10027
Author: Jenkins <jenkins@review.openstack.org>
10028
Date: Wed Jul 18 18:45:39 2012 +0000
10030
Merge "Display key_name only if keypairs extension is used"
10032
commit 1cc28ed65bae2b48bb856a07e747ba06de620692
10033
Merge: 8a54a9f fafd1f1
10034
Author: Jenkins <jenkins@review.openstack.org>
10035
Date: Wed Jul 18 18:45:35 2012 +0000
10037
Merge "Show all absolute quota limits in /limits."
10039
commit 0c704cd87c094a37188ecb936c88ebf5a215c28c
10040
Author: Joe Gordon <jogo@cloudscaling.com>
10041
Date: Tue Jul 17 14:40:25 2012 -0700
10043
Split ComputeFilter up.
10045
Pull out compute capabilities to instance_type extra_specs into its own filter.
10046
ComputeFilter now only passes active compute nodes.
10048
Change-Id: If9b81bdd7b24faa8a27915a9e5de3e651f6ed0d0
10050
.../filters/compute_capabilities_filter.py | 48 ++++++++++++++++++++
10051
nova/scheduler/filters/compute_filter.py | 27 ++---------
10052
nova/scheduler/host_manager.py | 3 +-
10053
nova/tests/scheduler/test_host_filters.py | 17 +++++--
10054
4 files changed, 69 insertions(+), 26 deletions(-)
10056
commit 8a54a9fee3e96c4f43f3f293fda9f6844db5cfc7
10057
Merge: 2e9ed45 3bfbbca
10058
Author: Jenkins <jenkins@review.openstack.org>
10059
Date: Wed Jul 18 18:17:04 2012 +0000
10061
Merge "Remove unused get_version_from_href()"
10063
commit 2e9ed45806f9fa7d4bdaa73050b92ba5f9463203
10064
Merge: 6dd53cf 8600394
10065
Author: Jenkins <jenkins@review.openstack.org>
10066
Date: Wed Jul 18 16:03:33 2012 +0000
10068
Merge "Support EC2 CreateImage API for boot-from-volume"
10070
commit fafd1f1651907b9c57a8b944ea70f350e1b244a6
10071
Author: Alex Meade <alex.meade@rackspace.com>
10072
Date: Mon Jul 16 10:55:12 2012 -0400
10074
Show all absolute quota limits in /limits.
10076
This change adds currently missing absolute limits to the /limits response.
10080
Change-Id: I6a758dd683f70a0d006d5aa2840fcc2cb3243297
10082
nova/api/openstack/compute/views/limits.py | 4 ++++
10083
nova/tests/api/openstack/compute/test_limits.py | 11 ++++++++---
10084
2 files changed, 12 insertions(+), 3 deletions(-)
10086
commit 6dd53cf4970ffb08fe961e72b78a5c170c536b62
10087
Author: Nikhil Komawar <nikhil.komawar@rackspace.com>
10088
Date: Wed Jul 18 10:48:59 2012 -0400
10090
Info log to see which compute driver has loaded
10092
Adding this log will help keep track if the
10093
intended compute driver has loaded or it has been
10098
Change-Id: I6fd9e3b45aad36056882e8cef12b90bb8d7aea7b
10100
nova/compute/manager.py | 1 +
10101
1 file changed, 1 insertion(+)
10103
commit 1fa4b5b5050decc2cd431fb7c872dbfeefd44bbf
10104
Merge: f1bca04 216467b
10105
Author: Jenkins <jenkins@review.openstack.org>
10106
Date: Wed Jul 18 14:29:36 2012 +0000
10108
Merge "Fixes XenAPI driver import in vm_vdi_cleaner"
10110
commit 3fd5b61d892b2690f24a0e6948c9d306885066b8
10111
Author: Russell Bryant <rbryant@redhat.com>
10112
Date: Tue Jul 17 16:36:26 2012 -0400
10114
Rename get_lock() to _get_lock().
10116
This patch changes get_lock() to _get_lock() in the compute manager.
10117
This method is not used via rpc, so this name change helps clarify that
10118
it is (at least currently) an internal-only function. Marking it as
10119
such allows the method signature to be changed without updating the RPC
10120
API version and having to maintain backwards compatibility.
10122
Related to blueprint no-db-messaging.
10124
Change-Id: Ib608ba06215e0ab8be23cbd32c284420b5230dba
10126
nova/compute/manager.py | 4 ++--
10127
nova/tests/compute/test_compute.py | 5 +++--
10128
2 files changed, 5 insertions(+), 4 deletions(-)
10130
commit f1bca04333684c0b462042d902f49aa92587b9f1
10131
Author: Hengqing Hu <hudayou@hotmail.com>
10132
Date: Wed Jul 18 19:52:31 2012 +0800
10134
Remove obsolete line in host_manager
10136
Change-Id: Ic0b04953f27467dfa479dc94582a4c2d3480f53d
10138
nova/scheduler/host_manager.py | 1 -
10139
1 file changed, 1 deletion(-)
10141
commit 7ddb690a62300abf9598049f54a8cf8cf13c97d7
10142
Merge: 5e46363 29b1b4c
10143
Author: Jenkins <jenkins@review.openstack.org>
10144
Date: Wed Jul 18 10:36:15 2012 +0000
10146
Merge "Make metadata content match the requested version of the metadata API."
10148
commit 5e463632209c5528b1af7f8be247d41a44a29f32
10149
Merge: acb1587 12e663a
10150
Author: Jenkins <jenkins@review.openstack.org>
10151
Date: Wed Jul 18 10:22:13 2012 +0000
10153
Merge "Sync jsonutils from openstack-common."
10155
commit 3a3ad54058323b2e012748781fc00bc6d50de23a
10156
Author: PƔdraig Brady <pbrady@redhat.com>
10157
Date: Mon Jul 16 14:15:36 2012 +0100
10159
improve efficiency of image transfer during migration
10161
This reduces time to transfer a qcow2 image
10162
with a virtual size of 10G, over GigE,
10163
from about 7 minutes to about 30 seconds.
10165
There are multiple inefficiencies in the existing process.
10166
Taking an example of a qcow2 image with 10G virtual size,
10169
qcow2 -> raw -> read -> send -> write -> qcow2
10171
qcow2 to raw takes 20s,
10172
transfer of the resultant 10G is another 4m9s, and
10173
conversion back to qcow takes 2m33s.
10174
I.E. a total of about 7 minutes.
10176
So instead we try to avoid the initial qcow2 to raw
10177
conversion completely, which results in the whole
10178
process completing in about 30s, in the common
10179
case where no conversion to raw is done on the destination.
10181
We also optimize the case where the source qcow2
10182
image doesn't have a backing file, and then directly
10183
copy the source image without merging a backing file.
10185
Note this will also improve the situation when
10186
resizing/migrating within the same host as
10187
needles conversions are avoided in that case too.
10189
We also optimize the case where raw images are being used
10190
by trying to use `rsync -Sz` rather than `scp`.
10191
That compresses runs of zeros and create sparse destination files.
10192
Testing a 10G raw image showed a saving of 30s in transfer time.
10193
Also the network was greatly reduced (corresponding to holes
10194
in the source), as was space usage at the destination.
10195
This gain is limited though by rsync inefficiently reading
10196
all the holes at the source:
10197
https://bugzilla.samba.org/show_bug.cgi?id=8918
10199
Thanks to David Naori <dnaori@redhat.com> for testing and ideas.
10201
Change-Id: I9e87f912ef2717221c244241cda2f1027a4ca66a
10203
nova/tests/test_libvirt.py | 5 +++++
10204
nova/virt/disk/api.py | 25 ++++++++++++++++++++++
10205
nova/virt/libvirt/driver.py | 50 ++++++++++++++++++++++++++++---------------
10206
nova/virt/libvirt/utils.py | 32 +++++++++++++++++++++------
10207
4 files changed, 88 insertions(+), 24 deletions(-)
10209
commit 3bfbbcacb0b07837c39b4da009fca315209a07bb
10210
Author: Mark McLoughlin <markmc@redhat.com>
10211
Date: Mon Jul 16 06:10:49 2012 +0100
10213
Remove unused get_version_from_href()
10215
This is unused since edf3e39c remove the v1.0 API.
10217
Change-Id: I1f7c6203ffbe0248c7ef9e95a231c05a0113a347
10219
nova/api/openstack/common.py | 20 --------------------
10220
nova/tests/api/openstack/test_common.py | 18 ------------------
10221
2 files changed, 38 deletions(-)
10223
commit 2ebfbb03f0fa58121ada861cc8c6695a88c3e846
10224
Author: Joe Gordon <jogo@cloudscaling.com>
10225
Date: Tue Jul 17 12:30:21 2012 -0700
10227
Add debug output to RamFilter
10229
Change-Id: I83650f052dd8f0961a72a70aaf57c486bfdee8e0
10231
nova/scheduler/filters/ram_filter.py | 10 ++++++++--
10232
1 file changed, 8 insertions(+), 2 deletions(-)
10234
commit b35acd24df85c7dbbeb773d625265973f6046f6b
10235
Author: Mikyung Kang <mkkang@isi.edu>
10236
Date: Tue Jul 17 20:22:25 2012 -0400
10238
Fixes bare-metal spawn error.
10240
Implements blueprint Bare-metal provisioning. Fixes bug 1025942.
10242
Change-Id: I55d16747d117de728b02ac938083ef8a79eaaca7
10244
nova/virt/baremetal/driver.py | 22 ++++------------------
10245
1 file changed, 4 insertions(+), 18 deletions(-)
10247
commit 83fece1aa7e124a2adae05d95c8c6cecc12d5d41
10248
Author: Brian Elliott <brian.elliott@rackspace.com>
10249
Date: Thu Jun 21 00:44:24 2012 +0000
10251
Adds generic retries for build failures.
10253
Add a generic scheduler retry for build failures. Failed
10254
build requests get casted back to scheduler for retry until
10255
success or the maximum number of attempts is reached. The
10256
number of attempts to make is configurable or can be
10257
simply set to 1 to disable retries altogether.
10259
Partially implements blueprint: scheduler-resource-race
10263
Adds a new capability to filter scheduler to enable retries of
10264
scheduling requests.
10266
1) New flag: scheduler_max_attempts (int) - Number of attempts to make
10267
to schedule an instance before giving up and settting the instance to
10269
2) New RetryFilter. Avoids re-scheduling to the same host multiple
10270
times. (nova.scheduler.filters.RetryFilter)
10272
Change-Id: I1127caeed4418c75372a42ca7fafacb4f061ffe3
10274
nova/compute/manager.py | 84 ++++++++++++++++++--
10275
nova/scheduler/driver.py | 3 +
10276
nova/scheduler/filter_scheduler.py | 75 +++++++++++++++--
10277
nova/scheduler/filters/retry_filter.py | 42 ++++++++++
10278
nova/scheduler/host_manager.py | 1 +
10279
nova/tests/compute/test_compute.py | 106 +++++++++++++++++++++++++
10280
nova/tests/scheduler/test_filter_scheduler.py | 95 ++++++++++++++++++++--
10281
nova/tests/scheduler/test_host_filters.py | 23 ++++++
10282
8 files changed, 409 insertions(+), 20 deletions(-)
10284
commit 20a9083607e561ab5e05898ce5b5c07c1dfca975
10285
Author: Joe Gordon <jogo@cloudscaling.com>
10286
Date: Tue Jul 17 14:19:48 2012 -0700
10290
Change-Id: I18797790109ce8696ad3efa44acff7105f0cd321
10292
nova/scheduler/filter_scheduler.py | 2 +-
10293
1 file changed, 1 insertion(+), 1 deletion(-)
10295
commit 216467b3454bca97106463957da88290f8a47fa7
10296
Author: Chris Behrens <cbehrens@codestud.com>
10297
Date: Tue Jul 17 21:51:52 2012 +0000
10299
Fixes XenAPI driver import in vm_vdi_cleaner
10301
xenapi/connection.py was renamed xenapi/driver.py, it appears, but
10302
vm_vdi_cleaner was not updated.
10304
Also removed unused optparse import.
10308
Change-Id: Ia1a93400dc24455fe91fdf4283eb32bcca4037cf
10310
tools/xenserver/vm_vdi_cleaner.py | 5 ++---
10311
1 file changed, 2 insertions(+), 3 deletions(-)
10313
commit 26dbf7d03875e10b13d644bc75f21069cf27a671
10314
Author: isethi <iccha.sethi@rackspace.com>
10315
Date: Wed Jul 11 19:46:25 2012 +0000
10317
Display key_name only if keypairs extension is used
10319
GET /servers/xxx will display the key_name only if the keypairs extension is
10324
Change-Id: Ie37880f63b7595ae3dd2f3b23c6c3097dac2f57c
10326
nova/api/openstack/compute/contrib/keypairs.py | 53 +++++++++++++++++++-
10327
nova/api/openstack/compute/views/servers.py | 1 -
10328
.../api/openstack/compute/contrib/test_keypairs.py | 24 +++++++++
10329
nova/tests/api/openstack/compute/test_servers.py | 10 ----
10330
4 files changed, 76 insertions(+), 12 deletions(-)
10332
commit 9250a5d8c18311005329ec622482d1c2a29de307
10333
Author: Eoghan Glynn <eglynn@redhat.com>
10334
Date: Tue Jul 17 18:18:07 2012 +0100
10336
Fix EC2 CreateImage no_reboot logic
10338
Previously the call to restart the imaged instance was incorrect.
10340
This is now fixed and unit tested.
10342
Change-Id: Ifde193e084ecdbc37a57150f28d833ae276f49c6
10344
nova/api/ec2/cloud.py | 2 +-
10345
nova/tests/api/ec2/test_cloud.py | 27 +++++++++++++++++++++++++--
10346
2 files changed, 26 insertions(+), 3 deletions(-)
10348
commit 8bf5d0927660ccf9e01450e6298c946721acfefa
10349
Author: Eoghan Glynn <eglynn@redhat.com>
10350
Date: Tue Jul 17 15:20:30 2012 +0100
10352
Reject EC2 CreateImage for instance-store
10354
For fidelity with AWS, we explicitly do not support the EC2 CreateImage
10355
API for the analogue of instance-store-backed instances.
10357
Change-Id: I266a021ce53dbb1f521201f1cdc614b08c31bf8d
10359
nova/api/ec2/cloud.py | 13 ++++++++--
10360
nova/compute/api.py | 9 +++++++
10361
nova/tests/api/ec2/test_cloud.py | 52 +++++++++++++++++++++++++++++++++++---
10362
3 files changed, 68 insertions(+), 6 deletions(-)
10364
commit b898badbbc237cceb8ced9d89f4c53e2df98ee4d
10365
Author: Eoghan Glynn <eglynn@redhat.com>
10366
Date: Sat Jul 14 21:30:43 2012 +0100
10368
EC2 DescribeImages reports correct rootDeviceType
10372
A root device type of instance-store was incorrectly reported for
10373
boot-from-volume images (i.e. the analogue of EBS-backed AMIs).
10375
When comparing the block device mapping device name with the root
10376
device name, we now tolerate a missing leading '/dev/' path.
10378
Change-Id: I1d3bda780deee52f5d41e3af041aba7e6305dfde
10380
nova/api/ec2/cloud.py | 4 +++-
10381
nova/block_device.py | 2 +-
10382
nova/tests/api/ec2/test_cloud.py | 2 ++
10383
3 files changed, 6 insertions(+), 2 deletions(-)
10385
commit 8600394ec4dd4f800d774e4ed0c24fe087d8e1d3
10386
Author: Eoghan Glynn <eglynn@redhat.com>
10387
Date: Mon Jul 9 11:59:56 2012 +0000
10389
Support EC2 CreateImage API for boot-from-volume
10391
Fixes bug lp 988335
10393
For fidelity with AWS, where the EC2 CreateImage API is only
10394
supported for EBS-backed instances, we now support this API
10395
for booted-from-volume nova servers.
10397
We create a "place-holder" image in glance with the image data
10398
being effectively empty, and the following properties set:
10400
* the imaged instance's kernel and ramdisk IDs
10401
* block device mapping containing the appropriate snapshot ID(s)
10403
so that we can boot from this image without providing additional
10404
context (such as via the nova boot --block-device-mapping option)
10406
Change-Id: I0b3d18d7922f2ad1bc687fa88e2f5d4cf5aa068b
10408
nova/api/ec2/cloud.py | 44 ++++++++++++++++++++++------
10409
nova/tests/api/ec2/test_cloud.py | 59 +++++++++++++++++++++++++++++++++-----
10410
2 files changed, 87 insertions(+), 16 deletions(-)
10412
commit acb158714c562d3142bf2f3f560dc374daa2df7d
10413
Author: Sean Dague <sdague@linux.vnet.ibm.com>
10414
Date: Tue Jul 17 12:02:36 2012 -0400
10416
remove unused clauses[] variable
10418
This seems to have been left over from a prior implementation.
10419
Remove it for code hygene.
10421
Change-Id: I6181713c3228632a50af055109f60728ab0f22e4
10423
nova/db/sqlalchemy/api.py | 1 -
10424
1 file changed, 1 deletion(-)
10426
commit 8b667215e82ffb32ace5df6a12dff7ece42e2b82
10427
Author: John Garbutt <john.garbutt@citrix.com>
10428
Date: Mon Jul 9 15:14:10 2012 +0100
10430
Partially implements blueprint xenapi-live-migration
10432
This is dependent on refactoring of libvirt live migration.
10434
Enables live migration using xenapi:
10435
* works when both hosts are part of the same aggregate
10436
* assumes shared storage is configured as the default SR
10438
Limitations in this version:
10439
* only works for images that don't have an external
10442
Change-Id: I74fc6aae9a615be7cefb1cf07755764df1af957a
10444
nova/tests/test_xenapi.py | 109 ++++++++++++++++++++++++++++++++++++++++++++
10445
nova/virt/xenapi/driver.py | 83 +++++++++++++++++++++++++++++++--
10446
nova/virt/xenapi/fake.py | 3 ++
10447
nova/virt/xenapi/vmops.py | 57 +++++++++++++++++++++++
10448
4 files changed, 247 insertions(+), 5 deletions(-)
10450
commit 212045e4c87aee81fde82dd4887d321cb511d717
10451
Author: Mohammed Naser <mnaser@vexxhost.com>
10452
Date: Mon Jul 16 17:57:29 2012 -0400
10454
Improved VM detection for bandwidth polling (XAPI)
10456
XenAPI bandwidth polling would fail or be unreliable if there
10457
was any other virtual machines on the same node (such as the nova
10458
compute node). This uses the nova_uuid which is much more
10459
reliable to be there. Fixes LP Bug #918383
10461
Change-Id: I1eb9e6289a8171d6fc93a49b327df474b1e2e503
10463
nova/virt/xenapi/vmops.py | 2 +-
10464
1 file changed, 1 insertion(+), 1 deletion(-)
10466
commit 500ee77121512fd40f5c2afb885fdc45fbf4b57f
10467
Merge: c040122 cac332c
10468
Author: Jenkins <jenkins@review.openstack.org>
10469
Date: Mon Jul 16 20:38:14 2012 +0000
10471
Merge "Refactoring required for blueprint xenapi-live-migration"
10473
commit c04012242185cc18de13452c7442c7e800552a01
10474
Merge: 9f33802 a3576bb
10475
Author: Jenkins <jenkins@review.openstack.org>
10476
Date: Mon Jul 16 17:58:34 2012 +0000
10478
Merge "Return 413 status on over-quota in the native API."
10480
commit 12e663a8b0b253970e3bccd373d3d2f3d462f6b6
10481
Author: Russell Bryant <rbryant@redhat.com>
10482
Date: Mon Jul 16 12:20:44 2012 -0400
10484
Sync jsonutils from openstack-common.
10486
In addition to the following changes from openstack-common, this patch
10487
includes some tweak to nova unit tests. timeutils.strtime() will raise
10488
an exception if the year in a datetime object is before 1900.
10490
Changes from openstack-common:
10492
commit ce3071437d1871f77c4d8573cbe5f4ea8c817650
10493
Author: Russell Bryant <rbryant@redhat.com>
10494
Date: Mon Jul 16 10:30:25 2012 -0400
10496
Use strtime() in to_primitive() for datetime objs.
10498
This patch updates jsonutils.to_primitive() to use timeutils.strtime()
10499
to convert a datimetime object to a string instead of just using str().
10500
This ensures that we can easily convert the string back to a datetime
10501
using timeutils.parse_strtime().
10503
Required for the nova blueprint no-db-messaging.
10505
commit 4c9d439ef24f5afdd74aa9153aa8fc772051e6cb
10506
Author: Tim Daly Jr <timjr@yahoo-inc.com>
10507
Date: Tue Jun 26 02:48:42 2012 +0000
10509
Add 'filedecoder' method to the jsonutils wrapper module.
10513
After version 3.3.2, the anyjson library will throw a KeyError if
10514
filedecoder isn't present. The filedecoder is just like the decoder
10515
except it takes a file instead of a string, like json.load() instead
10518
Change-Id: Ib51f0da8641c035371e09047de9abe3cb83203e9
10520
nova/openstack/common/jsonutils.py | 10 ++++++++--
10521
nova/tests/api/openstack/fakes.py | 2 +-
10522
nova/tests/api/openstack/volume/test_volumes.py | 20 ++++++++++----------
10523
3 files changed, 19 insertions(+), 13 deletions(-)
10525
commit 9f33802364887dd22e7e87e329f51452650b1edd
10526
Merge: 0257325 c571ebb
10527
Author: Jenkins <jenkins@review.openstack.org>
10528
Date: Mon Jul 16 17:36:46 2012 +0000
10530
Merge "General-host-aggregates part 1."
10532
commit 0257325a22d1a9e9f1ad7d883f48a480584481db
10533
Merge: 0766ec0 f5583a7
10534
Author: Jenkins <jenkins@review.openstack.org>
10535
Date: Mon Jul 16 17:29:11 2012 +0000
10537
Merge "Remove VDI chain limit for migrations."
10539
commit 0766ec0da0d19be32c2ac07f480b3cb873d8037d
10540
Author: Paul Voccio <paul@openstack.org>
10541
Date: Fri Jul 13 14:21:22 2012 -0700
10543
Adding granularity for quotas to list and update
10545
added quotas:show and quotas:update to policy.json
10546
defaulting quotas:update to an admin-api default
10548
Change-Id: Ib328912be859512b9c5391d9b7aa317ecf29aeab
10550
etc/nova/policy.json | 3 ++-
10551
nova/api/openstack/compute/contrib/quotas.py | 9 +++++----
10552
nova/tests/policy.json | 3 ++-
10553
3 files changed, 9 insertions(+), 6 deletions(-)
10555
commit f5583a7840947c9eb5b0fb766daecc4e99dd95fe
10556
Author: Rick Harris <rconradharris@gmail.com>
10557
Date: Mon Jul 9 21:49:03 2012 +0000
10559
Remove VDI chain limit for migrations.
10561
The strategy for removing the limit is to refactor migration so that
10562
they work nearly identically to snapshots, meaning sequence-numbered
10563
VHDs are rsynced over into a staging-area and then imported into the SR
10564
using the `import_vhds` function.
10566
Change-Id: Ibf5c82c52ae7d505ea9e54d64fcc8b8fdce4d05d
10568
nova/tests/xenapi/stubs.py | 2 +-
10569
nova/virt/xenapi/vm_utils.py | 38 +++-
10570
nova/virt/xenapi/vmops.py | 219 +++++++++-----------
10571
plugins/xenserver/xenapi/etc/xapi.d/plugins/glance | 2 +-
10572
.../xenserver/xenapi/etc/xapi.d/plugins/migration | 101 +++------
10573
.../xenserver/xenapi/etc/xapi.d/plugins/utils.py | 6 +-
10574
6 files changed, 162 insertions(+), 206 deletions(-)
10576
commit cac332c39645286a11c009094a86f62d02752183
10577
Author: John Garbutt <john.garbutt@citrix.com>
10578
Date: Tue Jan 31 14:49:04 2012 +0000
10580
Refactoring required for blueprint xenapi-live-migration
10582
This refactoring of the libvirt live migration code is
10583
required to enable live migration in the xenapi driver.
10585
This change ensures libvirt specific checks are performed
10586
only when the libvirt driver is enabled.
10588
The complication is that some of these checks require
10589
information to be passed between the source and destination
10590
hosts. For example, when comparing CPU flags.
10592
Change-Id: I7389f0b7f03313d7f04b907f481787dadf0716fd
10594
nova/compute/manager.py | 141 ++++++-------
10595
nova/compute/rpcapi.py | 37 ++--
10596
nova/scheduler/driver.py | 206 +++----------------
10597
nova/tests/compute/test_compute.py | 209 ++++++++++++++------
10598
nova/tests/compute/test_rpcapi.py | 30 +--
10599
nova/tests/scheduler/test_scheduler.py | 341 +++++++++-----------------------
10600
nova/tests/test_libvirt.py | 178 ++++++++++++++++-
10601
nova/tests/test_virt_drivers.py | 26 ---
10602
nova/virt/baremetal/driver.py | 3 -
10603
nova/virt/driver.py | 68 ++++---
10604
nova/virt/fake.py | 7 +-
10605
nova/virt/libvirt/driver.py | 169 ++++++++++++++--
10606
nova/virt/xenapi/driver.py | 4 -
10607
13 files changed, 757 insertions(+), 662 deletions(-)
10609
commit a30ed72967eddf16718af717978acd80ebef2006
10610
Author: Andrew Bogott <abogott@wikimedia.org>
10611
Date: Sun Jul 1 16:37:14 2012 -0500
10613
Add the plugin framework from common; use and test.
10615
For blueprint novaplugins.
10617
Change-Id: Id4a5ae3ebb91f941956e2f73ecfd9ea1d290a235
10619
nova/api/openstack/compute/extensions.py | 5 ++
10620
nova/api/openstack/extensions.py | 7 +-
10621
nova/api/openstack/volume/extensions.py | 1 +
10622
nova/manager.py | 10 +++
10623
nova/openstack/common/plugin/__init__.py | 14 ++++
10624
nova/openstack/common/plugin/callbackplugin.py | 93 +++++++++++++++++++++++
10625
nova/openstack/common/plugin/plugin.py | 87 ++++++++++++++++++++++
10626
nova/openstack/common/plugin/pluginmanager.py | 95 ++++++++++++++++++++++++
10627
nova/tests/test_plugin_api_extensions.py | 90 ++++++++++++++++++++++
10628
openstack-common.conf | 2 +-
10629
10 files changed, 401 insertions(+), 3 deletions(-)
10631
commit 57e4ee833d1897b5114be193be3b6f7fa38f49bf
10632
Author: Andrew Bogott <abogott@wikimedia.org>
10633
Date: Sun Jul 8 06:11:44 2012 -0500
10635
Catch rpc up to the common state-of-the-art.
10637
This propagates the following patch from common into nova:
10639
Author: Jason Kƶlker <jason@koelker.net>
10640
Date: Tue Jul 10 11:12:50 2012 -0500
10642
Fix Zmq so it doesn't rely on nova flags
10644
* Embeded newlines in logging makes me cry
10645
* String formatting uses parens not curly braces
10647
* Hard skip Zmq tests so jenkins passes. Someone will have to fix.
10649
Change-Id: I651aa10861cb26808fa46e74a7db545fb2fd23b8
10651
nova/openstack/common/rpc/impl_zmq.py | 19 +++++++++++--------
10652
1 file changed, 11 insertions(+), 8 deletions(-)
10654
commit a2c05274afdb81213531225ba802a339ff017d69
10655
Merge: 3f87856 7d9d77b
10656
Author: Jenkins <jenkins@review.openstack.org>
10657
Date: Sun Jul 15 03:37:59 2012 +0000
10659
Merge "Properly name openstack.common.exception."
10661
commit b1d5719556d0fff3afc794bc0d95676ebb31fcd6
10662
Author: Salvatore Orlando <salvatore.orlando@eu.citrix.com>
10663
Date: Tue Jul 3 22:39:13 2012 +0100
10665
Support requested_networks with quantum v2.
10667
Allow Quantum to attach instance only to selected networks, which can
10668
be specified, for instance, via the --nic option on the nova CLI.
10672
Change-Id: I099056387edea9e3646cd4e329c76b674e03baa2
10675
nova/network/quantumv2/api.py | 11 ++++++++++-
10676
nova/tests/network/test_quantumv2.py | 29 ++++++++++++++++++++++++-----
10677
3 files changed, 36 insertions(+), 6 deletions(-)
10679
commit a3576bbb0c7090b97b0b02c88ffa81915db6290b
10680
Author: Eoghan Glynn <eglynn@redhat.com>
10681
Date: Tue Jul 10 08:16:27 2012 +0100
10683
Return 413 status on over-quota in the native API.
10685
Related to LP 1021373.
10687
Previously we returned a generic 500 Server Error on an over-quota
10688
conditions, whereas this is arguably more appropriately reported
10691
Change-Id: I5c1cdc9db54804c512d60e4179c1faa13516d6f9
10693
nova/api/openstack/__init__.py | 18 ++++++++++++++----
10694
nova/exception.py | 4 ++++
10695
nova/tests/api/openstack/compute/test_api.py | 16 ++++++++++++++++
10696
nova/utils.py | 13 +++++++++++++
10697
4 files changed, 47 insertions(+), 4 deletions(-)
10699
commit e2f031c321d25f16ed7620f45bc38687c0b0ed84
10700
Author: Bhuvan Arumugam <bhuvan@apache.org>
10701
Date: Fri Jul 13 23:04:54 2012 -0700
10703
Fix venv wrapper to clean *.pyc.
10707
With this fix the commands executed within virtual environment,
10708
including find command, are executed successfully.
10710
* tools/with_venv.sh
10711
Enclose command to execute in virtual environment within quotes.
10713
Change-Id: I886d70097090578e83adc20318600d16cc5ebead
10715
tools/with_venv.sh | 2 +-
10716
1 file changed, 1 insertion(+), 1 deletion(-)
10718
commit 3f878560229c82d52904f13419259a4e63ab6a05
10719
Merge: 806c317 b7118bf
10720
Author: Jenkins <jenkins@review.openstack.org>
10721
Date: Sat Jul 14 02:08:20 2012 +0000
10723
Merge "Sync gettextutils fixes from openstack-common."
10725
commit 806c31736e1c517ab599dc3fe1bf738671a8296b
10726
Merge: e3215a7 4d27b6e
10727
Author: Jenkins <jenkins@review.openstack.org>
10728
Date: Sat Jul 14 00:25:29 2012 +0000
10730
Merge "network manager returns empty list, not raise an exception"
10732
commit e3215a70ee5abe00256120d3de794e3d27ff2e36
10733
Merge: a8dcd3a 945493b
10734
Author: Jenkins <jenkins@review.openstack.org>
10735
Date: Sat Jul 14 00:23:02 2012 +0000
10737
Merge "add network creation call to network.api.API"
10739
commit a8dcd3abd6547ab61463c832756744626e3b87af
10740
Merge: a002dfa 9b66e81
10741
Author: Jenkins <jenkins@review.openstack.org>
10742
Date: Fri Jul 13 23:51:26 2012 +0000
10744
Merge "Use all deps for tools/hacking.py tests in tox"
10746
commit a002dfae1ab659a3d3a6d835c89fa73a1546fc3f
10747
Merge: 9a97c18 a253151
10748
Author: Jenkins <jenkins@review.openstack.org>
10749
Date: Fri Jul 13 23:36:39 2012 +0000
10751
Merge "overriden VlanManager.create_networks must return a result"
10753
commit 9a97c189d31586eaaa14994f382ae385b63dd442
10754
Merge: b9478a3 4e7bb00
10755
Author: Jenkins <jenkins@review.openstack.org>
10756
Date: Fri Jul 13 23:36:36 2012 +0000
10758
Merge "bug 1024557"
10760
commit b9478a33bb5a38ea5e9a56e417237da31b958360
10761
Merge: b97460a 42e7855
10762
Author: Jenkins <jenkins@review.openstack.org>
10763
Date: Fri Jul 13 23:34:13 2012 +0000
10765
Merge "Always attempt to delete entire floating IP range."
10767
commit b97460a62a2160527af03b4d79632444fafda71c
10768
Merge: 58c92d6 ad9ac0c
10769
Author: Jenkins <jenkins@review.openstack.org>
10770
Date: Fri Jul 13 23:32:53 2012 +0000
10772
Merge "Raise HTTP 500 if service catalog is not json."
10774
commit 58c92d66e7220574038cedd3079d64649ced2106
10775
Merge: f4a778f e9d2158
10776
Author: Jenkins <jenkins@review.openstack.org>
10777
Date: Fri Jul 13 23:32:51 2012 +0000
10779
Merge "Expose over-quota exceptions via native API."
10781
commit 9b66e81d2b8d688af7c9e77cc1fe0307ffcc5d9b
10782
Author: Joe Gordon <jogo@cloudscaling.com>
10783
Date: Mon Jul 9 16:56:47 2012 -0700
10785
Use all deps for tools/hacking.py tests in tox
10787
tools/hacking needs pip modules to accuratly run nova_import_module_only
10789
Change-Id: I19eb624cc32a15438666e5710394a77d13b50763
10792
1 file changed, 1 deletion(-)
10794
commit f4a778f31f647b065b945311920148366d4ead53
10795
Merge: 223235a 688f927
10796
Author: Jenkins <jenkins@review.openstack.org>
10797
Date: Fri Jul 13 23:09:15 2012 +0000
10799
Merge "Janitorial: Catch rpc up with a change in common"
10801
commit 223235a5b769985aa637524acaafa37a394772e9
10802
Merge: 46466e2 4229bac
10803
Author: Jenkins <jenkins@review.openstack.org>
10804
Date: Fri Jul 13 22:40:40 2012 +0000
10806
Merge "Fix spelling in docstrings"
10808
commit 46466e2bb98419cc1c20a439d696fa1b6ae8e28a
10809
Merge: 38beedc 5526fb6
10810
Author: Jenkins <jenkins@review.openstack.org>
10811
Date: Fri Jul 13 22:33:06 2012 +0000
10813
Merge "Fix snapshots tests failing bug 1022670"
10815
commit 4e7bb008effe92a4e06a2d104cbd1ea0d19a5db6
10816
Author: Troy Toman <troy.toman@rackspace.com>
10817
Date: Fri Jul 13 17:22:23 2012 -0500
10821
De-dupes the list of DNS IPs that is put in the xenstore for network configuration
10823
Added a duplicate DNS IP in the fake_network to create a valid test.
10825
Change-Id: I25a00c7e47578b1667992aa4bad879667198465a
10827
nova/tests/fake_network.py | 1 +
10828
nova/tests/test_xenapi.py | 2 +-
10829
nova/virt/xenapi/vmops.py | 2 +-
10830
3 files changed, 3 insertions(+), 2 deletions(-)
10832
commit 38beedcb13b839b3d2b87e53cab5198b211ba65b
10833
Merge: e1dd00e a834cf9
10834
Author: Jenkins <jenkins@review.openstack.org>
10835
Date: Fri Jul 13 22:13:13 2012 +0000
10837
Merge "Fix SADeprecationWarning: useexisting is deprecated"
10839
commit e1dd00edae03f90682fcc0e0a49f7aac7f76b3c5
10840
Merge: b63a3e8 86e62b5
10841
Author: Jenkins <jenkins@review.openstack.org>
10842
Date: Fri Jul 13 21:37:30 2012 +0000
10844
Merge "Extension to show usage of limited resources in /limits response."
10846
commit c571ebb89bed12f7fde47d1c45d04b1a13382af0
10847
Author: Joe Gordon <jogo@cloudscaling.com>
10848
Date: Wed Jun 6 14:03:43 2012 -0700
10850
General-host-aggregates part 1.
10852
Partially implements blueprint general-host-aggregates: Xen decoupling
10854
* keep rpcapi to compute-controller for Hypervisor-Pools
10855
* Add compute_rpcapi.add_aggregate_host to libvirt
10856
* Remove aggregate states
10857
* Remove One aggregate per host restriction
10858
* Keep Xen support for both hypervisor pools and aggregates
10860
Change-Id: I6ac0f8b6fc31dff589363331e99e0755301f2172
10862
nova/api/openstack/compute/contrib/aggregates.py | 7 +-
10863
nova/compute/aggregate_states.py | 44 ------
10864
nova/compute/api.py | 66 +++------
10865
nova/compute/manager.py | 18 +--
10866
nova/db/sqlalchemy/api.py | 14 +-
10867
.../versions/111_general_aggregates.py | 68 +++++++++
10868
nova/db/sqlalchemy/models.py | 8 +-
10869
nova/exception.py | 4 -
10870
.../openstack/compute/contrib/test_aggregates.py | 11 --
10871
nova/tests/compute/test_compute.py | 150 ++------------------
10872
nova/tests/test_db_api.py | 17 +--
10873
nova/tests/test_xenapi.py | 150 +++++++++++++++++---
10874
nova/virt/driver.py | 6 +
10875
nova/virt/libvirt/driver.py | 14 ++
10876
nova/virt/xenapi/driver.py | 6 +
10877
nova/virt/xenapi/pool.py | 69 +++++++--
10878
nova/virt/xenapi/pool_states.py | 48 +++++++
10879
17 files changed, 380 insertions(+), 320 deletions(-)
10881
commit b63a3e8cbd8fe57d0be119368bf47964543270c2
10882
Author: Josh Kearney <josh@jk0.org>
10883
Date: Fri Jul 13 15:57:54 2012 -0500
10885
Attach ISO as separate disk if given proper instruction.
10887
This gives the option to attach the ISO as a separate drive, like we do in
10888
XenServer, and boot from that instead of replacing the root drive.
10892
Change-Id: I0e0560f5fcbc361b60ff1284e7369997dd770fd9
10894
nova/virt/libvirt/driver.py | 9 +++++++++
10895
1 file changed, 9 insertions(+)
10897
commit 86e62b52ac04fe933cec0fc21e52a8fe28930949
10898
Author: Alex Meade <alex.meade@rackspace.com>
10899
Date: Mon Jul 9 16:07:55 2012 -0400
10901
Extension to show usage of limited resources in /limits response.
10903
This extension add information such as the total amount of ram being used by a
10904
user to the /limits response in order to be used by the client/user.
10906
Change-Id: Ia23c1858bda31cf28209d5a593774e53e79d8ccf
10908
nova/api/openstack/compute/contrib/used_limits.py | 77 ++++++++++++
10909
.../openstack/compute/contrib/test_used_limits.py | 125 ++++++++++++++++++++
10910
2 files changed, 202 insertions(+)
10912
commit a834cf99f8a9b8b3fc9921da24a27f66e6abfbd1
10913
Author: Joe Gordon <jogo@cloudscaling.com>
10914
Date: Fri Jul 13 03:58:33 2012 +0000
10916
Fix SADeprecationWarning: useexisting is deprecated
10920
Change-Id: I941df9260a4fbb27f5776f582ad8f59a1e32ea8b
10922
.../versions/087_add_uuid_to_bw_usage_cache.py | 2 +-
10923
1 file changed, 1 insertion(+), 1 deletion(-)
10925
commit 24f81fbfb7043cd2ba54ee6243ec430427b5fb4d
10926
Merge: e4ac606 17389ec
10927
Author: Jenkins <jenkins@review.openstack.org>
10928
Date: Fri Jul 13 20:16:59 2012 +0000
10930
Merge "Fix RuntimeWarning nova_manage not found"
10932
commit e4ac606dd532ccc35a9df82bdc573ded5733eefa
10933
Merge: 257d654 d906692
10934
Author: Jenkins <jenkins@review.openstack.org>
10935
Date: Fri Jul 13 20:05:31 2012 +0000
10937
Merge "Use explicit destination user in xenapi rsync call"
10939
commit 257d654ccad0b3df6d35733603fa5b127c4c0241
10940
Merge: 94ba8b9 1ef88fd
10941
Author: Jenkins <jenkins@review.openstack.org>
10942
Date: Fri Jul 13 20:03:39 2012 +0000
10944
Merge "Exclude openstack-common from pep8 checks."
10946
commit 94ba8b91e949a3444ac4b57312c845fdc5406491
10947
Merge: f649ead 43677fc
10948
Author: Jenkins <jenkins@review.openstack.org>
10949
Date: Fri Jul 13 19:45:23 2012 +0000
10951
Merge "Sync importutils from openstack-common."
10953
commit f649ead6cd01368e49b4ee526ee230ecb07438f2
10954
Merge: 59f0d88 b0377bc
10955
Author: Jenkins <jenkins@review.openstack.org>
10956
Date: Fri Jul 13 19:43:39 2012 +0000
10958
Merge "Change base rpc version to 1.0 in compute rpcapi."
10960
commit 4229bacc80418e6c68821cf0701fb6fc987175da
10961
Author: Joe Gordon <jogo@cloudscaling.com>
10962
Date: Mon Jul 9 23:28:06 2012 +0000
10964
Fix spelling in docstrings
10966
Change-Id: I45b913e701c3902e16a73a99fff01c115f63c2a9
10968
nova/compute/manager.py | 9 +++++----
10969
1 file changed, 5 insertions(+), 4 deletions(-)
10971
commit 17389ec61b932988821c19efc79d0b1093128b53
10972
Author: Joe Gordon <jogo@cloudscaling.com>
10973
Date: Thu Jul 12 14:56:52 2012 -0700
10975
Fix RuntimeWarning nova_manage not found
10979
Change-Id: Ia24cc5c48f15f033c2cf610b8c68a3fd14fbd257
10981
nova/tests/test_nova_manage.py | 2 +-
10982
1 file changed, 1 insertion(+), 1 deletion(-)
10984
commit 59f0d884a965f7e2e8745469dc1c0c5ad43663c0
10985
Merge: 6cfd3ab bed296b
10986
Author: Jenkins <jenkins@review.openstack.org>
10987
Date: Fri Jul 13 18:25:35 2012 +0000
10989
Merge "associate_floating_ip an ip already in use"
10991
commit 1ef88fdd5bdab4a83c011277c6693c9ed500c0b7
10992
Author: Dan Prince <dprince@redhat.com>
10993
Date: Fri Jul 13 13:47:10 2012 -0400
10995
Exclude openstack-common from pep8 checks.
10997
Updates tox.ini and run_tests.sh to exclude openstack-common code
11000
Fixes LP Bug #1020792
11002
Change-Id: I6bb9747f86f7677f0e9c4169c04d6f3fbd4b3480
11004
run_tests.sh | 2 +-
11006
2 files changed, 2 insertions(+), 2 deletions(-)
11008
commit 6cfd3abcaba29e493ce794c54b769c1aa2d2b336
11009
Merge: 7369bb9 c6c29ab
11010
Author: Jenkins <jenkins@review.openstack.org>
11011
Date: Fri Jul 13 17:57:28 2012 +0000
11013
Merge "Sync cfg from openstack-common."
11015
commit 7369bb9ba8d5710ea20c8bfb7b2465b9906fa0bc
11016
Merge: 86b0cc2 45f8aef
11017
Author: Jenkins <jenkins@review.openstack.org>
11018
Date: Fri Jul 13 17:57:25 2012 +0000
11020
Merge "Remove VDI chain limit for snapshots."
11022
commit 86b0cc2b517e75530b331a2e20111221294b6266
11023
Merge: 09cb3e0 d81d0f0
11024
Author: Jenkins <jenkins@review.openstack.org>
11025
Date: Fri Jul 13 17:53:36 2012 +0000
11027
Merge "Remove unnecessary logging from API"
11029
commit 09cb3e06954035943baaec4306007dda32f1ec2a
11030
Merge: 51f5a23 dd20006
11031
Author: Jenkins <jenkins@review.openstack.org>
11032
Date: Fri Jul 13 17:50:20 2012 +0000
11034
Merge "Sync a commit from openstack-common."
11036
commit 51f5a233aeff9fc5fac34ff10a906d5f62ccd6b6
11037
Merge: e656cc8 12a8922
11038
Author: Jenkins <jenkins@review.openstack.org>
11039
Date: Fri Jul 13 17:32:21 2012 +0000
11041
Merge "Add SKIP_WRITE_GIT_CHANGELOG to setup.py."
11043
commit d906692f78e6919cf53df18f00995546cab2b1b0
11044
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
11045
Date: Fri Jul 13 16:12:25 2012 +0000
11047
Use explicit destination user in xenapi rsync call
11049
Recent versions of xenserver use a newer, but buggy, version of rsync
11050
that will attempt to parse out the username and fail if it isn't in
11051
the destination. So, add it to the destination to ensure this works
11052
with both older and newer versions of rsync.
11054
Change-Id: I9b7f05a8ea5cf5b7fae1a55a2b8557b2bfe5b865
11056
.../xenserver/xenapi/etc/xapi.d/plugins/migration | 3 ++-
11057
1 file changed, 2 insertions(+), 1 deletion(-)
11059
commit e656cc8a92cf340e0b8b7f21d633280aff2d4f55
11060
Merge: cbeb945 0d166ca
11061
Author: Jenkins <jenkins@review.openstack.org>
11062
Date: Fri Jul 13 16:29:30 2012 +0000
11064
Merge "only mount guest image once when injecting files"
11066
commit b7118bf954a0529806fb3b32fee0a3b760f02530
11067
Author: Russell Bryant <rbryant@redhat.com>
11068
Date: Fri Jul 13 12:13:57 2012 -0400
11070
Sync gettextutils fixes from openstack-common.
11072
commit c80bfb563626200f7587c7ca52433c59a303b469
11073
Author: Eric Windisch <eric@cloudscaling.com>
11074
Date: Thu Jun 28 00:32:52 2012 -0400
11076
Fix missing gettextutils in several modules.
11080
Change-Id: I98758a088911cc422b61abd02b3be6cc6d6a472b
11082
nova/openstack/common/log.py | 1 +
11083
nova/openstack/common/notifier/api.py | 1 +
11084
nova/openstack/common/notifier/list_notifier.py | 1 +
11085
nova/openstack/common/notifier/rabbit_notifier.py | 1 +
11086
nova/openstack/common/policy.py | 1 +
11087
nova/openstack/common/rpc/amqp.py | 1 +
11088
nova/openstack/common/rpc/matchmaker.py | 1 +
11089
7 files changed, 7 insertions(+)
11091
commit 43677fc6dab76d9b6ad0375eba4b3c2a78e5b405
11092
Author: Russell Bryant <rbryant@redhat.com>
11093
Date: Fri Jul 13 12:10:48 2012 -0400
11095
Sync importutils from openstack-common.
11097
commit 8c74b37f5bdf1141b8c3724c8df460e6562d1985
11098
Author: Russell Bryant <rbryant@redhat.com>
11099
Date: Tue Jun 19 17:08:35 2012 -0400
11101
Improve exception from importutils.import_class().
11103
The ImportError raised by import_class() attempted to tell you what the
11104
original error was by just doing str() on the original exception.
11105
Sometimes that's helpful, but sometimes a full traceback is needed.
11106
This patch includes a traceback for debugging purposes.
11108
Change-Id: I83b167baf99feacef1a3f91089b758c6cf9531d3
11110
nova/openstack/common/importutils.py | 4 +++-
11111
1 file changed, 3 insertions(+), 1 deletion(-)
11113
commit c6c29ab3898a88144f022aaefd1e8267e4dbb866
11114
Author: Russell Bryant <rbryant@redhat.com>
11115
Date: Fri Jul 13 12:09:58 2012 -0400
11117
Sync cfg from openstack-common.
11119
commit 3af0786b6d2ce0d088db7a9754ba8f35acb175c9
11120
Author: Vincent Untz <vuntz@suse.com>
11121
Date: Thu Jul 5 14:51:26 2012 +0200
11123
cfg: Fix typo in documentation
11127
Change-Id: I83494403435aaf980827adba707d6229786d8653
11129
nova/openstack/common/cfg.py | 4 ++--
11130
1 file changed, 2 insertions(+), 2 deletions(-)
11132
commit cbeb9457ddb43d12d44fc07bd64d8dce2abdbcd6
11133
Merge: 03de59d b0da2c4
11134
Author: Jenkins <jenkins@review.openstack.org>
11135
Date: Fri Jul 13 16:12:01 2012 +0000
11137
Merge "When over quota for floating ips, return HTTPRequestEntityTooLarge."
11139
commit 12a89225e30d2b31854be387b78cd60a15446163
11140
Author: Dan Prince <dprince@redhat.com>
11141
Date: Fri Jul 13 12:07:33 2012 -0400
11143
Add SKIP_WRITE_GIT_CHANGELOG to setup.py.
11145
Sync with latest setup.py from openstack-common which adds options
11146
to SKIP_WRITE_GIT_CHANGELOG and SKIP_GENERATE_AUTHORS.
11148
If you set SKIP_WRITE_GIT_CHANGELOG in your environment it will speed
11149
up sdist creation by 10-20 seconds which also helps make tox run
11150
faster (because it runs sdist).
11152
Change-Id: I5da708d2e9547d5e554cf49ecfcf39591de6a4e5
11154
nova/openstack/common/setup.py | 42 ++++++++++++++++++++++++----------------
11155
1 file changed, 25 insertions(+), 17 deletions(-)
11157
commit d81d0f0074f73963340d01c07440b0a271629b29
11158
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
11159
Date: Fri Jul 13 15:36:06 2012 +0000
11161
Remove unnecessary logging from API
11163
When retrieving a list with a lot of instances (thousands), a
11164
significant part of the time is spent logging debug messages.
11165
These messages don't provide much value anymore and just slow
11166
things down unnecessarily.
11168
Change-Id: I52cbec2b236bac587776c8a56e0f8dcae05294cf
11170
nova/api/openstack/common.py | 5 -----
11171
1 file changed, 5 deletions(-)
11173
commit dd20006926bcf7b8159ee6e711e9e4dd53873768
11174
Author: Russell Bryant <rbryant@redhat.com>
11175
Date: Fri Jul 13 12:07:04 2012 -0400
11177
Sync a commit from openstack-common.
11179
commit 62c19c105e9c273692f37d033ffd405c5dda68aa
11180
Author: Russell Bryant <rbryant@redhat.com>
11181
Date: Fri Jul 13 11:35:15 2012 -0400
11183
Add more rpc version docs.
11185
This patch adds some additional documentation, including some examples,
11186
on making changes to versioned RPC APIs.
11188
Change-Id: I51f2bc48c3a3f731e9426f7541bc6c9157e00c2f
11190
nova/openstack/common/rpc/dispatcher.py | 39 +++++++++++++++++++++++++++++++
11191
1 file changed, 39 insertions(+)
11193
commit 03de59d976e1c2e821ebfa2ee8933083c92a27e6
11194
Merge: b0c4618 5eea887
11195
Author: Jenkins <jenkins@review.openstack.org>
11196
Date: Fri Jul 13 16:07:16 2012 +0000
11198
Merge "ensure libguestfs mounts are cleaned up"
11200
commit b0c461847a0b699377224174b4646d2c328200a7
11201
Merge: b2a24fe e28ee9f
11202
Author: Jenkins <jenkins@review.openstack.org>
11203
Date: Fri Jul 13 15:58:06 2012 +0000
11205
Merge "Fix typo in docstring"
11207
commit b2a24fe8d721301582c3cfab0160c24b6c33fc40
11208
Merge: 2a84031 8b6af1f
11209
Author: Jenkins <jenkins@review.openstack.org>
11210
Date: Fri Jul 13 15:32:06 2012 +0000
11212
Merge "Propagate setup.py change from common."
11214
commit e28ee9ffad0564d102d30601ddc0995ffee0faa4
11215
Author: Phil Day <philip.day@hp.com>
11216
Date: Fri Jul 13 11:05:07 2012 +0100
11218
Fix typo in docstring
11220
_send_instance_update_notification:
11221
compute.instance.exists -> compute.instance.update
11223
Change-Id: Idecfc19e7cfe14e0368fbf78090c68eab3859ee3
11225
nova/notifications.py | 2 +-
11226
1 file changed, 1 insertion(+), 1 deletion(-)
11228
commit 2a8403129e85a4e5663b3200c6d0ef2a02bfc717
11229
Merge: 0fee7cb 34f9d7e
11230
Author: Jenkins <jenkins@review.openstack.org>
11231
Date: Fri Jul 13 08:34:05 2012 +0000
11233
Merge "Convert remaining network API casts to calls"
11235
commit 0fee7cb7e9cab76db4ebda663ece190ef31c251b
11236
Merge: 3a451e7 665516f
11237
Author: Jenkins <jenkins@review.openstack.org>
11238
Date: Fri Jul 13 00:44:37 2012 +0000
11240
Merge "Adds snapshot_attached_here contextmanager."
11242
commit 3a451e7e7b7d6af4e271bf0a5219311ee2545e52
11243
Merge: f29ca7e ba45d35
11244
Author: Jenkins <jenkins@review.openstack.org>
11245
Date: Fri Jul 13 00:44:35 2012 +0000
11247
Merge "Remove deprecated auth from GlanceImageService"
11249
commit 45f8aefcd33b7848d33ae2e8d9801925cf8365e7
11250
Author: Rick Harris <rconradharris@gmail.com>
11251
Date: Sat Jul 7 02:21:52 2012 +0000
11253
Remove VDI chain limit for snapshots.
11255
Snapshots and migrations were coded with a simplifying assumption that
11256
the maximum length of a VDI chain would be 3. Now that fast-cloning has
11257
been added, this assumption no longer holds.
11259
The goal of this patch is to remove the restriction for snapshots. A
11260
follow-on patch will remove the restriction for migrations.
11262
This patch changes the image-format for XenAPI images. Instead of naming
11263
the VHDs, 'base', 'image', and 'snap', they are now numbered staring
11264
with 0 as the leaf and going to N as the base-copy (root).
11266
Old-style images are still supported.
11268
Change-Id: Ieb073b42dc25db7cee4dfca7ff6525f7e7f46e8e
11270
nova/tests/xenapi/stubs.py | 2 +-
11271
nova/virt/xenapi/vm_utils.py | 16 +-
11272
nova/virt/xenapi/vmops.py | 13 +-
11273
.../xenserver/xenapi/etc/xapi.d/plugins/utils.py | 298 +++++++++-----------
11274
4 files changed, 153 insertions(+), 176 deletions(-)
11276
commit 665516f72402eac00455517446716cd7d43323db
11277
Author: Rick Harris <rconradharris@gmail.com>
11278
Date: Tue Jul 10 22:19:25 2012 +0000
11280
Adds snapshot_attached_here contextmanager.
11282
This patch does three things:
11284
* Moves more code into vm_utils to better match our separation of
11287
* Reduces complexity of the vmops._destroy method.
11289
* Adds snapshot_attached_here contextmanager to make the
11290
snapshotting code a bit cleaner.
11292
Change-Id: I544dc2ba203519d32a5ecce4a87157b5c4a55076
11294
nova/tests/test_xenapi.py | 8 ++--
11295
nova/tests/xenapi/stubs.py | 8 ++--
11296
nova/virt/xenapi/vm_utils.py | 60 +++++++++++++++++++++++++--
11297
nova/virt/xenapi/vmops.py | 93 +++++++++++-------------------------------
11298
4 files changed, 89 insertions(+), 80 deletions(-)
11300
commit f29ca7ee4bcea1fbf88648ef4de4d0c32c459fff
11301
Merge: 849c2e9 70f503b
11302
Author: Jenkins <jenkins@review.openstack.org>
11303
Date: Thu Jul 12 22:32:32 2012 +0000
11305
Merge "Use the dict syntax instead of attribute to access db objects"
11307
commit 849c2e92ac294e4a847430170fdf83842539c05d
11308
Merge: 4d0ffe3 1684c95
11309
Author: Jenkins <jenkins@review.openstack.org>
11310
Date: Thu Jul 12 21:39:01 2012 +0000
11312
Merge "Floating_ip create /31,32 shouldn't silent error"
11314
commit 4d0ffe3c7c2ec14af4d199294e13a3eb5ac97dd6
11315
Merge: 756f43f 3ddece6
11316
Author: Jenkins <jenkins@review.openstack.org>
11317
Date: Thu Jul 12 21:38:57 2012 +0000
11319
Merge "Making docs pretty!"
11321
commit 756f43fa5ce8a39db5777861e53480d4b4d6308d
11322
Merge: 6d9a3e6 ab7e4f2
11323
Author: Jenkins <jenkins@review.openstack.org>
11324
Date: Thu Jul 12 20:51:29 2012 +0000
11326
Merge "When deleting an instance, avoid freakout if iscsi device is gone"
11328
commit b0377bc6d6d88c3e1ec68195de87a3bab194be1c
11329
Author: Russell Bryant <rbryant@redhat.com>
11330
Date: Thu Jul 12 16:08:14 2012 -0400
11332
Change base rpc version to 1.0 in compute rpcapi.
11334
A recent patch change the RPC_API_VERSION in compute/rpcapi.py to 1.1.
11335
This change was the right thing to do in compute/manager.py, but not
11336
compute/rpcapi.py. This patch changes it back to 1.0, and changes the
11337
code to only specify that 1.1 is required for the new method.
11339
This version in the rpcapi modules is used as the default version to set
11340
in a message. The version sent in a message is the minimum version
11341
required to be implemented on the manager side for the message to be
11342
successfully processed. For most messages, that is just 1.0. In the
11343
case of the new method, it's 1.1.
11345
This patch also changes the name of his variable in the rpcapi modules
11346
from RPC_API_VERSION to BASE_RPC_API_VERSION to help clarify this a bit
11349
Change-Id: I2bb4602845869bd44b39531eeb4f1e7c0c4c20c2
11351
nova/cert/rpcapi.py | 7 ++++---
11352
nova/compute/rpcapi.py | 17 ++++++++++-------
11353
nova/console/rpcapi.py | 7 ++++---
11354
nova/consoleauth/rpcapi.py | 7 ++++---
11355
nova/scheduler/rpcapi.py | 4 ++--
11356
nova/tests/cert/test_rpcapi.py | 2 +-
11357
nova/tests/compute/test_compute.py | 24 ++++++++++++++----------
11358
nova/tests/compute/test_rpcapi.py | 6 ++++--
11359
nova/tests/console/test_rpcapi.py | 2 +-
11360
nova/tests/consoleauth/test_rpcapi.py | 2 +-
11361
nova/tests/scheduler/test_rpcapi.py | 2 +-
11362
nova/tests/scheduler/test_scheduler.py | 22 +++++++++++-----------
11363
12 files changed, 57 insertions(+), 45 deletions(-)
11365
commit 186d5636df4ebe063f61de0b34ad55739e0bc09a
11366
Author: Yun Mao <yunmao@gmail.com>
11367
Date: Thu Jul 12 15:49:58 2012 -0400
11369
Use _lookup_by_name instead of _conn.lookupByName
11371
use the helper function instead of the libvirt call directly
11372
to allow NovaExceptions instead of libvirt exceptions to be thrown.
11374
Change-Id: Ieac171e1a2bce1f5542ae73f3d8f6b7a5ccfa8f7
11376
nova/virt/libvirt/driver.py | 14 +++++++-------
11377
1 file changed, 7 insertions(+), 7 deletions(-)
11379
commit 70f503b031ad596bf45689a6ad942c1c8549b7ff
11380
Author: Yun Mao <yunmao@gmail.com>
11381
Date: Thu Jul 12 14:55:28 2012 -0400
11383
Use the dict syntax instead of attribute to access db objects
11385
To make the code style consistent, use instance["attr"] instead of
11386
instance.attr in the code.
11388
Change-Id: I766c714cb86d3b67ff9787bc50e5e20e37c9b574
11390
nova/virt/libvirt/driver.py | 20 ++++++++++----------
11391
1 file changed, 10 insertions(+), 10 deletions(-)
11393
commit 6d9a3e62b073f294330d57a12378c1f6e58bd970
11394
Merge: 31dfb97 8e5125c
11395
Author: Jenkins <jenkins@review.openstack.org>
11396
Date: Thu Jul 12 18:55:52 2012 +0000
11398
Merge "Adds bootlocking to the xenserver suspend and resume"
11400
commit ad9ac0c6dce5b2a8da72bb4860a353aeb0bd09d9
11401
Author: Dan Prince <dprince@redhat.com>
11402
Date: Wed Jul 11 14:57:55 2012 -0400
11404
Raise HTTP 500 if service catalog is not json.
11406
Updates the Nova API auth middleware so that it returns a HTTP
11407
500 error if invalid JSON is found.
11411
Change-Id: I236ced13bac2164e103060e78845a410ceb6cdd4
11413
nova/api/auth.py | 7 ++++++-
11414
nova/tests/api/test_auth.py | 6 ++++++
11415
2 files changed, 12 insertions(+), 1 deletion(-)
11417
commit 1684c95568a3cf98458f154a4ea3508dd475e763
11418
Author: John Tran <jhtran@att.com>
11419
Date: Fri Jun 29 10:54:24 2012 -0700
11421
Floating_ip create /31,32 shouldn't silent error
11423
Fixes bug 1017682 the netaddr.IPNetwork.iter_hosts
11424
method doesn't return any IPs when /32 or /31 and
11425
should throw an exception instead of silent error
11427
Change-Id: Id8875b6016a4dbb40b29d2f7687e6c35491e0129
11429
bin/nova-manage | 8 +++++++-
11430
nova/tests/test_nova_manage.py | 35 +++++++++++++++++++++++++++++++++++
11431
2 files changed, 42 insertions(+), 1 deletion(-)
11433
commit 31dfb9736cf73df3c0a86d0505bce3e1aae3a8f9
11434
Merge: 74a7294 bf7626c
11435
Author: Jenkins <jenkins@review.openstack.org>
11436
Date: Thu Jul 12 18:23:05 2012 +0000
11438
Merge "Fix .mailmap to generate unique AUTHORS list."
11440
commit 34f9d7e974d0e09c723e0a04ed6eecd1b482e77d
11441
Author: Phil Day <philip.day@hp.com>
11442
Date: Wed Jul 11 09:26:11 2012 +0100
11444
Convert remaining network API casts to calls
11446
Fix for Bug 1021340
11448
During compute/terminate_instance networking is de-allocated by a call to
11449
network/api/deallocate_for_instance(), which is implemented as an rpc.cast to
11450
the network manager. This in turn will eventually call
11451
network/manager/deallocate_fixed_ip(), which in turn call the compute API to
11452
trigger a security group refresh, which will get the instance from the database
11454
However because original call to the network manager is a cast there is a chance
11455
that the compute manager will delete the instance record in the DB before the
11456
compute API (in the network manager) tries to retrieve the instance. At this
11457
point the security group refresh fails (leaving rules in place which are a
11458
security risk when the IP is reused), and potentially stopping otheraspects
11459
of the network deallocation from completing.
11461
Changing this from rpc.call to rpc.cast will fix this issue.
11463
Aside from this specific use of a cast there are 4 other casts in the
11465
add_fixed_ip_to_instance
11466
remove_fixed_ip_from_instance
11467
add_network_to_project
11468
release_floating_ip
11470
and to avoid other timing issues these will also be converted to calls.
11472
Change-Id: I5cdcc628293d3e7cf165c5ffe4883f138783f73f
11474
nova/network/api.py | 10 +++++-----
11475
1 file changed, 5 insertions(+), 5 deletions(-)
11477
commit 74a7294cf68ad64367620caac52c7670d6d379ca
11478
Merge: 1bd3acf 6a18ada
11479
Author: Jenkins <jenkins@review.openstack.org>
11480
Date: Thu Jul 12 14:41:02 2012 +0000
11482
Merge "Don't block instance delete on missing block device volume"
11484
commit 1bd3acfb0459ba4cd773848e71581f874be33a2e
11485
Merge: c2d3300 972f566
11486
Author: Jenkins <jenkins@review.openstack.org>
11487
Date: Thu Jul 12 14:39:39 2012 +0000
11489
Merge "Imports base64 to fix xen file injection"
11491
commit c2d33008f040fae7971646ad01a5d4e48a79c480
11492
Merge: 7d00b66 ad54ed5
11493
Author: Jenkins <jenkins@review.openstack.org>
11494
Date: Thu Jul 12 10:46:12 2012 +0000
11496
Merge "Adds diagnostics command for the libvirt driver."
11498
commit 4d27b6e87bde179a8c4ada5bfc2f4cd7904f7b48
11499
Author: Alessio Ababilov <aababilov@griddynamics.com>
11500
Date: Thu Jul 12 12:31:50 2012 +0300
11502
network manager returns empty list, not raise an exception
11506
Change-Id: I9ddb10db127375ad37a7760b53e44782b392c2e3
11508
nova/network/manager.py | 5 ++++-
11509
1 file changed, 4 insertions(+), 1 deletion(-)
11511
commit 945493b0039b38b2f7319c0208e01fcbdc073517
11512
Author: Alessio Ababilov <aababilov@griddynamics.com>
11513
Date: Thu Jul 12 11:36:33 2012 +0300
11515
add network creation call to network.api.API
11519
Change-Id: Iccbbf086fb499e574c86a0f6ffceedfa07e1acf0
11521
nova/network/api.py | 6 ++++++
11522
1 file changed, 6 insertions(+)
11524
commit a253151a43c74ad838a5cde6fcd25ffdbe44bb15
11525
Author: Alessio Ababilov <aababilov@griddynamics.com>
11526
Date: Thu Jul 12 11:35:43 2012 +0300
11528
overriden VlanManager.create_networks must return a result
11532
Change-Id: Iaaa016ea61dd8d26dcd66603abb6f66d22a15bb5
11534
nova/network/manager.py | 3 ++-
11535
1 file changed, 2 insertions(+), 1 deletion(-)
11537
commit b0da2c4f4ed492f11c343852442e447073a5af76
11538
Author: Andrew Bogott <abogott@wikimedia.org>
11539
Date: Thu Jul 12 01:26:02 2012 -0500
11541
When over quota for floating ips, return HTTPRequestEntityTooLarge.
11543
Previously we were returning a generic Internal Server Error which seems dumb.
11547
Change-Id: Ia30b8de22bcc00d159bb4894ab4dc5f4870c346b
11549
nova/api/openstack/compute/contrib/floating_ips.py | 2 +-
11550
.../openstack/compute/contrib/test_floating_ips.py | 3 ++-
11551
2 files changed, 3 insertions(+), 2 deletions(-)
11553
commit 7d00b664a4d74333f7cd9736ce6bb613ccddc814
11554
Author: Brian Waldon <brian.waldon@rackspace.com>
11555
Date: Tue Jul 10 00:12:57 2012 -0700
11557
Remove deprecated auth-related db code
11559
* Remove user_*, auth_token_* and project_* db api
11560
functions (except project_get_networks)
11561
* Remove User, Project, AuthToken, UserProjectRoleAssociation,
11562
UserRoleAssociation, and UserProjectAssociation db models
11563
* Add two migrations:
11564
* 109 removes the project_id fkey from dns_domains
11565
* 110 drops tables that correspond to the deleted models
11566
* Related to bp remove-deprecated-auth
11568
Change-Id: Iaacae0e5c0050e94b92e16ab5d8129eadb56c5a7
11570
nova/db/api.py | 126 -----------
11571
nova/db/sqlalchemy/api.py | 239 --------------------
11572
.../109_drop_dns_domains_project_id_fkey.py | 64 ++++++
11573
.../migrate_repo/versions/109_sqlite_downgrade.sql | 53 +++++
11574
.../migrate_repo/versions/109_sqlite_upgrade.sql | 52 +++++
11575
.../versions/110_drop_deprecated_auth.py | 189 ++++++++++++++++
11576
nova/db/sqlalchemy/models.py | 81 -------
11577
7 files changed, 358 insertions(+), 446 deletions(-)
11579
commit bf7626cdcd67a9e589b3d41c3601e1a607dd6231
11580
Author: Bhuvan Arumugam <bhuvan@apache.org>
11581
Date: Wed Jul 11 21:50:08 2012 -0700
11583
Fix .mailmap to generate unique AUTHORS list.
11585
As per 3456b667c38aa1d439482b9c95838aba6d3d6c5c, Monty
11586
merged code to generate AUTHORS file.
11588
With this fix, git log honors .mailmap specification,
11589
irrespective of name/email combination used for commit and
11590
generate unique entries in AUTHORS file.
11593
Handle all full name/email combination to ensure following
11594
command return unique records.
11595
$ git log --format="%aN <%aE>"
11597
Change-Id: I44f1db1a991fd312ab37455b44985281ed1d392f
11599
.mailmap | 101 +++++++++++++++++++++++++++++++++++++++++---------------------
11600
1 file changed, 67 insertions(+), 34 deletions(-)
11602
commit 972f566aae61c12651ed8e84e69b19b40d97ad7a
11603
Author: Gabe Westmaas <gabe.westmaas@rackspace.com>
11604
Date: Wed Jul 11 23:32:30 2012 -0400
11606
Imports base64 to fix xen file injection
11608
Adds base64 to agent.py as its required for file injection to work.
11612
Change-Id: I231b6f5e031106471aeff38769e8fc79dcd45b45
11614
nova/virt/xenapi/agent.py | 1 +
11615
1 file changed, 1 insertion(+)
11617
commit ba45d3597ef3a709d32a8b793a02ac599764c40e
11618
Author: Brian Waldon <brian.waldon@rackspace.com>
11619
Date: Wed Jul 11 19:10:42 2012 -0700
11621
Remove deprecated auth from GlanceImageService
11623
* Drop the code block specific to deprecated auth in image
11625
* Remove reference to deprecated auth in the auth_strategy
11626
config option help text
11627
* Related to bp remove-deprecated-auth
11629
Change-Id: Id0f4f287d33d01d54642fbc544ada9b7ef1b83ec
11631
nova/flags.py | 3 +--
11632
nova/image/glance.py | 17 -----------------
11633
nova/tests/image/test_glance.py | 26 --------------------------
11634
3 files changed, 1 insertion(+), 45 deletions(-)
11636
commit 8e5125c4181fa1b7003b60623bfe5cfc65b6397a
11637
Author: Matt Dietz <matt.dietz@rackspace.com>
11638
Date: Thu Jul 12 00:34:37 2012 +0000
11640
Adds bootlocking to the xenserver suspend and resume
11642
Bootlock prevents an instance from being resumed accidentally if the dom0
11643
were rebooted or a whole slew of other possible interactions. We'd prefer to
11644
keep suspended instances suspended.
11646
Change-Id: I82fb734b79270aa87cd3bb08797885d5fda11f6b
11648
nova/virt/xenapi/vmops.py | 2 ++
11649
1 file changed, 2 insertions(+)
11651
commit 6dd0a3e8860db0198cf325b521e5a3a790df5602
11652
Merge: 647684a 0a3aae0
11653
Author: Jenkins <jenkins@review.openstack.org>
11654
Date: Wed Jul 11 23:13:39 2012 +0000
11656
Merge "allows setting accessIPvs to null via update call"
11658
commit 5eea8879b6f3268dcaba326193bef0ed75470bb7
11659
Author: PƔdraig Brady <pbrady@redhat.com>
11660
Date: Wed Jul 11 23:45:28 2012 +0100
11662
ensure libguestfs mounts are cleaned up
11664
Make a few attempts to umount the libguestfs
11665
mounts, in case other processes are accessing
11666
the mounts (like udev etc.)
11668
If we still can't umount after 5 attempts
11669
(with average delay of about 1s between each),
11670
then initiate a lazy umount so that the mounts
11671
might be automatically cleaned up at some stage.
11672
We wait a further 10s after initiating the lazy
11673
umount, before raising an exception.
11675
Addresses the original issue in bug 1013689
11677
Change-Id: Ib5ede9f705c833825a19308c140f99c5bf3a776f
11679
nova/virt/disk/guestfs.py | 16 +++++++++++++---
11680
1 file changed, 13 insertions(+), 3 deletions(-)
11682
commit 3ddece65531fc9be334ffd5ab29ca497876f8bdb
11683
Author: jakedahn <jake@ansolabs.com>
11684
Date: Wed Jul 11 15:30:37 2012 -0700
11686
Making docs pretty!
11688
* Before: http://stsh.me/2Qv
11689
* After: http://stsh.me/2Qw
11691
Change-Id: I4609e66820cd49b7443d18b9e0decf638da42581
11693
doc/source/_static/header-line.gif | Bin 0 -> 48 bytes
11694
doc/source/_static/header_bg.jpg | Bin 0 -> 3738 bytes
11695
doc/source/_static/nature.css | 245 ++++++++++++++++++++++++++++++++
11696
doc/source/_static/openstack_logo.png | Bin 0 -> 3670 bytes
11697
doc/source/_static/tweaks.css | 252 +++++++++------------------------
11698
doc/source/_theme/layout.html | 48 +++----
11699
doc/source/_theme/theme.conf | 7 +-
11700
7 files changed, 330 insertions(+), 222 deletions(-)
11702
commit 647684adf2514fe9f0a1f142871f489bcd4a1c1a
11703
Merge: 40d8f5e 1c18e27
11704
Author: Jenkins <jenkins@review.openstack.org>
11705
Date: Wed Jul 11 21:22:12 2012 +0000
11707
Merge "Refactors more snapshot code into vm_utils."
11709
commit 0a3aae0a627bb551137d9d78fe65c839920ad1f2
11710
Author: Nikhil Komawar <nikhil.komawar@rackspace.com>
11711
Date: Mon Jul 9 14:04:36 2012 -0400
11713
allows setting accessIPvs to null via update call
11717
Change-Id: I4b37508ebec1ea23d8dfd91c41ecbd96b2d701bc
11719
nova/api/openstack/compute/servers.py | 10 ++++-
11720
nova/tests/api/openstack/compute/test_servers.py | 52 ++++++++++++++++++++++
11721
2 files changed, 60 insertions(+), 2 deletions(-)
11723
commit 40d8f5eb7eb10e96bdc4505163ec7a77d84b6a4b
11724
Merge: fe5160a df90d69
11725
Author: Jenkins <jenkins@review.openstack.org>
11726
Date: Wed Jul 11 19:38:59 2012 +0000
11728
Merge "Re-add nova.virt.driver import to xenapi driver"
11730
commit fe5160a5a21731cb075a793099954c76f8a1d2bf
11731
Merge: be9d3a7 dea224a
11732
Author: Jenkins <jenkins@review.openstack.org>
11733
Date: Wed Jul 11 19:16:13 2012 +0000
11735
Merge "Distinguish over-quota for volume size and number."
11737
commit df90d698402558c4ee0b4343657d89bfc525b46b
11738
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
11739
Date: Wed Jul 11 18:27:23 2012 +0000
11741
Re-add nova.virt.driver import to xenapi driver
11743
A recent commit 5dd9e6150c0bebaef53e23fff7e55a17ef694537 removed the
11744
import when it was still used. Re-add the import back so the driver
11747
Change-Id: I1487a1a171c0d35c2f6752b08620f745ba1df385
11749
nova/virt/xenapi/vm_utils.py | 1 +
11750
1 file changed, 1 insertion(+)
11752
commit be9d3a7cf075ad08f5155ccad89a8f2a05cce9d1
11753
Merge: 786ec05 26b536b
11754
Author: Jenkins <jenkins@review.openstack.org>
11755
Date: Wed Jul 11 18:46:14 2012 +0000
11757
Merge "Clarifying which vm_utils functions are private."
11759
commit 42e785561e9c747cab41d74dbe90cad56e8eea14
11760
Author: Russell Bryant <rbryant@redhat.com>
11761
Date: Wed Jul 11 13:57:41 2012 -0400
11763
Always attempt to delete entire floating IP range.
11767
This patch tweaks nova-manage to always attempt to delete all addresses
11768
in the specified IP range, even if an error is encountered. This is an
11769
easy way to handle a case where a range was created, but then a subset
11770
of that range was deleted. Otherwise, deleting the rest of the range is
11773
An example of this would be:
11775
# nova-manage floating create --ip_range=1.1.1.0/24
11776
# nova-manage floating delete 1.1.1.1
11777
# nova-manage floating delete 1.1.1.0/24
11779
Previously this would fail. Now it works.
11781
Change-Id: Ia01c04dee5383f597976c6a79d9a0d9e19985898
11783
bin/nova-manage | 7 +++++--
11784
1 file changed, 5 insertions(+), 2 deletions(-)
11786
commit 786ec05dec4afc178230b7b66aaf60ed1e8f70de
11787
Merge: f220bf6 8f5e83c
11788
Author: Jenkins <jenkins@review.openstack.org>
11789
Date: Wed Jul 11 17:15:54 2012 +0000
11791
Merge "Adds network labels to the fixed ips in usages"
11793
commit f220bf679086fdb3fbb01fd77fc2bb7234c121fe
11794
Merge: 0c8d9c7 2fdd738
11795
Author: Jenkins <jenkins@review.openstack.org>
11796
Date: Wed Jul 11 17:06:42 2012 +0000
11798
Merge "Refactor instance_usage_audit. Add audit tasklog."
11800
commit 8f5e83c90e62a6dc6a3397e370e52f724a90939d
11801
Author: Matt Dietz <matt.dietz@rackspace.com>
11802
Date: Tue Jul 10 09:29:26 2012 +0000
11804
Adds network labels to the fixed ips in usages
11806
Change-Id: Ib5990a7f5d7869c862ec3dd3299772e421574ae6
11808
nova/notifications.py | 7 ++++++-
11809
nova/tests/test_notifications.py | 14 +++++++++++---
11810
2 files changed, 17 insertions(+), 4 deletions(-)
11812
commit 0d166cae0113cd28f9253ff12450d47b71fe0a40
11813
Author: PƔdraig Brady <pbrady@redhat.com>
11814
Date: Mon Jun 25 13:52:46 2012 +0100
11816
only mount guest image once when injecting files
11818
Previously we could incur the costly guest mount operation twice,
11819
if injecting files with any of net, ssh keys, password, metadata.
11820
Instead now inject files in the same operation.
11822
Also cleanup the internal injection functions a little
11823
by removing the unused 'execute' parameter.
11825
Partly mitigates the impact of bug 1013689.
11826
Change-Id: Ib66d327e745593cf1e5897470750d609b2a58980
11828
nova/virt/disk/api.py | 39 ++++++++++++++-------------------------
11829
nova/virt/libvirt/driver.py | 23 +++++++----------------
11830
nova/virt/xenapi/vm_utils.py | 6 +++---
11831
3 files changed, 24 insertions(+), 44 deletions(-)
11833
commit 0c8d9c749a5d697c49ba45c08ba716c47809e2ab
11834
Merge: 8c44418 44db828
11835
Author: Jenkins <jenkins@review.openstack.org>
11836
Date: Wed Jul 11 15:44:24 2012 +0000
11838
Merge "Split xenapi agent code out to nova.virt.xenapi.agent"
11840
commit 8c4441822731933502e8a5e1149dc6e4888f8dcb
11841
Merge: 1b5fbda 034762e
11842
Author: Jenkins <jenkins@review.openstack.org>
11843
Date: Wed Jul 11 15:20:45 2012 +0000
11845
Merge "Use compute_api.get_all in affinity filters."
11847
commit 1b5fbda966f51c969f1fe13db5c070175b435b98
11848
Author: Monty Taylor <mordred@inaugust.com>
11849
Date: Sat Jul 7 15:55:32 2012 -0500
11851
Remove unused find_data_files function in setup.py
11853
find_data_files was copied in a while back to work around setuptools
11854
deficiencies. It has since made its way into distribute, and we are using it
11855
from there - thus do not need a copy in our tree anymore.
11857
Change-Id: I8bc76a201c325571601ac8da292ebd5690668065
11859
setup.py | 13 -------------
11860
1 file changed, 13 deletions(-)
11862
commit 034762e8060dcf0a11cb039b9d426b0d0bb1801d
11863
Author: Dan Prince <dprince@redhat.com>
11864
Date: Tue Jun 26 12:44:35 2012 -0400
11866
Use compute_api.get_all in affinity filters.
11868
Updates the affinity filters so they make a single compute API
11869
call to lookup instance host information rather than single
11870
lookups for each UUID.
11872
This resolves a potential performance issue which can cause a
11873
scheduler to hang while processing requests which contain large numbers
11874
of UUID's in the scheduler_hints.
11876
Fixes LP Bug #1017795.
11878
Change-Id: I30f434faf109058573ee41c4a6abce2e48939e8d
11880
nova/scheduler/filters/affinity_filter.py | 13 +++++++++----
11881
1 file changed, 9 insertions(+), 4 deletions(-)
11883
commit b91d2fc02d927066ed0fe21439ccb7548de4138f
11884
Merge: 4e251fe a203292
11885
Author: Jenkins <jenkins@review.openstack.org>
11886
Date: Wed Jul 11 14:16:43 2012 +0000
11888
Merge "fix metadata file injection with xen"
11890
commit 4e251fec893821697080c7b65748a337b61e47e2
11891
Merge: 523277c c586de1
11892
Author: Jenkins <jenkins@review.openstack.org>
11893
Date: Wed Jul 11 05:13:27 2012 +0000
11895
Merge "Removed a bunch of cruft files."
11897
commit 523277cbdf87ba855d7fe97171ed6acd2c8ddc2f
11898
Merge: 58a6d06 868374f
11899
Author: Jenkins <jenkins@review.openstack.org>
11900
Date: Wed Jul 11 00:51:40 2012 +0000
11902
Merge "Fixes api fails to unpack metadata using cinder"
11904
commit 1c18e276ca0159104d3f56949879e443646c6c77
11905
Author: Rick Harris <rconradharris@gmail.com>
11906
Date: Fri Jul 6 18:34:33 2012 +0000
11908
Refactors more snapshot code into vm_utils.
11910
Simplifies vmops a bit while moving logic into vmutils where it better
11911
matches how we've seperated concerns.
11913
Change-Id: Ic6d7559903d0f809f4c90577f4a8c4a0857cae90
11915
nova/tests/xenapi/stubs.py | 4 ++--
11916
nova/virt/xenapi/vm_utils.py | 10 ++++++++++
11917
nova/virt/xenapi/vmops.py | 41 +++++++++++++----------------------------
11918
3 files changed, 25 insertions(+), 30 deletions(-)
11920
commit 26b536bfcaf1cfcadf3b028a4ee83a3026a85ffd
11921
Author: Rick Harris <rconradharris@gmail.com>
11922
Date: Tue Jul 10 22:06:42 2012 +0000
11924
Clarifying which vm_utils functions are private.
11926
This clarification should aid in future refactorings by giving a hint of
11927
which methods are not referenced outside of the file (except for test
11930
Change-Id: I574b2caa25d54969a1627fa69f101b2480152b08
11932
nova/tests/test_xenapi.py | 6 +--
11933
nova/tests/xenapi/stubs.py | 2 +-
11934
nova/virt/xenapi/vm_utils.py | 98 +++++++++++++++++++++---------------------
11935
3 files changed, 53 insertions(+), 53 deletions(-)
11937
commit 58a6d062bd9eb90a7d52aebeeb0e8cec03f63651
11938
Merge: 8dca589 2ef0dcf
11939
Author: Jenkins <jenkins@review.openstack.org>
11940
Date: Wed Jul 11 00:23:34 2012 +0000
11942
Merge "Avoid lazy-loading errors on instance_type"
11944
commit 8dca589640ee203944a56fcde943462a1156ff5c
11945
Merge: 3580021 822208f
11946
Author: Jenkins <jenkins@review.openstack.org>
11947
Date: Wed Jul 11 00:15:04 2012 +0000
11949
Merge "Remove deprecated auth code"
11951
commit 3580021d438534eb0e52f2ba976f61d6c58f720b
11952
Merge: dba3622 eb2de03
11953
Author: Jenkins <jenkins@review.openstack.org>
11954
Date: Tue Jul 10 23:45:55 2012 +0000
11956
Merge "Update common setup code to latest."
11958
commit dba3622f37eedaea369c13ddd618d37f7516f62a
11959
Merge: 6fb05fe 3d1fa15
11960
Author: Jenkins <jenkins@review.openstack.org>
11961
Date: Tue Jul 10 23:45:53 2012 +0000
11963
Merge "ensure libguestfs has completed before proceeding"
11965
commit 6fb05fe78555ec59ed36c4a3a1cb3f60e47c7ed3
11966
Merge: 99c70dd 620682a
11967
Author: Jenkins <jenkins@review.openstack.org>
11968
Date: Tue Jul 10 23:45:50 2012 +0000
11970
Merge "flags documentation to deprecate connection_type"
11972
commit 99c70dd3bec9d6556582aa6b6708f33ff66efdef
11973
Merge: 4a98187 3ff63d0
11974
Author: Jenkins <jenkins@review.openstack.org>
11975
Date: Tue Jul 10 23:45:48 2012 +0000
11977
Merge "Remove deprecated auth docs"
11979
commit 2fdd73816c56b578a65466db4e5a86b9b191e1c1
11980
Author: Monsyne Dragon <mdragon@rackspace.com>
11981
Date: Fri Jul 6 18:28:21 2012 +0000
11983
Refactor instance_usage_audit. Add audit tasklog.
11985
The instance usage audit cronjob that generates periodic
11986
compute.instance.exists notifications is not particularly scalable.
11987
It is run on one server and takes longer as the number of instances grows.
11989
This change moves the generation of those events to a periodic task in
11990
the compute manager. It also adds an api extension that can be used
11991
by administrators to check for errors generating these events.
11993
Change-Id: I856d3d0c73c34e570112f1345d306308ef20a9ae
11995
bin/nova-instance-usage-audit | 83 ---------
11996
etc/nova/policy.json | 1 +
11997
.../compute/contrib/instance_usage_audit_log.py | 71 ++++++++
11998
nova/compute/manager.py | 49 +++++
11999
nova/compute/utils.py | 80 ++++++++-
12000
nova/db/api.py | 67 ++++++-
12001
nova/db/sqlalchemy/api.py | 95 +++++++++-
12002
.../migrate_repo/versions/108_task_log.py | 62 +++++++
12003
nova/db/sqlalchemy/models.py | 14 ++
12004
nova/exception.py | 8 +
12005
.../contrib/test_instance_usage_audit_log.py | 188 ++++++++++++++++++++
12006
nova/tests/policy.json | 1 +
12007
nova/utils.py | 9 +-
12009
14 files changed, 634 insertions(+), 95 deletions(-)
12011
commit 868374f005d7d3490f9089e045d7b35717770703
12012
Author: John Griffith <john.griffith@solidfire.com>
12013
Date: Tue Jul 10 14:02:52 2012 -0600
12015
Fixes api fails to unpack metadata using cinder
12017
Fix for bug 1023027
12019
Change-Id: I2d19f461f3734518717b8b54d9d3428b75a2a44d
12021
nova/volume/cinder.py | 6 +++---
12022
1 file changed, 3 insertions(+), 3 deletions(-)
12024
commit 4a981877c9b62863fe6478b813d8ebd7055d94aa
12025
Merge: 6b09972 aa87cc1
12026
Author: Jenkins <jenkins@review.openstack.org>
12027
Date: Tue Jul 10 20:25:08 2012 +0000
12029
Merge "Switch to common notifiers."
12031
commit 6b099722d6c8c8c2ab6d0e68ccc39e9aca462f56
12032
Merge: b576a18 115c213
12033
Author: Jenkins <jenkins@review.openstack.org>
12034
Date: Tue Jul 10 19:25:32 2012 +0000
12036
Merge "Raise Failure exception when setting duplicate other_config key"
12038
commit 3ff63d029b3c66d8dbc68aae0d4140c0c2b8b244
12039
Author: Brian Waldon <brian.waldon@rackspace.com>
12040
Date: Tue Jul 10 11:05:40 2012 -0700
12042
Remove deprecated auth docs
12044
Related to bp remove-deprecated-auth
12046
Change-Id: I2637188e75e1881e6cc5af09d86eaf45581b3e9e
12048
doc/source/devref/auth.rst | 276 -------------------------------------------
12049
doc/source/devref/index.rst | 1 -
12050
2 files changed, 277 deletions(-)
12052
commit b576a1846c05b48b4cc689cc254f6fe88eb60b29
12053
Merge: 66349b2 9698a45
12054
Author: Jenkins <jenkins@review.openstack.org>
12055
Date: Tue Jul 10 17:51:15 2012 +0000
12057
Merge "Set the default CPU mode to 'host-model' for Libvirt KVM/QEMU guests"
12059
commit 115c2131f694a16d09fdbd462f31a8ba5331fbba
12060
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
12061
Date: Tue Jul 10 17:38:47 2012 +0000
12063
Raise Failure exception when setting duplicate other_config key
12065
When https://review.openstack.org/7971 got merged (and fixed in
12066
https://review.openstack.org/8504), it introduced a bug where a key
12067
in the xenapi other_config would get set twice. The real xenapi would
12068
raise a Failure exception in that case. So make sure the fake module
12069
also does that to ensure similar bugs will get caught in the future.
12071
Change-Id: Ie0151ffaf45dade930c3e8ff1279bfeab537bab2
12073
nova/virt/xenapi/fake.py | 3 +++
12074
1 file changed, 3 insertions(+)
12076
commit 44db828e8c7bd5a0cdb794d35234d824261a4644
12077
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
12078
Date: Mon Jun 4 16:08:21 2012 +0000
12080
Split xenapi agent code out to nova.virt.xenapi.agent
12082
This refactoring makes the split between driver methods and internal
12083
methods clearer. It also makes all agent methods private instead of
12084
making some private, some public and some both.
12086
Change-Id: I6c6b405942e47a85816e10224d4e6d986a8b06dc
12088
nova/tests/test_xenapi.py | 5 +-
12089
nova/virt/xenapi/agent.py | 253 +++++++++++++++++++++++++++++++++++++++++++++
12090
nova/virt/xenapi/vmops.py | 216 ++++----------------------------------
12091
3 files changed, 274 insertions(+), 200 deletions(-)
12093
commit 66349b22a9c6b584e46cd913b9177ae48ea79ad9
12094
Merge: 22a17f7 442beb7
12095
Author: Jenkins <jenkins@review.openstack.org>
12096
Date: Tue Jul 10 16:44:25 2012 +0000
12098
Merge "refactor baremetal/proxy => baremetal/driver"
12100
commit 22a17f792425af928f8098b77fd8739a2f5bd243
12101
Merge: 5dd9e61 45f9c29
12102
Author: Jenkins <jenkins@review.openstack.org>
12103
Date: Tue Jul 10 16:44:23 2012 +0000
12105
Merge "Properly track VBD and VDI connections in xenapi fake"
12107
commit 3d1fa15d716635c75897bcc49536feae60460a6a
12108
Author: PƔdraig Brady <pbrady@redhat.com>
12109
Date: Tue Jul 10 15:22:39 2012 +0100
12111
ensure libguestfs has completed before proceeding
12113
This is a more correct fix than the previous sync(1)
12114
which probably only changed timings, masking the real issue.
12116
The FUSE issue is referenced here:
12117
http://code.google.com/p/s3ql/issues/detail?id=159
12118
which in turn references this thread on the subject from 2006:
12119
http://thread.gmane.org/gmane.comp.file-systems.fuse.devel/3903
12120
And another case from 2008:
12121
http://permalink.gmane.org/gmane.comp.file-systems.fuse.devel/6502
12125
Change-Id: I36fd11d5f01562f65a6b6f07e759ea066490b067
12127
nova/virt/disk/guestfs.py | 13 ++++++++++++-
12128
1 file changed, 12 insertions(+), 1 deletion(-)
12130
commit 620682ac48f3240cbc17cee0a62563bfff9b572b
12131
Author: Sean Dague <sdague@linux.vnet.ibm.com>
12132
Date: Fri Jul 6 11:11:06 2012 -0400
12134
flags documentation to deprecate connection_type
12136
connection_type in nova.conf is deprecated for Folsom, provide
12137
additional documentation in the flags to indicate this, and the
12138
new compute_driver options
12140
Part of bp:virt-driver-cleanup
12142
Change has DocImpact for Folsom
12144
Change-Id: Iaff658771b1e992304454368e66ee53f9a0480ff
12146
nova/compute/manager.py | 5 ++++-
12147
nova/flags.py | 4 ++--
12148
2 files changed, 6 insertions(+), 3 deletions(-)
12150
commit 442beb76e23bc30bac953fc1b21d06d3bd18351d
12151
Author: Sean Dague <sdague@linux.vnet.ibm.com>
12152
Date: Fri Jul 6 10:30:04 2012 -0400
12154
refactor baremetal/proxy => baremetal/driver
12156
Part of bp:virt-driver-cleanup
12158
Make the baremetal driver consistent in naming as a driver
12159
instead of a proxy / connection.
12161
Change-Id: I75d7d90bd8139842b588f1fafb1267511f29a1fb
12163
nova/tests/baremetal/test_proxy_bare_metal.py | 8 +-
12164
nova/virt/baremetal/__init__.py | 3 +
12165
nova/virt/baremetal/driver.py | 789 +++++++++++++++++++++++++
12166
nova/virt/baremetal/proxy.py | 789 -------------------------
12167
nova/virt/connection.py | 2 +-
12168
5 files changed, 797 insertions(+), 794 deletions(-)
12170
commit 5dd9e6150c0bebaef53e23fff7e55a17ef694537
12171
Author: Sean Dague <sdague@linux.vnet.ibm.com>
12172
Date: Thu Jul 5 17:38:06 2012 -0400
12174
refactor xenapi/connection => xenapi/driver
12176
Part of bp:virt-driver-cleanup
12178
Make the xenapi driver consistent in naming as a driver
12179
instead of a connection.
12181
Change-Id: Ibb1485515ff073dd0265969fdcfbfc2665b93fb7
12183
nova/tests/test_xenapi.py | 2 +-
12184
nova/tests/test_xensm.py | 2 +-
12185
nova/tests/xenapi/stubs.py | 2 +-
12186
nova/virt/connection.py | 2 +-
12187
nova/virt/xenapi/__init__.py | 1 +
12188
nova/virt/xenapi/connection.py | 655 ----------------------------------------
12189
nova/virt/xenapi/driver.py | 655 ++++++++++++++++++++++++++++++++++++++++
12190
nova/virt/xenapi/vm_utils.py | 2 -
12191
nova/volume/xensm.py | 2 +-
12192
9 files changed, 661 insertions(+), 662 deletions(-)
12194
commit 89bfdc2715b5192a3ad06da8ea113605626c227b
12195
Author: Sean Dague <sdague@linux.vnet.ibm.com>
12196
Date: Thu Jul 5 16:05:16 2012 -0400
12198
refactor vmwareapi_conn => vmwareapi/driver
12200
Part of bp:virt-driver-cleanup
12202
Make the vmwareapi driver consistent in naming as a driver
12203
instead of a connection.
12205
Get all the vmware driver parts into the same directory
12207
Change-Id: I7c7e7c391086cf2fc32e8cb85d557005d417042f
12209
nova/tests/test_vmwareapi.py | 4 +-
12210
nova/tests/vmwareapi/stubs.py | 6 +-
12211
nova/virt/connection.py | 2 +-
12212
nova/virt/vmwareapi/__init__.py | 2 +
12213
nova/virt/vmwareapi/driver.py | 398 +++++++++++++++++++++++++++++++++++++++
12214
nova/virt/vmwareapi_conn.py | 398 ---------------------------------------
12215
6 files changed, 406 insertions(+), 404 deletions(-)
12217
commit 6a18ada2b12294b98ab385576a3e9669f4f52a3d
12218
Author: Dan Smith <danms@us.ibm.com>
12219
Date: Tue Jul 10 08:12:29 2012 -0700
12221
Don't block instance delete on missing block device volume
12223
It's easy to create an undeletable instance by specifying an invalid
12224
volume id in the block device mapping. The instance errors, but
12225
subsequent delete fails because the volume is missing. We already
12226
ignore the DiskNotFound case during delete, so this adds a case for
12229
Change-Id: Ibc516ee4452d088cddf10bbeb315697ce900e5c5
12231
nova/compute/manager.py | 3 +++
12232
1 file changed, 3 insertions(+)
12234
commit ad54ed53cf6a475ad0f8042f8b95454a8c0b35a4
12235
Author: Leander Bessa Beernaert <leanderbb@gmail.com>
12236
Date: Fri Jun 22 12:08:08 2012 +0100
12238
Adds diagnostics command for the libvirt driver.
12240
This code provides an implementation of the get_diagnostics
12241
API for the libvirt driver. This API is invoked by the
12242
'nova diagnostic' command.
12244
There is no existing formal specification for what data items
12245
to expose from the 'get_diagnostics' API, so the XenAPI driver
12246
is used as an informal guide. The Xen implementation currently
12247
produces the following output:
12249
+----------------+-----------------+
12250
| Property | Value |
12251
+----------------+-----------------+
12253
| memory | 1171088064.0000 |
12254
| memory_target | 1171088064.0000 |
12255
| vbd_xvda_read | 0.0 |
12256
| vbd_xvda_write | 0.0 |
12257
| vif_0_rx | 3223.6870 |
12259
| vif_1_rx | 104.4955 |
12261
+----------------+-----------------+
12263
The new libvirt implementation will return a similar set of stats
12264
for guest CPUs, memory, disks and network interfaces, resulting
12265
in the following output:
12267
+------------------+------------+
12268
| Property | Value |
12269
+------------------+------------+
12270
| cpu0_time | 2870000000 |
12271
| memory | 524288 |
12272
| vda_errors | -1 |
12273
| vda_read | 262144 |
12274
| vda_read_req | 112 |
12275
| vda_write | 5606400 |
12276
| vda_write_req | 376 |
12277
| vnet0_rx | 63343 |
12278
| vnet0_rx_drop | 0 |
12279
| vnet0_rx_errors | 0 |
12280
| vnet0_rx_packets | 431 |
12281
| vnet0_tx | 4905 |
12282
| vnet0_tx_drop | 0 |
12283
| vnet0_tx_errors | 0 |
12284
| vnet0_tx_packets | 45 |
12285
+------------------+------------+
12287
The implementation has only been tested with the libvirt KVM
12290
In a future a formal specification for the required data
12291
format should be written and all virt drivers made to comply.
12293
Finally, the fakelibvirt driver has been updated in order to
12294
support the methods required by the get_diagnostics method.
12296
For those interested, below is the formula to extract the
12297
CPU usage based on the CPU time. I've added it here for reference
12298
since it's not used at the moment and it took quite a while
12299
to locate it in the libvirt documentation.
12301
usage = 100 * (current_cpu_time - last_cpu_time) /
12302
(measurement_interval * (10 ** 9))
12305
Change-Id: I92da392f43d0840ed31cfd88f54570ea5830bb4a
12307
nova/tests/fakelibvirt.py | 13 ++
12308
nova/tests/test_libvirt.py | 390 +++++++++++++++++++++++++++++++++++++++
12309
nova/tests/test_virt_drivers.py | 2 +-
12310
nova/virt/libvirt/driver.py | 75 ++++++++
12311
4 files changed, 479 insertions(+), 1 deletion(-)
12313
commit bed296b17ded5012d6651957df387336c10dd002
12314
Author: John Tran <jhtran@att.com>
12315
Date: Mon Jul 9 16:26:55 2012 -0700
12317
associate_floating_ip an ip already in use
12319
Fixes bug 10014860 to be compliant w/ AWS EC2 spec
12320
instead of return exception.FloatingIpAssociated,
12321
disassociate from old fixed_ip and associate to
12324
Change-Id: I54ab3492092940dbb01f2787cc329a0162698568
12326
nova/network/manager.py | 4 ++--
12327
nova/tests/network/test_manager.py | 6 +++++-
12328
2 files changed, 7 insertions(+), 3 deletions(-)
12330
commit bda7c3e0b6863473a0202905cb5b41a7d33d2143
12331
Merge: 3ec6636 4bbb9cf
12332
Author: Jenkins <jenkins@review.openstack.org>
12333
Date: Tue Jul 10 15:01:58 2012 +0000
12335
Merge "Fallback to fakelibvirt in test_libvirt.py test suite"
12337
commit 3ec66361c64c7131f925380e91a10a64e8185ded
12338
Merge: b4e86b4 3b67447
12339
Author: Jenkins <jenkins@review.openstack.org>
12340
Date: Tue Jul 10 14:53:17 2012 +0000
12342
Merge "Make pep8 test work on Mac"
12344
commit ab7e4f2817d8201cd2364cf09aa01f505e911183
12345
Author: Dan Smith <danms@us.ibm.com>
12346
Date: Mon Jul 9 13:37:01 2012 -0700
12348
When deleting an instance, avoid freakout if iscsi device is gone
12350
It's fairly easy to get into a state where an instance is not running,
12351
the iscsi infrastructure has been torn down, and the instance cannot
12352
be deleted because the iscsi device cannot be successfully removed.
12353
This patch ignores the associated return value for that scenario and
12354
marches forward in the teardown process.
12358
Change-Id: Ib28790892eebe341ac10a92250cf872605fefe9b
12360
nova/virt/libvirt/volume.py | 8 +++++---
12361
1 file changed, 5 insertions(+), 3 deletions(-)
12363
commit e9d21589d39355ffc126e360cc2ba7311e014edb
12364
Author: Eoghan Glynn <eglynn@redhat.com>
12365
Date: Fri Jul 6 10:10:28 2012 +0000
12367
Expose over-quota exceptions via native API.
12369
Fixes bug LP 1021373.
12371
Previously an over-quota condition would be exposed via the EC2 API,
12372
but hidden in the corresponding call via the native API (in the sense
12373
of the exception detail being replaced with a generic 500 Server Error
12376
We now report any NovaException declared to be safe. In this patch,
12377
the set of safe exception types includes any subclass of QuotaError,
12378
but in subsequent patches the net should be widened to include
12379
exceptions that do not expose senstive information.
12381
Change-Id: I3cc36337c7e67cf487ca49de646c437c217ae538
12383
nova/api/openstack/__init__.py | 30 ++++++++++++++++++--------
12384
nova/exception.py | 2 ++
12385
nova/tests/api/openstack/compute/test_api.py | 24 +++++++++++++++++++++
12386
3 files changed, 47 insertions(+), 9 deletions(-)
12388
commit 5526fb6db239677fead7bfbff8b2a6672bba6367
12389
Author: Ghe Rivero <ghe@debian.org>
12390
Date: Mon Jul 9 20:02:44 2012 +0200
12392
Fix snapshots tests failing
12395
When running snapshot test, FLAGS.instances_path is defined as '',
12396
with snapshot_directory='/snapshots' which will fail to to permissions errors.
12398
Modified class LibvirtConnTestCase to use libvirt_snapshots_directory=''
12400
Change-Id: I930e4f30ddffcf66c58312e92f0ae368e770e438
12402
nova/tests/test_libvirt.py | 1 +
12403
1 file changed, 1 insertion(+)
12405
commit 822208fd34214280e052903a23116847e29dec83
12406
Author: Brian Waldon <brian.waldon@rackspace.com>
12407
Date: Mon Jul 9 22:19:31 2012 -0700
12409
Remove deprecated auth code
12411
* Remove nova.auth.manager -- AuthManager, User, Role, Project, etc.
12412
* Remove nova.auth.dbdriver
12413
* Remove nova.auth.ldapdriver
12414
* Remove nova.auth.signer
12415
* Remove arbitrary scripts and schemas in nova/auth/
12416
* Remove nova/auth/novarc.template
12417
* Remove or update affected tests
12418
* Related to bp remove-deprecated-auth
12420
Change-Id: Ide0fefd0ddf79ae1b3bb74cb242c2893575839e7
12422
bin/nova-manage | 7 -
12423
nova/api/openstack/compute/contrib/cloudpipe.py | 2 -
12424
nova/auth/dbdriver.py | 232 ------
12425
nova/auth/ldapdriver.py | 746 -----------------
12426
nova/auth/manager.py | 857 --------------------
12427
nova/auth/nova_openldap.schema | 50 --
12428
nova/auth/nova_sun.schema | 13 -
12429
nova/auth/novarc.template | 19 -
12430
nova/auth/opendj.sh | 118 ---
12431
nova/auth/openssh-lpk_openldap.schema | 19 -
12432
nova/auth/openssh-lpk_sun.schema | 10 -
12433
nova/auth/signer.py | 177 ----
12434
nova/auth/slap.sh | 154 ----
12435
.../openstack/compute/contrib/test_snapshots.py | 2 -
12436
.../api/openstack/compute/contrib/test_volumes.py | 2 -
12437
nova/tests/api/openstack/compute/test_auth.py | 2 -
12438
nova/tests/api/openstack/fakes.py | 114 ---
12439
nova/tests/fake_flags.py | 2 -
12440
nova/tests/test_access.py | 132 ---
12441
nova/tests/test_auth.py | 422 ----------
12442
nova/tests/test_nova_manage.py | 1 -
12443
nova/tests/test_signer.py | 112 ---
12444
22 files changed, 3193 deletions(-)
12446
commit b4e86b47b97fde6f4d39c7545194eddada59262a
12447
Author: Brian Waldon <brian.waldon@rackspace.com>
12448
Date: Mon Jul 9 21:32:37 2012 -0700
12450
Remove deprecated auth-related api extensions
12452
* Delete the accounts and users extensions
12453
* Delete associated tests
12454
* Related to bp remove-deprecated-auth
12456
Change-Id: I429551dbb39ec569c6d2c229fa0c3cafd9e56f11
12458
nova/api/openstack/compute/contrib/accounts.py | 100 -------------
12459
nova/api/openstack/compute/contrib/users.py | 141 ------------------
12460
.../api/openstack/compute/contrib/test_accounts.py | 153 --------------------
12461
.../api/openstack/compute/contrib/test_users.py | 150 -------------------
12462
.../tests/api/openstack/compute/test_extensions.py | 2 -
12463
5 files changed, 546 deletions(-)
12465
commit 3b6744786cf5337940f5c074062adca40497557e
12466
Author: Yun Mao <yunmao@gmail.com>
12467
Date: Tue Jul 10 01:04:16 2012 -0400
12469
Make pep8 test work on Mac
12471
find . -executable is not available on Mac OS X. We switch back to
12472
the old -perm syntax to find files to test.
12474
Change-Id: Iea58a249f282c98ae6cffbe8e6359f70f8b1d63f
12476
run_tests.sh | 2 +-
12477
1 file changed, 1 insertion(+), 1 deletion(-)
12479
commit ec3bcae984468b162ad40c208a81bf2b77d8b942
12480
Merge: 95d678d ed118df
12481
Author: Jenkins <jenkins@review.openstack.org>
12482
Date: Tue Jul 10 04:43:11 2012 +0000
12484
Merge "Boot from volume for Xen"
12486
commit 95d678d2d62ba6264e9fd704317d61cbedf22d30
12487
Merge: b507701 13fd379
12488
Author: Jenkins <jenkins@review.openstack.org>
12489
Date: Tue Jul 10 01:59:00 2012 +0000
12491
Merge "Fix KeyError 'key_name' when KeyPairExists raised."
12493
commit b5077015ceebfb038f3da6e47d8a64f117e00060
12494
Merge: a8f92de 4de76f8
12495
Author: Jenkins <jenkins@review.openstack.org>
12496
Date: Tue Jul 10 01:49:24 2012 +0000
12498
Merge "Fetch kernel/ramdisk images directly"
12500
commit 2ef0dcfac78468551aac8492269ad856c312dcb5
12501
Author: Vishvananda Ishaya <vishvananda@gmail.com>
12502
Date: Tue Jul 3 14:50:11 2012 -0700
12504
Avoid lazy-loading errors on instance_type
12506
When instances are launched with a source group, the instance_type
12507
is not lazy_loaded in properly.
12509
The issue is intermittent because if another query has already loaded
12510
the instance with a joined instance_type or the instance has not
12511
yet been expunged from the session, then the load succeeds.
12513
Therefore this failure only appears under heavy load. Adding an
12514
explicit joindload fixes the issue.
12516
Change-Id: I450c598c31c416c7be341cbb8cd14e33c6bb2aec
12518
nova/db/sqlalchemy/api.py | 6 +++---
12519
1 file changed, 3 insertions(+), 3 deletions(-)
12521
commit a8f92deedc296a4b979b0036d4141462166b8072
12522
Merge: 1073d50 a44fbea
12523
Author: Jenkins <jenkins@review.openstack.org>
12524
Date: Mon Jul 9 18:59:33 2012 +0000
12526
Merge "Ignore failure to delete kernel/ramdisk in xenapi driver"
12528
commit 4de76f8a57554f56c799befdca9489d864f33761
12529
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
12530
Date: Mon Jul 9 17:28:21 2012 +0000
12532
Fetch kernel/ramdisk images directly
12534
Kernel and ramdisk images don't have a VDI allocated to them, so printing
12535
the UUID in _fetch_image will show None.
12537
[...] Fetched VDIs of type 'ramdisk' with UUID 'None' [...]
12539
Change-Id: I1113606a97b48518e1db61f737633140b0f5eccd
12541
nova/virt/xenapi/vm_utils.py | 11 +++++------
12542
1 file changed, 5 insertions(+), 6 deletions(-)
12544
commit a44fbea08315a30dec9ad69f92c95a532ea045c7
12545
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
12546
Date: Mon Jul 9 18:16:23 2012 +0000
12548
Ignore failure to delete kernel/ramdisk in xenapi driver
12552
If deleting the kernel/ramdisk fails because the files don't exist
12553
anymore, then ignore the error and continue. This will ensure that the
12554
instance will get destroyed properly even if the files were deleted
12557
Change-Id: I5d1f95ea2a6f552c48efbb9e92bb36767df19e34
12559
plugins/xenserver/xenapi/etc/xapi.d/plugins/kernel | 13 +++++++++++--
12560
1 file changed, 11 insertions(+), 2 deletions(-)
12562
commit ed118dfd6ebe06a095620e93f4318c4e7ac9cfed
12563
Author: Renuka Apte <renuka.apte@citrix.com>
12564
Date: Mon Jun 4 13:48:34 2012 -0700
12566
Boot from volume for Xen
12568
Implements bp xenapi-boot-from-volume
12570
Ensure boot from volume works for XenAPI (tested using XenServer).
12571
1. Add strip_prefix to block_device to make the command mountpoint
12573
2. Pass block device and delete on terminate information to driver
12575
3. Add ability to recognize and boot from the specified nova volume.
12577
Change-Id: If117087086eab809217d2b173f921bf9319a52c7
12579
nova/block_device.py | 9 +++++
12580
nova/compute/manager.py | 14 ++++---
12581
nova/tests/test_block_device.py | 6 +++
12582
nova/virt/xenapi/connection.py | 5 ++-
12583
nova/virt/xenapi/vm_utils.py | 80 ++++++++++++++++++++++++++++++++-------
12584
nova/virt/xenapi/vmops.py | 62 +++++++++++++++++++++++-------
12585
6 files changed, 141 insertions(+), 35 deletions(-)
12587
commit 1073d507f47704f4746f74b3ed18077a05ef1d0e
12588
Author: Dan Prince <dprince@redhat.com>
12589
Date: Mon Jul 9 13:54:26 2012 -0400
12591
Fix 'instance %s: snapshotting' log message.
12593
Update the Nova compute manage to remove the '%s:' string from the
12594
log message. Nova already logs teh instance UUID for this log message
12595
because we pass instance_uuid=instance_uuid to the logger so this
12596
extra string isn't required.
12598
Change-Id: I3fa276347d246e440917ac12d4fc5f88d90d7468
12600
nova/compute/manager.py | 2 +-
12601
1 file changed, 1 insertion(+), 1 deletion(-)
12603
commit 13fd37932452874f7dad7e4bb2230cf6f16073e7
12604
Author: Dan Prince <dprince@redhat.com>
12605
Date: Mon Jul 9 11:40:10 2012 -0400
12607
Fix KeyError 'key_name' when KeyPairExists raised.
12609
Updates the Nova compute API to pass a key_name arg to the
12610
KeyPairExists constructor. This fixes an issue where a KeyError
12611
exception would get logged to Nova's api.log file if a KeyPairExists
12612
exception was thrown.
12614
Also removes the un-needed exception explanation argument from the
12615
KeyPairExists constructor.
12617
Fixes LP Bug #1022611
12619
Change-Id: I83ecf3d392fef97649b298d1b732e1ff51145ae4
12621
nova/compute/api.py | 3 +--
12622
1 file changed, 1 insertion(+), 2 deletions(-)
12624
commit 8b6af1f148cb50fc8c1e361101bfaddaafbe8569
12625
Author: Andrew Bogott <abogott@wikimedia.org>
12626
Date: Sun Jul 8 07:05:15 2012 -0500
12628
Propagate setup.py change from common.
12630
This pulls in the following patch:
12632
commit 8a967b16dc2ffd60bc19bee09f45e665ddcc9a81
12633
Author: Monty Taylor <mordred@inaugust.com>
12634
Date: Mon Jul 2 17:19:06 2012 -0400
12636
Fix up openstack-common build.
12638
Ironically enough, even though the code to manage this is in
12639
openstack-common, openstack-common wasn't using it. This patch fixes doc
12640
generation, as well as setuptools-git integration and versioning.
12642
Change-Id: Ibb2041b131c67aba963e2dd81dcdfd105e1f9b33
12644
nova/openstack/common/setup.py | 22 +++++++++++++++-------
12645
1 file changed, 15 insertions(+), 7 deletions(-)
12647
commit 7d9d77b218a2e92d69bafb2fec4d1f1607fbc4a9
12648
Author: Andrew Bogott <abogott@wikimedia.org>
12649
Date: Sun Jul 8 06:11:00 2012 -0500
12651
Properly name openstack.common.exception.
12653
Now it's 'nova.openstack.common.exception', thanks to a more modern
12654
update.py in common.
12656
Change-Id: I4b3caf9014f866da3a5bbf07ab194fc9910159b0
12658
nova/openstack/common/rpc/__init__.py | 2 +-
12659
1 file changed, 1 insertion(+), 1 deletion(-)
12661
commit 688f9274a803e40c20dfc9275ad2246e674a6062
12662
Author: Andrew Bogott <abogott@wikimedia.org>
12663
Date: Sun Jul 8 06:08:24 2012 -0500
12665
Janitorial: Catch rpc up with a change in common
12667
Common rpc now uses jsonutils instead of json; this
12668
patch moves that change into nova.
12670
Change-Id: Iba45e473ae875b0973dbe6f752602b58c7980578
12672
nova/openstack/common/notifier/log_notifier.py | 4 ++--
12673
nova/openstack/common/rpc/impl_fake.py | 4 ++--
12674
nova/openstack/common/rpc/impl_qpid.py | 6 +++---
12675
nova/openstack/common/rpc/impl_zmq.py | 7 ++++---
12676
4 files changed, 11 insertions(+), 10 deletions(-)
12678
commit a97de51e017c9c07eaa3e4a9ddde4193e9528373
12679
Author: Chris Behrens <cbehrens@codestud.com>
12680
Date: Sat Jul 7 21:38:36 2012 -0700
12682
Make reboot work for halted xenapi instances
12686
This also will catch exceptions and make sure to reset the task_state,
12687
while still generating an instance fault.
12689
Change-Id: I122a1422b8e5731bc484414736ab44e60d4c9830
12691
nova/compute/manager.py | 11 +++++++++--
12692
nova/tests/test_xenapi.py | 35 +++++++++++++++++++++++++++++++++++
12693
nova/virt/xenapi/fake.py | 12 +++++++++++-
12694
nova/virt/xenapi/vmops.py | 18 ++++++++++++++----
12695
4 files changed, 69 insertions(+), 7 deletions(-)
12697
commit c586de1c5826a5e132feeea94a7428f37b2c3238
12698
Author: Monty Taylor <mordred@inaugust.com>
12699
Date: Thu Jul 5 16:33:27 2012 -0500
12701
Removed a bunch of cruft files.
12703
Ohai. We dont't uses any of theses anymores. Let's just make buh-bye.
12705
Change-Id: Ib81c92ab9196552150d81d158befb0747966965d
12707
doc/.gitignore | 3 --
12708
doc/Makefile | 97 --------------------------------------------------
12709
doc/README.rst | 55 ----------------------------
12710
doc/build/.gitignore | 1 -
12711
4 files changed, 156 deletions(-)
12713
commit eb2de037a387a2f20f50a81c973a2efd48d73494
12714
Author: Monty Taylor <mordred@inaugust.com>
12715
Date: Thu Jul 5 16:27:12 2012 -0500
12717
Update common setup code to latest.
12719
This gets us up to date with common/setup.py and replaces custom nova
12720
autodoc generation with the port of that code found in common.
12722
Change-Id: I2a1c5d2c0fdcf40dbea50cc123b537adb068cdc2
12726
doc/ext/nova_autodoc.py | 12 --
12727
doc/find_autodoc_modules.sh | 20 ----
12728
doc/generate_autodoc_index.sh | 46 --------
12729
doc/source/conf.py | 5 -
12730
nova/openstack/common/setup.py | 244 ++++++++++++++++++++++++++++++++++++----
12731
setup.py | 27 +----
12732
8 files changed, 227 insertions(+), 133 deletions(-)
12734
commit a2032924adcce758866cd30c744d8a6a47dd4669
12735
Author: PƔdraig Brady <pbrady@redhat.com>
12736
Date: Sat Jul 7 10:37:46 2012 +0100
12738
fix metadata file injection with xen
12740
The metadata parameter was misordered in commit 1463839f
12743
Change-Id: Ica0e2f51b6852c8572bdc3c995cc8c2588b9a25c
12745
nova/virt/xenapi/vm_utils.py | 2 +-
12746
1 file changed, 1 insertion(+), 1 deletion(-)
12748
commit aa87cc10d6a02d74f1466dc1a4e0e39c1a0878da
12749
Author: Andrew Bogott <abogott@wikimedia.org>
12750
Date: Thu Jun 28 19:18:20 2012 -0500
12752
Switch to common notifiers.
12754
- Added notifier files to openstack-common.conf, merged from common.
12755
- Import notifiers from common rather than nova.
12756
- Removed nova-specific notifier code.
12757
- Update some driver paths to refer to the new location within nova.
12759
Should be a no-op, as the common notification code is freshly copied from Nova.
12761
Change-Id: Icdf892bc3826b683fc74f22ead00939beda2859f
12763
nova/compute/manager.py | 2 +-
12764
nova/compute/utils.py | 3 +-
12765
nova/flags.py | 3 -
12766
nova/network/manager.py | 2 +-
12767
nova/notifications.py | 2 +-
12768
nova/notifier/__init__.py | 14 --
12769
nova/notifier/api.py | 138 ----------------
12770
nova/notifier/capacity_notifier.py | 81 ---------
12771
nova/notifier/list_notifier.py | 70 --------
12772
nova/notifier/log_notifier.py | 33 ----
12773
nova/notifier/no_op_notifier.py | 19 ---
12774
nova/notifier/rabbit_notifier.py | 47 ------
12775
nova/notifier/test_notifier.py | 25 ---
12776
nova/openstack/common/context.py | 81 +++++++++
12777
nova/openstack/common/log.py | 2 +-
12778
nova/openstack/common/notifier/__init__.py | 14 ++
12779
nova/openstack/common/notifier/api.py | 141 ++++++++++++++++
12780
nova/openstack/common/notifier/list_notifier.py | 116 +++++++++++++
12781
nova/openstack/common/notifier/log_notifier.py | 34 ++++
12782
nova/openstack/common/notifier/no_op_notifier.py | 19 +++
12783
nova/openstack/common/notifier/rabbit_notifier.py | 45 +++++
12784
nova/openstack/common/notifier/test_notifier.py | 22 +++
12785
nova/scheduler/filter_scheduler.py | 2 +-
12786
nova/scheduler/manager.py | 2 +-
12787
nova/tests/compute/test_compute.py | 4 +-
12788
nova/tests/notifier/__init__.py | 16 --
12789
nova/tests/notifier/test_capacity_notifier.py | 59 -------
12790
nova/tests/notifier/test_list_notifier.py | 84 ----------
12791
nova/tests/test_compute_utils.py | 4 +-
12792
nova/tests/test_notifications.py | 4 +-
12793
nova/tests/test_notifier.py | 184 ---------------------
12794
nova/tests/test_volume.py | 4 +-
12795
nova/tests/test_volume_utils.py | 4 +-
12796
nova/volume/utils.py | 2 +-
12797
openstack-common.conf | 2 +-
12798
35 files changed, 491 insertions(+), 793 deletions(-)
12800
commit 642ec634c3beeb69175d0df12bcec8833e7efae5
12801
Author: Nikhil Komawar <nikhil.komawar@rackspace.com>
12802
Date: Fri Jul 6 18:22:56 2012 -0400
12804
Implements updating complete bw usage data
12806
the DB query is not filtering by the mac address.
12807
Hence, only one of them was being updated and
12808
with mismatched bw usage info.
12812
Change-Id: I792493a6e0817d62bbf6955df9cd5bc0e4af9dbb
12814
nova/db/sqlalchemy/api.py | 1 +
12815
1 file changed, 1 insertion(+)
12817
commit 45a6a91e893294bdcd3b4fe38669171ac10ffe13
12818
Merge: 0598db0 626632d
12819
Author: Jenkins <jenkins@review.openstack.org>
12820
Date: Fri Jul 6 21:10:16 2012 +0000
12822
Merge "Fix rpc import path in nova-novncproxy"
12824
commit 626632d4cbd5de26cc2793c9d18b599b074c507e
12825
Author: Anthony Young <sleepsonthefloor@gmail.com>
12826
Date: Fri Jul 6 10:46:13 2012 -0700
12828
Fix rpc import path in nova-novncproxy
12830
* Fixes bug 1021836
12832
Change-Id: Ia50224d653e172311ec9ef86ea2809ad1dafff3d
12834
bin/nova-novncproxy | 2 +-
12835
1 file changed, 1 insertion(+), 1 deletion(-)
12837
commit 0598db0a6c66eb2b6d2e0e3f0b3b2b921ebe8621
12838
Author: Alex Meade <alex.meade@rackspace.com>
12839
Date: Fri Jul 6 13:23:55 2012 -0400
12841
This patch stops metadata from being deleted when an instance is deleted.
12843
This patch makes it so that instance metadata, system metadata, and block
12844
device mappings are no longer set to deleted when an instance is deleted.
12845
It doesn't make sense to delete them just because the instance they describe
12848
This patch DOES NOT MIGRATE currently deleted metadata or block
12849
device mappings for currently deleted instances, that means that usage
12850
notifications for deleted instances that were deleted before this patch will
12851
show image_meta as empty.
12855
Change-Id: I33ee402b859834e09535c7925957bee0a1d91207
12857
nova/compute/manager.py | 5 ++---
12858
nova/compute/utils.py | 9 ++-------
12859
nova/db/sqlalchemy/api.py | 22 ----------------------
12860
nova/notifications.py | 9 ++-------
12861
4 files changed, 6 insertions(+), 39 deletions(-)
12863
commit 9698a45a308f54865811e67498e8f0500c8187f2
12864
Author: Daniel P. Berrange <berrange@redhat.com>
12865
Date: Thu Jun 28 12:35:04 2012 +0100
12867
Set the default CPU mode to 'host-model' for Libvirt KVM/QEMU guests
12869
Historically Nova has not set any CPU model for guests started with
12870
the libvirt driver. This means they are all using the per-hyervisor
12871
default settings for CPU model. With KVM/QEMU guests the model was
12872
traditionally a very conserative choice which exposed minimal features.
12873
This is significantly limits the performance of applications. Further
12874
the model has changed over time, so the exact default model is
12875
unpredictable. Switching Nova to use the host CPU model by default
12876
should improve the out of the box performance & give a known
12879
This does not impact migration compatibility, since the migration
12880
code is already doing comparison checks against the source and
12881
destination host CPU model, regardless of the actual model used
12882
in the guest. In the future the migration code should be tweaked
12883
so that it actually compares the current guest CPU model, against
12884
the target host CPU model, which would potentially broaden the
12885
migration compatibility pool.
12887
With this patch there is a new libvirt_cpu_mode="none" which
12888
can be used to explicitly prevent any CPU model setting in the
12889
instance XML. The default value None, will now default to
12890
"none" for LXC/UML/etc, and "host-model" for QEMU/KVM
12892
Fixes: bug #1003373
12893
Implements: blueprint libvirt-xml-cpu-model
12894
Change-Id: I5b96e4532b6a960e1608dd6e19ae9d194379fb6a
12895
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
12897
nova/tests/test_libvirt.py | 46 +++++++++++++++++++++++++++++++++++++++++++
12898
nova/virt/libvirt/driver.py | 14 ++++++++++---
12899
2 files changed, 57 insertions(+), 3 deletions(-)
12901
commit 4bbb9cfde27cd3c8268caf272d04a009b50c7a08
12902
Author: Daniel P. Berrange <berrange@redhat.com>
12903
Date: Thu Jul 5 19:40:47 2012 +0100
12905
Fallback to fakelibvirt in test_libvirt.py test suite
12907
If the native 'libvirt' module is not available on the host,
12908
currently test_libvirt.py stubs it out to ''. While this
12909
has sort-of worked for some test cases, others have had to
12910
be configured to skip. As the complexity of the libvirt driver
12911
increases, ever more tests will need to be skipped.
12913
There is, however, the fakelibvirt.py module which provides
12914
a dummy impl of the libvirt APIs for use in test_virt_drivers.py
12915
With a few enhancements this fake impl is good enough to use
12916
with test_libvirt.py too.
12918
The constructor of libvirtError is changed to accept the
12919
'msg' as first arg to match the regular libvirt module.
12920
A few missing constants are added. The migrateToURI
12921
method is stubbed out
12923
All the previously skipped tests can now be enabled as
12926
Change-Id: I15efbef8c676cc0e263a9c9bdd7b14dfb3771105
12927
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
12929
nova/tests/fakelibvirt.py | 45 ++++++++++++++++++++++++++++----------------
12930
nova/tests/test_libvirt.py | 45 ++++++++++++--------------------------------
12931
2 files changed, 41 insertions(+), 49 deletions(-)
12933
commit e6ec6f851223151bec1d3ef47bb1030c1ebb598b
12934
Merge: efa69b4 7b43eaa
12935
Author: Jenkins <jenkins@review.openstack.org>
12936
Date: Fri Jul 6 00:18:31 2012 +0000
12938
Merge "modify hacking.py to not choke on the def of _()"
12940
commit efa69b44ccdacc788a39b893d46168a725c95ec2
12941
Merge: 6335e66 6222385
12942
Author: Jenkins <jenkins@review.openstack.org>
12943
Date: Thu Jul 5 22:20:58 2012 +0000
12945
Merge "Get hypervisor uptime."
12947
commit 6335e66e1c1a825c28cb7beb46ef913401693bae
12948
Merge: 974233d 70129ed
12949
Author: Jenkins <jenkins@review.openstack.org>
12950
Date: Thu Jul 5 22:10:53 2012 +0000
12952
Merge "Make possible to store snapshots not in /tmp directory"
12954
commit 974233db34c66173f9b98cf161734aaf11db20f6
12955
Merge: fbb9367 19269d8
12956
Author: Jenkins <jenkins@review.openstack.org>
12957
Date: Thu Jul 5 21:48:45 2012 +0000
12959
Merge "sort .gitignore for readability"
12961
commit fbb93679c5d69b3800c38931b670bb55cbbe1bb7
12962
Merge: 050936e ccdb021
12963
Author: Jenkins <jenkins@review.openstack.org>
12964
Date: Thu Jul 5 21:08:51 2012 +0000
12966
Merge "Don't catch & ignore exceptions when setting up LXC container filesystems"
12968
commit 050936e6223a920fc8112b914217f4739f2b8ed1
12969
Merge: eda6430 4cdc307
12970
Author: Jenkins <jenkins@review.openstack.org>
12971
Date: Thu Jul 5 21:08:49 2012 +0000
12973
Merge "Add checks for retrieving deleted instance metadata for notification events."
12975
commit eda64300014fbff336000a18082e2e5da7f642b1
12976
Merge: 6c1d798 f953091
12977
Author: Jenkins <jenkins@review.openstack.org>
12978
Date: Thu Jul 5 21:08:47 2012 +0000
12980
Merge "Remove auth-related nova-manage commands"
12982
commit 45f9c298c2a6ba3b182ce3c225d09a0bfcb7dd2d
12983
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
12984
Date: Mon Jul 2 20:48:30 2012 +0000
12986
Properly track VBD and VDI connections in xenapi fake
12988
The fake xenapi module correctly destroys VBDs when destroying a VM
12989
but it won't destroy VBDs when destroying a VDI. If an exception
12990
occurs during a spawn when running test_xenapi, then another exception
12991
can occur which obscures the original (and likely more important)
12992
exception. This can make troubleshooting test suite failures more
12995
Change-Id: I19aad7f39b0707893a04784faef90815f7b0effb
12997
nova/tests/xenapi/stubs.py | 6 ------
12998
nova/virt/xenapi/fake.py | 48 ++++++++++++++++++++++++++++++++++++++------
12999
2 files changed, 42 insertions(+), 12 deletions(-)
13001
commit 7b43eaa9d8075c3d05fd17d19de12793a9c09692
13002
Author: Sean Dague <sdague@linux.vnet.ibm.com>
13003
Date: Thu Jul 5 16:36:34 2012 -0400
13005
modify hacking.py to not choke on the def of _()
13007
recent openstack-common brought in it's own def of _() which trips
13008
up our checking that all _ calls contain a message string.
13010
This explicitly excludes the definition of this in function from
13013
Fixes LP Bug #1020792.
13015
Change-Id: If647d77a5ae5560935bb2e032331c34b896b8614
13017
tools/hacking.py | 6 ++++--
13018
1 file changed, 4 insertions(+), 2 deletions(-)
13020
commit 19269d8464dd055e6add1779041014e51e79ba08
13021
Author: Sean Dague <sdague@linux.vnet.ibm.com>
13022
Date: Thu Jul 5 16:14:18 2012 -0400
13024
sort .gitignore for readability
13026
sort .gitignore using sort -V to create something more readable
13027
for future additions, instead of always appending to the end
13030
Change-Id: I7e5f0a792b5555a3c53f6da124572e0e3a7d7f9b
13032
.gitignore | 47 +++++++++++++++++++++++------------------------
13033
1 file changed, 23 insertions(+), 24 deletions(-)
13035
commit 6c1d7989d9bf4aea16758542e203cbbad2f7c6f0
13036
Author: Sean Dague <sdague@linux.vnet.ibm.com>
13037
Date: Thu Jul 5 09:45:35 2012 -0400
13039
ignore project files for eclipse/pydev
13041
eclipse is far too commit happy to keep adding these files into the
13042
tree making it a manual process to remove them before submit. This
13043
should make life a little simpler for people using pydev.
13045
Change-Id: Icd0ceea53daa76e6c36933ced174a235e070c394
13048
1 file changed, 3 insertions(+)
13050
commit fbb4fbf9955dc3edd217472631b514d4c52f5b8a
13051
Merge: 4e4ec81 04d6def
13052
Author: Jenkins <jenkins@review.openstack.org>
13053
Date: Thu Jul 5 19:05:51 2012 +0000
13055
Merge "Remove unnecessary target_host flag in xenapi driver tests"
13057
commit 4e4ec8178e6667f5e9eb7d92d9c014fc51686201
13058
Merge: 563b160 ef7462c
13059
Author: Jenkins <jenkins@review.openstack.org>
13060
Date: Thu Jul 5 18:57:33 2012 +0000
13062
Merge "Remove unnecessary setUp() method in xenapi driver tests"
13064
commit 563b160071b794217c988f5fd13bccffe4996f86
13065
Merge: e883e97 8fb3ea3
13066
Author: Jenkins <jenkins@review.openstack.org>
13067
Date: Thu Jul 5 18:55:02 2012 +0000
13069
Merge "Drop xenapi session.get_imported_xenapi()"
13071
commit 4cdc30796c7c76068898cd9e9280e8d7a11a57cb
13072
Author: Alex Meade <alex.meade@rackspace.com>
13073
Date: Thu Jul 5 14:27:33 2012 -0400
13075
Add checks for retrieving deleted instance metadata for notification events.
13077
This enables metadata for a deleted instance to be reported in usage
13078
notifications. However, deleted metadata for a nondeleted instance will
13083
Change-Id: I7ce5c720c7705be34724679bb4ff99fb8ba37a27
13085
nova/compute/utils.py | 10 ++++++++--
13086
nova/notifications.py | 27 +++++++++++++++++----------
13087
nova/tests/test_compute_utils.py | 35 +++++++++++++++++++++++++++++++++++
13088
3 files changed, 60 insertions(+), 12 deletions(-)
13090
commit e883e9756c779793ca071ee3f052f5d13610a9ac
13091
Merge: 6a4c407 2c144fc
13092
Author: Jenkins <jenkins@review.openstack.org>
13093
Date: Thu Jul 5 18:26:24 2012 +0000
13095
Merge "Pass vdi_ref to fake.create_vbd() not a string"
13097
commit 6a4c4079c04feb7f12efd137d5bf9631345fba06
13098
Merge: e520f55 90a9309
13099
Author: Jenkins <jenkins@review.openstack.org>
13100
Date: Thu Jul 5 17:40:34 2012 +0000
13102
Merge "Correct typo in tools/hacking.py l18n -> i18n"
13104
commit e520f558153c11f70b2b2e7a8d93e3f8d916d743
13105
Merge: 1eb27c3 3456b66
13106
Author: Jenkins <jenkins@review.openstack.org>
13107
Date: Thu Jul 5 17:32:57 2012 +0000
13109
Merge "Finish AUTHORS transition."
13111
commit 1eb27c33249536878e38f3865e0cfa588d72680d
13112
Merge: ac8e228 483ec33
13113
Author: Jenkins <jenkins@review.openstack.org>
13114
Date: Thu Jul 5 17:27:50 2012 +0000
13116
Merge "Add *.egg* to .gitignore"
13118
commit ac8e228e5bcdcb816ea6e7f056e16fdcc5b0aca7
13119
Merge: 9c37ef6 dd0e0ad
13120
Author: Jenkins <jenkins@review.openstack.org>
13121
Date: Thu Jul 5 17:19:49 2012 +0000
13123
Merge "Allow network_uuids that begin with a prefix"
13125
commit dd0e0ad5942743a434adf36bb91d107ac4e484e9
13126
Author: Jason Kƶlker <jason@koelker.net>
13127
Date: Thu Jul 5 11:21:13 2012 -0500
13129
Allow network_uuids that begin with a prefix
13131
* If the bare network_uuid is not uuid-like, attempt to validate
13132
with the first 'prefix-' stripped off
13135
Change-Id: I4914d4ffcb633aef1c5b7f8abfa0b48eaf4f0cc9
13137
nova/api/openstack/compute/servers.py | 9 ++++++---
13138
nova/tests/api/openstack/compute/test_servers.py | 6 ++++++
13139
2 files changed, 12 insertions(+), 3 deletions(-)
13141
commit 90a93098a608f1d8254db712482f7cb801e6b1cf
13142
Author: Brian Waldon <brian.waldon@rackspace.com>
13143
Date: Thu Jul 5 09:45:03 2012 -0700
13145
Correct typo in tools/hacking.py l18n -> i18n
13147
i18n stands for internationalization, while l10n stands for
13148
localization. l18n stands for nothing.
13150
Change-Id: Iebfe2dcbc12919875c0ecee8aa9223dc107239d7
13152
tools/hacking.py | 4 ++--
13153
1 file changed, 2 insertions(+), 2 deletions(-)
13155
commit 483ec33feced931d3f7ad196ba094026f5ac580f
13156
Author: Brian Waldon <brian.waldon@rackspace.com>
13157
Date: Thu Jul 5 09:33:03 2012 -0700
13159
Add *.egg* to .gitignore
13161
Change-Id: Id2adc763a1a84acf0323bc711616d62d5e310d75
13164
1 file changed, 1 insertion(+), 1 deletion(-)
13166
commit f953091dfe213e15d29209f2c2418e06eac1188e
13167
Author: Brian Waldon <brian.waldon@rackspace.com>
13168
Date: Tue Jul 3 14:39:43 2012 -0700
13170
Remove auth-related nova-manage commands
13172
Drop support for management of deprecated auth by deleting
13173
the following nova-manage commands:
13176
* project/account * (except scrub and quota)
13180
Additionally, delete relevant documentation and tests.
13182
Related to bp remove-deprecated-auth.
13184
Change-Id: Iad9787f696cb55d4673d68fc60851c7f5bd25805
13186
bin/nova-manage | 371 ----------------------------------------
13187
doc/source/man/nova-manage.rst | 84 +--------
13188
nova/tests/test_nova_manage.py | 59 -------
13189
3 files changed, 3 insertions(+), 511 deletions(-)
13191
commit 04d6def2b1702c962757d59ed086a2577300712a
13192
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
13193
Date: Thu Jul 5 15:33:57 2012 +0000
13195
Remove unnecessary target_host flag in xenapi driver tests
13197
This appears to be the result of some copy/paste of code. Setting
13198
target_host is unnecessary for the tests and just adds clutter.
13200
Change-Id: Iaf2abbd51af541311a2e2a4b178d7cdc4f00e116
13202
nova/tests/test_xenapi.py | 27 +++++++++++----------------
13203
1 file changed, 11 insertions(+), 16 deletions(-)
13205
commit ef7462c28ebbc0b8e36c9663acab820121e5f747
13206
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
13207
Date: Thu Jul 5 15:18:32 2012 +0000
13209
Remove unnecessary setUp() method in xenapi driver tests
13211
It creates a fake instance but then never uses it.
13213
Change-Id: Ic98dfb0f2eb31cc0da767743dd97463deed42ca4
13215
nova/tests/test_xenapi.py | 11 -----------
13216
1 file changed, 11 deletions(-)
13218
commit 9c37ef6dc31125e1aed7f75dc1d05be3f24d6880
13219
Merge: 8c9539d 5bce6f5
13220
Author: Jenkins <jenkins@review.openstack.org>
13221
Date: Thu Jul 5 15:51:32 2012 +0000
13223
Merge "Ensure system metadata is sent on new image creation."
13225
commit 8c9539d88fd53cb150dbe41da485ef0bc919b66a
13226
Merge: 202579b 2a236d2
13227
Author: Jenkins <jenkins@review.openstack.org>
13228
Date: Thu Jul 5 15:46:49 2012 +0000
13230
Merge "Add compatibility for CPU model config with libvirt < 0.9.10"
13232
commit 202579b9bc9c7c74b2e1caf10300c1ae48c12d23
13233
Merge: be0c9e6 dab6261
13234
Author: Jenkins <jenkins@review.openstack.org>
13235
Date: Thu Jul 5 15:46:47 2012 +0000
13237
Merge "Assign service_catalog in NovaKeystoneContext."
13239
commit be0c9e62840ae7bcff3e77a5b3bd664d3bda6d43
13240
Merge: 980c762 7ed3452
13241
Author: Jenkins <jenkins@review.openstack.org>
13242
Date: Thu Jul 5 15:34:40 2012 +0000
13244
Merge "Remove unused 'get_open_port' method from libvirt utils"
13246
commit 3456b667c38aa1d439482b9c95838aba6d3d6c5c
13247
Author: Monty Taylor <mordred@inaugust.com>
13248
Date: Thu Jul 5 09:08:38 2012 -0500
13250
Finish AUTHORS transition.
13252
The code to generate the authors file from the git changelog has been in the
13253
tree and running for a few weeks now. Somehow the removal of the authors
13254
test and and the MANIFEST.in file were wrong though. This should clean that
13259
Change-Id: I66c388c1c81804f8dabc52b5ee25c7f394921e11
13262
Authors | 236 -----------------------------------------------
13264
nova/tests/test_misc.py | 27 ------
13265
4 files changed, 3 insertions(+), 264 deletions(-)
13267
commit ccdb02105acf32a4a0c81d688749475d8abedf4b
13268
Author: Daniel P. Berrange <berrange@redhat.com>
13269
Date: Thu Jul 5 13:49:02 2012 +0100
13271
Don't catch & ignore exceptions when setting up LXC container filesystems
13273
The 'setup_container' method in nova/disk/api.py may well raise an
13274
exception if something goes wrong when setting up the LXC container's
13275
root filesystem. Currently it just catches & logs any exception.
13276
The caller thus always thinks everything worked & goes onto boot
13277
the container despite there being no root filesystem available
13280
The fix is to simply remove the bogus exception catching completely
13282
Change-Id: I2691713f11cced1561f347819875f490b8aaafef
13283
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
13285
nova/virt/disk/api.py | 19 ++++++++++---------
13286
1 file changed, 10 insertions(+), 9 deletions(-)
13288
commit 5bce6f5fbe804cd24d8bf1c2e36680876bc044cd
13289
Author: SandyWalsh <sandy.walsh@rackspace.com>
13290
Date: Wed Jul 4 22:47:06 2012 -0300
13292
Ensure system metadata is sent on new image creation.
13294
System metadata is useful for billing and notification purposes.
13295
Sadly, this data was getting lost on new instances created from
13296
snapshots of old instances.
13298
This patch ensures the system metadata of the old instance is
13299
stored in the snapshot for use with creating new instances.
13301
Additionally, it strips the "image_" prefix from any system
13302
metadata keys (as required).
13304
Change-Id: I9fff55c0e9f106afcded1865c7a47bc96ba507a7
13306
nova/tests/test_xenapi.py | 51 ++++++++++++++++++++++++++++++++++++++++++
13307
nova/virt/xenapi/vm_utils.py | 6 +++++
13308
2 files changed, 57 insertions(+)
13310
commit dea224ae26c752d328ccbb622048a63e990bee50
13311
Author: Eoghan Glynn <eglynn@redhat.com>
13312
Date: Wed Jul 4 11:21:19 2012 +0000
13314
Distinguish over-quota for volume size and number.
13318
Ensure that exceeding the allowed number of volumes is not
13319
mis-represented in log messages and exception handling as
13320
excessive space usage.
13322
Change-Id: I71ec995c77bc447bfc9221084b057bd8d69a4513
13324
nova/exception.py | 4 ++++
13325
nova/tests/test_volume.py | 33 +++++++++++++++++++++++++++++++++
13326
nova/volume/api.py | 25 +++++++++++++++++++++----
13327
3 files changed, 58 insertions(+), 4 deletions(-)
13329
commit dab6261216dab3879c45c4e89f29627a16d8db1a
13330
Author: Dan Prince <dprince@redhat.com>
13331
Date: Tue Jul 3 23:15:06 2012 -0400
13333
Assign service_catalog in NovaKeystoneContext.
13335
Updates NovaKeystoneContext so that the service_catalog variable is
13336
assigned regardless of whether X_SERVICE_CATALOG is set.
13338
Fixes LP Bug #1020779
13339
Change-Id: I3ab15fa53488f2f352718fd230d8ec5e3a38cf56
13341
nova/api/auth.py | 1 +
13342
1 file changed, 1 insertion(+)
13344
commit 980c76266629ea66bc23fddb02f5be61c51d873c
13345
Author: Dan Prince <dprince@redhat.com>
13346
Date: Tue Jul 3 22:15:12 2012 -0400
13348
Fix some hacking violations in the quantum tests.
13350
This patch fixes some import sorting and HACKING violations
13351
in the quantum tests.
13353
Quantum client raises Exception which is discouraged by HACKING.
13354
To avoid some of the HACKING violations we set a constant equal to
13355
Exception and use it for the assertions in the tests. This avoids
13356
the HACKING violations until we can make quantum client throw a
13357
custom exception class instead.
13359
Change-Id: Ie52d0049dda2d18ad06c5137ca8c316c5531b56a
13361
nova/network/quantumv2/__init__.py | 2 +-
13362
nova/network/quantumv2/api.py | 2 +-
13363
nova/tests/network/test_quantumv2.py | 13 +++++++++----
13364
3 files changed, 11 insertions(+), 6 deletions(-)
1
13366
commit 63ce7031d1b0fd0c251fffea55bc7120e3d1f6b0
2
13367
Author: Johannes Erdfelt <johannes.erdfelt@rackspace.com>
3
13368
Date: Tue Jul 3 23:54:58 2012 +0000