Provide explicit image create value in Registry v2 API test

Assign an explicit created_at datetime value to image db fixtures,
it be used to fixes race condition in Registry v2 API test cases.

Closes-Bug: #1279753
Change-Id: Ia1957e8c024f81eeaa3c0bc094dd62db1be52d07
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Log 'image_id' with all BadStoreURI error messages

- handle all BadStoreUri exceptions raised by 'legacy_parse_uri'
  function in
one location so that it becomes easier to log the error message with
'image_id'
- add tests for 'legacy_parse_uri'

Closes-Bug: #1243704

Change-Id: Ifc5de11832860ed51c1eb359d6f5cf78de8c0ba4
Remove import specific validation from tasks resource

Task-type specific validation should not be placed in the the
task resource as this will vary among providers. Validation of
the input values should occur in the task script and be reported
as part of the task status.

Change-Id: Ifbc1af868359e6bd51b18b10cd5402340438917a
Closes-bug: #1288337
Don't enable all stores by default

Glance currently enables all stores by default. This patch changes that
by removing all stores that require manual configuration and leaving
those that work right out of the box.

Current behavior causes a lot of confusion to users since most of those
stores print errors when they're not configured correctly. All extra
stores should be enabled explicitly by users.

This fix makes tests use http locations. All other locations besides the
default ones should be tested in their own test suites.

DocImpact
Closes-bug: #1255556
Change-Id: I82073352641d3eb2ab3d6e9a6b64afc99a30dcc7
Merge "Log 'image_id' with all BadStoreURI error messages"
Merge "Don't enable all stores by default"
Merge "Provide explicit image create value in Registry v2 API test"
Merge "Remove import specific validation from tasks resource"
Provide an upgrade period for enabling stores

1f6381a73f5c99f1f731d6c4f9defb91bd2d042d disabled all stores by default,
this casues upgrade issues for CD environments and folks that are not
aware of the change. This patch adds a way to attempt enabling the store
if its configuration parameters were set. If the store fails to load and
it's not in `known_stores` then no error will be reported.

The patch also warns the user when a store succeeds to load but it was
not explicitly enabled in `known_stores`. Note that there may be false
positives since some stores may not require any configuration parameter.

Change-Id: Ie784fe90003a5064aaf16fadb7266bf7a46e2cf5
Closes-Bug: #1290969
Updated from global requirements

Change-Id: Ic042a64906cf69214261d6651787c08c6f025ea5
Merge "Provide an upgrade period for enabling stores"