26003 Commits

Author SHA1 Message Date
Guohui Liu
98953b7909 Update the mailmap
Change-Id: Ifa5c765cabf38173d4a7442bdeac79dd15dbb79d
2014-02-15 09:59:26 +08:00
Jenkins
93b0fc130a Merge "libvirt: Adds missing tests to copy_image" 2014-02-12 10:59:44 +00:00
Jenkins
5daea2e8e0 Merge "Delete baremetal image files after deployment." 2014-02-12 08:49:29 +00:00
Jenkins
07c44c6859 Merge "Remove policy check in db layer for aggregates" 2014-02-12 08:48:24 +00:00
Jenkins
3528e80017 Merge "Update policy check on each action for certificates" 2014-02-12 08:45:25 +00:00
Jenkins
45477ef178 Merge "Remove character filtering from V3 API console_output" 2014-02-12 08:44:22 +00:00
Jenkins
eab90a9277 Merge "Using six.add_metaclass" 2014-02-12 07:53:43 +00:00
Jenkins
4b7401ccc6 Merge "Fix english grammar in the quota error messages." 2014-02-12 07:52:50 +00:00
Jenkins
b15bfc8e08 Merge "Remove flavor-disabled related policy rules for v3 api" 2014-02-12 07:25:46 +00:00
Jenkins
d22640c990 Merge "Removes console output plugin from the core list" 2014-02-12 06:53:26 +00:00
Jenkins
494ce1f028 Merge "Fix incorrect check in aggregate/az test" 2014-02-12 06:52:22 +00:00
Jenkins
3ca3dce140 Merge "Remove quota classes extension from the V3 API" 2014-02-12 06:48:33 +00:00
Jenkins
6d593641a0 Merge "Refactor stats to avoid bad join" 2014-02-12 01:09:53 +00:00
Jenkins
0b2a1759a7 Merge "Add a instance lookup helper to v3 plugins." 2014-02-12 01:08:58 +00:00
Jenkins
c33594baa9 Merge "Remove @author from copyright statements." 2014-02-12 01:02:16 +00:00
Jenkins
53b997bab7 Merge "XenAPI: Wait for VDI on introduce" 2014-02-11 23:17:48 +00:00
Brian Elliott
8a7b95dccd Refactor stats to avoid bad join
Refactor compute node methods to remove slow join with compute node
stats.  Stats are encoded instead in a single json/text column.

Implements: blueprint compute-node-stats-as-resource-tracker-extension

Change-Id: I1651d758dd21c87ccd768fdd86c910ec5080c71c
2014-02-11 14:11:26 -06:00
Michael Still
58f5579630 Remove @author from copyright statements.
We have git to track authorship, so let's not pad source files
with it as well.

Co-authored-by: Joe Gordon <joe.gordon0@gmail.com>

Change-Id: Ic2d62d6743f7716c086749cd99922b6c496771d4
2014-02-12 05:17:10 +11:00
Christopher Yeoh
62d1ab0807 Remove character filtering from V3 API console_output
Removes the character filtering from the V3 API console_output
extension as this was implemented because of a bug in the xml
library where some characters were not escaped correctly. We no
longer need to do this as we no longer support XML.

Partially implements bp remove-v3-xml-api

Change-Id: Id1501143eca17084d4079777a3c6f8c7157fbac7
2014-02-11 10:04:22 -07:00
Jenkins
93a4c72921 Merge "Make nova-network use FixedIP object for vif queries and bulk create" 2014-02-11 16:00:16 +00:00
Jenkins
65150a6e11 Merge "Hyper-V driver RDP console access support" 2014-02-11 11:57:38 +00:00
Jenkins
23ee9aa68d Merge "VMware: Fix incorrect comment indentation" 2014-02-11 11:50:20 +00:00
Jenkins
ded18d6bed Merge "Fix multi availability zone issue part 2" 2014-02-11 11:35:01 +00:00
Jenkins
f7a6de48bf Merge "Remove unused code in test_attach_interfaces.py" 2014-02-11 11:03:23 +00:00
Jenkins
093ac312aa Merge "Use raw string notation for regexes in hacking checks" 2014-02-11 10:46:49 +00:00
Jenkins
a4c1b9db26 Merge "Improve detection of imports in hacking check" 2014-02-11 10:45:53 +00:00
Mark McLoughlin
b41ecb5f4b Fix incorrect check in aggregate/az test
This test currently does:

  try:
      self.api.update_aggregate(...)
  except exception.InvalidAggregateAction as e:
      msg = "host1 in avail_zone1,host2 in avail_zone1"
      self.assertTrue(e.format_message().find(msg))

There are two issues with this: 1) if update_aggregate() doesn't raise
an exception, the test will pass and 2) if exception doesn't contain
the message (which it doesn't, it's not the correct message) then
find() will return -1 and the assertion passes.

Fix both of these simply by using assertRaises()

Change-Id: I31edef2cfdd9ce748f19b09e93ae00a7437a52f5
2014-02-11 10:41:21 +00:00
Jenkins
5a20f51cf8 Merge "xenapi: set viridian=false for linux servers" 2014-02-11 09:06:45 +00:00
Jenkins
bb6fe6ca9a Merge "VMware: update test name" 2014-02-11 08:46:40 +00:00
Jenkins
b1077bc13a Merge "libvirt: use to_xml() in post_live_migration_at_destination" 2014-02-11 08:19:48 +00:00
Jenkins
130a5229fb Merge "Change unit test for availability_zones.reset_cache" 2014-02-11 08:03:33 +00:00
Jenkins
6e2dccf35a Merge "Make it possible to disable polling for bandwidth usage" 2014-02-11 06:39:13 +00:00
Jenkins
a8d53d4458 Merge "Fix instance metadata tracking during resets" 2014-02-11 06:34:35 +00:00
Jenkins
ac034a3264 Merge "Make delete_instance_metadata() use objects" 2014-02-11 06:33:29 +00:00
Jenkins
50e177b858 Merge "Break out the meat of the object hydration process" 2014-02-11 06:31:38 +00:00
John Garbutt
b82f4180ca xenapi: set viridian=false for linux servers
Currently all servers get:
viridian=true

This is the hyper-v awareness inside windows Xen uses to get better
windows peformance. However this can make linux guests think they are
running on hyper-v.

So, this change ensures all linux guests get viridian=false

implements blueprint xenapi-support-linux-hvm
Change-Id: I4e2b0b9b03d14a3d8679667395bdb7a831af48ca
2014-02-11 06:24:20 +00:00
Robert Collins
e49b088594 Delete baremetal image files after deployment.
Unlike libvirt where the image files are needed for running VM's, Nova
baremetal copies them to the remote machine, after which they are no
longer needed. Keeping them sharply reduces the scalability of Nova
baremetal by limiting a single nova-compute to deploy instances whose
disk size sums to it's local disk - but really only needs to be a
concurrency limitation + the kernel/ramdisk files, which are stored
separately.

Change-Id: I7f4791cbd3cff3a0edaccd308c1c47179a4fcf78
Co-Authored-By: Steve Kowalik <steven@wedontsleep.org>
2014-02-11 16:28:57 +11:00
Jenkins
0a6dc550cf Merge "Merge same db calls for some quota methods" 2014-02-11 04:23:11 +00:00
Jenkins
833f072d13 Merge "Removes XML support from security_groups v3 API" 2014-02-11 04:22:08 +00:00
Jenkins
ff2a6f0dd9 Merge "Removes os-simple-tenant-usage from the V3 API" 2014-02-11 04:21:23 +00:00
Jenkins
0f4e078fb2 Merge "Make os-service API return correct error messages" 2014-02-11 03:40:14 +00:00
Christopher Yeoh
bb78f84543 Removes console output plugin from the core list
As per the discussion at the Nova mid cycle meetup
the console_output plugin is removed from the core plugin list.
console_output is not supported well by the hypervisors and has
known security issues. Note that there are no changes to API samples
as even though the extension name has changed the api samples were
mislabelled anyway.

Partially implements bp v3-api-core

Change-Id: I56a55f245fff8217452acb0a754ac98a342fca88
2014-02-10 20:12:36 -07:00
Jenkins
ca6a58166d Merge "Docker cannot start a new instance because of an internal error" 2014-02-11 03:03:33 +00:00
Jenkins
f86796542d Merge "Make nova-network use FixedIP for host and instance queries" 2014-02-11 03:02:14 +00:00
Jenkins
70bb996b2b Merge "Renumber some nova hacking checks" 2014-02-11 02:33:17 +00:00
Jenkins
eee36f5ee6 Merge "Fix auto instance unrescue after poll period" 2014-02-11 02:32:33 +00:00
Jenkins
5e7e81aefc Merge "Adds tests to sqlachemy.api._retry_on_deadlock" 2014-02-11 02:31:47 +00:00
Jenkins
6cb9d49a26 Merge "VMware: fix instance rescue bug" 2014-02-11 02:17:08 +00:00
Lianhao Lu
069ee2aed2 Using six.add_metaclass
Using six.add_metaclass instead of '__metaclass__' for Python 3.x
compatibility.

Change-Id: I04848196c8bc553fec19dd447a8fdd6dacdf64b8
2014-02-11 09:45:20 +08:00
Jenkins
1657f4e64f Merge "Allow operators to customize max header size" 2014-02-11 00:33:45 +00:00