163 Commits

Author SHA1 Message Date
Gregory Thiemonge
ad81ad4175 Fix typo and remove useless lines in user guide
- The details on 'admin' user and its ID doesn't provide significant
  information
- The 2nd 'tls_secret1' in the HTTP and TLS-terminated HTTPS section is
  not used

Change-Id: Ic8fd7fed4454d1c7c7e66d433655c0d54221e86a
2019-03-11 15:36:55 +01:00
Zuul
6e1ecac44d Merge "Fix updates to the provider driver guide." 2019-03-09 08:54:56 +00:00
Michael Johnson
8997def2b5 Updates Octavia to support octavia-lib
This is the base patch that updates octavia to use the new octavia-lib.
It is backwards compatible by using debtcollector moves.

It adds a new controller process called the "driver-agent".

This patch also adds unit test coverage for a few additional modules.

Depends-On: https://review.openstack.org/#/c/641180/

Change-Id: I438e1548ec0fb6111d1ab85b05015007d9d0a006
2019-03-07 14:40:22 +01:00
Michael Johnson
128d05b4c4 Fix updates to the provider driver guide.
Recent patches have missed some updates to the provider driver guide.
This patch corrects those oversights.

Change-Id: Ibf6c4bbfe56bd398e01043486406f3c4aef9db95
2019-03-06 10:29:59 -08:00
ZhaoBo
e0e9af3b51 Add boolean tls_enabled option into Pool
Add "tls_enabled" option in Pool API.
This option will work on cert cases or no cert cases.

Story: 2003858
Task: 26672
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I62e31aaa66748ba652dfd5dbfd5a8b06d9ba0dfe
2019-03-01 00:20:38 +00:00
ZhaoBo
7aa115a553 Add 2 new fields into Pool API for support re-encryption
Add tls_ca_container_id and crl_container_id into Pool API.

Story: 2003858
Task: 26672
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I6cd6e2ca8e48a5df707a70d22505dec9d752c7eb
2019-02-28 16:20:09 -08:00
ZhaoBo
aa7ac7ab73 Pool support sni cert for backend re-encryption
Add 1 fields like Listener does, which is 'tls_container_ref', this
field is introduced into Pool for storage the pool client certificate to
the backend servers, when the traffic willing to bring a cert to the
servers and check for tls connection.

Story: 2003859
Task: 26685
Change-Id: I29b7c7116e6087c942179ed9efdead494ef277a3
2019-02-28 11:36:48 -08:00
ZhaoBo
f77d7d0220 L7rule support client certificate cases
This patch add 4 new types for SSL connection ACL configuration.
Which are:
L7RULE_TYPE_SSL_CONN_HAS_CERT
L7RULE_TYPE_VERIFY_RESULT
L7RULE_TYPE_DN_FIELD

The first type can just accept the compare type "EQUAL_TO" and value
"True" string.
The second can just accept the int value string to check the certificate
verify result, also just support "EQUAL_TO" compare type.
The third can accept key, the distinguished name field and a match string,
this one supports all kind compare types.

Story: 2002165
Task: 20025
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I71b57d0f32d4839a770396645d2b9945d24f2853
2019-02-24 23:31:09 +00:00
ZhaoBo
20509e2337 Add crl-file option for certification
Add crl-file in Listener side.

Story: 2002165
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I9e2ec06719fbbfd19482c2b8d39220e7e4ed81e3
2019-02-24 15:29:59 -08:00
ZhaoBo
7a8eb3ce22 Add an option to the Octavia V2 listener API for client cert
Listener API for client cerificate authentication with "None,
Optional, Mandatory" options

Story: 2002165
Task: 20019
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Ia753659981d99b315504f166c09afb8f5b14f195
2019-02-24 01:52:20 +00:00
ZhaoBo
0cc546a7c7 Add client_ca_tls_container_ref to listener API
This patch add 'client_ca_tls_container_ref' into listener API for front
client authentication.

Story: 2002165
Task: 20018
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I8a96d6fdfe53a16d1abcfd09bc6afedd6c490de2
2019-02-24 01:51:35 +00:00
Michael Johnson
5d7f10f6b8 Fix flavors support when using spares pool
This patch validates that a flavor is compatible with using spares
pool amphora. It will also update the amphora-agent config after
a spares pool amphora has been allocated.

This patch enables the ability to update a running amphora's agent
configuration and have the mutatable options be adopted.

The following amphora agent configuration options can be updated:
heartbeat_key
controller_ip_port_list
heartbeat_interval
loadbalancer_topology

This patch adds the support to the amphora-agent and the amphora
driver. A follow on patch will expose this capabililty via the
amphora admin API.

Change-Id: I97bdf5188808193516509f20767e82c0f8d2f5a5
2019-02-05 14:49:10 -08:00
Zuul
7dc8085e21 Merge "Support remote debugging with PyDev" 2019-01-31 21:41:58 +00:00
Michael Johnson
5e1cdac4c9 Add flavor docs and releae notes
This patch adds an administrator guide for flavors and a release note for
the new flavors feature.

Depends-On: https://review.openstack.org/#/c/624294/
Change-Id: Id6b107994515776e2996d949186c03df4b4295a5
2019-01-25 20:41:03 +00:00
Itzik Brown
3745e1f55d Fix typo in doc
Change-Id: Ibf780ac971fc40f7efb1ebe78c97c565ccafea6b
2019-01-14 08:58:41 +02:00
Zuul
6307fbfa08 Merge "Fix a typo in the certificates admin guide." 2019-01-05 02:00:18 +00:00
Zuul
0ed7cdf7e4 Merge "Modify the doc word error" 2019-01-04 18:54:33 +00:00
Michael Johnson
3dec4caf48 Fix a typo in the certificates admin guide.
Change-Id: I628b6f3d2ffd1042d044baf56d798ef9e7ad8393
2019-01-04 08:32:31 -08:00
Zuul
f4daced4f7 Merge "Adds a certificates configuration guide" 2018-12-24 05:08:14 +00:00
Michael Johnson
a060d540d8 Adds a certificates configuration guide
This patch adds an administrator guide that describes the process for
setting up a dual certificate authority configuration for Octavia.

Change-Id: Ibe236a851833ffa24c19695ef67547b504453f9c
2018-12-17 17:30:12 -08:00
Carlos Goncalves
e43c4aecd0 Support remote debugging with PyDev
Change-Id: Ic4cc521713b4a6046a89d47727fdbd7b7388d059
2018-12-13 20:41:07 +00:00
Michael Johnson
e60cd189fb Add auditing support to the Octavia API
This patch adds Cloud Auditing Data Federation (CADF) auditing support to the
Octavia API. This is implemented using the keystonemiddleware audit filter.

Change-Id: I87a7e15171dfaf28b6ed97ca71d4423d18fbdbea
2018-12-11 23:32:58 +00:00
gaobin
eea63939fc Modify the doc word error
Change-Id: I5343d5bd696da21d71ec738387960300085ebe7c
2018-12-09 09:56:58 +08:00
Zuul
d29e129f94 Merge "Add framework for octavia-status upgrade check" 2018-11-18 01:33:42 +00:00
Zuul
5a7de9fd80 Merge "Update the HTTP links to HTTPS" 2018-11-17 00:40:53 +00:00
guotao.bj
d7d3e3f566 Delete duplicate word in component-design.rst
Change-Id: I054c7f2ee03f33aa883cff8e2ca9c57827b0c1c0
2018-11-14 06:36:27 +00:00
zhouxinyong
079ab45f4d Update the HTTP links to HTTPS
In consideration of the link security,We'd better to update the links to https.

Change-Id: Ic6821cc74a094cb27ae98bb91db1779ed1fdfaf8
2018-11-14 01:04:08 +00:00
akhiljain23
c60931f4b4 Add framework for octavia-status upgrade check
This commit adds the functionality of octavia-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.

Change-Id: I8b6d134b0bf5b5c82a19177fed6145ef8aaf7507
Story: 2003657
Task: 26146
2018-11-12 14:41:14 +05:30
Michael Johnson
759cb75960 Update docs conf.py for openstackdocstheme change
A Starlingx patch[1] changed the signature for some openstackdocstheme
methods which is causing Octavia docs to not build.

This patch updates the octavia docs configuration for the new
openstackdocstheme.

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

Change-Id: Id09ab3b78291c28e116f1f4ffb8836eac0537d94
2018-10-19 16:18:20 -07:00
sapd
62192dba3a Support REDIRECT_PREFIX action for L7Policy
Currently, Octavia only support three actions for L7Policy,
in this patch we will implement new action for L7Policy.

Story: 2003700

Change-Id: Ie99591ede097b566294ebdb673c460442dd6d942
2018-09-28 18:10:39 +07:00
German Eichberger
78ba1970f8 Updates the operator docs with the new lb failover command
Since Pike we have the failopver command on the load balancer and
this should be used instead of dsabling the port. Added other
minor updates.

Change-Id: I606518d8d9a52104872a08ee18bd6be62c100de3
2018-09-19 10:37:56 -07:00
Zuul
d1168a496b Merge "Add the missing markup for the hyperlink title" 2018-09-14 23:37:17 +00:00
Michael Johnson
96b9450e60 Re-enable flow diagrams
OpenStack requirements has added pydot to global requirements.
Even though this isn't the proper fix (still pending networkx 2.2 release)
this will resolve the dependency issue for us, so re-enabling our
flow diagrams.

Change-Id: I49856c8fbd7cb6302be4ec97a14b2c10682cf504
2018-08-30 10:14:06 -07:00
Michael Johnson
aaa7fbc748 Clarify that the driver support library is interim
This patch is intended to clarify that Octavia is a service project
and not a library. It clarifies that the driver support callbacks are
temporary and will be removed in favor of a driver support endpoint.

Change-Id: Ic9dc596e86d414da1e8e20562f10ad490c51dbd9
2018-08-02 08:35:12 -07:00
Zuul
06c6131bff Merge "Clarify IPv6 support for the lb-mgmt-net" 2018-07-31 21:15:19 +00:00
Zuul
d3092c0fac Merge "Implement provider drivers - Driver Library" 2018-07-26 23:51:50 +00:00
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
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
Qian Min Chen
4a80af04bd Add the missing markup for the hyperlink title
Change-Id: I43b38849b46924ad58585c5d449a837d381506da
2018-07-21 14:34:11 +08: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
Zuul
3344484872 Merge "Add the missing markup for the hyperlink title" 2018-07-18 22:06:14 +00: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
f755657f17 Merge "Adding support for the octavia listener X-Forwarded-Proto header insertion." 2018-07-11 00:26:04 +00:00
Michael Johnson
4a9f83d039 Implement provider drivers - Driver Library
This patch implements the provider driver support library.
This library contains the callback methods that allow provider drivers
to update status and statistics.

This patch also clears some tech debt by correcting the IP addresses
used in some test cases.

Change-Id: I4e91e1b4f7ce611e603ea7aeb17f5c649cdb3c3d
Story: 1655768
Task: 5165
2018-07-09 17:04:29 -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
Zuul
ab37d51ce5 Merge "Providers: propose changes to create pool API" 2018-06-26 02:53:53 +00:00