The description fields for the schema elements were hard coded
english strings but are intended for end user consumption and
should be translation enabled.
bug 1115495
Change-Id: Ic3b16af75a41a186640762d0c7af787f1bf49ad0
Because of the move to testtools, the detailed-errors plugin is not only no
longer useful, it actually causes problems, as it fails to process the
error information sent up by testtools.
Part of blueprint grizzly-testtools
Change-Id: I0c8ff489fa92bb4cf7dcd06dd73f14701c013608
Updates an exception in the xattr image_cache driver so that
it uses the correct kwargs for message formatting.
Change-Id: I045de0fcd0237ed2702cf13d911d5b14ea86f45b
Converts dates printed by list-cached to a human readable format
(isoformat). It now checks whether the image last_access time is == 0.0
and prints "Not Accessed Yet" if so.
* Updates openstack.common.timeutils
* Fixes bug 1102334
Change-Id: I46f023471ec87fdf74c18f33309279a2f39a4e2a
When using the V1 api ensure that admin tenant ACLs are set
correctly on the relevant swift container.
Fixes bug 1109089.
Change-Id: I275e8aa7d2f02859c0d9ddbf373a0ae51e81e53d
Updates several exceptions and log messages in the Swift backend
so that they don't include Swift location URI's which may contain
passwords when used in Swift single tenant mode.
Fixes LP Bug #1098962.
Change-Id: I458de58563343347d5c976fe1ad084cc7e3280eb
When there is an error while initializing the backing store,
log entrires are now displaying more details specifying
the reason of failure.
Also instead of normal info message, log entries display
warnings in this case.
Fixes: bug #1103073
Change-Id: Icb7cc3c27325cfb0e4d62f466d28ecf9995d91ac
Pull in a versioning fix from openstack-common, fixes
python setup.py sdist versioning.
Change-Id: I9ffab5c2b37190b4c7daad5e92da40d773c99b4f
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Fixes bug 1102400
testtools 0.9.25 introduces a new dependency on the 'extras' package, but
it does so in a way to prevents itself from being installed without the
'extras' package already installed.
Work around the problem for now by avoiding the problematic release.
Change-Id: If8aa3925c744fad88f6f2715b5e779d0c258524c
The default for the verbose config option is False and the sample config
file should reflect that.
Also, comment out the defaults of the config options so that it is clear
that the sample file is showing the default in the code rather than
overriding it.
Change-Id: I3913ea54465658d93dc56e014dfe5d911b0541d6
Changes include:
c5984ba Move logging config options into the log module
751c35b Verbose should not enable debug level logging
edcdd25 Improve millisecond logging
a8973c5 Revert "Support lookup of value using "group.key""
The most significant of these changes is defaulting to the WARNING log
level which was discussed on openstack-dev:
http://lists.openstack.org/pipermail/openstack-dev/2013-January/004223.html
This is behaviour already documented in doc/source/configuring.rst at
least.
Fixes bug #989269
DocImpact
Change-Id: I8ed9107193a811f50ecfd9b34e99e933774405ab
Since commit 74a8601, I'm seeing this test attempting to load
/etc/glance/policy.conf.
Switch to using IsolatedUnitTest which copies the policy into a
temp dir.
Change-Id: Ibd84ed753de5abf91ee597918ba56130ddd0550e
testtools.addCleanup is a more resilient way to perform cleanup activities,
as it will continue to clean things up even if there are unforseen problems.
Specifically, replace custom management of tempdirs with fixtures.TempDir
and replace tearDown methods that can be easily replaced with calls to
addCleanup in the setUp method. There are at least two temp dir creations that
did not have a corresponding cleanup in this patch, which is another reason
for using useFixture(fixtures.TempDir) instead of calls to mkdtemp.
Part of blueprint grizzly-testtools.
Change-Id: I4eb548010612bd5a8d30e8e2304fa66d3d5ffb7c
While doing this, remove some of the nose-isms, which don't play nicely.
Part of blueprint grizzly-testtools
Change-Id: I9ea398b25195ad5f9c5db876c3dbb49ef4a5ee99
Updates test_policy.py so that we stub out find_file
which is used to find the *default* policy file. This
fixes an issue in the test_policy_file_default_not_found
test where it *may* fail when executed on a machine with
Glance package(s) installed (thus created a file in /etc/glance/
that isn't readable by the test user).
Fixes LP Bug #1098687.
Change-Id: If2912d40608ffb07f457454fdc6ebc56c62f6eaf
Adds a missing CONF import for the filesystem_store_datadir.
This is required in order to make the policy tests (test_policy.py)
run as a stand alone suite.
Fixes: NoSuchOptError: no such option: filesystem_store_datadir
Fixes LP Bug #1098670.
Change-Id: If8f9db3962b070e7841e4e3ef531dda4645624b7
Fixes an issue in the v1/images controller where a delete
response would contain a 'null' string instead of an empty
request body.
Fixes LP Bug #1098651.
Change-Id: I1a6610fe92e3a7f1221ca6f3e5f9e2c5e6130fbe
Webob has a tendency to wipe out the content-length we set on responses.
This causes eventlet to use chunked transfer encoding. By changing the
order of operations, however, we can trigger eventlet to use the simpler
and more informative Content-Length header.
Change-Id: I0ed27c9e668a538bc0fc29cb6e9127dfb7fd8c78
* Update to oslo-incubator commit b17b268a269c4989d76267db5c2d49d4c20bd51d.
* Update usage of 'deferred_version_string' to 'cached_version_string'
* Add context values 'user' and 'tenant' for context-logging
* Remove prefixes that resolve to '%prog' in --version CLI output
Change-Id: I24d9a24ad1a6e9379008ea719c9cbd22899111f9