Commit Graph

39184 Commits

Author SHA1 Message Date
Sylvain Bauza
fd34e0cda4 Reno for libvirt libosinfo with OS
Change I1ab0c33f7ac4690b72a14e7748356a6ec22c9308 was missing the relnote

Change-Id: I582832f4fcb5d2aa52a3c5165e2ac5fffb43ed62
2016-03-07 18:10:44 +01:00
Sylvain Bauza
05df44f241 Reno for Ironic api_version opt deprecation
Change Iebfa06da6811889e11fd4edf15d47ca4e0feea6f was missing a relnote.

Change-Id: I72831c3bd5d2207e8279840305c844928f90a499
2016-03-07 16:31:14 +01:00
Jenkins
c21f47a4b5 Merge "RT: aborting claims clears instance host and NUMA info" 2016-03-07 12:56:40 +00:00
Jenkins
74663396b8 Merge "API: Mapping ConsoleTypeInvalid exception to HTTPBadRequest" 2016-03-07 12:28:09 +00:00
Jenkins
6c613c01ad Merge "Return 400 for os-virtual-interfaces when using Neutron" 2016-03-07 12:25:56 +00:00
Jenkins
240b3507e2 Merge "Provide correct connector for evacuate terminate" 2016-03-07 12:25:12 +00:00
Jenkins
2626668fb6 Merge "Change wording of microversion bump about 503" 2016-03-07 12:24:31 +00:00
Jenkins
584823c26d Merge "Add release note for nova using neutron mtu value for vif plugging" 2016-03-07 12:23:43 +00:00
Jenkins
5dc04d7885 Merge "remove default=None for config options" 2016-03-07 12:22:55 +00:00
Jenkins
a9ebe4435a Merge "check max_net_count against min_count when booting" 2016-03-07 12:18:42 +00:00
Nikola Dipanov
c7a6673fd5 RT: aborting claims clears instance host and NUMA info
When the claim is aborted, this information is no longer correct for the
instance, so we clear it to avoid inconsistencies.

Change-Id: I83a5f06adb22c21392d5fc867728181ea4b0454d
Resolves-bug: 1545675
2016-03-07 10:44:24 +00:00
mark.sturdevant
a686185fc0 Provide correct connector for evacuate terminate
During evacuation a local connector is built. This is the
wrong connector to use for cinder terminate_connection.
In order to fix this, store the initial connector with
the BDM connection_info. Use the stored connector when
we detect that we have this wrong host situation.

This fix does not work for existing attachments
(made prior to this patch) because existing attachments
don't have the connector stashed in the bdm.connection_info.
In cases where the original connector was not saved, leave
the behavior as-is.

Change-Id: I793f2996fc0af1c321a240ad9348dc9bce816030
Partial-Bug: #1522496
2016-03-07 10:05:15 +00:00
Eli Qiao
7c2cab6208 API: Mapping ConsoleTypeInvalid exception to HTTPBadRequest
We need to catch up ConsoleTypeInvalid in API layer to avoid 500 error
in case we passed invalid console type (> v2.6).

Closes-Bug: #1551104
Change-Id: I8be6dd1efd9057fb582713e0fe9fe0d626832fda
2016-03-07 16:06:47 +08:00
Jenkins
38c3f883db Merge "Dump metric exception text to logs" 2016-03-07 07:00:25 +00:00
Jenkins
274c251358 Merge "Updated from global requirements" 2016-03-07 06:25:16 +00:00
Jenkins
3781ef8e0c Merge "Ironic: Clean up if configdrive build fails" 2016-03-07 00:13:04 +00:00
Jenkins
8197b71539 Merge "Enable rebuild tests in cellsv1 job" 2016-03-07 00:04:50 +00:00
Matt Riedemann
cae96dccaf Return 400 for os-virtual-interfaces when using Neutron
If using the Neutron network API, listing VIFs will return
a 500. This changes that to return a 400, which does not
require a microversion according to our docs:

http://docs.openstack.org/developer/nova/api_microversion_dev.html

A later change will introduce a microversion to implement the
method for the Neutron API.

Change-Id: I27f48b38d64b34277f001fba86b4e64e9ead937c
Related-Bug: #1183436
2016-03-06 14:40:03 -05:00
Joe Cropper
aef7a3dab1 Dump metric exception text to logs
This patch simply adds the exception text to the logs so that we don't
lose the troubleshooting data. Without this patch, it's much more
difficult to troubleshoot when something goes wrong as the root
exception text is garbled up and lost.

Change-Id: Ib432fddc9b31fb6f906f6828d52098c9dd059aa2
Closes-Bug: 1553319
2016-03-05 22:30:22 -06:00
OpenStack Proposal Bot
a35bd32391 Updated from global requirements
Change-Id: I7fc5fe2e1ba2f1f0e705f0b92984139e176f4daf
2016-03-05 20:48:35 +00:00
Jenkins
5b972c62ba Merge "VMware: Use actual VM state instead of using the instance vm_state" 2016-03-05 17:29:01 +00:00
Jenkins
90c13f05ab Merge "deprecate `volume_api_class and network_api_class`" 2016-03-04 22:18:29 +00:00
Jenkins
c3f325aab7 Merge "Don't lazy-load instance.services if the instance is deleted" 2016-03-04 22:16:52 +00:00
Jenkins
f566aad175 Merge "Add specific method to lazy-load instance.pci_devices" 2016-03-04 22:15:36 +00:00
Jenkins
832bb880fd Merge "Check 'destination_type' instead of 'source_type' in _check_and_transform_bdm" 2016-03-04 22:14:06 +00:00
Jenkins
3d47389345 Merge "Add unit tests for live_migration_cleanup_flags" 2016-03-04 22:12:57 +00:00
Jenkins
ec04d3bcaf Merge "Documentation fix regarding triggering crash dump" 2016-03-04 22:11:27 +00:00
Matt Riedemann
83c1fa6c03 Enable rebuild tests in cellsv1 job
Change 022802997c fixed evacuate/rebuild
in the cells API so enable the rebuild-related tests we were skipping
before.

Related-Bug: #1445629
Related-Bug: #1445631
Related-Bug: #1552046

Change-Id: I15f867d8c6ff280bc68a6abf8b0da6e970c2bb39
2016-03-04 19:58:57 +00:00
Matt Riedemann
b3c64d1c64 Add release note for nova using neutron mtu value for vif plugging
69ec718b62 changed nova to start using
the network mtu value from neutron (if specified and > 0) when
plugging virtual interfaces. This allows us to finally remove the
deprecated 'network_device_mtu' config option from nova (probably in
Newton).

Add a release note to point out that the segment_mtu value in neutron
is now used to set the mtu value during vif plugging in nova.

Change-Id: Iebffb487cc837427b0ede35aea93ec5f9594165f
Related-Bug: #1549408
2016-03-04 19:17:08 +00:00
Jenkins
c5a45a2984 Merge "deprecate `compute_stats_class` config option" 2016-03-04 16:23:37 +00:00
Jenkins
96eaa19aac Merge "Deprecate the `vendordata_driver` config option." 2016-03-04 14:50:55 +00:00
Jenkins
c933ce00f9 Merge "Deprecate db_driver config option" 2016-03-04 14:49:14 +00:00
Jenkins
6b20476b63 Merge "deprecate manager class options" 2016-03-04 14:47:42 +00:00
Jenkins
7e3e92e826 Merge "Update time is not updated when metadata of aggregate is updated" 2016-03-04 14:10:57 +00:00
Jenkins
d029117bb2 Merge "Remove unused libvirt _get_all_block_devices and _get_interfaces" 2016-03-04 14:00:13 +00:00
Jenkins
3de46789b7 Merge "libvirt: don't attempt to get baseline cpu features if host cpu model is None" 2016-03-04 13:47:52 +00:00
Sean Dague
6e8e322718 deprecate `volume_api_class and network_api_class`
Both of these options only had one real in tree sensible
option. Deprecate these so they can be removed and turned into
constants in Newton.

This adds a new ``use_neutron`` config option to replace the
network_api_class option.

Change-Id: Ia79269e2bca0468edde830fc82a15b234e1abcbf
2016-03-04 07:59:46 -05:00
Jenkins
6364a00a25 Merge "Add functional regression test for list deleted instances on v2.16" 2016-03-04 12:09:11 +00:00
Jenkins
4045934e75 Merge "Allow saving empty pci_device_pools in ComputeNode object" 2016-03-04 12:07:43 +00:00
Sean Dague
3be36fcb7b deprecate `compute_stats_class` config option
There was only one implementation in tree, and this isn't an extension
point or interface we want people plugging out of tree code into.

Change-Id: Ie2cb64a43198e1155f768ceabe50ce8a004a1d41
2016-03-04 06:57:50 -05:00
Sean Dague
21da1babce Deprecate the `vendordata_driver` config option.
This allowed creating a differ class loader for defining vendordata
metadata for the metadata server. The default driver loads from a json
file that can be arbitrarily specified, so is still quite flexible.

Change-Id: I0f9866320cd655134281193c50ec170ea20c011a
2016-03-04 06:57:50 -05:00
Sean Dague
c87ae92be5 Deprecate db_driver config option
Previously this let you replace our SQLAlchemy database layer with
your own. This approach is deprecated. Deployments that felt the need
to use the facility are encourage to work with upstream Nova to
address db driver concerns in the main SQLAlchemy code paths.

Change-Id: If195a6bc399c8b1e2bfb0ea5579f2be21d0bc126
2016-03-04 06:57:50 -05:00
Jenkins
7083166966 Merge "neutron: handle attach interface case with no networks" 2016-03-04 11:55:50 +00:00
Jenkins
f411e39fce Merge "Use db connection from RequestContext during queries" 2016-03-04 11:49:52 +00:00
Sean Dague
0fcec69a23 deprecate manager class options
We should deprecate the manager classes used for all of our
services. This is not a thing we actually expect or want to support
people replacing. If we want modular plug points at any of these all
the options should be in tree and specified by constants to switch
between.

Change-Id: Id25bd4870c6e2fda08dc0177b7ed61a8a6091838
2016-03-04 06:35:44 -05:00
Qiaowei Ren
da7ed42dc1 remove default=None for config options
In the cfg module default=None is set as the default value.

Change-Id: I95e53e3aaf14b7d3c0ddeec8b5808a4b619e3ffc
2016-03-04 15:46:46 +08:00
Kevin_Zheng
66157aaead Check 'destination_type' instead of 'source_type' in _check_and_transform_bdm
In compute.api._check_and_transform_bdm() we have a logic to
avoid boot instances with both image-ref and a volume named
as 'vda' is supplied. Currently, we check the bdm's 'source_type',
but infact we should check its' 'destination_type' as this
shows it is a cinder volume.

Change-Id: I1fe2cf7c6655e0e0c61371c6d7379ecfc7071cec
Closes-Bug: #1522329
2016-03-04 14:17:09 +08:00
Jenkins
4b47b5b6c6 Merge "Revert "Generate better validation error message when using name regexes"" 2016-03-04 04:50:10 +00:00
Hironori Shiina
230958c002 Documentation fix regarding triggering crash dump
How to trigger crash dump depends on hypervisors. NMI is not the only way to
implement the feature. This patch modifies description regarding this feature.

Change-Id: I77d10551650776c06ee4b413f1b027abf6620e83
2016-03-04 13:04:44 +09:00
Jenkins
2c732aa654 Merge "Make InstanceMappings.cell_id nullable" 2016-03-03 23:05:10 +00:00