Commit Graph

43031 Commits

Author SHA1 Message Date
Sylvain Bauza ee2c0a00db Revert "Set 'serial' to new volume ID in swap volumes"
The below commit introduced a regression by updating the wrong value to
the attachment field when calling the volume-update swap operation where
the value is now the previous volume ID instead of the current volume
ID. It litterally makes it now imposible to detech the volume from the
instance once it has been swapped (even after the first swap).

Given the original issue can be worked around by detaching and then
attaching the volume before swapping back to the original volume, and
because the original bug only impacts an admin API while here it impacts
a user API, it's preferrable to directly revert the regression and then
work on the next cycle about the root problem rather than leaving the
change and try to fix something which is hard to troubleshoot, also
given the lack of functional tests around the volume operations.

This reverts commit be553fb155.

Change-Id: Ibad1afa5860d611e0e0ea0ba5e7dc98ae8f07190
Closes-Bug: #1625660
2016-09-20 19:30:55 +00:00
Jenkins 8237bb8770 Merge "Remove duplicate key from dictionary" 2016-09-20 14:07:10 +00:00
Jenkins 80fd1ccac9 Merge "[api-ref] Correct parameter type" 2016-09-20 13:27:54 +00:00
Jenkins 0220c2c1b8 Merge "VIF: add in missing translation" 2016-09-20 13:27:24 +00:00
Jenkins f62d143112 Merge "Handle TypeError when disabling host service" 2016-09-20 12:17:53 +00:00
Jenkins c9de03a813 Merge "Document update_task_state for ComputeDriver.snapshot" 2016-09-20 11:33:11 +00:00
Jenkins 916e473580 Merge "Fixed suspend for PCI passthrough" 2016-09-20 11:09:28 +00:00
Jenkins 193cc78bac Merge "Do not try to backport when db has older object version" 2016-09-20 10:58:11 +00:00
Ha Van Tu a68cd911d1 [api-ref] Correct parameter type
`OS-EXT-SERV-ATTR:launch_index` parameter should be `integer`
instead of `int`.

Change-Id: I598ac4f310008933d1ddf2eff9f2e68fa2c76edc
2016-09-20 17:20:37 +07:00
hussainchachuliya 4720fdfd7d Remove duplicate key from dictionary
Dictionary contains duplicate key "uuids.net3" in
test_create_ports_for_instance_with_cleanup_after_pc_failure method.

This patch replaces "uuids.net3" with "uuids.net4", thereby removing
the duplicate key.

TrivialFix

Change-Id: Id2b797e4d19181d6be4806e108d383d397c08010
2016-09-20 09:44:36 +05:30
OpenStack Proposal Bot b5356323aa Updated from global requirements
Change-Id: I83d40bf2761173a40ec0d5c460b7c6743134dbbb
2016-09-20 00:29:31 +00:00
Jenkins e281fad20e Merge "stub out instances_path in unit tests" 2016-09-19 23:22:09 +00:00
Jenkins c876c78b68 Merge "[placement] consolidate json handling in util module" 2016-09-19 19:14:12 +00:00
Jenkins 08954bdbff Merge "XenAPI: add unit test for plugin test_pluginlib_nova.py" 2016-09-19 18:21:41 +00:00
Jenkins 433628833a Merge "TrivialFix: removed useless storing of sample directory" 2016-09-19 18:21:05 +00:00
Jenkins d313a85a62 Merge "Clean imports in code" 2016-09-19 18:20:23 +00:00
Jenkins 4435556f7e Merge "[placement] remove a comment that is no longer a todo" 2016-09-19 18:19:55 +00:00
Jenkins aae6fc11fb Merge "Add warning if metadata_proxy_shared_secret is not configured" 2016-09-19 18:04:57 +00:00
Jenkins 7a511ec1c9 Merge "use the HostPortGroupSpec.vswitchName instead of HostPortGroup.vswitch.split" 2016-09-19 18:04:34 +00:00
Jenkins f8f9e1957f Merge "Add a new release note" 2016-09-19 18:04:06 +00:00
Jenkins a18abaf4d6 Merge "modify description of "Inject guest networking config"" 2016-09-19 18:03:06 +00:00
Jenkins 9ee6dae1bb Merge "Use assertEqual() instead of assertDictEqual()" 2016-09-19 18:02:44 +00:00
Jenkins 596e14cb11 Merge "Remove mox from api/openstack/compute/test_extended_ips.py" 2016-09-19 18:02:20 +00:00
Jenkins 5346932cf2 Merge "Update link in general purpose feature matrix" 2016-09-19 18:00:03 +00:00
Jenkins ad7657ae0f Merge "Don't pass argument sqlite_db in method set_defaults" 2016-09-19 17:59:39 +00:00
Jenkins 96ab6c91cd Merge "Fix database poison warnings, part 12" 2016-09-19 16:59:45 +00:00
Jenkins fe46d482d6 Merge "Switching expression order within if condition" 2016-09-19 16:59:09 +00:00
Jenkins 42ba2fe4ec Merge "Update reno for stable/newton" 2016-09-19 16:58:29 +00:00
Jenkins 2957dc1121 Merge "Use tempest tox with regex first" 2016-09-19 16:57:58 +00:00
Jenkins ee956e217f Merge "TrivialFix: Remove cfg import unused" 2016-09-19 16:57:27 +00:00
Jenkins 04453caeaf Merge "[vncproxy] log for closing web is misleading" 2016-09-19 16:57:02 +00:00
Jenkins 64b9a50e9d Merge "Fix a typo in the driver.py file" 2016-09-19 16:44:23 +00:00
Sean Dague dc4d1a63ee stub out instances_path in unit tests
3 unit tests were trying to write to instance_path without redirecting
it to a temporary location, which leaks directories into your working
directory.

This sets that when needed.

Change-Id: I115210163147a41e88ba43c4df100465b5159066
2016-09-19 12:41:32 -04:00
Jenkins 2468784fcb Merge "[api-ref] Update configuration file" 2016-09-19 16:39:09 +00:00
Jenkins 004af1bf29 Merge "Using assertIsNotNone() instead of assertIsNot(None,)" 2016-09-19 16:38:30 +00:00
Jenkins 451db85c78 Merge "doc: fix disk=0 use case in flavor doc" 2016-09-19 16:38:06 +00:00
Jenkins 867b23a075 Merge "Doc fix for Nova API Guide, fixed wording" 2016-09-19 15:56:55 +00:00
Jenkins e06f4de66e Merge "Fix link reference in Nova API version" 2016-09-19 15:56:31 +00:00
Jenkins b5f13b9714 Merge "Fix unnecessary string interpolation" 2016-09-19 15:56:06 +00:00
Jenkins 116b3e62a5 Merge "Add more description on v2.9 history" 2016-09-19 15:44:02 +00:00
Jenkins ff1b1754cc Merge "Pin maximum API version of microversion" 2016-09-19 15:43:39 +00:00
Jenkins 85ded22af6 Merge "Fix database poison warnings, part 9" 2016-09-19 14:43:58 +00:00
Jenkins f6a3fccfe2 Merge "Updates URL and removes trailing characters" 2016-09-19 14:35:51 +00:00
Jenkins 983cc7c75e Merge "Add link ref to nova api concept doc" 2016-09-19 14:16:49 +00:00
Jenkins c2341b5112 Merge "Add description for v2.20 changes in api-ref" 2016-09-19 14:16:22 +00:00
Jenkins c9690c02da Merge "Add members in InstanceGroup object members field" 2016-09-19 14:15:53 +00:00
Anusha Unnam a7c0a84a1e Add a new release note
Add a new reno note to specify that migration status is changed
from 'failed' to 'error' on live-migration failure. That was landed
as change I7a0c5a32349b0d3604802d22e83a3c2dab4b1370

Change-Id: I4e1693fa52bcb33b8770ec59640890abd2b911c8
Closes-bug: #1588888
2016-09-19 14:15:38 +00:00
Jenkins bdb7b18a8f Merge "Doc fix for Nova API Guide, added missing word." 2016-09-19 14:12:38 +00:00
Jenkins 4f3af1ae4c Merge "Add bigswitch command to compute rootwrap filters" 2016-09-19 11:18:24 +00:00
Jenkins 3a4c03dbe0 Merge "Add hypervisor_links into hypervisor v2.33" 2016-09-19 10:47:56 +00:00