Also renaming queueworker.py to controllerworker.py to be more
obvious what it is. This patch should complete the api to queue to
controller worker workflow (i.e. it should work).
Change-Id: Id924e83674dab1a5f13e57533dd5272c3d667b7d
Closes-Bug: #1452141
Update haproxy_amphora section with sane defaults
Fixed inconsistency with example conf
Updated controller worker and test to reflect updated config option
Change-Id: Ib178df4476bab3fa220c6955dc57c49e4d8f1066
The load balancer flow needed to use updated load balancer
data model objects for the networking sub flow.
Change-Id: I5b87ef7ab17579721950e943d13fb46405e0b072
Closes-Bug: #1450621
Remove ipaddr and simpledispatch as they are dependencies pulled
in by WSME and pecan.
Since these requirements are not part of global-requirements a
build error will occur with devstack attempting to sync the requirements
that can be prevented by removing requirements that should be
pulled in by other packages.
Change-Id: Ib83afb4f11e478764f80a2fa8c0f47903ff999a2
Adds config value to retrieve key for amphora access
Adds a HAProxyManager class with methods to modify/delete/start/stop an amphora
Modified sample_config to include amphorae on load balancer
Change-Id: I3fc2423a480ecc4b1b732a83fa1d4981c213da47
Implements: blueprint bp/haproxy-amphora-driver
The config loading code for keystone v3 authtokens
require domian paramters, but the keystone middleware
currently doesn't have those configuration options.
This fixes the config loading for the domains.
Change-Id: Ieb1571e64ef52b8e48fe21883d3c9f57c8402a54
This is for fixing the octavia issue.
We ran the Octavia code base through a static code analyser and several issues got flagged.
As an exercise we looked at each issue and are now proposing fixes to the complexity/code style issues.
Change-Id: I2fc0cf213a9f7488e7cf1dff789d98ca2deeb81f
Moved octavia/bin directory to octavia/octavia/cmd and renamed octavia-api to
api.py. This follows the new strucutre most openstack projects are doing.
Also implemented octavia-api being built when doing setup install.
Had to remove the octavia/tests/specs symlink because pbr did not like it and
would not allow anything to be built. Also found out the test_titles test was
not being run on the specs, so that has been added as a separate tox
environment.
Change-Id: I92f2bc6eaa346983f7a2479dc9fa43d2040f2cd5
Updates controller base to load handler via stevedore
Updates setup.cfg with entry point
Updates octavia.conf for api_handler default example
Updates config.py for api_handler
Updates requirements.txt for stevedore
Change-Id: I67e3da376fad1d48cec7f56f990c4b13ac7f4b83
tenant_name is no longer accepted for the v3 client authentication.
This patch updates that to project_name which is accepted on v3.
Change-Id: Iccc460c1a4bae10ff530ce09888b877bfd5c39f4
This is to allow neturon-lbaas to be able to give its own ids so it
can know what id octavia is tracking.
Change-Id: Id49c7971894228fdf56189df86175fd35c6ed5ca
Fixed some doc'ed docstrings as well to satisfy someone's OCD. I won't name
names but they're name rhymes with Hadam Arwell.
Change-Id: I0b6482cda29c556918c2b2eb8b03cdec30b0b7c3
The jinja config translation layer references the pool data model's
session persistence and health monitor as pool.sessionpersistence and
pool.healthmonitor. It should be pool.session_persistence and
pool.health_monitor.
Change-Id: I7664d7498a7dd69896f47937b8440ceb94db653f
Adds haproxy 1.5.x from ubuntu trusty backports
Adds a git pull for the amphora agent code
Removes check for argparse (internal for python 2.7)
Adds sysctl net.ipv4.ip_nonlocal_bind=1
Change-Id: I7aecf727fb5d9be08982c5a32ae3c6e280ebda14
This driver will allocate a neutron port and fixed_ip on the VIP's network.
Upon plugging the VIP, it will use neutron's allowed address pair to allow
traffic destined for the ha_ip to pass to raised on amphora interfaces.
Change-Id: I7bce4c2bbb9b35905c21caf79cb865e0ca146dac
vrrp_ip will typically be the ip through which the amphora communicates with
its vrrp peer.
ha_ip will typically be the ip that is shared between the amphorae.
Since it is possible each amphora may have a different ha_ip and vrrp_ip,
it makes sense to add them to the model/table. Adding them now because the
network driver will be assigning the values.
Changed the network driver spec and base class to mention the plug_vip method
should return a list of amphoras.
Change-Id: I04a97caf00bc6fa25f94e6470d3ed7da48880ae6