Soft deletes were deprecated in Mitaka. Whitelist the existing
tables that use soft deletes, and add a test to make sure no new
ones are added.
Change-Id: Ibdf0f0e9944a8d3e71ef7411d14f0054ed17e7b6
Closes-Bug: #1533859
This change enables the attach and detach volume operations for
instances which are in shelve and shelved_offloaded state.
The code to manage the actual attach and detach is implemented by this
change: https://review.openstack.org/259528
New tempest tests are going to be written for testing the new feature.
APIImpact
DocImpact by this change we are allowing operations which were not
allowed before, we need to track this change in the documentation.
Partially implements blueprint: volume-ops-when-shelved
Change-Id: I43b67a50d998d43a6ff78c917093c513231b6ff2
Adding a fake libosinfo module in order to avoid mocking it and
perform tests against a fake library.
Partially implements blueprint libvirt-hardware-policy-from-libosinfo
Change-Id: Ia13123ffe46b9c791630d967fd5f4dc1ade0734b
Move "vnc" config options to the central location 'nova/conf'. This
includes some typo fixes for the help strings along with removing some
unnecessary 'deprecated_name' args.
Change-Id: I5da0ad8cd42ef8b969ec05c07c497238e92f1f41
Implements: bp centralize-config-options
Some of the migration flags really should never be changed by users
since the code makes fundamental assumptions about their use.
Now that live_migration_tunnelled is available, there shouldn't be any
remaining use cases for the live_migration_flag and block_migration_flag
options.
Deprecate these for removal in a future release.
Change-Id: I69c4bdf47a7b34b8dc8cfa58f3d0e0557b5ce072
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Adds a hacking check if a config option provides enough help text.
To do so, the check counts the length of the help text. It uses
a low number in order to avoid a break. As soon as we have agreed
on a higher standard and changed the options accordingly, we can
increase that number.
Change-Id: If31339c428953c6a7bf721ff92e5999e8cb5b569
In Python 2 there is a file type builtin, but this is not the case for
Python 3. Replace it with "open" where possible, and replace with a
StringIO when we are mocking an output file.
Partial-Bug: #1456955
Change-Id: Ifcfed3865c41f1e772fda3717736aead713b37d6
An IronicDriver object has access to the ironic client via its
'ironicclient' member variable. This removes ironicclient parameters
from methods and changes those methods to use the object's
ironicclient member variable instead. It also moves a method into
the class to take advantage of this.
Change-Id: If4777d4ca858e92752938d588ec137a91c3216ad