This oslo-incubator sync pulls in a new log.py which will make quantum's
default log output format the same as nova, glance and cinder (once
cinder's corresponding oslo sync merges). This common log format
simplifies log indexing as part of CI and makes lives easier for
deployers.
This sync does add a requirement on six as jsonutils depends on it. It
updates install_venv_common.py to be python26 compatible. It also brings
in a bunch of recent python3 compatibility that was added to oslo.
Fixes bug 1183144
Change-Id: Id0f196d7b5680e5950e4a27d66042bf00ccd49e6
Fixes bug #1182662
Commit 362bd7f switched us from using 'QUOTA' as a config file section
name to using 'quota'.
This broke backwards compatibility support for 'QUOTA' because the
version of oslo.config that has that compat support had not yet been
released. The gory details are summarized here:
http://lists.openstack.org/pipermail/openstack-dev/2013-May/009448.html
Change-Id: I7826087147e0713edaaea85a72283998295e2281
We are explicitly trying to get rid of scripts like this and flake8 makes
this one non-necessary.
Fix run_tests.sh to run flake8 properly.
This reverts commit 42243d6eb221d52bf6f62f835726cbe026e43447
Change-Id: I435e34b6acde7931a75f456ccc88da6476581643
as nova did while ago.
this particular version of kombu doesn't work if newer msgpack happens
to be installed on the system.
bug 1178512
Change-Id: I2749623036723b5a772b1c4c01dc07437e421925
Create a common script to call flake8 to share flake8 options and
make tox and run_tests.sh use this script.
Fixes bug: 1179331
Change-Id: I92dc54fa3f4bb22aa39bde226b6d769088f9a2e3
Tests in oslo-incubator now need the horrendous hack to workaround an
issue with eventlet on RHEL6. We've moved the patch_tox_venv tool
and redhat-eventlet.patch into oslo-incubator, so add them to
openstack-common.conf.
Change-Id: I1acfec282b64d7582144b155119bedb1741db2f7
* Add hacking to the tox build - a set of flake8 plugins that
perform automatic validation of many HACKING.rst rules.
* This patch configures hacking in the tox build and performs
the mechanical cleanup required to allow the checks to pass.
* See https://pypi.python.org/pypi/hacking
Change-Id: Ie9b3eb5627a9b6dd181f79225abae422e6cf3777
* flake8 supports more checks than pep8 (e.g. detection of
unused imports and variables), and has an extension mechanism.
A plugin to support automatic HACKING validation is planned.
* See: http://flake8.readthedocs.org/
Change-Id: I8c9314c606802109a4d01908dbc74ecb792ad0ac
0.7.10 has been released and is compatible with 0.7.x. Instead
of pinning to 0.7.9, simply pin to 0.7.x to avoid SQLAlchemy 0.8
Unfortuantely '<0.8' matches '0.8.0b2', which is what we don't want.
Therefore pinning it to '<=0.7.99' instead.
This matches a corresponding change in openstack/requirements
Fixes: Bug #1153983
Change-Id: Icf680a933c6092cce52706fd9616a0d208164d1e
fixes bug 1154837
This resolves the issue by updating with the latest Oslo changes. These
changes correct the copyright attribution missing from an earlier Oslo
change.
Change-Id: Ic04197bf4bf026b1b48920a5a99397e6183f5ff3
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
This patch updates tools/pip-requires to use the python-quantumclient 2.2
It also limits the version to <3.0.0 to prevent breaking something accidently
when 3.0.0 is released.
Fixes bug 1152695
Change-Id: Iec52ffe91793567c7707843a80a282bd51eb0c76
In order to support running unit tests on RHEL 6.x we need to patch
eventlet with contrib/redhat-eventlet.patch. We already
have support for this in the tools/install_venv_common.py but we
need to make a couple changes to allow tox to consume this:
1) Sync in the latest intall_venv_common.py from oslo. This changes
patch to use the -N option (ignore already applied patches) and
makes it safe to call the patching function more than once.
2) Add a new patch_tox_venv.py script in tools.
3) Update tox.ini to call patch_tox_venv.py before it runs tests and
coverage.
NOTE: This will hopefully go away eventually once this patch lands:
https://bitbucket.org/eventlet/eventlet/issue/89/add-a-timeout-argument-to-subprocesspopen#comment-3342969
Change-Id: I3e2b07c3f718e4aede5c5f231ff0cdb7721ec885
Part of making pep8 version standard across all openstack
projects.
Fixes LP: #1143569
Change-Id: Iefc923123243df161ed72888c1651a622afbda04
Signed-off-by: Chuck Short <chuck.short@canonical.com>
This doesn't really do much other that add the needed bits to the repo to
start hacking on testr support in small chunks.
Change-Id: I34fc57fdc7c9ebda8ffa2357a2ef962c7ab41bfa
This wrapper was there to allow oslo-config changes through the gate
while keystoneclient hadn't been updated.
Also update to 2013.1b4.
Change-Id: I3d48673af58ae379e8e4d2c7fb4b4d81f3ed67dd
Fixes bug #1133262
There are no newer releases of PasteDeploy than 1.5.0 and we have no
reason to believe newer versions will break us. Indeed, if an
incompatible version is released, we will want to know about it quickly.
Change-Id: I331b33b16ea50202886b19bf5c4060d9fa46d5ec
As part of the move towards testr and parallel test running, we
start to use testtools and fixtures to make the test suite
resilient and more pedantic.
Part of blueprint grizzly-testtools
Change-Id: I90250de9fe21237db34f6a50b89b15863e270aa5
This patch syncs with oslo change set of
> c78b2ab Avoid using cfg in install_venv_common
So that oslo-config isn't needed to run install_venv
Change-Id: Ia7ee923a53e09c0c6a525294ec4a5dc9d31c3bed
Fixes: bug #1131009
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
fixes bug #1118197
This patch adds unit test for ryu-agent.
Also, add the lacking test for the default configuration value.
Change-Id: I742b2a9dfc0706c0307365a3fe9496c3541fcf04
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' from tox.ini as it means all the other deps
get installed with easy_install which can't install oslo-config from
the URL.
Retain dummy cfg.py file until keystoneclient middleware has been
updated (I18c450174277c8e2d15ed93879da6cd92074c27a).
Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Use commit eaab5fae2502198e9fa57d0d90a7204a2bd83b16:
Merge "sort options to make --help output prettier"
(Wed Feb 13 12:52:14 2013 +0000)
Add processutils to quantum since impl_zmq depends on them.
Drop notifier.list_notifier that is not present in oslo.
Change-Id: I91d9ec05481b8c24da9fbee1ad4706ff56a3b7aa
Fixes: bug #1116290
(Copy latest update from oslo)
Not doing this raised exceptions when it tried importing modules
that didn't exist in the path.
Fixes LP# 1116269
Change-Id: I3e2ed3ac96b51ec89def911054720d11bbcd9407
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.
Change-Id: I46bbf7d656e6cb9660e37af2d3ce96150e18e7fe
Fixes bug 1103519
Following http://wiki.openstack.org/Translations to integrate transifex
translation into quantum
We added the empty file quantum/locale/quantum.pot to avoid the
failure of the Jenkin's translation-jobs because git doesn't allow empty
directory to be added into the repository.
After this patch accepted, we need to do as below:
1. Make the transifex quantum project
(https://www.transifex.com/projects/p/quantum/) as part of the
openstack transifex project hub and give access to the transifex
openstack Jenkins account.
2. Add the translation-jobs into openstack/openstack-ci-puppet for
ceilometer.
Change-Id: I329a8bdc51ed8a0e75399c592d3991b1ec06a855
The other projects have merged changes to accept
WebOb>=1.2 now, so update Quantum to use the same
version.
See bug #1092227 for details.
Change-Id: I0969752910b92209408d956f633ad2ccacc7fa46
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Changes include:
1. Removing the 'extras' in the pip-requires
2. Fixes for fake implementations for RPC calls
3. Version updates due to common version update
Change-Id: Iefd32b3f7d529943b078e6d927d06043286ff94e
This commit adds intelligent multiple nexus physical switch support for the Cisco plugin.
The plugin also has been modified to scan for the host when an instance is created and
selectively trunk VLAN's for the port for that host only. It also deletes VLANs from nexus
switches when no longer required.
Implements: blueprint cisco-plugin-enhancements
Change-Id: I6275eb1815310d0d5a8123ca2edbc0a0937718e9
Implements blueprint argparse-based-cfg
Sync the following changes from oslo-incubator:
479f19c Add deprecated --logdir common opt
27b2ff4 Add deprecated --logfile common opt.
9b81289 Allow nova and others to override some logging defaults
3557d84 Fix ListOpt to trim whitespace
01ab910 Fix set_default() with boolean CLI options
af18eaa Improve cfg's argparse sub-parsers support
f21e1d9 Fix regression with cfg CLI arguments
ceb4aa7 Fix broken --help with CommonConfigOpts
5e9503b Hide the GroupAttr conf and group attributes
b6d24bb updating sphinx documentation
403509e Don't reference argparse._StoreAction
e17deb8 Fix minor coding style issue
0c29e1d Remove ConfigCliParser class
5b9cb41 Add support for positional arguments
dbc72a6 Use stock argparse behaviour for optional args
768a147 Use stock argparse --usage behaviour
ac180b9 Use stock argparse --version behaviour
0787e38 Remove add_option() method
5afead0 Completely remove cfg's disable_interspersed_args()
5f564b2 argparse support for cfg
d7b6397 Add a missing comma in a docstring.
aca1805 cfg: fix required if option has a dash
Note: various utilities/services with command line parameters needed to be
updated due to the changes mentioned above. The downside is that these are
not backward compatible. Unknown arguments are no ignored. Only bound
arguments will be treated.
Thanks to Mark McLoughlin for migration cli code changes.
Change-Id: Ia776e78cc55f4ed33ace5efa8d726b70e3fa4131
implements blueprint quantum-db-upgrades
This changeset provide database migration capabilities to Quantum by
wrapping the Alembic library.
Change-Id: I8ba3a07f5a65e0fda9c0e85ed9c07c5978c53bc7