2620 Commits

Author SHA1 Message Date
Zuul
ddcae3e229 Merge "Fix the amphora noop driver" 2019-02-05 21:44:29 +00:00
Michael Johnson
987d14406c Fix the amphora noop driver
The dual-amp-down fix added an amphora parameter to the amphora driver
interface, but failed to update the driver base and the noop driver.
This patch corrects that oversight.

Depends-On: https://review.openstack.org/634992
Change-Id: I7bd63c933f8e7cd10ff5c89fafbbb09e8cc9e3e1
2019-02-05 17:34:53 +00:00
Corey Bryant
674f007d50 Add missing import octavia/opts.py
Fix 'tox -e genconfig' by adding missing import.

Change-Id: Ibefeee498cd16e5262b231936a25b1a4ba98a94e
Story: 2004914
2019-02-01 10:51:52 -05:00
Zuul
7dc8085e21 Merge "Support remote debugging with PyDev" 2019-01-31 21:41:58 +00:00
Zuul
979144f2fd Merge "Fix a topology bug in flavors support" 2019-01-30 01:28:34 +00:00
Zuul
71914bc2af Merge "Add compute flavor support to the amphora driver" 2019-01-30 01:28:33 +00:00
Zuul
7a601c3218 Merge "Update the amphora driver for flavor support." 2019-01-30 01:28:31 +00:00
Zuul
6bdc44cfb9 Merge "Add flavor docs and releae notes" 2019-01-29 23:52:30 +00:00
Zuul
22df2e0f48 Merge "Add provider driver capabilities API" 2019-01-29 10:13:57 +00:00
Zuul
c21e6caf62 Merge "Adds flavor support to the amphora driver" 2019-01-29 10:13:55 +00:00
Zuul
275965d3a1 Merge "Add flavors/flavor_profile api-ref" 2019-01-29 10:13:53 +00:00
Zuul
081c330cdf Merge "Add flavor, flavor_profile table and their APIs" 2019-01-29 10:13:51 +00:00
Zuul
6f96401e9c Merge "Clarify the amp_ssh_key_name configuration setting." 2019-01-27 01:03:48 +00:00
Michael Johnson
8ec61f4f23 Fix a topology bug in flavors support
This patch fixes an oversight in the addition of flavors support in the
amphora driver[1]. The amphora-agent configuration file was still getting
the topology selected in the configuration file as opposed to the
topology selected in the flavor.

This is an additional patch at the end of the chain as it leverages
changes that were made in later flavor patches that pass the flavor
into the taskflow flow.

A follow on patch will address spares pool amphora.

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

Change-Id: I4c2b398b562970f128e06794690ffd7c2977db08
2019-01-25 21:02:43 +00:00
Michael Johnson
69f1753903 Add compute flavor support to the amphora driver
This patch adds a new flavor capability to the amphora driver called
'compute_flavor'. This allows an amphora flavor to specify a compute
(nova) flavor to be used for the load balancer instances.

Change-Id: I8626eebd906c935a47d3e3510d1dfefae307c4e9
2019-01-25 21:02:17 +00:00
Michael Johnson
aa82d51961 Update the amphora driver for flavor support.
This patch updates the amphroa driver to pass the flavor dictionary
over to the controller worker at load balancer creation time.
This flavor dictionary is then inserted into the load balancer
creation flow.

Change-Id: I615937fdf9edf335fb18999f1b7c11eb6202a3d1
2019-01-25 21:01:27 +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
Michael Johnson
1afeeb95d3 Add provider driver capabilities API
This patch adds an API that allows operators to query a provider driver
for the list of supported flavor capabilities.

Change-Id: Ia3d62acdc3b1af2e666f58d32a06d2238706dee6
2019-01-25 12:38:03 -08:00
Michael Johnson
0b1fe6a526 Adds flavor support to the amphora driver
This patch adds support for flavor metadata validation by the amphora driver
and support for setting the load balancer topology via a flavor.
It also adds "flavor_id" to the load balancer table in the database.

Change-Id: I8eae870abdb20dc32917957e32606deef387ec88
2019-01-25 20:34:11 +00:00
Michael Johnson
15282ff9d6 Add flavors/flavor_profile api-ref
This patch adds the api-ref updates for the new flavors and flavor profile
API.

Change-Id: I11ab9af188731a1eaf1f402c4d55a944dc85ea88
2019-01-25 12:30:24 -08:00
Pradeep Kumar Singh
637009ecd0 Add flavor, flavor_profile table and their APIs
This patch adds flavor and flavor_profile tables.
It also implements flavors and flavorprofiles apis.

Partially-Implements: Blueprint octavia-lbaas-flavors
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>

Change-Id: I99a673438458757d0acdaa46dd8ee041edb3be9c
2019-01-25 12:25:13 -08:00
Zuul
8b4a01c5bb Merge "Update api-ref for tag filtering" 2019-01-25 02:37:43 +00:00
Zuul
3980769247 Merge "Fix prefix for vip_ipv6" 2019-01-25 00:46:09 +00:00
Zuul
44b723e3a0 Merge "Support to filter resources by tags" 2019-01-24 09:44:15 +00:00
Zuul
2015e7f9a8 Merge "Add octavia-v2-dsvm-tls-barbican check job" 2019-01-24 09:39:58 +00:00
Zuul
d0664582ee Merge "Workaround for a dnf bug" 2019-01-24 09:37:26 +00:00
Michael Johnson
fb0bbb9826 Update api-ref for tag filtering
This patch also updates the API version to 2.5 to represent the tags
support.

Change-Id: Ia57724c231c10efad9cee46be4969fa276fff8b1
Co-Authored-By: Lingxian Kong <anlin.kong@gmail.com>
2019-01-22 00:55:19 +00:00
Lingxian Kong
5df9ad49b3 Support to filter resources by tags
Add 'tags', 'tags-any', 'not-tags', 'not-tags-any' param keys for
resource query.

Doc reference:
http://specs.openstack.org/openstack/api-wg/guidelines/tags.html#filtering-and-searching-by-tags

Change-Id: Ie752aa8e744d54c4909b97876dee450293d29908
Story: 2004810
Task: 28970
2019-01-22 13:46:24 +13:00
Zuul
6786235f02 Merge "Exit with error if DIB output dir doesn't exist" 2019-01-18 20:15:16 +00:00
Michael Johnson
06f2c6d90a Add octavia-v2-dsvm-tls-barbican check job
Add the octavia-v2-dsvm-tls-barbican job to the master Octavia check
jobs as non-voting.

Change-Id: I711ffd00c25b22644da7f755b5e8939128b8af91
2019-01-18 06:16:45 +00:00
Michael Johnson
fd3c04ec3a Clarify the amp_ssh_key_name configuration setting.
This patch updates the description for the amp_ssh_key_name configuration
setting to clarify that this is a nova keypair and optional.

Change-Id: I77c938c5e27abb312047e28bc1a73dc47e47fd97
2019-01-14 15:13:02 -08:00
Itzik Brown
3745e1f55d Fix typo in doc
Change-Id: Ibf780ac971fc40f7efb1ebe78c97c565ccafea6b
2019-01-14 08:58:41 +02:00
Zuul
d0c499dbd6 Merge "Fix missing print format error" 2019-01-11 05:09:49 +00:00
zhufl
278aa29ce1 Fix missing print format error
Missing print format will cause 'ValueError: unsupported
format character' error, this is to fix it.

Change-Id: I3b3d77e259d2c0326870383c7f51b42876d831ed
2019-01-09 16:52:52 +08:00
Zuul
7675c40d30 Merge "Adds a simple golang udp server" 2019-01-09 04:05:19 +00:00
Zuul
be2bc4c821 Merge "demystify the calculate_network_delta unit test" 2019-01-08 22:31:22 +00:00
German Eichberger
fe646c62c2 Adds a simple golang udp server
This will add a simple udp server to the http server
which recieves packets and counts them. It will also
send back a udp message with the id.

Change-Id: Ia65df76747fd6b9fc74d9799a86ee9c30e297fbe
2019-01-08 13:59:26 -08:00
Hang Yang
b2162c39a2 Fix prefix for vip_ipv6
Currently we calculate prefix based on netmask when writing the vip
interface file. Since netmask has been converted to prefix in ipv6,
this patch will avoid converting it to prefix twice which could
result in a wrong prefix length.

Also fix a bug in another test that relies on osutils, but wasn't
mocking correctly.

Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Change-Id: I9ee0cce12a975f4ab8f3df2707b355aab35c6cb3
2019-01-07 20:58:20 +00: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
Zuul
ee11927c9e Merge "fix typo mistakes" 2019-01-04 18:44:37 +00:00
Michael Johnson
3dec4caf48 Fix a typo in the certificates admin guide.
Change-Id: I628b6f3d2ffd1042d044baf56d798ef9e7ad8393
2019-01-04 08:32:31 -08:00
Carlos Goncalves
cb2c5fc1a5 Fix grenade job to clone Octavia from base branch
The job was cloning Octavia always from stable/queens while all other
enabled services were being cloned from $BASE_DEVSTACK_BRANCH.

http://logs.openstack.org/64/602564/15/check/octavia-grenade/39f9e96/ \
logs/grenade_localrc.txt.gz

http://logs.openstack.org/64/602564/15/check/octavia-grenade/39f9e96/ \
logs/grenade.sh.txt.gz#_2019-01-02_13_27_29_587

Change-Id: I3bc85588c4cac6bba24648f2793940fddc17f4a2
2019-01-02 19:00:33 +01:00
Zuul
d7c7b88ac5 Merge "fix the spelling mistake word" 2018-12-30 01:58:06 +00:00
Carlos Goncalves
0d5eb67eee Workaround for a dnf bug
Work-around RHBZ #1636909 by using rpm instead of yum or dnf. The
alternative would be running with privileges, which would start
requiring sudo permissions.

Change-Id: Ie20a4865a464c7840644fd790ccac0d201b91187
2018-12-29 10:54:33 +01:00
Zuul
186b678308 Merge "Fixing data model to_dict() recursive function" 2018-12-28 04:20:42 +00:00
Sven Wegener
4669ceeba7 diskimage-create: Support testing other image types
When building image types other then qcow2 there's no way to test them
currently. When specifying an existing file, just use that for testing.

Change-Id: I99f1a9e10642c4611c9b8985a6945bd82f1cce50
Signed-off-by: Sven Wegener <sven.wegener@inovex.de>
2018-12-27 02:49:25 +00:00
Zuul
0f814043ec Merge "Add amphora statistics to the admin API" 2018-12-26 05:04:01 +00:00
Zuul
db5c7a0450 Merge "Fix a release note to call out a fix instead" 2018-12-26 02:17:21 +00:00
weiyj
c304b3674d fix the spelling mistake word
Change-Id: I77a0112174cbe587ae5473da69b1d04d488f24d5
2018-12-25 14:43:44 +08:00