19081 Commits

Author SHA1 Message Date
Jenkins
43ca22c979 Merge "Update link for contribution" 2017-08-31 17:44:20 +00:00
Arnaud Morin
c46ca8a841 Update link for contribution
As documentation was refactored, one link in CONTRIBUTING.rst is
obsolete.

Change-Id: Ie7ce1ddd4a75eb418b8e37211f2058daad05d6f9
Signed-off-by: Arnaud Morin <arnaud.morin@corp.ovh.com>
2017-08-31 16:44:51 +02:00
Jenkins
6b650944e2 Merge "Prioritize tox environment executables for fullstack/functional tests" 2017-08-30 08:39:38 +00:00
Jenkins
3514f3e0d2 Merge "Removed unnecessary setUp calls in tests" 2017-08-29 23:57:56 +00:00
Ihar Hrachyshka
a77fb4ec26 Prioritize tox environment executables for fullstack/functional tests
Otherwise tests will use executables from global paths (f.e. /usr/bin/)
when those are available, which doesn't play well with a system that has
devstack installed.

Change-Id: I3213d5cb570b09d5049b7087cd710337e2698eb3
2017-08-29 13:29:16 -07:00
Boden R
d3c560b788 update docs for stdattr tag support
Tag support was extended to all resources that support the std attr
mechanism. This patch handles a few remaining updates in the docs.

This one is also a candidate for backport to pike if warranted.

Change-Id: I7dfc7a371e6af64dde09c0e712424b8e647d7027
Closes-Bug: #1706307
2017-08-29 14:04:57 -06:00
Jenkins
5d98e30e5c Merge "fix formatting in ubuntu controller install guide" 2017-08-25 19:37:55 +00:00
Jenkins
cea4a2d756 Merge "update contributor internals index" 2017-08-25 19:22:03 +00:00
Jenkins
8060bd5a17 Merge "Tempest: change way how QoS policies are cleaned" 2017-08-25 18:01:14 +00:00
Jenkins
fbc5fb7fa7 Merge "DVR: _get_floatingips_bound_to_host throws KeyError" 2017-08-25 17:59:29 +00:00
Sławek Kapłoński
ac5328dd39 Tempest: change way how QoS policies are cleaned
QoS policy can't be removed from Neutron if it is used by
port or network. Because of this restriction there was method
to disassociate QoS policy from network/port and it had to be
called in each test where policy was attached to network/port.

This patch changes order of cleaning resources that QoS rules and
policies are always cleaned after all networks and ports are removed.
Thanks that there is no need to disassociate QoS policy from
network or port manually in each test.

Change-Id: Id9f6952fb68e1ad35fcd9ce99b9602247e3a229a
2017-08-25 13:30:28 +00:00
Jenkins
1ce7b689b3 Merge "Tempest: Fix cleaning of networks after API tests" 2017-08-25 10:07:29 +00:00
Jenkins
bd4bae90a5 Merge "Stop logging versions on every agent update" 2017-08-25 02:58:29 +00:00
Swaminathan Vasudevan
47fbc6157a DVR: _get_floatingips_bound_to_host throws KeyError
_get_floatingips_bound_to_host function was introduced
recently in dvr_local_router to retrieve the external
interface name for centralizing the floatingip.

This function was throwing a 'KeyError' on fip['host'] and
not required for centralized floatingips anymore.

The get_external_device_interface_name in dvr_local_router
will try to get the 'fg' interface that is required for
the bound floating-ips to clear up some of the rules.
In the case of the centralized unbound floating-ips, the
'qg' external interface is retreived from
get_snat_external_device_interface_name that is defined
in 'dvr_edge_router' and based on the namespace.

So _get_floatingips_bound_to_host can be removed from
get_external_device_inteface_name.

Closes-Bug: 1712412

Change-Id: I94c0a071df32f572745a2c29942956c3da9f309b
2017-08-24 16:03:27 -07:00
Boden R
2750590cde update contributor internals index
A number of our RSTs under doc/srouce/contributor/internals/* are not
referenced from the index.rst and as a result are not
published/accessible in our docs.

This patch updates the index to ref all internal pages.

Change-Id: If534f8d6a7da2807285edb6885c800696d1c50a9
Closes-Bug: #1712907
2017-08-24 13:55:41 -06:00
Sławek Kapłoński
35b3e7b3cf Tempest: Fix cleaning of networks after API tests
In case when network was created with different than default
client (like admin_client) network wasn't properly removed in
cleanup_resources method because default client was used to
delete function and 'NotFound' error returned from Neutron
was silently ignored in such case.

Now networks created by different than default client are
added to "admin_networks" list and are cleaned by admin_client.

Change-Id: I52428262276c16dbe077fcf77b1890f12dccc97d
2017-08-24 19:51:22 +00:00
Boden R
13ddee8aaa fix formatting in ubuntu controller install guide
The ubuntu controller install guide contains improper indentation and
extraneous new lines. As a result the sub-steps for #1 are not shown
in this HTML (generated) guide.

This one needs to also get back-ported to pike.

Change-Id: Ib2b263c8da49ccc8905cbd59331ce6694de232e6
Closes-Bug: #1712107
2017-08-24 13:32:17 -06:00
Armando Migliaccio
941cb677dc Open Queens DB branch
Change-Id: Ie9462853da6ddfe5bc434072f1d3094d0fae9dac
2017-08-24 14:46:01 +00:00
Jenkins
989532a7ac Merge "Fix default qos policy when creating network" 2017-08-24 14:11:00 +00:00
Jenkins
f0e4809ca8 Merge "Fix test_keepalived_ipv6_support for Keepalived v1.2.20" 2017-08-24 09:00:19 +00:00
Jenkins
5d2017efc3 Merge "Hook bandit security linter to pep8 target" 2017-08-24 06:10:40 +00:00
OpenStack Proposal Bot
2ab7c23b45 Updated from global requirements
Change-Id: I7fe9d059016edbb26a8fb6f27a1a6e8b41494edd
2017-08-23 23:28:50 +00:00
Jakub Libosvar
594d8b8b3a functional: Fix reference to ovsdb connection
Change I379448fd135a3bb2ac99709812b9f476c73923a7 replaced connection
attribute of IDL to ovsdb_connection. After updating upper constraints
to newer ovsdbapp version, we no longer have connection attribute.

Change-Id: I6f060fff4df7323a3877f56cb1fa586a22d16670
Closes-bug: #1712594
2017-08-23 14:44:16 +00:00
Hirofumi Ichihara
95bbb7385b Fix default qos policy when creating network
In _create_network_policy(), policy object is passed into _get_policy_obj()
although it expects to be passed policy id. This patch passes policy id
instead of policy object and adds a unit test and API tests.

Change-Id: Ic4c755c54d93d7ca3312b432b7c1e6770f25c359
Closes-bug: #1712278
2017-08-23 13:03:18 +00:00
Jenkins
4bf5b9d5da Merge "Log policy filters in one line" 2017-08-23 11:09:37 +00:00
venkata anil
334a1ed7d5 Fix test_keepalived_ipv6_support for Keepalived v1.2.20
In commit [1] (some explanation in [2] ) VRRP initialisation is enhanced
to read source IP address(to use when sending VRRP packets) from the
HA interface or from keepalived config("unicast_src_ip" parameter).
If it is unable to find IP address, VRRP initialisation will fail with
error "Cannot find an IP address to use for interface".

In the test, we set vrrp->family to AF_INET by setting vip to
169.254.0.1/24 through config, but not providing source IPv4 address(i.e
no 'unicast_src_ip' option or no IP on HA interface), making the test
to fail with [1]. To fix that, we set the IP address on HA interface.

Note: Commit [1] is added in Keepalived version 1.2.20.
Tested the fix on both Keepalived v1.2.19 and Keepalived v1.2.20.

[1] https://github.com/acassen/keepalived/commit/37488e57
[2] https://github.com/acassen/keepalived/issues/445

Closes-bug: #1712388
Change-Id: I260c0e6810ed54c93f93621afa6ab13855ef2428
2017-08-23 14:03:39 +03:00
Jenkins
08bf4706f1 Merge "Fixes input for netlink-lib functional tests" 2017-08-22 17:46:51 +00:00
Jenkins
37804b5127 Merge "add doc section for ml2 extension drivers" 2017-08-21 23:07:34 +00:00
Jenkins
90b3586176 Merge "tests: Log spawned processes by RootHelperProcess" 2017-08-21 22:19:25 +00:00
Boden R
d5a3b24bde add doc section for ml2 extension drivers
Today the ML2 config reference doesn't mention anything about ML2
extension drivers. While it likely doesn't make sense to clutter the
primary ML2 driver types (type/mech) with extension drivers, this patch
proposes we add a small section about them to link the concept to the
config reference.

Change-Id: Id964e6e4d13d400ea4cd8a1707ad0f08c52ef0b1
Partial-Bug: #1683102
2017-08-21 11:57:43 -06:00
Jenkins
f311b42d28 Merge "Treat Filter as Dict in get_policies" 2017-08-21 01:51:04 +00:00
Jenkins
5b3c713384 Merge "DB migration checklist task for Pike" 2017-08-19 20:45:18 +00:00
Jenkins
90b4a7c511 Merge "Fix DefaultSubnetPool API test" 2017-08-18 23:54:42 +00:00
Reedip
23ef48ad55 Treat Filter as Dict in get_policies
Currently QoS plugin's get_policies doesnt check if the filter
is a dict or not, though similar checks exist in get_rule_types()
and get_policy_rules().
This patch adds the check so that if any consumer passes filters=None
then it is converted to a dict.

TrivialFix
Partial-Bug: #1711165

Change-Id: Id50674c44cd3720dcd8fd6d66361d937599f5992
2017-08-18 05:45:47 +00:00
Jenkins
03c3f7e707 Merge "Stop using v2 identity API" 2017-08-18 00:21:10 +00:00
Jenkins
a6d4773e55 Merge "Add stubs for new ovsdbapp API functions" 2017-08-17 21:43:49 +00:00
Cuong Nguyen
b19fb20336 Fixes input for netlink-lib functional tests
Netlink-lib creates some conntrack entries to verify list_entries()
method. Each entry contains a zone_id, which might be duplicated with
some already existed entries in OS.

This patch proposes a simple verification to make sure entries created by
netlink-lib do not contain existed zone_id.

Change-Id: I4bce5041f82782cf9e51d99c605593afb2cf4fc8
Closes-Bug: #1708030
2017-08-17 15:42:02 +07:00
Jenkins
f9838f40ab Merge "Revert "functional: disable netlink tests"" 2017-08-17 06:32:03 +00:00
Jakub Libosvar
5b51cd8dcb Stop using v2 identity API
v2 identity API was deprecated in Mitaka. There is only a one test
remaining that still relies on the v2 identity API. This patch replaces
v2 with v3.

Change-Id: Iaeb9153084c6864b0982902bbb2ae9c0233266a6
2017-08-16 19:56:22 +00:00
Jenkins
a2686541e8 Merge "releasenotes: Move Pike ignore-notes to a proper file" 2017-08-16 19:20:04 +00:00
Terry Wilson
3103a11f95 Add stubs for new ovsdbapp API functions
Neutron doesn't use these methods, but they will be added to
ovsdbapp 1.0, and being abstractmethods, would cause an error. The
methods are added in I664add660ce0ec3b0da23325ad38580d850e1f29 and
I9352ffe0f245c579fd766ecd00e8ca512f806798.

Change-Id: Ibfdea4890f7d01ddd38872db40a9829d6b6bdf90
2017-08-16 11:56:45 -05:00
Jakub Libosvar
a41ce8d6bb tests: Log spawned processes by RootHelperProcess
This patch logs the command spawned by RootHelperProcess, it is
handy when debugging failed functional tests on upstream gate.

Change-Id: I743a223c4ff4882fdd760a20823150558d5e5f4a
2017-08-16 14:01:04 +02:00
Cao Xuan Hoang
59adf8bf0d Revert "functional: disable netlink tests"
This reverts commit 75ddc9c34e08133ffb618271ca21499365b90ad7.

The bug mentioned in original patch has been fixed in
kernel 4.4.0-92.115. And current gate runs with the kernel.
This patch reverts the change to re-enable the netlink tests.

Change-Id: I580e76557e026f45c114b0f4ef6bac5253e3add7
2017-08-16 03:33:26 +00:00
Jenkins
24f02d6a72 Merge "Add documentation for Linux Bridge and OVS ingress QoS" 2017-08-16 03:04:53 +00:00
Jenkins
ba9a308c3f Merge "tests: don't set description in test_blank_update_clears_association" 2017-08-16 01:43:51 +00:00
Jenkins
137b682273 Merge "Fixing test_convert_default_subnetpool_to_non_default" 2017-08-15 22:16:02 +00:00
Jenkins
abb55d6e85 Merge "Add a target to Sinkhole so it's compatible" 2017-08-15 21:15:42 +00:00
Armando Migliaccio
7e1472888e DB migration checklist task for Pike
Change-Id: I4a51e96800bfac31f7d4e0879f32e81e78afbd85
2017-08-15 12:19:32 -07:00
Jenkins
01e46790c6 Merge "Stop logging full object in RPC push code" 2017-08-15 15:18:03 +00:00
Jenkins
bc782c8248 Merge "fullstack: Actually run ovsfw tests" 2017-08-15 03:57:17 +00:00