Commit Graph

22878 Commits

Author SHA1 Message Date
Ken'ichi Ohmichi 3277bf3d7b Fix the message of coverage directory error
If a coverage-report directory conflicts, the error message is
incomplete like the following:

$ nova coverage-start --combine
Coverage collection started
$
$ nova coverage-report --html test01
Report path: /tmp/nova-coverage_Krl__k/test01
$
$ nova coverage-start --combine
Coverage collection started
$ nova coverage-report --html test01
ERROR: Directory conflict: %s already exists (HTTP 400)
$

This patch fixes the message.

Fixes bug #1217315

Change-Id: Ie21b0e87262a3caef36d93711ee96529ec699cec
2013-08-27 20:10:16 +09:00
Jenkins 1b0165b808 Merge "Pass the destination file name to download modules" 2013-08-27 03:48:02 +00:00
Jenkins 5fdd00d67b Merge "Adds missing V3 API scheduler hints testcase" 2013-08-27 02:03:09 +00:00
Jenkins b7c16d696c Merge "Fix various cells issues due to object changes" 2013-08-26 22:17:55 +00:00
Jenkins 0477d101eb Merge "Allow Cinder to specify file format for NFS/GlusterFS" 2013-08-26 22:09:57 +00:00
Jenkins 18ca555de4 Merge "Add ComputeNode object implementation" 2013-08-26 21:37:59 +00:00
Jenkins 094993ef2f Merge "Removed code duplication in test_get_server_*_by_id" 2013-08-26 21:27:30 +00:00
Jenkins 6ab04a9193 Merge "[v3] Show detail of an quota in API os-quota-sets" 2013-08-26 21:26:58 +00:00
Jenkins 2606e67b15 Merge "Add Service object implementation" 2013-08-26 21:17:15 +00:00
Jenkins bc1461a475 Merge "Make compute_api use KeyPair objects" 2013-08-26 21:16:50 +00:00
Jenkins c634c32c11 Merge "Add KeyPair object" 2013-08-26 19:59:26 +00:00
John Bresnahan e7d4ede131 Pass the destination file name to download modules
Currently an open file like object is passed into the image service
and thus into the download modules.  This is a limiting for certain
optimization (system calls to copy, hard links, external services,
out of order protocols like bittorrent, etc).  This patch passes the
file name into the image service when used by the nova.virt.images.
The previous means of passing in a data stream is still supported
but cannot be used with download modules.

Change-Id: Id17d426faab8d63dcffca22b300ebac3f15c104a
blueprint: image-multiple-location
2013-08-26 07:32:12 -10:00
Jenkins c1742adfe1 Merge "xenapi: Added iPXE ISO boot support" 2013-08-26 17:00:23 +00:00
Jenkins e9f3aee262 Merge "Add resource tracking to build_and_run_instance" 2013-08-26 16:47:48 +00:00
Jenkins 77147e867f Merge "Add expected_errors for migrations v3" 2013-08-26 16:47:17 +00:00
He Jie Xu 9b23730f31 Add expected_errors for migrations v3
Partially implements bp v3-api-extension-versioning

Change-Id: I4eabd4ae4aa23b26a48f14f2ea9a57619ac38b41
2013-08-26 16:20:52 +08:00
Jenkins 08d6932963 Merge "Fix ratelimiting" 2013-08-26 06:02:47 +00:00
Jenkins c3005f5b10 Merge "Add alias as prefix to request params for availability_zone v3" 2013-08-26 06:01:41 +00:00
Jenkins 7478574573 Merge "VMware: Added check for datastore state before selection" 2013-08-26 05:30:20 +00:00
Jenkins ca0aadb1fc Merge "Document CONF.default_flavor is for EC2 only" 2013-08-26 04:07:29 +00:00
Jenkins 3e1e7c2a82 Merge "Upgrade to Hacking 0.7" 2013-08-26 04:06:59 +00:00
Jenkins 62bf82055d Merge "VMware: fix rescue/unrescue instance" 2013-08-26 04:03:49 +00:00
Jenkins 9174401922 Merge "Fix Fibre Channel attach for single WWN" 2013-08-24 18:06:02 +00:00
Chris Behrens 14cf5454fb Fix various cells issues due to object changes
1) Child cell scheduling fails.  The change to use Instance.create() in
child cells broke things.  The instance properties was being overwritten
due to a typo.  I also found a number of other things that need to be
popped out before passing to create_db_entry_for_new_instance().

2) Notification to the API cell was failing.  We cannot pass an object to
instance_update_at_top().

3) When cells is enabled, deleting an instance hits the '_local_delete'
part of code in the API because we don't see the compute node.  There's
a trap in cells_api.py to forward the delete on to child cells, but we
need to make sure not to try to deallocate network in the API cell.

Fixes bug 1216113

Change-Id: Ie989c22cb3b6a1359a0540e60e06fa4153e93476
2013-08-24 05:29:57 +00:00
Jenkins 9e704ee2ad Merge "Fixes sync issue for user level resources" 2013-08-23 23:03:03 +00:00
Jenkins 0f543df42f Merge "Fix migration downgrade 146 with mysql" 2013-08-23 23:02:23 +00:00
Jenkins 23de2214db Merge "Remove the indexes on downgrade to work with MySQL" 2013-08-23 23:01:43 +00:00
Jenkins f3600b2e24 Merge "Downgrade MySQL to the same state it used to be" 2013-08-23 23:01:10 +00:00
Jenkins 857e4e6a58 Merge "XenAPI: Return platform_version if no product_version" 2013-08-23 21:47:35 +00:00
Jenkins e811ec123b Merge "XenAPI: Support local connections" 2013-08-23 21:46:55 +00:00
Jenkins ea5d959fea Merge "Stub out entry points in LookupTorrentURLTestCase" 2013-08-23 21:45:20 +00:00
Jenkins a04f3e071c Merge "Revert "Make compute_capabilities_filter use ..."" 2013-08-23 21:44:40 +00:00
Jenkins c7a855cd9f Merge "Remove "N309 Python 3.x incompatible construct"" 2013-08-23 21:43:52 +00:00
Jenkins 9775f2456a Merge "Fix exception handling in V3 API coverage extension" 2013-08-23 21:43:10 +00:00
Jenkins deeaa18be3 Merge "Allow swap_volume to be called by Cinder" 2013-08-23 21:32:57 +00:00
Joe Gordon 3360256d57 Document CONF.default_flavor is for EC2 only
CONF.default_flavor is only used in the EC2 API, so update the help
message to reflect that.

Partial-Bug: #1207553

Change-Id: I3f263c564b619a32a69f5170ab07eddfba77f60b
2013-08-23 16:48:59 -04:00
Jenkins a92f904d96 Merge "Fix ReservationTestCase on PostgreSQL" 2013-08-23 20:15:26 +00:00
Jenkins 1b2b44c43d Merge "Fix instance_group_delete() DB API method" 2013-08-23 20:13:53 +00:00
Jenkins 6710671ec3 Merge "PCI utils" 2013-08-23 20:13:13 +00:00
Jenkins 546ae24f33 Merge "nova.conf configurable gzip compression level" 2013-08-23 20:12:32 +00:00
Robert Collins 7d8a3b956b Revert "Make compute_capabilities_filter use ..."
This reverts commit a4ad62ac9f.

Nova baremetal architecture scheduling was broken by it. While
workarounds exist it is backwards incompatible, and baremetal is
supported since Grizzly.

Fix bug: 1213967

Change-Id: I319b8a17f3ae7a3b527d388c6ff2954c0bcc0108
2013-08-24 06:57:29 +12:00
Jenkins bf327753ac Merge "Correct the authorizer for extended-volumes v3" 2013-08-23 17:03:57 +00:00
Jenkins fc0079f8ea Merge "Fix spice/vnc console api samples tests" 2013-08-23 16:09:51 +00:00
Jenkins 3e3466296f Merge "Fix network manager tests to use correct network host" 2013-08-23 16:09:11 +00:00
Jenkins 655047ee77 Merge "Stub out get_console_topic() in test_create_console" 2013-08-23 16:08:32 +00:00
Jenkins 231ec907e6 Merge "Stub out instance_fault_create() in compute tests" 2013-08-23 15:59:52 +00:00
Jenkins d50e3cef25 Merge "Fix confirm_resize() mock in compute tests" 2013-08-23 15:59:20 +00:00
Andrew Laski ffd5a740b8 Add resource tracking to build_and_run_instance
Resource tracker checking is added so that we have reasonable assurance
of being able to build the instance before it starts.  This allows for a
quick reschedule if the compute node does not have available resources.

This is one part of a series of patches to build up the
build_and_run_instance method.

Part of bp query-scheduler

Change-Id: Ife6e5aef4fda46f74e2db7be1a09b210be397152
2013-08-23 11:53:28 -04:00
Jenkins 069c6ed395 Merge "Fix rpc calls on pre/post live migration tests" 2013-08-23 14:45:23 +00:00
Jenkins 9343cfa412 Merge "Stub out setup_networks_on_host() in compute tests" 2013-08-23 14:42:28 +00:00