1219 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
5e76bab500 Updated from global requirements
Change-Id: I4c012f83dbf5d4dcc6a38c0de5214e07b22fd2aa
2016-11-06 02:03:55 +00:00
Henry Gessau
549b1ce29d Remove last vestiges of oslo-incubator
This is a community goal for Ocata.  We're already not using any of
the code, but there are some other files and references left over.

This file used to be installed from oslo-incubator:
  tools/install_venv_common.py
It was meant to be used by the legacy run_tests.sh, which does not
exist in this repo.

Change-Id: I5040101102167ae3c2701019ceaad8bf8833a3c1
Partial-Bug: #1639103
2016-11-03 22:43:47 -04:00
Jenkins
caf8811679 Merge "UDPStatusGetter socket bind fix for ipv6" 2016-11-01 22:42:55 +00:00
OpenStack Proposal Bot
7476aea667 Updated from global requirements
Change-Id: I7b5361e57308008e58cc32a312138226efefe2c6
2016-10-27 12:19:25 +00:00
Adam Harwell
7e4ac5ba72 UDPStatusGetter socket bind fix for ipv6
Change-Id: I8b34d2212e46c9e4f2ceef040c5eeb03d29172b8
Co-Authored-By: Dustin Lundquist <dustin@null-ptr.net>
2016-10-26 17:09:30 +02:00
Jenkins
ae0ca96e8a Merge "Add a new API to list loadbalancer statistics" 2016-10-26 13:17:56 +00:00
Jenkins
c865fcc455 Merge "Updated from global requirements" 2016-10-26 12:52:06 +00:00
Jenkins
0d3601fd3b Merge "Add class 'StatsMixin'" 2016-10-26 12:33:19 +00:00
Adam Harwell
dd72b831ba Fix health_sender test to use a list instead of tuple
This will unblock our gate! :)

Change-Id: I147928f678e5f292115fcbae7722a065c45041b5
2016-10-26 10:40:03 +02:00
OpenStack Proposal Bot
edd37783fe Updated from global requirements
Change-Id: I2d464091d4094e58aecb9014175d7993c8eefdc1
Depends-On: Icdce83d731642724ea3ce6920b84c25d61bd63c5
2016-10-25 13:20:29 +00:00
Dustin Lundquist
cebfd319ae C10k load testing environment script
Including a script to reproduce our test environment from c10k testing.
Also including two new features to test httpd: arbitrary response delay
for slow connections and path to reset counters for subsequent tests
with the same backend instances.

Change-Id: I5171d1addcc546050213d96bf7d00af0ff1bad80
2016-10-18 16:53:43 -07:00
Jenkins
2ae8f14471 Merge "Enable support for multinode in the gate hook" 2016-10-18 10:18:50 +00:00
Jenkins
ce691e1145 Merge "Increase the verbosity of haproxy.rest_api_driver failures" 2016-10-18 10:16:19 +00:00
Jenkins
9ace196a94 Merge "Update .coveragerc after the removal of openstack directory" 2016-10-18 10:15:49 +00:00
Jenkins
0995b81f22 Merge "Scenario: test with concurrent clients" 2016-10-17 21:04:11 +00:00
Dustin Lundquist
2a7c6f4b17 Scenario: test with concurrent clients
Test load balancer with multiple client threads sending requests
concurrently.

Rename _check_connection() to _wait_for_http_service() to better
communicate what this method does.

Extend _send_requests() to accept an optional path argument.

Use screen instead of nohup to background test httpd in CirrOS
instances.

Remove duplicate initialization of server_ips from BaseTestCase.

Change-Id: Ia3fa2ee1977c630e70a13e069e383edfd81ecde8
2016-10-17 15:34:07 +00:00
Miguel Angel Ajo
dfe1dc069d Increase the verbosity of haproxy.rest_api_driver failures
Otherwise it's impossible to identify what's the cause of the
failure (connection, timeout, certificate, etc..).

Change-Id: Ia4eda232b1d3ee5e9f7c2958a4857e155230affb
Closes-Bug: 1633427
2016-10-17 16:33:16 +02:00
Deepak
03844a6c02 Update .coveragerc after the removal of openstack directory
The openstack directory was used to keep codes from oslo-incubator,
we have retired oslo-incubator,so don't use this directory any more.

Change-Id: I9ad0065bcc564dd21457ce58fc32372b22ad29cb
2016-10-17 17:11:16 +05:30
Miguel Angel Ajo
da97896e8d Enable support for multinode in the gate hook
This deploys two controller nodes with an haproxy in
fron of the main API endpoint and workers on both
nodes: primary and subnode1.

Change-Id: Iecc38aa950e8b5a4c42db6b609820443efe437c2
Related-Bug: 1628481
2016-10-17 10:50:31 +02:00
chen-li
e6507ed080 Add a new API to list loadbalancer statistics
Change-Id: I4521fdaa2f1e2f8f80d5def311ae67937e84479a
Implements: blueprint stats-support
2016-10-16 20:17:24 -05:00
chen-li
8ee4def2b3 Add class 'StatsMixin'
1. Add class 'StatsMixin'
2. Fix the listener's stats

Change-Id: I7930d52c083c7089382583d657a77ac9969b46ff
Implements: blueprint stats-support
2016-10-16 20:14:15 -05:00
Jenkins
fe267c46b3 Merge "Fixes pregenerated certificates validity to 50y" 2016-10-15 15:06:44 +00:00
Jenkins
9ccbe5b605 Merge "Update haproxy logging configuration" 2016-10-15 15:06:38 +00:00
OpenStack Proposal Bot
cc7f1ae04f Updated from global requirements
Change-Id: I5534abca550637634cb13c653bdefe696bef7e3a
2016-10-15 00:09:31 +00:00
Jenkins
efa4a14f52 Merge "Load system sysctl in amphora network namespace" 2016-10-14 23:10:11 +00:00
Stephen Balukoff
ae5a3a99fb Update haproxy logging configuration
Use httplog for appropriate listeners in default amphora image, instead
of tcplog for everything.

Change-Id: I162862dace86556262d25cbe8ab10433139ffc89
2016-10-14 13:49:03 -07:00
Stephen Balukoff
838e52f245 Load system sysctl in amphora network namespace
In the default amphora image, load system sysctl optimizations inside
the amphora-haproxy network namespace when it's created.

Change-Id: I00981460c18784f268ee048662dfe0e42d4f42f3
Co-Authored-By: Dustin Lundqiust <dustin@null-ptr.net>
2016-10-14 13:43:19 -07:00
Miguel Angel Ajo
257848697b Fixes pregenerated certificates validity to 50y
The existing pregenerated certificates (CA) were already expired
and not working on the multinode tests. Those pregenerated
certificates are used so all the nodes share the same CA.

This patch introduces a script to regenerate the certs in the
repo too.

Change-Id: I977c29e3d5867e22efd60d6bdda8a98a26559fc9
Closes-Bug: 1633436
2016-10-14 18:05:12 +02:00
OpenStack Proposal Bot
4d8cd69a67 Updated from global requirements
Change-Id: Ib37c2df28b3c3cca6030fda0389968f77945eb1c
2016-10-14 05:41:04 +00:00
Jenkins
3ef947ad3a Merge "Add linuxbridge support to devstack plugin" 2016-10-13 21:01:33 +00:00
Jenkins
83acd949d9 Merge "Updated from global requirements" 2016-10-13 19:48:14 +00:00
Deepak
9fe5317e00 Drop MANIFEST.in - it's not needed by pbr
octavia already uses PBR:-
setuptools.setup(
    setup_requires=['pbr>=1.8'],
    pbr=True)

This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.

Change-Id: I0b6a7a6eb3be8c1982a4fd7576dea1db9890f69c
Closes-Bug: #1608980
2016-10-13 16:59:19 +05:30
OpenStack Proposal Bot
8602fbb4d0 Updated from global requirements
Change-Id: I5f991dd7e4e362b5b02f1c469c2d92a007fe5b8d
2016-10-12 22:51:12 +00:00
Stephen Balukoff
253f4e3e43 Add linuxbridge support to devstack plugin
Our devstack plugin assumes the developer is using OVS in their
environment. However, there are sometimes cases where it's useful to run
tests using linuxbridge. This commit adds support for linuxbridge in the
development devstack environment.

Change-Id: Id8fa3f9882bd5dfee7ca5af7060b9c4624363a8e
Co-Authored-By: Dustin Lundqiust <dustin@null-ptr.net>
2016-10-12 15:49:19 -07:00
Jenkins
451faa2534 Merge "Scenario tests: improve test http server" 2016-10-12 21:38:47 +00:00
Dustin Lundquist
03cd2ec434 Scenario tests: improve test http server
Replacing existing bash and netcat based test HTTP server with a golang
implementation, to permit testing of connection limits. While desirable
to avoid introducing an additional testing dependency, employing golang
here solves several problems. The static linked binary works well with
CirrOS images for testing, since not other files need be included in the
CirrOS image. The implementation can scale to large number of
connections (5k in a m1.tiny instance, and in excess of the 20k limit
imposed by Apache Bench in a m1.large) and tracks the maximum number of
concurrent connections reached, this allows connection_limit testing.

Change-Id: Ib1320559142ca05177c5cb93f22baee401c17470
2016-10-12 12:41:04 -07:00
Jenkins
d0ad4f3ff0 Merge "Add MTU configuraion when plugging vip or network" 2016-10-12 00:50:43 +00:00
Jenkins
514edb14b5 Merge "Fix to run functional tests" 2016-10-11 21:24:49 +00:00
Jenkins
7e30228759 Merge "Fix functional tests after HM change" 2016-10-11 20:02:50 +00:00
Jenkins
f8def392ef Merge "Update devstack plugin to use openstack client" 2016-10-11 20:02:43 +00:00
Jenkins
d8617ba76c Merge "Enable release notes translation" 2016-10-11 19:24:27 +00:00
Jenkins
f0da809aaa Merge "Fixes unit test config override" 2016-10-11 19:24:24 +00:00
Jenkins
6045176020 Merge "Fix revert on 404 from amphora agent startup" 2016-10-11 19:09:10 +00:00
Michael Johnson
e2cdd21644 Update devstack plugin to use openstack client
The Octavia devstack plugin is using deprecated nova secgroup-list.
This patch updates the plugin.sh to use the new openstack client
where it can.

Change-Id: I000eff4b2692953fcdaac581aaafe683e9289388
Closes-Bug: #1631087
2016-10-11 18:17:36 +00:00
Michael Johnson
7d3a0f3670 Fix to run functional tests
After the scenario test merge [1] our functional tests were no longer
being run by the py* tests.  This patch adds a functional test
environment and updates the cover environment to include the
functional test coverage.

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

Change-Id: If6b1de66ed441e0c05cc8daf640b6e713d7e0708
Closes-Bug: #1630012
2016-10-11 17:51:08 +00:00
Michael Johnson
01e8e8504a Fix functional tests after HM change
The health monitor defaults update [1] missed updating a functional
test (they were disabled at the time).  This patch fixes those tests
to reflect the change.

[1] https://review.openstack.org/#/c/381993/

Change-Id: I7cdbd0721e0fa675e662e7930e7e21afbb34f39a
Closes-Bug: #1630287
2016-10-11 17:46:00 +00:00
Michael Johnson
81846df1dd Fixes unit test config override
Some of the tests were failing due to improper configuration overrides
in the test cases.  This patch fixes those tests to use the current
recommended method with oslo test fixtures that will cleanup after the
test.

Change-Id: I5f1ea16bbc16056aa756415a618a8f4192436dfd
Closes-Bug: #1630060
2016-10-11 14:17:26 +00:00
He Qing
89f6b2ccef Add MTU configuraion when plugging vip or network
MTU must be set properly because if the tenant network is some kind
of tunnels, the default mtu may cause packets loss.

Change-Id: Ife10cb8b5ad8e5066f2e7a1565ad72a3e1916688
Closes-Bug: #1627687
2016-10-11 10:19:53 +08:00
Jenkins
a97dbf34dd Merge "Amphora agent refactor to classes" 2016-10-10 18:58:03 +00:00
chen-li
5dbff28062 Update listener stats
1. Add request error count
2. Add root element 'listener' in the API response body

Change-Id: I8beb918c176ed848affa264cb036763240d07dcd
Implements: blueprint stats-support
2016-10-09 21:11:42 -05:00