Commit Graph

37302 Commits

Author SHA1 Message Date
Davanum Srinivas 6ed3bd2b24 Enable options for oslo.reports
Use the new oslo.report config option for specifying a
log_dir in which the GMR reports can be generated in.
consolidate the gmr related setup code in config.py

Introduced in oslo.reports change id:
I9ed0191628f2d552acd8130687b636671bc07a3e

Change-Id: Ib5edf65fd33ce86757f7cb1a6546a6f00738c9a3
2015-11-18 22:16:30 -05:00
Jenkins a363e1c82e Merge "Compute: update finish_revert_resize log to have some context" 2015-11-18 11:10:07 +00:00
Jenkins 802d320236 Merge "Fix is_volume_backed_instance() for unset image_ref" 2015-11-18 09:34:03 +00:00
Jenkins c18799945d Merge "Deprecate nova-manage service subcommand" 2015-11-18 06:11:31 +00:00
Jenkins 5d25f5330a Merge "Updated from global requirements" 2015-11-18 04:16:55 +00:00
Jenkins 3700c3c83a Merge "Remove IN-predicate warnings" 2015-11-18 04:13:36 +00:00
Jenkins bb4b951935 Merge "Removes support for Hyper-V Server 2008 R2" 2015-11-18 04:04:18 +00:00
Jenkins f0f91cb63b Merge "libvirt: add cpu schedular priority config" 2015-11-18 01:32:47 +00:00
Jenkins da9c72015a Merge "Fixed incorrect keys in cpu_pinning" 2015-11-18 01:32:17 +00:00
Jenkins 5eaf4fe523 Merge "Removed extra spaces from double line strings" 2015-11-18 01:31:45 +00:00
Jenkins faa0c70f05 Merge "Omit RescheduledException in instance_fault.message" 2015-11-18 01:28:48 +00:00
Jenkins 56dc61d752 Merge "Fixes Python 3 str issue in ConfigDrive creation" 2015-11-18 01:18:27 +00:00
Jenkins 6f147d0b4a Merge "Aggregate Extra Specs Filter should return if extra_specs is empty" 2015-11-18 01:12:28 +00:00
OpenStack Proposal Bot cb24a2aefc Updated from global requirements
Change-Id: Ib5f4f7fa2e4292a20cafbec38930cb533d2ca453
2015-11-18 00:21:54 +00:00
Jenkins 243f6a03d6 Merge "Remove 'Retry-After' in server create and resize" 2015-11-17 20:10:45 +00:00
Sergey Nikitin 956025f9bc Removed extra spaces from double line strings
TrivialFix

Change-Id: I800f4a9ec14ce09b051d649b432f91329d2c420b
2015-11-17 18:49:02 +00:00
Dan Smith 1b3fbfb087 Fix Nova's indirection fixture override
This mirrors the indirection fixture override that we have for
object_class_action() while we transition fully to the base
VersionedObjectRegistry. This prevents us from breaking with current
oslo.versionedobjects.

This also caused a few other tests to get run with manifest calls,
which needed to be converted to continue to work.

Change-Id: I2aaa42784b2cc5c6898a3fac0c951dd57dd4f4c6
Closes-Bug: #1516805
2015-11-16 14:58:49 -08:00
Jenkins e6100f5934 Merge "xenapi_device_id integer, expected string" 2015-11-16 21:50:27 +00:00
Jenkins d1e6318c70 Merge "VMware: Raise DiskNotFound for missing disk device" 2015-11-16 20:48:36 +00:00
Jenkins 4c06d9073c Merge "Use JSON format instead of json format" 2015-11-16 20:33:10 +00:00
Jenkins cb67349005 Merge "Added method is_supported to check API microversions" 2015-11-16 19:58:19 +00:00
Jenkins 3a213934fa Merge "Claims: fix log message" 2015-11-16 19:57:28 +00:00
Jenkins b5742c191d Merge "objects: remove remote_object_calls from _BaseTestCase" 2015-11-16 19:52:49 +00:00
Jenkins ba908b111f Merge "Repair and rename test_is_volume_backed_instance_no_bdms()" 2015-11-16 19:52:10 +00:00
Jenkins 9b6938b2c6 Merge "Use ObjectVersionChecker fixture from oslo.versionedobjects" 2015-11-16 19:51:32 +00:00
Jenkins 5ba399f7ad Merge "ScalityVolume:fix how remote FS mount is detected" 2015-11-16 19:50:57 +00:00
Diana Clarke eed9d70b2d Remove IN-predicate warnings
The unit test logs currently contain 9 of the following warnings. Short
circuit and return an empty list in these cases rather than executing
the query needlessly.

    SAWarning: The IN-predicate on "<table>.<column>" was invoked with
an empty sequence. This results in a contradiction, which nonetheless
can be expensive to evaluate.  Consider alternative strategies for
improved performance.

Change-Id: I19460ed4e03a0db66186a4c231d315c2396b7eca
2015-11-16 13:56:38 -05:00
Jenkins f6a5a43e06 Merge "Remove duplicate server.kill on test shutdown" 2015-11-16 18:01:40 +00:00
Jenkins f268cf50c8 Merge "Fix pci_stats logging in resource tracker" 2015-11-16 18:01:05 +00:00
Jenkins 3cc3437292 Merge "glance:add helper method to get client version" 2015-11-16 17:23:08 +00:00
Jenkins 3237c3160c Merge "Add ppcle architectures to libvirt blockinfo" 2015-11-16 17:20:02 +00:00
Jenkins 1eda28151e Merge "enginefacade: 'certificate' and 'pci_device'" 2015-11-16 17:18:13 +00:00
Jenkins 80c3e49809 Merge "Hypervisor support matrix: define pause & unpause" 2015-11-16 17:17:39 +00:00
Jenkins 5c44cfab23 Merge "libvirt: support snapshots with parallels virt_type" 2015-11-16 17:16:51 +00:00
Jenkins 049bad9d51 Merge "Use oslo.config choices kwarg with StrOpt for servicegroup_driver" 2015-11-16 17:16:13 +00:00
Jenkins b0fe8279e5 Merge "libvirt: Don't attempt to convert initrd images." 2015-11-16 16:28:53 +00:00
Jenkins c0b71a20c7 Merge "make the driver.Scheduler as abstract class" 2015-11-16 15:18:41 +00:00
Jenkins faa65c1aae Merge "libvirt: rework membacking config to support future features" 2015-11-16 13:53:02 +00:00
Jenkins fc5153ae0e Merge "libvirt: add unit tests for the designer utility methods" 2015-11-16 13:52:23 +00:00
Jenkins e4314a2e21 Merge "libvirt: remove unnecessary else in blockinfo.get_root_info" 2015-11-16 13:51:53 +00:00
Jenkins 28053572c9 Merge "Correct memory validation for live migration" 2015-11-16 13:51:18 +00:00
Jenkins 933463e1b0 Merge "Network: add in missing translation" 2015-11-16 13:46:50 +00:00
Jenkins 2e9ed70490 Merge "VMware: expand support for Opaque networks" 2015-11-16 11:52:25 +00:00
Balazs Gibizer df840b3457 Deprecate nova-manage service subcommand
The novaclient already has the following service commands:

service-disable   Disable the service.
service-enable    Enable the service.
service-list      Show a list of all running services.
host-describe     Describe a specific host

This covers what nova-manage service was providing so let's
deprecate the legacy nova-manage subcommand and mark it for
removal in the N release.

UpgradeImpact: nova-manage service is deprecated, use novaclient
DocImpact: update openstack operations guide

Implements: bp deprecate-service-management-in-nova-manage
Change-Id: I3e625dbf39f5831157104f5c368acd53b1899f76
2015-11-16 11:40:06 +01:00
zhang.yufei@99cloud.net e132d38383 Use JSON format instead of json format
The format could be JSON format or XML format, should not
be json format.

Change-Id: Iba340f3b29545bacd1e51333ef9c491dc1267392
2015-11-16 06:20:31 +00:00
Gary Kotton 8104615799 Network: add in missing translation
Commit 46922068ac added an exception
that was not translated.

TrivialFix

Change-Id: I8b0dad531cc24f07ccf5b496911a3d001d1322ca
2015-11-15 01:49:10 -08:00
Sean Dague 876679c08f cells is a sad panda about scheduler hints
The new test_schedule_to_all_nodes test fails in some epic ways in
cells. Not really worth debugging, this is a new test and had just
exposed another cells / devstack issue. Just skip the test.

Change-Id: Icc71e36f4ecb015dff9e806caacd31262f7e17f7
2015-11-14 10:51:20 -05:00
Gary Kotton 8ee49c6aed VMware: expand support for Opaque networks
The original support for Opaque networks make use of a
configuration flag indicating that a global integration bridge
was configured on the ESX host. If this global integration
bridge was used then that would be selected as the opaque network.

The next generation NSX neutron plugin will not make use of the
integration bridge. This will require that we make use of the network
ID for the opaque network.

The support for VC 6.0 has specific support for this. For 5.5 we make
use of a DynamicProperty setting to achieve the same goal.

DocImpact

For backward compatible opaque support the setting
'CONF.vmware.integration_bridge' needs to be set.
If this is not set then the network id will be used as the
opaque id.

In addition to this the default value has been set to 'None'.

Implements blueprint vmware-expand-opaque-support

Change-Id: I309ca2bc8186b8eefc0a979d039dd4cd2a6f89f6
2015-11-13 11:46:30 -08:00
Sven Anderson db184423e5 Fix is_volume_backed_instance() for unset image_ref
is_volume_backed_instance() assumed from old times, that if image_ref
is not set, the instance is always volume backed.  This is not true
anymore, since block device mappings can also reference images as
source.  This fix adapts the test cases and function accordingly.

Change-Id: Ie83d8d8154d372991fb37dae0def37e3f4583090
Closes-Bug: #1501851
2015-11-13 18:38:26 +01:00
Sergey Nikitin 2002120c45 Added method is_supported to check API microversions
Right now to check if some part of code supports
requested microversion developer usually:

 1. get a microversion from request.
 2. create instance of class APIVersionRequest
    with requested microversion.
 3. compare these two objects.

This check takes at least 2 lines and looks ugly.
Sometimes developers create unnecessary class fields
to store object APIVersionRequest with requested microversion.

To make nova code more readable and simple method
'is_supported' was created.

Microversion check with this method takes only one line
and code looks more beautiful.

Change-Id: I9078cfa1afad8b6b09583dac87fa757a0cc32daa
2015-11-13 19:27:52 +03:00