Commit Graph

794 Commits

Author SHA1 Message Date
OpenDev Sysadmins 5ad2e84918 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:40:26 +00:00
Ian Wienand 47f9dfc91c Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ib994d00e54ea525b3baf33e1c2f5c41beedb2511
2019-03-24 20:34:37 +00:00
Jenkins 26a252e3d7 Merge "Tag the alembic migration revisions for Newton" 2016-09-14 13:48:01 +00:00
Henry Gessau af902a0654 Tag the alembic migration revisions for Newton
This allows the database to be upgraded with the command:
  neutron-db-manage upgrade newton

Migration f399fa0f5f25 is the newton milestone for the expand
branch. It was tagged earlier (although it shouldn't have been).

Migration 61cc795e43e8 was erroneously tagged, so remove the
tag from there.

Also clean up a deprecated use of model_base because the
deprecation warning was cluttering up the output of
neutron-db-manage.

Depends-On: I5b9c02814bdc1945422184a84c49f9e67dcf24a9

Partial-Bug: #1623108

Change-Id: If1820978c1eb6a8c2dbff20b349c0d4108a49258
2016-09-13 20:18:38 -04:00
Jenkins 4357e920e2 Merge "Fixes KeyError while updating bgp peer" 2016-09-14 00:04:58 +00:00
Sreekumar S 89ed530fec Fixes KeyError while updating bgp peer
This will fix the issue of KeyError being thrown when
'password' is not supplied while updating bgp peer.
The dict get() method is used to return None when
'password' key is not available.

Two unit tests are also added which will test the cases
1) Exception thrown if the auth type is 'none', and a
password is supplied when updating
2) When the password is not supplied

Change-Id: Ief9e88ca12b04eb08b0cc4e60f9d883f1e282ae9
Closes-Bug: #1616066
2016-09-08 20:44:42 +05:30
Gary Kotton 9872cecbb8 Use relocated address scope import
Commit 72a722e69d4579e0df680735ab63305d522736aa moved the file.
We now use the correct import and not the deprecated one.

Change-Id: Ida4a0f622c2b25efdbbccb47ecb2694c6de67677
Closes-bug: #1620516
2016-09-08 00:43:32 -07:00
Jenkins bfa90cd8de Merge "Use model_base from neutron-lib" 2016-09-08 07:25:42 +00:00
Jenkins de5b60372d Merge "Revert "Fix NoSuchOptError on identity config option lookup"" 2016-09-08 02:41:06 +00:00
Gary Kotton c8a632acf6 Use model_base from neutron-lib
This removes the deprecation warnings.

In addition to this this also changed HasTenant
to HasProject

Change-Id: I6cce8dffb5f85276d904b101bcd46c04a12a147d
Closes-bug: #1620334
2016-09-06 01:58:20 -07:00
Jenkins 2c4a8bfd2a Merge "Update tox.ini for upper constraints" 2016-09-01 17:33:27 +00:00
OpenStack Proposal Bot 90dd802f0d Updated from global requirements
Change-Id: Iaf3efb8862ceaa558b7de9a0ea0636f2aed36312
2016-08-29 16:50:05 +00:00
Jenkins b62744bcf8 Merge "Fixed "tox -e py27" warning message" 2016-08-29 15:45:08 +00:00
AvnishPal 6d3c8438aa Update tox.ini for upper constraints
Openstack infra now supports upper constraints for
all jobs. Updated tox.ini to use upper constraints
for all jobs.

Change-Id: Iab54f04d873d85c799e6b520314dd0f00db3c257
Closes-Bug: #1614361
2016-08-23 10:59:57 +05:30
fumihiko kakuma 3ffe5283df Revert "Fix NoSuchOptError on identity config option lookup"
Tempest's patch that causes the dr job failure has been reverted.
  I91600d8fc49db670b0f78ffd0094575fbfa0ca63

This reverts commit d23f8f7db4.

Change-Id: I92380d61204ef4ab91dedba5317cb6fbd4327590
2016-08-22 21:59:47 +00:00
fumihiko kakuma d23f8f7db4 Fix NoSuchOptError on identity config option lookup
The following change moved some options from identity section
to service_clients section. This will fail tempest job.

  https://review.openstack.org/#/c/349749/

Related Change-Id: I5ef0e7cc79609ba9df31d6573fe935a6e8d837f4
Change-Id: I15024888dd786dccdff770aba4980df7fefd877f
Closes-bug: #1614799
2016-08-19 12:25:14 +09:00
Jenkins 8be07afef2 Merge "remove unused LOG" 2016-08-17 06:12:24 +00:00
Jenkins c91341b7bd Merge "Add Python 3.5 venv and classifier" 2016-08-17 06:12:18 +00:00
Jenkins 1c06b4a92a Merge "Updated from global requirements" 2016-08-17 06:01:22 +00:00
Jenkins 02480cfe82 Merge "Allow to run functional tests" 2016-08-17 06:01:17 +00:00
Jenkins 26e50f7818 Merge "Remove temporary local HasProject" 2016-08-17 06:01:11 +00:00
Jenkins 98b8d39448 Merge "Remove duplicate test l3plugin" 2016-08-17 06:01:06 +00:00
vikram.choudhary 294b615702 Fixed "tox -e py27" warning message
tox shows warning message as follow.

py27 runtests: PYTHONHASHSEED='3460558810'
py27 runtests: commands[0] | find . -type f -name *.py[c|o] -delete
WARNING:test command found but not installed in testenv
  cmd: /usr/bin/find
  env: /home/vikram/myData/work/openstack/neutron-dynamic-routing/.tox/py27
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
py27 runtests: commands[1] | find . -type d -name __pycache__ -delete
WARNING:test command found but not installed in testenv
  cmd: /usr/bin/find
  env: /home/vikram/myData/work/openstack/neutron-dynamic-routing/.tox/py27
Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting.
py27 runtests: commands[2] | sh tools/pretty_tox.sh

It seems that "find" command needs full path in tox.ini

Partial-Bug: #1560003
Change-Id: Iafd0ea9fc6a79859313c004845003c7e71c2c216
2016-08-16 13:32:22 +05:30
qinchunhua 067c90276a Add Python 3.5 venv and classifier
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: I6b74811ef13caa3006a52e331346acc59eaca017
2016-08-13 07:57:27 +00:00
OpenStack Proposal Bot c20333d37b Updated from global requirements
Change-Id: I954e8f01efa04c7ace2f880a7d58a74f05212d47
2016-08-12 04:51:28 +00:00
Henry Gessau acb95a15c1 Remove temporary local HasProject
Now that the tenant_id rename has merged in Neutron we can
remove the temporary work-around.

Related Blueprint: keystone-v3

Change-Id: Ic69bb5edee913686bd85c19d9fb0bcae0b3907b3
2016-08-12 00:18:19 -04:00
fumihiko kakuma a2ebd8704b Allow to run functional tests
This change allows to run functional tests adding gate_hook.sh and
post_test_hook.sh scripts.

Partial-Bug: #1560003
Change-Id: I1d34e4f3eaf2ea8de9aab070513c6590e8e785dd
2016-08-10 14:01:20 +09:00
Henry Gessau bd0473b683 Enable DeprecationWarning in test environments
Many deprecations are triggered early (on imports, for example)
before the warnings are enabled by the WarningsFixture in the
base test class.

To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable.

Change-Id: I25c6d9fe0c50fd117a432ce6ca9a31e104503ffc
2016-08-09 18:53:05 -04:00
OpenStack Proposal Bot 38fe630f30 Updated from global requirements
Change-Id: I1b00303fa207013b8f5b387162d8d69a1b90e684
2016-08-08 21:41:46 +00:00
LIU Yulong 11965147fe BGP: exclude legacy fip in DVR fip host routes query
When query a bgpspeaker's routes, the DVR fip host routes query
will get the routes including the central fip routes. This will
let the central fip has more than one next_hop routes.

This patch adds a RouterExtraAttributes check for the distributed
routers during the DVR fip host routes query.

Change-Id: Idb237d4563236c24c19abd8234cfdec4f2373eee
Closes-Bug: #1608406
2016-08-08 16:09:47 +08:00
LIU Yulong 2a6990ab5a Remove duplicate test l3plugin
Remove the duplicate test l3plugin in test_bgp_db.BgpTests.
TrivialFix

Change-Id: I4563885c08743f00b2d3269fec9a2ee779a727cb
2016-07-28 06:14:57 +00:00
Henry Gessau b116f47e7e Rename DB columns: tenant -> project
All occurences of ``tenant_id`` across the neutron database are
being renamed to ``project_id``.

This neutron-dynamic-routing change accompanies the neutron change:
I87a8ef342ccea004731ba0192b23a8e79bc382dc

Change-Id: If6a4db955a2e00635a37605dc165cf9f2f0fac31
Partially-Implements: blueprint keystone-v3
2016-07-21 14:58:09 +00:00
Jenkins 4a1181199c Merge "Use six.text_type instead of unicode" 2016-07-19 15:34:01 +00:00
Jenkins 58e3e42894 Merge "Add bgp speaker and route advertisement doc" 2016-07-19 15:33:18 +00:00
qinchunhua 24c9d87b68 Use six.text_type instead of unicode
Use six.text_type instead of unicode for python34-support.

Change-Id: I2782cd25749833c51d6a970654f8b5234f9aa064
2016-07-19 02:05:39 +00:00
ZhaoBo 73a8f8cc14 Add bgp speaker and route advertisement doc
This patch add bpg-speaker.rst and route-advertisement.rst into
neutron-dynamic-routing project.

Change-Id: I67ea3461402aa5395c125ac4b577901d35eaedba
Partially-Implements: blueprint bgp-spinout
2016-07-18 15:58:09 +00:00
Ryan Tidwell a636af4e30 Clean up API tests for neutron-dynamic-routing
This patch adds the devstack plugin for neutron-dynamic-routing,
allowing the API tests here to be run in check jobs and under the
tempest framework. It also cleans up the API tests so they execute
properly after being spun out of the main repository.

Change-Id: I0ed82282037fa6c571dd73c8d9900d8e5d0c93c7
Implements: blueprint bgp-spinout
2016-07-15 14:45:47 -07:00
Dongcan Ye 1d7155cc0c Fix bug for Permission denied
Permission denied for creating directory '/etc/neutron', here we
use root privilege for creating the directory, then set the owner
as STACK_USER.

Change-Id: I2133d3f92dcec7e3187a6382ded233ac1f36fee7
Closes-Bug: #1595795
2016-07-13 12:34:31 -07:00
OpenStack Proposal Bot 9215057be0 Updated from global requirements
Change-Id: Ie05c2798098941ae2955258e2cfff2226f2b5c57
2016-07-12 16:38:13 +00:00
Jens Rosenboom 9e0819f2d0 Remove unhelpful test of oslo.service ServiceLauncher
Similar to what has been done in [1], we should not test functionality
that is internal to oslo.service, so remove the corresponding test.

[1] https://review.openstack.org/316331

Change-Id: I2daa1d67a8a0dbe1f1ef5af333746b23e9edc3bb
2016-07-11 12:39:13 +02:00
ji-xuepeng 78eff22b59 remove unused LOG
This is to remove unused LOG to keep code clean.

Change-Id: I42db7a0f335cc5a2759a4b18ffc33be1e6a4f75e
2016-07-10 15:05:32 +08:00
Jenkins 7607f0eb94 Merge "Document about how to test dynamic routing" 2016-07-09 22:44:38 +00:00
yuyangbj 3db1097c07 Document about how to test dynamic routing
Partially-Implements: blueprint bgp-spinout
Partial-Bug: #156000
Change-Id: I49f3ba285a4b66766e1f04103fd08798e3c0628b
2016-07-08 13:11:32 +08:00
Dongcan Ye 15c83c5b12 Fix unicode bug for password-authenticated BGP peer
Using encodeutils convert password to utf-8 format.

Change-Id: I77211a75e38d8dcc8cfa54e1c31a3b94c277c3a8
Closes-Bug: #1592982
2016-07-06 16:43:18 +08:00
YAMAMOTO Takashi e2581d50e7 Fix _get_id_for
Raise BadRequest on the absense of the attribute.
Also, ensure that the value is actually a UUID-like.

Closes-Bug: #1595078
Change-Id: I6c236d5e4acdd6f13eca2877163facc2860a9445
2016-06-23 14:58:47 +09:00
Jenkins ac14672612 Merge "Fix API document" 2016-06-20 16:55:11 +00:00
Jenkins 129836b0bc Merge "Trivial documentation change to trigger publish job" 2016-06-20 16:52:38 +00:00
Jenkins 5d40539ec2 Merge "Fix subunit trace help" 2016-06-20 16:52:32 +00:00
Gary Kotton dc8dead6b3 Fix subunit trace help
Fixes a typo.

proccesed => processed

TrivialFix

Change-Id: I875694210331bdb413611be9602315a84f12e7f9
2016-06-16 22:59:39 -07:00
Gary Kotton 18590cba18 Address FutureWarning for invalid UUIDs
Ensure that the following warning does not appear in the tests:

    FutureWarning: test-tenant is an invalid UUID. Using
    UUIDFields with invalid UUIDs is no longer supported,
    and will be removed in a future release. Please update
    your code to input valid UUIDs or accept ValueErrors
    for invalid UUIDs. See http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField
    for further details

TrivialFix

Change-Id: Ie34627380526734e3d6895859e7805f3023ddc78
2016-06-16 11:34:22 -07:00