Provide explicit image create value for test_image_paginate case

Assign an explicit created_at datetime value to image db fixtures,
it be used to fixes race condition in DB driver test_image_paginate
case.

Closes-Bug: #1282400
Change-Id: I359633af4bb25cf1866b42d6dad3df658995b7bd
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Enable H304 check

Enable H304: no relative imports

Fix import in tools/install_venv.py

Change-Id: I099ed65db9b42223eaa4b66a3a5c6113d1cc56fe
Configuration doc for VMware storage backend

The documentation in configuring.rst needs to be populated
for the VMware datastore storage backend.

docImpact

Change-Id: I2064292867e12e699ca0a8ebba6c11f9de3591a5
Closes-Bug: #1275040
Uses None instead of mutables for function param defaults

Addressing bug 1307878, changes use of mutable lists and dicts as
default arguments and defaults them within the function. Otherwise,
those defaults can be unexpectedly persisted with the function between
invocations and erupt into mass hysteria on the streets.

To my knowledge there aren't known cases of the current use causing
specific issues, but needs addressing (even stylistically) to avoid
problems in the future -- ones that may crop up as extremely subtle or
intermittent bugs...or worse, security vulnerabilities.

In Glance's case there are ACL-related methods using this, so
although I haven't confirmed one way or the other yet, I've marked it
with SecurityImpact so that a more knowledgeable set of eyes can
review it in this context as well.

Closes-Bug: #1307878
SecurityImpact

Change-Id: Ic17c330eff701ff63701c0029b26db7093a1d73d
Sync latest network_utils module from Oslo

Syncs the latest network_utils from Oslo to help simplify the fix
needed for bug #1216247. Also adds network_utils to
openstack-common.conf.

This also includes the following commits to network_utils:

897aa7c urlsplit issues with IPv6 addresses in python26
35dc1d7 py3kcompat: remove
12bcdb7 Remove vim header
4c22556 Use py3kcompat urlutils functions instead of urlparse
0bf03b7 Add network_utils.urlsplit
e456727 Remove useless logging in networks_utils
7119e29 Enable hacking H404 test.

Change-Id: I63325c9b677c2192d24e7eb73adac272bffd4e0b
Get rid of TaskDetails in favor of TaskStub

Change I0b406e4662cfd3cb496b71be77ad10a90c178baa introduces a new
class TaskStub. This class is designed to be a subset of what a
task is in the domain layer: it doesn't contain input, message and
result. TaskStub should be used when listing tasks in order to avoid
extra-overhead of transporting these text fields.
As a result, the TaskDetails introduced by change
I0b406e4662cfd3cb496b71be77ad10a90c178baa doesn't need to exist.

With this patch, the domain layer contains Task and TaskStub instead
of Task, TaskStub and TaskDetails.

partially implements bp async-glance-workers

Change-Id: I2a20b0c5033c6920749370355c2d672dec707c28
Merge "Provide explicit image create value for test_image_paginate case"
Replace assert* with more suitable asserts in unit tests

The following replacements were done in unit tests to have
clearer messages in case of failure:
- assertTrue(* is None) with assertIsNone
- assertTrue(* is not None) with assertIsNotNone
- assertTrue(* in *) with assertIn
- assertTrue(* not in *) with assertNotIn
- assertFalse(* in *) with assertNotIn
- assertTrue(* == *) with assertEqual
- assertTrue(* != *) with assertNotEqual

Change-Id: I0c47f991c3974e441335e71c9d26fab8a127f2ca
Merge "Get rid of TaskDetails in favor of TaskStub"
Merge "Replace assert* with more suitable asserts in unit tests"
Merge "Sync latest network_utils module from Oslo"
Merge "Enable H304 check"
Merge "Configuration doc for VMware storage backend"
Merge "Uses None instead of mutables for function param defaults"