| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
sqlite has these indexes because they were in the sql scripts, but
they're missing from the other database engines.
Change-Id: I2a1935f6eb577d2c3d2eb177c083ad647f76f58f
|
| |\ \ \ \ \ |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes bug 1012301: Remove unused Cells code
Change-Id: I7e78e7c4ae3b099c775be2acc54b37f1e1b9883e
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The default policies for the KVM guest PIT and RTC timers
are not very good at maintaining reliable time in guest
operating systems. In particular Windows 7 guests will
often crash with the default KVM timer policies, and old
Linux guests will have very bad time drift
Set the PIT such that missed ticks are injected at the
normal rate, ie they are delayed
Set the RTC such that missed ticks are injected at a
higher rate to "catch up"
This corresponds to the following libvirt XML
<clock offset='utc'>
<timer name='pit' tickpolicy='delay'/>
<timer name='rtc' tickpolicy='catchup'/>
</clock>
And the following KVM options
-no-kvm-pit-reinjection
-rtc base=utc,driftfix=slew
This should provide a default configuration that works
acceptably for most OS types. In the future this will
likely need to be made configurable per-guest OS type.
Fixes LP bug #1011848
Change-Id: Iafb0e2192b5f3c05b6395ffdfa14f86a98ce3d1f
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
| |\| | | | | |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There are a number of time sources made available to guests,
each of which have a number of configurable policies. This
introduces config APIs for the libvirt domain XML to configure
the clock time sources
Change-Id: Ic5047b02b4753f20bb9a63e85130d84258df7a28
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
| |\ \ \ \ \ |
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes bug 1010147.
Change-Id: I1af7614330307dfdf5c723710334a168bc30b50f
|
| |\ \ \ \ \ |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add ability to use LVM volumes for VM disks.
Implements LVM disks support for libvirt driver.
VM disks will be stored on LVM volumes in volume group
specified by `libvirt_images_volume_group` option.
Another option `libvirt_local_images_type` specify which storage
type will be used. Supported values are `raw`, `lvm`, `qcow2`,
`default`. If `libvirt_local_images_type` = `default`, usual
logic with `use_cow_images` flag is used.
Boolean option `libvirt_sparse_logical_volumes` controls which type
of logical volumes will be created (sparsed with virtualsize or
usual logical volumes with full space allocation). Default value
for this option is `False`.
Commit introduce three classes: `Raw`, `Qcow2` and `Lvm`. They contain
image creation logic, that was stored in
`LibvirtConnection._cache_image` and `libvirt_info` methods,
that produce right `LibvirtGuestConfigDisk` configurations for
libvirt. `Backend` class choose which image type to use.
Change-Id: I0d01cb7d2fd67de2565b8d45d34f7846ad4112c2
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Updates the connection_type log messages to log as
a warning instead of an error.
Fixes LP Bug #1011788.
Change-Id: I4cc2d9d5fdea2c8871f760b73a905fe61edcbe8f
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We don't seem to use utils.deprecated at all... so lets
remove it and save ourselves 200 lines of code.
Also moves a couple misc. test cases in utils.py out of the
DeprecationTest suite and into the GenericUtilsTestCase
suite.
Change-Id: I03f71f2ee06a526a8902a3079257afd6fd65dc59
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Implements solution for bug 1007648.
Add python stack traces to all sql comment strings so that someone
looking at database query logs can immediately see what code
generated each query. This is especially powerful when combined
with pt-query-digest to get per-file or per-method aggregates.
Change-Id: Ieda5cf4d70cc2643d27fb00efb48de14ca2abe52
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Continues work on bp:virt-driver-cleanup
Add unit tests to test the loading of the new and old style loaders
Fix libvirt driver to make read_only optional on the constructor
Fix fake driver to correctly have the kwarg be read_only
Add VirtDriverNotFound exception to make get_connection failures more
explicit
Factor out fake backend replacement (currently just libvirt) to a
seperate super class
Remove touching FLAGS and use self.flags instead
Change-Id: I089d0dd9c97f87478b922f4c3e26c45891eaf6cc
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Resolves bug 1009738 as well as several other bugs that haven't been
reported yet.
Change-Id: I09b456df70aaaba1bc4ac00514e63bda804d7f92
|
| |\ \ \ \ |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As requested in https://review.openstack.org/#/c/8218/. You'll get an
exception if you pass a non-uuid in.
Change-Id: I0e54eeba7ea65fa8f6640b47c47abf8c7b4f6b79
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Check that the dnsmasq process is running (and actually looks like a
dnsmasq process) before attempting to kill it. Fixes bug 1010275.
Change-Id: Ib49209e1624dfb30470adbe13d7fc045ec1fdf83
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When using source group based security group rules (rather than CIDR
based ones), it's permissible to not set a protocol and port. However,
Nova would always try to convert the protocol to lower case, which would
fail if the protocol wasn't set.
Fixes bug 1010514
Change-Id: I9b1519a52ececd16a497acebfe022508cbe96126
|
| |\ \ \ \ |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When converting from flavorid to instance_type_id in the OSAPI,
it isn't always desired to return deleted instance_types. In the case
of OSAPI create(), we explicitly do not want to query deleted flavors.
Fixes bug 1010638
Change-Id: I9c26c7130f8c3d6680143e36b4aaa1f662c682a7
|
| |\ \ \ \ |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The CIDR affinity filter currently matches the scheduler's IP address against
the network specified by the 'build_near_host_ip' and 'cidr' scheduler hints.
It should be matching each compute host's IP address against the network
in the scheduler hints.
Ensure that the compute host's IP address is reported as part of host_state
and use this value in the filter.
this issue has been talked at https://review.openstack.org/#/c/7470/
Change-Id: I14eac8797dfe8aaf870bb31ef7bf87edcf691f93
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Rename image to image_id.
Avoid partially finished cache files.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The variable name `image` was a bit misleading since we're dealing with
an ID and not an Image object. This renames the variables to clarify
that fact.
Includes some other small cleanups like using new-style classes and replacing
`if X is True` with `if X`.
Change-Id: Ic1378da203cfb3e199b9d2f1a14911bc7e24a1f5
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`VDI.copy` stores half-completed files directly in the SR where we may
inadvertenly make use of them. To avoid these 'half-baked' records, we
compare its current size to its expected size.
Fixes bug 1009750
Change-Id: I0f279ce69bfa0842a6bc74f19fd61462c6013b28
|
| |\ \ \ \ \ |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SHUTDOWN and SHUTOFF are merged to SHUTDOWN in power state.
Change-Id: If6a64076a3c23837ee18a34dcbd0a08fd46ab57f
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
volume['id'] is no longer integer
Change-Id: I5a9f59618569a9702297154d29b703562fe36ee9
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes bug #1010376
Remove ensure_ascii=True from dumps function.
Change-Id: Ifb2f12371d3262a5765e4434178621d401e8c610
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* adds project_name and user_name to context for logging
* adds color argument to logging which allows for colored
log output based on the log level
Change-Id: If37d646fdba77d4214f72b19e5df02da5f7dbac6
|
| |\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
Change-Id: I06b7d4296512e4659961f40e3ca7b3395c0704cf
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch updates the ZeroMQ test module to use OSError in one place
instead of ProcessExecutionError from nova.exception. In a previous rev
of this code, it was using nova.utils.execute(), but no longer does.
Change-Id: I3dac2981b5c1a7cd5fc0e4e8dbf0a2d378a1d136
|
| |\ \ \ \ \ |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes bug 1010236
Implement a new sys.displayhook that doesn't overwrite __builtin__._
that was set by gettext
Change-Id: Id3c0a331eb6f98240fe1e4d0b083c72e28f99c53
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fixes bug 1007573
* Includes failing tests
Change-Id: I827588f0694c5dd7b5e8ff3173d4794a55946d81
|
| |\ \ \ \ |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Continued work on blueprint finish-uuid-conversion.
Change-Id: I4032419d66e9bbb17b770d8974a92a136bf9c5d2
|