Commit Graph

16900 Commits

Author SHA1 Message Date
Jenkins ee3d2a1908 Merge "Switch from FLAGS to CONF in misc modules" 2012-11-07 05:41:57 +00:00
Jenkins d4dd0842b6 Merge "Switch from FLAGS to CONF in nova.network" 2012-11-07 05:41:03 +00:00
Jenkins 066b3930cf Merge "Fixed instance deletion issue from Nova API." 2012-11-07 02:15:03 +00:00
Jenkins b01a1bd047 Merge "Make ComputeDrivers send hypervisor_hostname" 2012-11-07 02:04:07 +00:00
Jenkins 5f8b4aa85e Merge "Read deleted flavors when using to_xml()" 2012-11-07 01:55:12 +00:00
OpenStack Jenkins 7771464d9c Merge "Imported Translations from Transifex" 2012-11-07 01:51:19 +00:00
OpenStack Jenkins 125319e43d Imported Translations from Transifex
Change-Id: I4b22b8c7bcb058e1784ab747d5440ff0e226567c
2012-11-07 00:02:38 +00:00
Davanum Srinivas ce41618c9c Fix to include error message in instance faults
port the patch in 1013350 from Bill Darbie (bill-darbie) into latest code base.

incorporate one little comment from Russell about not specifying the default value twice

added a test case

Fixes bug 1013350

Change-Id: Id61f10bf2502fa57d2d26199ba9608e4566e8624
2012-11-06 23:56:59 +00:00
Jenkins b351acb39f Merge "Fix warnings found with pyflakes." 2012-11-06 23:52:19 +00:00
Jenkins d6de81a07a Merge "Switch from FLAGS to CONF in nova.scheduler" 2012-11-06 23:28:43 +00:00
Jenkins 9e6140c54b Merge "Switch from FLAGS to CONF in nova.api" 2012-11-06 23:06:33 +00:00
Jenkins 2340048708 Merge "make utils.mkfs() more general" 2012-11-06 22:05:39 +00:00
Jenkins aa88eaba6d Merge "Switch from FLAGS to CONF in bin" 2012-11-06 21:39:50 +00:00
Jenkins 29f1cae858 Merge "Don't verify image hashes if checksumming is disabled." 2012-11-06 19:50:33 +00:00
Jenkins ee85c80aa4 Merge "Increased MAC address range to reduce conflicts" 2012-11-06 19:41:02 +00:00
Jenkins 31c013d69e Merge "De-duplicate option: console_public_hostname" 2012-11-06 19:40:10 +00:00
OpenStack Jenkins d158ff1549 Merge "Imported Translations from Transifex" 2012-11-06 19:36:26 +00:00
David Ripton ccbd1b7601 Fix warnings found with pyflakes.
Remove unused import.
Remove unused local variables.

Change-Id: I9972bfc7e54219e1e1942a7ca88684bf549ac499
2012-11-06 14:17:49 -05:00
Jenkins 52cf3cae69 Merge "Remove flags.DECLARE" 2012-11-06 19:12:46 +00:00
Jenkins 66a6fdd73f Merge "xenapi: Make agent optional" 2012-11-06 18:50:25 +00:00
Jenkins 5edb1c7af7 Merge "improve sessions around floating_ip_get_by_address" 2012-11-06 18:49:32 +00:00
Jenkins 2966394183 Merge "add doc to standardize session usage" 2012-11-06 18:31:58 +00:00
Jenkins cfa666838f Merge "refactor: extract _attach_mapped_block_devices" 2012-11-06 18:08:56 +00:00
Jenkins 5f1b486f03 Merge "Ability to specify a host restricted to admin." 2012-11-06 18:06:38 +00:00
Jenkins f45c67e356 Merge "Fixes volume attach issue on Hyper-V" 2012-11-06 16:02:00 +00:00
Pádraig Brady 89a448ae88 make utils.mkfs() more general
While types other than 'vfat' don't seem to be used at present,
it seems better to allow labels on all file system types,
for future maintenance, and to at least alleviate confusion.

Change-Id: I80110eff577e56e9e48354813efbc3e5488d6257
2012-11-06 15:15:31 +00:00
Arata Notsu c918ff377f Make ComputeDrivers send hypervisor_hostname
hypervisor_hostname is set in get_available_resource() and
in get_host_stats(). Except for vmwareapi driver.

Change-Id: I66348ae1e986162b8139b04ab03c42c424338175
2012-11-06 23:12:20 +09:00
Jenkins 319233bf1b Merge "make QuantumV2 support requested nic ordering" 2012-11-06 12:32:54 +00:00
Jenkins 79faed4832 Merge "move python-cinderclient to pip-requires" 2012-11-06 11:00:37 +00:00
Unmesh Gurjar d00f09f2eb Fixed instance deletion issue from Nova API.
When host Compute is down, Nova API deletes the resources associated with the
instance. However, since the instance is marked deleted first, the next query
to update the instance vm_state and task_state in DB fails. And instance
remains in state vm_state=ACTIVE, task_state=DELETING, deleted=True.

Fixes LP: #1074305

Change-Id: I0a4e64d180b4b2c5e398a21a62b29b7d59549a9f
2012-11-06 01:59:44 -08:00
Jenkins d8d00ef308 Merge "Use chance scheduler in EC2 tests" 2012-11-06 09:41:16 +00:00
Jenkins 5cb2d160a4 Merge "Move parse_args to nova.config" 2012-11-06 09:03:55 +00:00
Jenkins 2d4797993c Merge "Shorten self.compute.resource_tracker in test_compute.py" 2012-11-06 09:03:03 +00:00
Jenkins b0efa62393 Merge "Look up stuck-in-rebooting instances in manager" 2012-11-06 07:20:37 +00:00
Joe Gordon bc0ed4c4a6 De-duplicate option: console_public_hostname
console_public_hostname was defined in both console.manager and
vmrc_manager.

Change-Id: I377ca893a84ff60f2d289cde3eba05993e2a09b1
2012-11-05 19:19:21 -08:00
Michael Still 1442177d5d Don't verify image hashes if checksumming is disabled.
There was a bug where we were checking base image checksums, even
if checksumming was disabled, if there was already a cached checksum
for the image. This resolves bug 1075017.

DocImpact

Change-Id: I38f5914cd9d6326fdf5e5d7f0f57885ff8b5ff32
2012-11-06 13:39:53 +11:00
Jenkins 181e44c9e5 Merge "Send all aggregate data to add_aggregate_host." 2012-11-06 02:06:30 +00:00
Jenkins 3e6dc4c3b4 Merge "Fix migrations when not using multi-host network" 2012-11-06 01:29:56 +00:00
Jenkins 43f639a5ad Merge "Send all migration data to finish_revert_resize." 2012-11-06 00:07:17 +00:00
OpenStack Jenkins c5a8401b0d Imported Translations from Transifex
Change-Id: If5368c108d0637a2fd53c47823054c93c5ac781f
2012-11-06 00:02:38 +00:00
Jenkins 90808d7455 Merge "Send all migration data to revert_resize." 2012-11-05 23:41:59 +00:00
Jenkins 33c4e6bd0b Merge "Add xenapi host_maintenance_mode() test" 2012-11-05 22:07:58 +00:00
Jenkins 880b491838 Merge "xenapi: place boot lock when doing soft delete" 2012-11-05 22:02:16 +00:00
Jenkins c3cc2d7a2a Merge "Cleanup nova.db.sqlalchemy.api import" 2012-11-05 20:04:18 +00:00
Jenkins 8fecf6e57a Merge "Use uuidutils.is_uuid_like for uuid validation" 2012-11-05 20:00:38 +00:00
Dan Smith cfceed71da Look up stuck-in-rebooting instances in manager
The poll_rebooting_instances() method for a virt driver can be
called periodically from the manager to handle instances that
may be stuck in a rebooting state. The only information passed
to the virt driver is the configured timeout, which means any
driver implementing this will have to do the same database
query: db.instance_get_all_hung_un_rebooting (..., timeout).

This patch makes the manager do this before calling the virt
driver, passing the appropriate set of instances, which avoids
the need for the driver to make that call.

Related to bp/no-db-compute

Change-Id: I152cb8cd9a107f2d2b1df39401ab7bbe7ff366f1
2012-11-05 11:40:39 -08:00
Chris Behrens 266fbc6fba Use chance scheduler in EC2 tests
The default scheduler switched to the filter scheduler, and apparently
the EC2 tests are meant to use the chance scheduler for testing.  Also,
compute_scheduler_driver is not recognized when these tests are run
individually.

Fixes bug 1075293

Change-Id: I4a7cae4b3dbd18b8779c44e4c30718a872a82b0a
2012-11-05 19:35:24 +00:00
Russell Bryant b4a3345eda Send all aggregate data to add_aggregate_host.
Update the add_aggregate_host method of the compute rpc api to take in
all aggregate data instead of just the aggregate id.  This avoids a db
lookup in the nova-compute service.

Part of blueprint no-db-compute.

Change-Id: Iaccfa28ac23452a4e78581c6b5a6687417283838
2012-11-05 14:07:20 -05:00
Russell Bryant 559337b8b6 Send all migration data to finish_revert_resize.
Update the finish_revert_resize method of the compute rpc api to take
all of the migration data instead of just the migration id.
This removes the need for doing a db read at the beginning of
finish_revert_resize.

Part of blueprint no-db-compute.

Change-Id: I725404a13408fdd83aef6d19bab6c9481e2eab35
2012-11-05 14:07:20 -05:00
Russell Bryant df744204b3 Send all migration data to revert_resize.
Update the revert_resize method of the compute rpc api to take all of
the migration data instead of just the migration id.  This removes the
need for doing a db read at the beginning of revert_resize.

Part of blueprint no-db-compute.

Change-Id: I821cfcbd8edf83a0ffdf64100b6f9224205dea0a
2012-11-05 14:07:20 -05:00