2386 Commits

Author SHA1 Message Date
Zuul
b483af1ebb Merge "Automatically set Barbican ACLs" 2018-07-26 18:33:30 +00:00
Adam Harwell
c3813d9313 Automatically set Barbican ACLs
Story: 2002973
Task: 22981

Co-Authored-By: Carlos Goncalves <cgoncalves@redhat.com>

Change-Id: I51121c599f19a91a6755571abf1c6bd854e7d50f
2018-07-26 14:05:58 +00:00
Zuul
6c485c3111 Merge "Add listener_id to the pool provider object" 2018-07-26 09:40:26 +00:00
Adit Sarfaty
aa5e5bec55 Add listener_id to the pool provider object
Commit If489f7bb956381bc5223556d118cb48571f0873f added the listener id
to the pool provider object for the drivers to use.
This patch implements it.

Change-Id: I535b29756255cc5f1efb92bb3b3510efa7901e23
2018-07-26 06:04:29 +00:00
Adam Harwell
bd0206a6ea Correct naming for quota resources
Story: 2002997
Task: 23013

Change-Id: Ie2f3944676f04e80b8dd4affe947b03d36d854f5
2018-07-25 21:54:54 -07:00
Adit Sarfaty
4688739662 Add baseline object in the drivers update callbacks
Commit Ide4beaf73bb99be5c3b4c71c12fecef3499f45d9 updated the drivers api spec.
This patch implements the new api for the update callbacks which needs the
original objet as well.

Change-Id: I530ec49acdc249a1f29e3e366eee70e29627a047
2018-07-25 22:51:12 +00:00
Zuul
92e00449fc Merge "Init provider drivers at app setup" 2018-07-25 22:26:37 +00:00
Zuul
92963f1899 Merge "Fix version discovery for the Octavia API" 2018-07-25 22:26:09 +00:00
Zuul
82a0464577 Merge "Fixing Octavia generating json named file containing yaml" 2018-07-25 12:02:44 +00:00
Adit Sarfaty
ee1ed746b3 Init provider drivers at app setup
The provider drivers should be initialized at init, to allow configuration
validation, as well as allowing the drivers to perform actions at init.

Change-Id: Iaa6c4cbc65aa24f2c9bc53878226bd2e4b9ba694
2018-07-25 08:42:35 +00:00
Zuul
5b2dab15b7 Merge "Correct the usage on listing neutron ports" 2018-07-25 07:02:10 +00:00
Erik Olof Gunnar Andersson
cfae79cfee Fixing Octavia generating json named file containing yaml
Currently when the command to generate a policy file is used, it will
generate a yaml based file, but call it json.sample.policy. This patch
forces it to generate a json file, and changes the default name to
policy.json.sample.

Change-Id: I4d04f4f37385bd4601f566238aaba43dcbe74780
2018-07-24 13:06:55 +00:00
Michael Johnson
9ca61f2f4a Temporarily disable flow diagraming
The networkx package changed their dependecy model in version 2.1 and
now uses "pydot" and adds the dependency via setuptools "extras".
Unfortunately they only define an "extra" of "all" which installs packages
we do not need and fail to install.

So until the "extras" are fixed in networkx, we need to disable flow
diagraming.

Change-Id: I4f9082c267dc7da14b81cb551eeb10bbf58c175a
See: https://github.com/networkx/networkx/pull/3080
2018-07-22 15:45:09 -07:00
Zuul
af7f5c2896 Merge "Use object instead of object id in the drivers delete callbacks" 2018-07-20 06:57:58 +00:00
Zuul
1320faac93 Merge "Allow setting load balancer topology in Devstack" 2018-07-20 06:39:53 +00:00
Hongbin Lu
73ddf9d5b8 Correct the usage on listing neutron ports
The test case uses 'fixed_ip' as a query parameter, but the usage
is not correct. In before, the test passed because neutron
server ignored this parameter, and returned all the
ports, which happened to make the test pass.

This patch fixes the usage of this parameter. If there is no ip_address
then not to filter the list using the filter. Otherwise,
we use 'fixed_ips' parameter and populate its value correctly.

Change-Id: Iac4a6024e12ada515312ae8dd62719ae4351f508
2018-07-19 15:36:20 +00:00
Zuul
f7a3dce473 Merge "Update pypi url to new url" 2018-07-19 11:55:48 +00:00
Zuul
2170351c96 Merge "Fixes unlimited listener connection limit" 2018-07-19 11:55:45 +00:00
Zuul
32790f5456 Merge "Translate expected package names to installed ones" 2018-07-19 10:37:56 +00:00
Zuul
ee2c5accbc Merge "Fix package version querying on non-dpkg distros" 2018-07-19 10:23:39 +00:00
Tuan Do Anh
b9e050c182 Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I03080319a2c875d5e2af80db02d6056421a1d644
2018-07-19 07:50:11 +00:00
Michael Johnson
294e0fc128 Fixes unlimited listener connection limit
When using the Octavia/amphora driver, unspecified or unlimited (-1)
settings would lead to a 2000 connection limit in HAproxy.
This patch updates that to be 1,000,000 connections.
1,000,000 was selected to amphora memory usage at a reasonable level.

Change-Id: Iddeb62412bb71b69cf1e9198be6131c59a3051b0
Story: 1635416
Task: 5159
2018-07-19 09:47:31 +02:00
Zuul
18da15188d Merge "Add lb_id comment to amp haproxy listener config" 2018-07-18 23:35:52 +00:00
Zuul
3344484872 Merge "Add the missing markup for the hyperlink title" 2018-07-18 22:06:14 +00:00
Zuul
920a15c620 Merge "Add a config to surpress amphora logging" 2018-07-18 11:10:29 +00:00
Adit Sarfaty
1924369fc6 Use object instead of object id in the drivers delete callbacks
Commit Ide4beaf73bb99be5c3b4c71c12fecef3499f45d9 updated the drivers api spec.
This patch implements the new api for the delete callbacks.

Change-Id: Icbabe8b01864175112000b2b5aa769f750a9708b
2018-07-18 09:29:56 +00:00
Adam Harwell
0871dfcd2b Add lb_id comment to amp haproxy listener config
This is useful for debugging purposes, and could theoretically be
interesting data for custom elements.

Story: 2001236
Task: 5756

Change-Id: If5f7793bd16fd6c8841586f29cdcf5e53908b1fe
2018-07-16 11:55:01 -07:00
Carlos Goncalves
1c4004c156 Translate expected package names to installed ones
This patch fixes an issue that caused an internal error to the amphora
agent and led amphorae to transition to FAILURE state. The issue was
that on CentOS-based amphorae HAproxy package name is 'haproxy18' while
the expected package name is 'haproxy'.

The patch introduces a package name per distro map that is consulted
whenever a package has a different name than the one expected. If
there's a miss, it falls back to the expected package name.

Story: 2002958
Task: 22960

Change-Id: I59dfa3f9bd5974302ec72343444813232ec2ea02
2018-07-13 00:40:00 +02:00
Carlos Goncalves
2a7f1e5de2 Fix package version querying on non-dpkg distros
Non-Debian based amphora agents raise internal server error when
querying for a package version. That is due to the fact that the agent
currently assumes dpkg-based distros ignoring other OS families such as
Red Hat, SUSE, etc where the output from package info querying output is
slightly different from dpkg.

Story: 2002961
Task: 22963

Change-Id: Ied37bb0191ca8af4966d097f47ec80536dfc843f
2018-07-12 21:34:22 +02:00
Michael Johnson
7edad93909 Add release note for HMAC python3 fix
A previous patch[1] to resolve a python3 issue with HMAC.compare_digest
raises an upgrade issue if the upgrade procedure[2] is not used.
This patch adds a release note that calls out this upgrade order requirement.

[1] https://review.openstack.org/#/c/571333/
[2] https://docs.openstack.org/octavia/latest/admin/guides/upgrade.html

Change-Id: I044a0223ec8b5ef4d07b230a0f543b38a43f0c84
2018-07-11 22:45:20 +00:00
German Eichberger
1e4155f8ed Add a config to surpress amphora logging
Change-Id: I502e701acbaf0e92a64791a632eeb5ae61123bdd
2018-07-11 12:07:49 -07:00
Qian Min Chen
8ef1b1332b Add the missing markup for the hyperlink title
Change-Id: I825c361eb06605ed8e168d7f9f1cd245bea34a7c
2018-07-11 17:53:57 +08:00
Zuul
26852b00de Merge "Improve resource quota response message" 2018-07-11 03:52:28 +00:00
Zuul
f755657f17 Merge "Adding support for the octavia listener X-Forwarded-Proto header insertion." 2018-07-11 00:26:04 +00:00
Zuul
625ac5b69e Merge "Ignore a port not found when deleting an LB" 2018-07-10 17:14:21 +00:00
Zuul
6937500d50 Merge "Follow the new PTI for document build" 2018-07-10 14:08:35 +00:00
Carlos Goncalves
fa7308554a Allow setting load balancer topology in Devstack
Load balancer topology options are SINGLE and ACTIVE_STANDBY. We default
to SINGLE as it is the default in-code too.

Change-Id: Id5af2397122ca3c031e9a5becccfcdd75506876f
2018-07-10 14:05:58 +00:00
Zuul
9c787d6a96 Merge "[doc] Add the missing markup for the hyperlink title" 2018-07-10 12:38:12 +00:00
Qian Min Chen
0e5c471979 [doc] Add the missing markup for the hyperlink title
Change-Id: I1cb7d15f38e1f68104222548adb5f3e41da9d083
2018-07-09 22:25:51 +08:00
Nguyen Van Trung
195aba338f Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I2a7c07767c0f46cebca355e617d5cc58efa5b161
2018-07-09 16:59:50 +07:00
Michael Johnson
87fca27e37 Fix version discovery for the Octavia API
This adds the required "links" part of the version discovery document.

Change-Id: I18e75116e1da47991d68b0842892f1036adec41a
Story: 2001796
Task: 12518
2018-07-08 14:19:04 -07:00
Zuul
8f3eeb5b2e Merge "Add the missing markup for the hyperlink title" 2018-07-08 16:15:54 +00:00
Zuul
bd6c844390 Merge "[doc]Use openstack client commands to replace nova client" 2018-07-08 16:14:12 +00:00
Qian Min Chen
32ceaec254 [doc]Use openstack client commands to replace nova client
Change-Id: I088b9903fec3feec6a937e1d1736bfaaa9fb3ef2
2018-07-07 15:33:21 +00:00
Qian Min Chen
d959dab826 Add the missing markup for the hyperlink title
Change-Id: I9184dea2496ee9b6d84bb4e718f3e798f16ec480
2018-07-07 14:20:38 +00:00
huangshan
0ca412ec51 Improve resource quota response message
Story: 2002726
Task: 22569

Change-Id: Ib102a3a9d9938997acc2d5f0b48ed46afb2486b6
2018-07-06 08:58:31 +08:00
German Eichberger
464d8f9371 Introduce ipvsadm to the amphora image
This patch adds the "ipvsadm" tool to the amphora image.

Change-Id: I7ccf823cae3dbd57dc3f40aec66629e27e5db98b
2018-07-06 00:02:54 +00:00
Zuul
d41e84a9a1 Merge "Move from platform.linux_distribution to distro.id" 2018-07-05 23:16:06 +00:00
Zuul
a74f8b4874 Merge "fix tox python3 overrides" 2018-07-05 23:01:35 +00:00
Zuul
047433b722 Merge "Add exception handling for housekeeping service" 2018-07-05 16:10:37 +00:00