Updated openstack/openstack
Project: openstack/heat  d52dd0b8ee5344aade603cf0de2b3c3af8a67e46
null
Use WithScenarios base class instead of load_tests

To support test scenarios, we now override load_tests in the module
using them. To support alternate test runners and not needing that, the
patch makes the Heat test base class inherit testsceanios.WithScenarios.

Change-Id: Ie2435e41c466c0687bb1dd95080dcac7c837aaba
Updated openstack/openstack
Project: openstack/glance  4e28e4d9dcdafd9636107fe97bb0bb44f98902ab
null
Disallow negative image sizes

Currently Glance v1 allows creation of images with negative sizes when
the source URL provided by the --location parmeter does not exist at
the time of creation.

There is already a check to verify whether or not an image size can be
converted to an int but the check doesn't verify whether or not the
resulting value is >= 0. This commit supplements that check to
disallow negative values for the size parameter.

Change-Id: I47511f3e34cf5adfdf944747d94285ecbbda4249
Closes-Bug: #1260738