Merge "Fix snapshot failure with VMwareVCDriver"
Merge "Actually fix info_cache healing lazy load"
Convert TestCases to NoDBTestCase

NoDBTestCase is faster because it skips initializing a database for
tests which don't actually talk to the database. Its also nicer
because its more explicit about the dependancies of a given test.
This is a second pass at moving test cases over to the database
lacking version, but further work is required here.

Partial-Bug: 1227473

Change-Id: I16313b8febb8a3c681fdf7e7278cc5a09138e542
Convert TestCases to NoDBTestCase

NoDBTestCase is faster because it skips initializing a database for
tests which don't actually talk to the database. Its also nicer
because its more explicit about the dependancies of a given test.
This is a third pass at moving test cases over to the database
lacking version, but further work is required here.

Change-Id: Ibbe86329c846e9d6df16f3bbe53a75efff6fd604
Partial-Bug: 1227473
Merge "libvirt: ignore false exception due to slow NFS on resize-revert"
Merge "xenapi: Make rescue safer"
Merge "Fix problem with starting Windows 7 instances using VMware Driver"
Merge "Catch more accuracy exception for _lookup_by_name"
Object cleanups

1) Fix uses of hasattr(self, base.get_attrname()) to use self.obj_attr_is_set().
2) Remove an unused variable created by recent fix.
3) Use functools.wraps() on decorators so we get correct function names
in tracebacks.

Change-Id: I07aac43742894dad22231771083a94248d300711
Allow for nested object fields that cannot be None

Used in a follow up patch to fix a bug.

Change-Id: Ib1e44232643ad57e1bd21fb3bdbe7c4d1e0307f2
Don't allow pci_devices/security_groups to be None

These should never be able to be None in the Instance object.  They are
lists and can be empty, however.

Fixes bug 1228402

Change-Id: Id250f8921926f906e858a09759bdab888bd597b0
Instance object incorrectly handles None info_cache

1) When getting records from the DB, it's possible for info_cache to be
None, but this case was ignored.
2) When de-serializing Instance with a None info_cache, a traceback
would occur.

Fixes bug 1228426

Change-Id: I60e610aeafc9dea8d832adec10baaaecbae75215
Update sample config generator script

This patch reverts 13d80020. The help message should be added
in oslo-incubator since generate_sample.sh is synced from there also.

Resolves bug #1204204

9f2b93b Sample config file generator clean up
33f9f78 Replaces relative path to absolute path in conf file generator
c97e17b Refactors if statement in config generator
8b11fda Provide useful defaults for config generator
4c02e0a Unset OS_xx variable before generate configuration

Change-Id: I96fcb39c0c620c147fea5c96416e506a758619ce
Fixes test scripts with wrong bitmode

Some modules have bitmode 755. Changed to 644

Added a redundant blank line according to hacking's import template.
https://github.com/openstack-dev/hacking/blob/master/HACKING.rst

This was done to avoid merged errors in gerrit which happens
if no content has changed.

Partially fixes bug #1224226

Change-Id: I8077035eea8ee3be4d17a992788a4a6b959fc171
Fixes modules with wrong file mode bits

Modified file permission from 755 to 644.
Removed a redundant blank line to avoid merged errors in gerrit
which happens if no content has changed.

Partially fixes bug #1224226

Change-Id: I01695db4a0a55183046edad2069210243d7c5617
VMware: ensure that resource exists prior to accessing

Ensure that the resource being accessed actually exists. There
may be cases when a cluster is updated/deleted and the scheduler
may be out of sync with the compute node.

Fixes bug: 1216510

Change-Id: Ib82af10f78fbad0cec55eff3dffd3d36409d8b24
Convert TestCases to NoDBTestCase

NoDBTestCase is faster because it skips initializing a database for
tests which don't actually talk to the database. Its also nicer
because its more explicit about the dependancies of a given test.
This is the final pass at moving test cases over to the database
lacking version.

Change-Id: Iba5ec1f5c0a5724f01779eb5b0f164c4e232632a
Closes-Bug: 1227473
Code change for regex filter matching

Remove REGEXP_LIKE operator for oracle db backend since it's not suitable,
Such as:
Oracle: 'select xxx from xxx where REGEXP_LIKE (column, pattern)'
Mysql: 'select xxx from xxx where column REGEXP pattern'

For the simple pattern matching(LIKE operator) used for unsupported backend db,
add '%' wildcard character on both sides of the value.

Change-Id: I4682d38086a06032bb5650a14b253f6b2b859613
Closes-Bug: #1230102
Add V3 API samples for ext-status,hypervisor,admin-actions

Partially implements blueprint v3-api-unittests

Change-Id: I537366c1824792fb5345544fc27647816d4d824f
Adds V3 API samples for evacuate,ext-az,ext-serv-attrs

Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification

Change-Id: I340456ba688bad4a42d66247899ee9f494fb429c