| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Running a test with pdb was difficult because testr captures
output and causes pdb prompt to quit.
Tips for how to run testr with debug are provided here:
https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests
This change puts these commands into a debug env in tox.ini so
you can do a command like
tox -e debug test_auth_token_middleware
or, for more granularity:
tox -e debug keystone.tests.test_sql_migrate_extensions.EndpointFilterExtension
tox -e debug keystone.tests.test_sql_migrate_extensions.EndpointFilterExtension.test_downgrade
and when it hits your breakpoint you'll get the debug prompt.
This same change was made to keystone in commit c8302509 .
Change-Id: I2b5dc81f4652dc89ecbcc7c785245a81cf77a1ca
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a recent oslo sync commit Ieb73d5f799423fa8abf71634c86601ba6d32df2f
post_process() has been removed from tools/install_venv_common.py, which
is still called in tools/install_venv.py
Further investigation shows install_venv.py has some legacy distro
specific code, which should be removed at the time introducing
install_venv_common from oslo.
This change switch tools/install_venv.py to use oslo code to align the
effort as well as fixing original no 'post_process' issue.
Changes being pulled into in install_venv are:
12bcdb7 - 2013-11-25 12:16:11 +0800 - Remove vim header
b5cca99 - 2013-10-09 21:34:00 +0100 - Remove obsolete
redhat-eventlet.patch
9378d3c - 2013-08-13 18:06:11 +0300 - Move `./run_tests.sh` to Oslo
Note: openstack-common.conf is not updated, because the project name
variable in install_venv has to be modified after syncing from oslo.
That makes it not an exact sync but modification after sync. Besides
other openstack projects using install_venv from oslo also don't change
openstack-common.conf. So this patch simply follow the common practice
here.
Change-Id: I78a7563fbbde70cfd98cf1bd7a5a4eec5370d31d
Closes-Bug: #1263940
|
|
|
|
|
|
| |
- This add a few bugfixes for py3 support.
Change-Id: Ieb73d5f799423fa8abf71634c86601ba6d32df2f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use commit 376d1aaef9928a0cacb6ff8361b7b5003cad1e0a
'Merge "Update DB maintainers"'
by jenkins
on Tue Aug 20 12:08:26 2013 +0000
Changes:
- Ibf3c56e4baa6ad83e2b95a948787e9d02cf074d4 BaseException.message is deprecated since Python 2.6
- I24ffad9ab7852be44e5d6c8805aa0a47647e21cc Don't attempt to patch eventlet without the patch
- I838559f6f308e4a0c255af7bc27cdc669c5cf5f3 Ensure install_venv works behind firewalls
Change-Id: I70182bd4e6611ee6da58d2772767888608c0f80c
|
|
|
|
| |
Change-Id: Ic473e2bc51cd55c712aba86af1ffad8252b7b732
|
|
|
|
|
|
|
|
| |
Adding an extra pair of braces helps here to
let Python 3.x interpret it as print function,
while not confusing the Python 2.x print operator.
Change-Id: I05af267ecfbcc80753726743fdf82c330350afcb
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- F401: imported but unused
- F999: syntax error in doctest
Fixing a couple of the F401's simply required fixing the doctests syntax
where the imports were actually in use.
Change-Id: If78abbb143daf8d005a71c5ab52836df29c5e0cd
|
|/
|
|
|
|
|
|
|
| |
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.
Change-Id: If5c7080fea7c5ca5935b3c064e368cb837a9c16b
Fixes: bug #1179008
|
|
|
|
|
|
| |
Fixes bug 1172444.
Change-Id: Icd51f5d925d84dcec7df7c83ca43cd87bc1b090f
|
|
|
|
|
|
| |
Fixes bug 1179007
Change-Id: Iceb63c223faab49be01baa36c035f703ddf59fc0
|
|
|
|
|
|
| |
Part of blueprint grizzly-testtools
Change-Id: I76dee19781eaac21901b5c0258e83a42180c1702
|
|
|
|
|
|
|
|
|
|
|
|
| |
run_tests.sh cannot install a virtualenv with tools/install_venv.py as
tools/install_venv_common.py depends on oslo.config which is an external
dependency. The virtualenv installer should not depend on any external
dependencies. Fix this by performing a code sync with oslo-incubator.
Note this adds a new dependency on six and changes the way versioning is
determined.
Change-Id: Ifb67bbfeec4eabc943c2a88a34fe535c57f174a1
|
|
|
|
|
|
|
| |
Match the openstack/requirements version of prettytable in pip-requires
to avoid version conflicts.
Change-Id: I78f3c6ef9a9a8d35939eb100827e429c12a0a60d
|
|
|
|
|
|
|
|
|
| |
Fixes bug #1128256
oslo.config has now been released to PyPI in time for Grizzly RC1 so
we can switch to using it directly.
Change-Id: I655f831718ae5f4e25e941ee206fe195214a9a91
|
|
|
|
|
|
|
| |
The oslo-config package has been renamed. Switch to the new
version. (should fix SmokeStack).
Change-Id: Ied8804035d748932e7763cbaa9a7e295a887f1f5
|
|
|
|
|
|
|
| |
Update the version of oslo-config in pip-requires. This update includes
a fix for a bug that breaks oslo.config imports.
Change-Id: If36de2965a50a975437bc498d9894325e6d20e98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
Removes the load of copied-and-pasted cfg from each application
in authtoken middleware.
Depends on oslo-config deployments:
Nova I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Glance I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Quantum I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Cinder I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.
Change-Id: I18c450174277c8e2d15ed93879da6cd92074c27a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.
Change-Id: Ia8c2674b4abed8de754e92ea795130cdb065a720
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The requests module dropped all configuration with the 1.0.0 release.
There's no danger_mode and no 'verbose'' mode. The former
shouldn't be necessary anymore and the latter can be done by setting
a different log handler for the request.logging root logger.
Change-Id: I41bfaf2574f6d7fc21f86e0124ceae7df6481eee
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
requests.request() does not accept the keyword argument 'config'
(used on keystoneclient/client.py:339) after version 1.0.0.
Fixes bug #1116740
Change-Id: I0a778849ff44a76a2647aa46057fdb35401fae5f
|
|/
|
|
|
|
|
|
|
| |
Bump the version requirements for requests so it does
not conflict with the version of requests required
for glance (unpinned).
Change-Id: I06479b8ceb04df749a6d7f7dc584892a688cd449
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
|
|
|
|
|
| |
DocImpact
Change-Id: I8b733256a3c2cdcf7c2ec5edac491ac4739aa847
|
|
|
|
|
|
|
|
|
|
| |
Change the WebOb version to >=1.0.8 as a temporary
measure to allow the actual version update to 1.2.3
to roll out across the projects one at a time without
breaking the integration tests.
Change-Id: Ia4f9f92ae7013098706924eef8728bcd85869c29
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
|
|
|
|
| |
Fixes bug 1097860.
Change-Id: Idcf880f9dfa956e6d240357150a9f5a24372f97a
|
|\ |
|
| |
| |
| |
| |
| |
| | |
part of blueprint grizzle-testtools
Change-Id: Ic9b438b4224d945e080d1d6071742ddc47ee81ed
|
|/
|
|
|
|
|
| |
requests add SSL CERT VERIFICATION support since 0.8.8.
fix bug #1094699
Change-Id: I7974983087f7483283438906d738bec7cba84ed2
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement correct certificate verification
* Add requests to tools/pip-requires
* Fix OS_CACERT env var help text
* Add info to README
* Rework tests to use requests
Pinned requests module to < 1.0 as 1.0.2 is now current in pipi
as of 17Dec2012.
Change-Id: I120d2c12d6f20ebe2fd7182ec8988cc73f623b80
|
|
|
|
|
|
|
| |
User can optionally turn off keyring by specifying the --no-cache option.
It can also be disabled with environment variable OS-NO-CACHE.
Change-Id: I8935260bf7fd6befa14798da9b4d02c81e65c417
|
|
|
|
|
|
|
|
|
|
| |
Python 2.5+ has hashlib.
Python 2.2+ has hmac.
As such there really is no need to have these in pip-requires.
Change-Id: Iaa7f6a6f2db4c5283608c320680da98ae400098f
|
|
|
|
|
|
|
|
|
|
|
| |
Add Ec2Signer class (from keystone.utils) to keystoneclient
Allows clients to more easily generate correctly signed requests
for use with APIs using EC2 auth-extension based authentication
blueprint ec2signer-to-keystoneclient
Signed-off-by: Steven Hardy <shardy@redhat.com>
Change-Id: Iea69ccd4dadd09740f42d907bf14f61c1750596a
|
|
|
|
|
|
|
| |
* matching cinder, glance, etc
* made run_tests exclusions match tox
Change-Id: I9963245b079535a38a8c9b46917e8d833b62addb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This step in the process duplicates the auth-token code to keystoneclient but,
for the moment, leaves a copy in its origional location in keystone.
Testing for auth-token is also copied across, as is the cms support file.
Although no other project will yet pick up the code here in the client, since
the paste.ini files haev not yet been updated, it would work if anyone
did reference it.
Once the client code is in, the next step is to update all the other
project paste files, and then finally retire the code from keystone.
Change-Id: I88853a373d406020d54b61cba5a5e887380e3b3e
|
|
|
|
|
|
|
| |
* tools/install_venv.py
Added new class Suse
Change-Id: I4629ca683edcd07f5707fe015bfc58bf904209f2
|
|
|
|
| |
Change-Id: I7d5a170f31c2846474b3836a08c6445577613e98
|
|
|
|
|
|
|
| |
SSL validation was not available until version 0.7 of httplib, which keystone
client makes use of. Therefore, we cannot just allow any version.
Change-Id: I05dc72aa77a4f861cc238fccf5a22192f7bdbf6f
|
|
|
|
|
|
|
|
| |
Adding nosehtmloutput as a test dependency allows nose to output its
results to an html file. This will be used by Jenkins to save logs on
a different server.
Change-Id: I6d217ff3098650e013985afdd8f4186d8d77d609
|
|
|
|
|
|
| |
Otherwise ./run_tests.sh may fail
Change-Id: I122fc474568e6670e6c8aa2a3c854a3f2ceccd53
|
|
|
|
| |
Change-Id: I84d3897fc056d411fdaaee301465c72e20a66ff8
|
|
|
|
|
|
|
|
|
|
|
|
| |
bug 1014845
It looks like an earlier fix for bug 933076 put the unittest2
dependency in the wrong file. Moving it to the correct file.
Added a version to the unittest2 dependency
Removed a blank line
Change-Id: I06a8963fc5aca80438348d26569d8efb4568f754
|
|
|
|
| |
Change-Id: I8e429b50d6c3188d1d242a9a5d3cba07066b85c1
|
|
|
|
| |
Change-Id: I044447b162e97d7464e49ba7fed0d41a757a3210
|
|
|
|
|
| |
As part of doing that, fixed a unittest to work with python2.6.
Change-Id: I575a8534bf008077c1a24a25336f1d711f742297
|
|
|
|
|
|
|
|
| |
Fixes bug #940023
Backslash continuations removal for python-keystoneclient
Change-Id: I816fc39ced20bb8ba8a42d3f07a03da94a76f8ea
|
|
|
|
|
|
|
|
|
| |
This allows the test to run on RHEL 6.2
and python 2.6.
Fixed bug 933076
Change-Id: Idb026114ac1813266d77a70d13b0c3b9467f5199
|
|
|
|
|
|
|
| |
Also adds pep8 to requirements since it was missing, and adds the
automatically-created venv to the gitignore list.
Change-Id: Iafa05c1889d7706b79d0f9392a9ac24f2f5a1719
|
|
|
|
| |
Change-Id: Iff60e6595a3a331961ac8d6be2224edf6548b470
|