Commit Graph

2112 Commits

Author SHA1 Message Date
Tony Breeds 449a1f66c9 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I161dc093726c3c8cce5a7057282743ca4908eb57
2017-09-12 15:43:12 -06:00
Jenkins 88541fa2f5 Merge "Allowing lock to be applied per task basis" 2017-07-25 07:11:13 +00:00
Jenkins aab9d01ea1 Merge "Rearranging the documentaion layout" 2017-07-24 23:46:11 +00:00
Manjeet Singh Bhatia 4f897654b7 Enable Placement-api for grenade job
Some Errors [1]. in nova logs were spotted due to placement-api,
this patch enable placement api to reduce the errors.

[1]. http://logs.openstack.org/31/484531/3/check/gate-grenade-dsvm-networking-odl-nv/ea48ca5/logs/old/screen-n-cpu.txt.gz?level=ERROR

Change-Id: I0246fd228a1aea833c33c6c8367286a2ed2d2c02
2017-07-24 16:15:01 +00:00
Rajiv Kumar 9600031f77 Allowing lock to be applied per task basis
To make multiple process or threads to execute periodic
tasks parallely, locks are being applied per tasks basis rather
than on the table.

This patch makes sure that a single periodic thread in a process
exist. All the tasks are managed by a single instance
of PeriodicTask class.

If a task is just executed then other tasks can not acquire lock
in time less then periodic time interval. Therefor this prevent
periodic task to be executed by process on the same host or
different host back to back.

Change-Id: Id9054515721ce28a84b3a42d4cece7e3e096ad0c
Partially-Implements: blueprint v2driver-activities-in-pike
2017-07-24 10:22:45 +05:30
Pramod 6e829e2af6 Rearranging the documentaion layout
https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: I7488a99d5d5f8adf4bf152bd0a28b610d9bc8ed2
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
2017-07-23 23:05:39 +00:00
Jenkins 9128723cfa Merge "pseudo agent port binding: log owner and device_id" 2017-07-23 07:25:28 +00:00
Jenkins e4f3d2b944 Merge "Use v2 driver for mechanism and l3" 2017-07-22 14:48:10 +00:00
Jenkins e83edacabd Merge "journal: partially implement sg/sgrule dependency" 2017-07-22 12:59:39 +00:00
Jenkins 8e4a5f42c4 Merge "unit test: mock.patch before super.setUp" 2017-07-21 23:35:04 +00:00
Isaku Yamahata b2fc9700ee pseudo agent port binding: log owner and device_id
When port binding fails, log device_owner and device_id in addition
to the existing ones. They are helpful to determine what port is for.
e.g. vm, dhcp, router etc when diagnosing failure of port binding.
There is a race condition between dhcp port creation and network
deletion because notification to dhcp agent can be delayed.
If dhcp port is to be bound after network is deleted, the binding
fails. It's safe to ignore such a case.

Change-Id: I26e235fa3e0bdab5e3d568a9a0f60a380642c760
2017-07-21 16:43:34 +00:00
Jenkins a047729b1f Merge "OpenDaylight Ceilometer Driver" 2017-07-21 12:37:20 +00:00
Isaku Yamahata c108ef4629 unit test: mock.patch before super.setUp
There are intermittent failures with journal db. e.g. there is should
corresponding journal entry, but it didn't.
One of the possible causes is, there can be one or more journal threads
running unintentionally. In principle JournalThread is prevented from
creating thread by mocking methods that spawns such threads.
Make it sure that do mock.patch or useFixture which calls mock.patch
before calling super.setUp

Change-Id: I884c6ca5c07f330c2c416226d95304ac618bfc66
2017-07-20 16:20:58 -07:00
Jenkins 5b9b3e02c5 Merge "Enable members of lbaas to use custom url builder" 2017-07-20 14:49:39 +00:00
Jenkins 4281705f5e Merge "Change dependency validation to calculation" 2017-07-20 12:14:58 +00:00
Jenkins d98fec8dc2 Merge "Update URLs in documents according to document migration" 2017-07-20 08:28:14 +00:00
OpenStack Proposal Bot d8dc6e50d6 Updated from global requirements
Change-Id: I9fc97c8e8378ee19e8c4d561c7796c94c2abbc17
2017-07-19 22:23:51 +00:00
Jenkins 48f8209195 Merge "unit: consolidate mocking start_odl_sync_thread" 2017-07-19 21:19:04 +00:00
Jenkins 4a214c9ad0 Merge "Create journal dependencies table" 2017-07-19 14:47:25 +00:00
Jenkins 1b19b13627 Merge "Load port status update worker in V1 driver" 2017-07-19 10:10:26 +00:00
Jenkins 9e42cb95a0 Merge "devstack: add carbon SR1 release definition" 2017-07-19 09:50:52 +00:00
Luong Anh Tuan 47e1a2dae9 Update URLs in documents according to document migration
Change-Id: Ic6479dd025322860da93cbbde657abc38d176cff
2017-07-19 06:03:54 +00:00
Rajiv Kumar 50bae4f47e Enable members of lbaas to use custom url builder
Member APIs contains /pool/<pool-id>/member/<member-id> which
increased thse size of the column. And current implementation
is not the clean way of implementing member operation. Because
wrong information related to object type is stored in database.

Customied URL builder for lbaas member resource is used to
the discussed issues.

Change-Id: Ic61aaeb8d8d47c75d3d6834c581fb40968145ba2
2017-07-19 04:53:18 +00:00
Jenkins 14ee893579 Merge "functional tests: don't run journal timer" 2017-07-19 02:51:17 +00:00
Isaku Yamahata c13c4f99ef journal: partially implement sg/sgrule dependency
https://bugs.opendaylight.org/show_bug.cgi?id=8069

Change-Id: I8e44d8ba4eb096f1c969561d5f2873754ca636a9
Partial-bug: #1660911
2017-07-18 18:41:28 +00:00
Manjeet Singh Bhatia e0d69a0895 Use v2 driver for mechanism and l3
This patch updates the grenade configuration to use v2 driver
for mechanism and v2 l3 driver.

Change-Id: Icf9370978515b9d6e3eb4db63dabed3a1e3b8bbb
2017-07-18 16:17:33 +00:00
Mike Kolesnik 46eb7f964e Load port status update worker in V1 driver
Port status update worker wasn't loaded, causing VM launch to fail when
using pseudo agent binding which is the default.

Change-Id: I39c971899e6133f31b05adebcd30398f8d93b11f
2017-07-18 13:42:03 +03:00
Mike Kolesnik 95b8068dc5 Change dependency validation to calculation
This change moves dependency calculations to happen when creating a
journal entry. This way, each journal entry only depends on the known
information at that time reducing the possibility or errors dues to
dependency calculations taking into account later journal entries.
Also journal entries won't be attempted unless they have no
dependencies, reducing the need to lock & unlock journal entries that
aren't free of dependencies yet.
More info can be found in the spec [1].

[1] https://docs.openstack.org/developer/networking-odl/specs/dep-validations-on-create.html

Implements: blueprint dep-validations-on-create
Change-Id: I7c9ba3b42017749ce871735942926849ee09228e
2017-07-18 13:21:21 +03:00
Mike Kolesnik 00490a04be Create journal dependencies table
The table will keep dependencies of journal entries upon one another,
and will be utilized later on.

Partially-Implements: blueprint dep-validations-on-create
Change-Id: Ie39fde548016ecd20ae0f68d158c7e82b9dd3e8c
2017-07-18 13:15:29 +03:00
Jenkins a4c9ca2b1c Merge "Support for recovery of all resources" 2017-07-18 08:44:28 +00:00
Isaku Yamahata 2d34f2b493 unit: consolidate mocking start_odl_sync_thread
Introduce fixture to mock start_odl_sync_thread.
and mock _start_sync_timer. It's also needs to be mocked
to avoid running timer unintentionally.

Change-Id: I8298189fcbe56028fa08b96cb50f50d5163a58f0
2017-07-17 21:59:14 -07:00
Jenkins 9272b7a6eb Merge "Enable full-sync for the bgpvpn, lbaas, qos, sfc, trunk driver" 2017-07-18 04:57:17 +00:00
Jenkins 42a69fc193 Merge "Bug 1704057: port status upate: missing add of provisioning component" 2017-07-16 15:38:42 +00:00
Isaku Yamahata 1b068d035c devstack: add carbon SR1 release definition
As carbon SR1 is released, update odl release definition
for carbon SR1 and carbon snapshot 0.6.2

Change-Id: If3c60857a563a8c3ade81609de345873fe68bdba
2017-07-14 17:18:22 -07:00
Jenkins cd46f2fb44 Merge "journal: sleep when error" 2017-07-14 10:18:07 +00:00
Jenkins 56dd932e18 Merge "enable warning-is-error for sphinx build" 2017-07-14 09:53:33 +00:00
Jenkins 535549ecb2 Merge "[Gate] Remove releases older than Boron" 2017-07-14 07:34:10 +00:00
rajiv 22d186c8cc Support for recovery of all resources
Currently ml2 and l3 resources are recovered other resources are
not being recovered. This patch adds lbaas, l2gw, trunk, sfc for
recovery.

Resources are registered at the time of initialization of driver
and registered resources are used for recovery.

Closes-bug: #1701207
Change-Id: Ib3d219953e73cb6aad4fd09637e996b61d4a32d6
2017-07-14 05:39:34 +00:00
Isaku Yamahata 86fd401d94 enable warning-is-error for sphinx build
Change-Id: I0c10d6c60094635b71a4cdcffe1cbfef5a690598
2017-07-13 15:29:26 +00:00
Josh 98ad5bea70 Bug 1704057: port status upate: missing add of provisioning component
Added call to add_provisioning_component call in pseudo_agentdb_binding

Closes-Bug: #1704057
Change-Id: Id4aee878813fd34f6a41174eede030ff27172907
2017-07-13 13:22:42 +03:00
Deepthi V V 116951feb3 OpenDaylight Ceilometer Driver
1. Add OpenDaylight Ceilometer driver to collect network statistics from ODL
through its REST APIs.
2. Set project_id of the meters as:
   a. Admin tenant id for all switch.* meters
   b. Tenant id who created the neutron port for port.* meters.

Change-Id: Id1fc02eb413366b87b2f28799a1d38ed120acb7d
Implements: blueprint network-statistics-from-opendaylight
Depend-On: I0e65d25e71d2d258ff0db76f020924170f380ec2
2017-07-13 14:48:30 +05:30
Isaku Yamahata 473477441a journal: sleep when error
When error, sleep to avoid busy looping to hit same issue.

Change-Id: Ib07c8b6d853dc98899859b7aba581a7c00f295d4
2017-07-12 16:05:18 -07:00
Manjeet Singh Bhatia f59dba86d7 Use new Netvirt for dsvm-fullstack
Recently a change [1] was merged which forced new netvirt
to be used for all gate jobs, but intention was to use it
for fullstack carbon and nitrogen job. This is followup to
revert [2] of [1]

[1]. https://review.openstack.org/#/c/482281/
[2]. https://review.openstack.org/#/c/482814/

Change-Id: I495c2fa61d233cea74a5fd7c2f0145f7821700e5
2017-07-12 16:25:08 +00:00
Jenkins 36de2a102b Merge "Revert "Update Full stack config"" 2017-07-12 14:02:56 +00:00
Mike Kolesnik cc29890a97 [Gate] Remove releases older than Boron
There's no gate jobs to test these releases anymore, removing them to
simplify the gate scripts

Change-Id: I613827dccb979b7a14b200aee98c963e663dea08
2017-07-12 12:50:47 +00:00
Isaku Yamahata 1b750a45b2 Revert "Update Full stack config"
This reverts commit eaa9ab1d39.

The mentioned commit causes the gate tempest jobs to run with the new
netvirt, even though some of them are defined to run with the old one.

Change-Id: I4ce69e60ef700739e9e5652cc1fa22cd5b7bc491
2017-07-12 11:19:24 +03:00
Jenkins 82fad3ac21 Merge "Update full stack test" 2017-07-12 04:41:05 +00:00
Jenkins 1cf69166a6 Merge "Update Full stack config" 2017-07-11 23:57:06 +00:00
Manjeet Singh Bhatia 9308c4ca33 Update full stack test
The way test have been done in the past was passing
in any generated uuid for instance and fake tap device
for ovs vif plugging and checks if mac address of plugged
port exists in flow, this may not work with new netvirt.

this patch update the test to list ports on bridge and checks
if tap device exists in results.

Change-Id: Ica0004bfd69e3e29c4d528191c42ff8d3f4485a6
2017-07-11 23:02:41 +00:00
Jenkins ecd4ae0bce Merge "Change journal entry selection to optimistic locking" 2017-07-11 17:22:32 +00:00