The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
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.
Remove the 'deps = pep8==1.3.3' from tox.ini as it means all the other
deps get installed with easy_install which can't install oslo-config
from the URL.
Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.
Change-Id: I68fe3449ed0fcc7fdfb84af2dcc77a39ebde7f01
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.
Related to https://review.openstack.org/#/c/20127/
Change-Id: Ide43a41b5481daede96e142d1a4f6519e33c21bf
The version of WebOb being used in OpenStack was more than
1 year old. This change updates to the latest stable release.
Upgrading WebOb resolves a version conflict between OpenStack
and Pecan, the web framework used by the Ceilometer team for
version 2 of the ceilometer API.
Refer to http://docs.webob.org/en/latest/news.html
for the list of changes between 1.0.8 and 1.2.3.
bug 1092227
Change-Id: If68866122e6c492b03887af5953ab7cad01787ba
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Although the master auth_token file is now in keystoneclient, it will take
some time to get all the paste files to point to it there rather than here.
Hence, we import it back here to provide backward compatibility for a release
or so, after which we will remove it from the server.
Change-Id: Iccdb7839a611cdda233e4ea96f68c64d6d82f49c
The addresses in sample_data were hard-coded to localhost. This is
a problem when deploying not-so-all-in-one deployment -- one controller
and couple of compute nodes. It was also complicating access from
outside.
Change-Id: Iee53c3f4376c3628e1543afb6dc7e964a3a14ab2
This should be the public_port and not the admin one.
Sync with default_catalog.templates change
commit 773f0f84af282cd3e53650ccbb99284c37677b6a
Change-Id: Ibb81a06607d94648993768c8b2e7161bf57195a1
sqlalchemy 0.8.0b1 breaks some dependencies such as sqlalchemy-migrate, pin the version until we fix them
Fixes bug #1073569
Change-Id: I6620276bf8f0a7cbc1d51aa226cd33c512e59a48
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: Ic19030cc4cc8fcf99ee9442de175f38ac6126776
- The iso8601 module is needed by the openstack.common.common.timeutils
module and not just for testing anymore.
- Fixes bug 1020613.
Change-Id: Iee535b961cc2ac9530e31f4ff4d8c64a1822643f
The main culprit here was prettytable - but because of the way this was
working, it was causing intermittent transient network issues from pypi in
the devstack gates.
Change-Id: I62117116c850361c5e2de7e6485c14ef43007c1d
Prettytable 0.6.0 has a bad md5sum in PyPi and as such causes tests
to fail when creating a new venv. Nail the version to 0.5.0.
Fixes LP Bug #1000757.
Change-Id: I121ba8d411e47c2fe154370d9c3c941e25331ce6
Changed --user to --user_id and --role to --role_id in the keystone client for
consistency. Need to update keystone calls here.
This change should be applied after [bug/994744 b7fe11c] in
python-keystoneclient.
Fixes bug 994744.
Change-Id: I234c1d46c0d92a6a00ebb25c5dfbba69cd46be52
Currently glance (which is required for testing by keystone because
there is no python-glanceclient yet) requires distribute>=0.6.24,
but it can't be installed as a dependency of a dependency. Requiring
it explicitly here should help.
Also, this helps standardize the distribute requirement across all
projects.
Change-Id: I346c0fb7c2203b9889b39ae8df1f8c594bbe49ae
* Isolates authorize() tests from wsgi tests
* Adds coverage for authorize()
* Adds support for a blank reseller_prefix
* Adds swift_auth test dependencies to tools/test-requires
* Cleans up authorize()'s use of tenant_id/tenant_name
(addresses bug 963546)
Change-Id: I603b89ab4fe8559b0f5d72528afd659ee0f0bce1
- Store the unix time from iso8601.parse_date to compare against
time.time.
- on a WSGI environement the import don't get passed to the methods from
__init__ use a self. variable.
- Fixes bug 951603.
- Add unit tests.
- Add iso8601 to test-requires.
Change-Id: Ia8af8b203d1310d5ae6868c3a14dfdf68d6e5331
Enable creation of endpoints by setting ENABLE_ENDPOINTS environment
variable. Works with Catalog SQL backend.
Change-Id: I9ba0ea1b3cf35720fb338e91f48fcbddc326971b
Updated sample_data.sh to create the service accounts now required
for services (Nova/Swift/etc) to use Keystone. Swift and Quantum
are now enabled by setting ENABLE_SWIFT and/or ENABLE_QUANTUM.
This corresponds to the auth_token middleware rewrite in
https://review.openstack.org/4675
Change-Id: I327c593a53f3ac06e2ed0c1543d2974728e70e03
* (per request from jeblair)
* version of python-ldap match between
test and requires
* pinned to 2.3.13 to let tests work in macosx
* separating dependencies between deps and test
* removed python-keystoneclient from install_requires
for now. (there is no python-keystoneclient in PyPI)
Real solution coming.
Change-Id: I89e50d6747fb57dee7badb17bc1231d3619e3ef7
Bug 933852
Merged over the code from the legacy keystone implementation, updated
style and streamlined the API a bit.
* Unit tests can be run against a live OpenLDAP server
* Password hashing done via passlib. Only does salted sha1, which is what simple_bind requires, but is not secure.
* Added pip dependencies
Change-Id: I5296d94f6b7d0a7c7dbc887cdae872171e34bb5f
Middleware rewrites incoming XML requests as JSON, and outgoing JSON as
XML, per Accept and Content-Type headers.
Tests assert that core API methods support WADL/XSD specs, and cover
JSON content as well.
Change-Id: I6897971dd745766cbc472fd6e5346b1b34d933b0
Based on devstack's files/keystone_data.sh, sample_data.sh creates
the same set of tenants/users/roles/etc. It can eventually be used
by devstack as the bootstrap script.
Fixes bug 934331
Change-Id: Ib3b514b6e4fc5c9e980e4e0c59bc44cda1b8d2b6