Commit Graph

2415 Commits

Author SHA1 Message Date
Tony Breeds 096342fb3e 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: I67e1acffc1af0e9e052836a6d5dfed72f3702366
2017-09-12 15:44:14 -06:00
Jenkins f32a0ec5bd Merge "fixed health monitor setting during tempest test," 2017-07-20 23:04:46 +00:00
OpenStack Proposal Bot 8b5af4d4b5 Updated from global requirements
Change-Id: Ifb2742ac1d3ee6104ebde61f19d555bc8b7fcd60
2017-07-19 18:38:05 +00:00
Evgeny Fedoruk 63d9715516 Enhancements for the the back-end system
Adding new parameter for back-end system
for neutron port allowed_address_pairs update

Adding support for identifying deleted entities
when status is not PENDING_DELETE

Minor enhancements

Change-Id: I1bca752c23843c22e5ad45dcb9302a6bf1ec63fb
Closes-Bug: 1701881
2017-07-18 14:38:51 +00:00
Sumit Jamgade 679ee2414f fixed health monitor setting during tempest test,
`resource_set_health_monitor` is a class method, so the `cls` param will
be a class object and not an instantiated object, whereas
`_create_health_monitor` is not a classmethod can thus be called only
when bound to an object.

This fix keeps the method as classmethod and
allows passing a `creater` which can be used as factory of `health
monitors`

Change-Id: I192bec90097be92fda122b01aebf9e820ea7bb67
Closes-bug: 1703597
2017-07-18 14:38:31 +00:00
Michael Johnson a004393d39 Fix a namespace collision issue.
Both the neutron-lbaas and neutron tests have a new_update_request method.
The neutron version is brought in via a mixin where the neutron-lbaas
verision is in the base unit test class.

This is a quick and dirty fix by renaming the neutron-lbaas version to
get the gates functioning again.

Change-Id: Ie89fda13ce5917aa9e0eb50125b29b77a5d787c9
2017-07-17 10:52:10 -07:00
Jenkins dc679e7bbd Merge "use service type constants from neutron_lib plugins" 2017-07-06 11:02:32 +00:00
Jenkins 9ed46324dc Merge "Raise VipNetworkInvalid when create lb with no-subnets vipnet" 2017-07-06 01:29:40 +00:00
Boden R cdbca65b16 use service type constants from neutron_lib plugins
The well known service type constants are in
neutron_lib.plugins.constants, but for legacy reasons a few still exist
and are referenced from neutron_lib.constants [1] that we'd like to
remove.

This patch switches references over to neutron_lib's plugin constants.

[1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/constants.py#L353

Change-Id: Ib5fbba08275402f1db05f021a2ed10bfe165c970
2017-06-27 12:52:45 -06:00
OpenStack Proposal Bot 997a4556a0 Updated from global requirements
Change-Id: Ic6a3784b2d5a2620b603f2b774b2b65d91e0d5de
2017-06-27 12:15:09 +00:00
Jenkins 2c054e0c33 Merge "Replace the usage of 'manager' with 'os_primary'" 2017-06-27 03:48:25 +00:00
Vu Cong Tuan de2fa1ea4d Replace the usage of 'manager' with 'os_primary'
In tempest, alias 'manager' has been moved to 'os_primary'
in version Pike, and it will be removed in version Queens [1].

The other usages which also need to be replaced, are listed below:
* admin_manager > os_admin [2]
* os_adm > os_admin [3]
* os > os_primary [4]

[1] https://review.openstack.org/#/c/468036/
[2] https://review.openstack.org/#/c/467852/
[3] https://review.openstack.org/#/c/467605/
[4] https://review.openstack.org/#/c/466991/

Change-Id: Ia7af69f9a4e5b82b1746b506d72c4211b27683af
2017-06-23 18:30:30 +07:00
ZhaoBo 433bd29d01 Raise VipNetworkInvalid when create lb with no-subnets vipnet
This patch throw VipNetworkInvalid in lb creation with vipnet, and there
isn't a subnet in it.

Closes-Bug: #1653086
Change-Id: Ica5e4229e2f8361a624c6c58936aff6df955a769
2017-06-23 03:46:01 +00:00
Jenkins ef0cdaaace Merge "Fixes module not found error in NetScaler LBaaSV2 driver" 2017-06-22 17:36:05 +00:00
Jenkins 3b2edeea2b Merge "Updated from global requirements" 2017-06-22 17:35:59 +00:00
Vu Cong Tuan dc9728c389 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I32e0021bc374c71df81bfb1de586cf462ea24244
2017-06-22 18:02:32 +07:00
OpenStack Proposal Bot ad0aa8f7a1 Updated from global requirements
Change-Id: I51482c6b2858d6f236043c4bb72c37c969069621
2017-06-19 21:07:12 +00:00
Jenkins 0f173b1ddd Merge "Fix the wrong device_owner when recreate LBaas listener" 2017-06-18 19:41:04 +00:00
Mohammed Salih Puthenpurayil d2820ccc9e Fixes module not found error in NetScaler LBaaSV2 driver
NetScaler driver in LBaaSv2 was missing a module named ncc_client.
It was originally placed as part of LBaaSv1 drivers under
neutron_lbaas/services/loadbalancer/drivers/netscaler, but was
removed as part of Change-Id: I506949e75bc62681412358ba689cb07b16311b68
This fix adds ncc_client.py along with the driver and updates the
driver with correct path.

Unit tests were already existing, but some how __init__.py was
missing from the folder. With in tests, fixed couple of refference
to old code.

Change-Id: Iaeb2a1eef3e926bb9549d026770d38cdd56dc773
Closes-Bug: 1697761
Signed-off-by: Mohammed Salih Puthenpurayil <linusali@gmail.com>
2017-06-18 14:06:24 +04:00
OpenStack Proposal Bot e37044917c Updated from global requirements
Change-Id: I6b137a606d604a78ab96f43715995e88e674ef52
2017-06-15 16:28:19 +00:00
ChangBo Guo(gcb) 4c97228900 Remove usage of parameter enforce_type
Oslo.config deprecated parameter enforce_type and change its
default value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0.
Remove the usage of it to avoid DeprecationWarning: "Using the
'enforce_type' argument is deprecated in version '4.0' and will be
removed in version '5.0': The argument enforce_type has changed its
default value to True and then will be removed completely."

Related--Bug: #1517839

Change-Id: If045d76574823f29c58b39a104354abc1407cb8d
2017-06-14 13:23:32 +08:00
Jenkins f59ca384a2 Merge "Replace assertEqual([], items) with assertEmpty(items)" 2017-06-13 14:11:51 +00:00
OpenStack Proposal Bot 23534ecd15 Updated from global requirements
Change-Id: I0e85ebf4d73c7a728f554bede79a82f3c770b006
2017-06-12 12:56:05 +00:00
Vu Cong Tuan a82ef9d5f5 Replace assertEqual([], items) with assertEmpty(items)
Since assertEmpty() function has already been implemented,
let's use this function instead of generic assertEqual() function.
This change makes the code and the error messages to be more readable.
Therefore it improves maintainability a little bit.

Change-Id: Ibbc698eae826a82f7a09f665ac643051f37e7d41
2017-06-12 16:25:53 +07:00
Jenkins 55e6c6f87a Merge "tempest: Add a config for session persistence types" 2017-06-07 15:30:06 +00:00
Jenkins ccef3111d8 Merge "Adding configuration flag for skipping SSL certificate verification" 2017-06-05 14:26:08 +00:00
OpenStack Proposal Bot 2d39556e1a Updated from global requirements
Change-Id: Iaf2e36ffe97c77dcc7a00273477de927d79e4071
2017-06-03 13:08:41 +00:00
OpenStack Proposal Bot f13de20ca6 Updated from global requirements
Change-Id: Ifeae0c0038a41487e31f695809b91bf67f21c708
2017-06-02 02:30:43 +00:00
Evgeny Fedoruk 7cde508cb0 Adding configuration flag for skipping SSL certificate verification
New flag, when used,  will cause HTTPS connections not to verify
SSL certificate, if certificate verification is enabled.

Change-Id: I63acd9c888982f3d805e3de5367d4d2e2ffeafb5
Closes-Bug: 1687366
2017-05-29 06:53:02 -07:00
ZhaoBo 7fa6bb9030 Fix the wrong device_owner when recreate LBaas listener
Currently, lbaas agent refresh loadbalancer based on the number of active
listener, and will update the port with device_own='' if delete the last
listener in loadbalancer.

So the device_owner of the vip port of exist loadbalancer will never
update to the correct one.

This patch add port device_owner field to PUT to guarantee the field is
'neutron:LOADBALANCERV2'.

Change-Id: I2de5800f4a6b06f98174ef42390f0e2c91bf0cfd
Closes-Bug:#1692995
2017-05-24 17:52:14 +08:00
YAMAMOTO Takashi da699d9fa7 tempest: Add a config for session persistence types
The set of supported types can vary among deployements.
For example, MidoNet supports only SOURCE_IP.

Closes-Bug: #1693103
Change-Id: I207e9767889eb220d4c353a7a265e446190bcfc4
2017-05-24 16:30:48 +09:00
Tong Liu 33f88e83ac Rename driver to support different versions
Rename nsxv_driver to more genenric name lbv2_driver to support
different version of vmware drivers (e.g. nsx_v, nsx_v3).

Depends-on: I994d39a5dbdb38e1b7805b2eec97e8ef7719f556
Change-Id: I7308035d38f2ab15a85096ec30388ef5c3f56ca3
2017-05-23 12:37:38 +00:00
OpenStack Proposal Bot af7a2cfe31 Updated from global requirements
Change-Id: I65d7ac91f3114795f2baa315bbf7367b2a4b858e
2017-05-17 13:43:57 +00:00
Jenkins a8315b783b Merge "Updated from global requirements" 2017-05-05 17:29:29 +00:00
OpenStack Proposal Bot 193428fe2d Updated from global requirements
Change-Id: I34a21beb25e3e88f023baf087c2010bb12a8eedf
2017-05-05 02:26:42 +00:00
YAMAMOTO Takashi 2a61f59965 Remove get_namespace from API extensions
It was remove from Neutron long ago. [1]

[1] I3c406910991c33cf959c5345d76153eabe3ace2d

Closes-Bug: #1686890
Change-Id: Iaff439504c79c6f22793d2dcf5ebb3534f51ffaa
2017-05-04 20:54:41 +00:00
e e44ef6d95f Remove log translations from neutron-lbaas
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: Ia323fc58c66c645fca0254ace01a8849ce239525
2017-05-04 11:23:20 -07:00
Assaf Muller 659d222d45 Use Tempest TimeoutException from tempest.lib
TimeoutException was moved to tempest.lib.exceptions and
deleted from tempest.exceptions. This patch uses the up to date
location.

Change-Id: I0a563ac6e70795c277dd6be3d05ace92de72b46d
Closes-Bug: #1686468
2017-04-27 11:57:07 -04:00
Assaf Muller 0ce11e9f27 Fix faulty unit test in haproxy driver
Change-Id: I94e2e0e4f49b63be7caa4a771b4d747317aa503e
Closes-Bug: #1686772
2017-04-27 11:56:02 -04:00
Joe Mills 14526a8902 scenario test: configure scenario test protocols
This allows backends that do not support HTTP to run the
scenario tests.

Change-Id: Idd4221a6310aa68e3f8fce78bd8520f2e65ebdc9
Related-Bug: #1652561
2017-04-19 16:20:34 +09:00
Jenkins a450a57663 Merge "api test: centralize health monitor protocol" 2017-04-19 04:01:39 +00:00
Jenkins 9582aaa3c3 Merge "api test: Add config options for listener/pool protocol" 2017-04-19 04:01:33 +00:00
Jenkins d0e5611baa Merge "api test: Centralize listener/pool protocol" 2017-04-19 04:01:27 +00:00
Jenkins 62885c9294 Merge "Fix doc generation for Python3" 2017-04-19 04:01:22 +00:00
Adam Harwell c54dd8fb2b Trying a different strategy for fixing py3 errors in testing
Change-Id: I54fed484ab2eb5ac54615b1b0ee131a0846d43fa
2017-04-19 01:21:24 +00:00
Sean Dague 0da4437179 Use OS_AUTH_URL instead of baked in defaults
Keystone by default is running without a port, which has exposed
places where the keystone url was hard coded, attempt to use
OS_AUTH_URL directly.

Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: I77658cca1aa82240409a91a2d040c105107ff2e2
2017-04-19 08:01:43 +09:00
M V P Nitesh c8cef78f5e Fix doc generation for Python3
Fix the Sphinx html_last_updated_fmt for Python3.
The html_last_updated_fmt option is interpeted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: Id991d62d87285bf4901a89af64bac138e3ca263e
2017-04-17 17:19:37 +05:30
Jenkins d759a8827f Merge "Fix on __init__ of LoadBalancerManager" 2017-04-17 08:14:58 +00:00
Jenkins 3dc0de73e7 Merge "Remove subunit-trace fork" 2017-04-17 08:14:52 +00:00
Jenkins 19c9af6d28 Merge "Fix py3x errors in tempest testing" 2017-04-17 08:14:46 +00:00