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
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
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
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
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
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>
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