3056 Commits

Author SHA1 Message Date
Jeremy Stanley
452cec9ae2 Update .gitreview file for project rename
Change-Id: I0dc844d9c8878dc41d6035344139b329af145d0d
2015-06-12 23:12:30 +00:00
Trevor Vardeman
969aa1b0ab Fix the delete loadbalancer flow
Adding VIP unplug
Adding ComputeDelete task to delete an amphorae on load balancer
Updated unit tests for new tasks

Change-Id: Ie26235314389607f33cfde69904ed3fae940360f
Closes-Bug: 1458998
2015-06-12 14:10:14 -05:00
OpenStack Proposal Bot
ff4acd66e3 Updated from global requirements
Change-Id: Idacf0545ce3c1e5958eb16a7b449ea893207403e
2015-06-11 00:49:29 +00:00
OpenStack Proposal Bot
d44b53fa92 Updated from global requirements
Change-Id: Ia80546461fba3b812fab7367b2249ed90c6d62e9
2015-06-09 20:06:02 +00:00
Jenkins
6a6153dc10 Merge "Updated from global requirements" 2015-06-05 22:32:04 +00:00
Jenkins
6b391eb53c Merge "Implements the haproxy amphora agent api server" 2015-06-05 06:14:14 +00:00
OpenStack Proposal Bot
33cf58e714 Updated from global requirements
Change-Id: I9adbb19285190a168af04693f6bd141272cb5960
2015-06-04 16:25:50 +00:00
OpenStack Proposal Bot
96f4843a4b Updated from global requirements
Change-Id: I2b0890bd89330e3f9dcc9e953c121362446740ca
2015-06-03 17:59:18 +00:00
Jenkins
921e12a9f0 Merge "Fix the devstack settings admin account handling" 2015-06-03 17:50:50 +00:00
German Eichberger
40440b8a0b Implements the haproxy amphora agent api server
- Added configuration
- Added uploading of haproxy config
- Added start, stop, reload (async)
- Added get_details
- Fixed returns of API -- they are now all spec conform
- Added info, get haproxy file
- Added function to get listener status
- Added class to parse haproxy stats socket
- Added methods to handle certs
- Added client cert validation to the sever
- Added script to generate example certs
- Added init script for agent
- Added network and vip plugging
- Added devstack stuff
- Added diskimage scripts; upstart ini file

Change-Id: Ib1db8da9e019e68e9a0f4a16a622b8b1286afd3e
Implements: blueprint amphora-api
2015-06-02 18:13:39 +00:00
OpenStack Proposal Bot
dc67b7803b Updated from global requirements
Change-Id: I8f60d651e6f255dd9229220a57978b724f569eaa
2015-06-02 17:41:06 +00:00
Michael Johnson
d741692989 Fix the devstack settings admin account handling
The current settings file has a hard coded admin username
and password.  This change pulls the admin password and username
in from the devstack environment.

Change-Id: If2bbd62fa4c92ac1b26d0aaf74e0cd26c553fa75
2015-06-02 17:36:54 +00:00
Michael Johnson
163811dc80 Fixed failing unit tests due to wsme change
"true" now passed the boolean test in wsme, so I changed the invalid
data test to use "notvalid" instead of "true"

Change-Id: Ia0a47921100fb6bc3d91d322bfa2e8001b266133
2015-06-01 23:48:40 +00:00
Jenkins
b0f8d9c0a3 Merge "Fixes health monitor create issues" 2015-05-22 18:48:56 +00:00
Jenkins
cabf818eb7 Merge "Adding sudo permissions to SSH Driver commands" 2015-05-15 03:01:24 +00:00
Trevor Vardeman
0a8f3de403 Adding sudo permissions to SSH Driver commands
Added 'sudo' to 'rm', 'mkdir', and 'kill' commands throughout the driver.

Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>

Change-Id: Id53490b50ff122b7a95ba5b0182714ab918a4705
2015-05-14 21:42:59 -05:00
Brandon Logan
42ac3cf91e Fixes health monitor create issues
Queue producer handler was not sending pool_id, it was sending a healthmonitor
id instead, which doesn't exist.  Changed queue consumer and controller worker
to relfect this change as well.  Also had to handle None expected codes better
in jinja config.

Change-Id: Icbd6e4f34ddba107af529634400eb41ad4cb9d38
2015-05-14 21:12:46 -05:00
Michael Johnson
f442efa58c Setup stubs for health manager and housekeeping
DevStack will error out during the install with the current
configuration.  This change puts stub services in place so that
DevStack will not error out during the install.

Change-Id: I4d053de933f5d6a576f09fc46e41cc305106ed29
2015-05-14 21:00:24 +00:00
Jenkins
0b7f10c84c Merge "Fixed post_network_plug issues" 2015-05-14 19:45:02 +00:00
Brandon Logan
0cdc767a52 Fixes issue with non-unicode ip addresses in wsme
Some update happened (not exactly sure where) that stopped converting
strings to unicode to validate ip addresses.

Change-Id: Ibccc32be24a5e93e0ee3186d171f2ac0f0fcb40e
2015-05-14 14:04:26 -05:00
Brandon Logan
0da1718cda Fixed post_network_plug issues
If there was no interface to raise, it would insert bad data into
the interfaces file.  Also, execute ifdown first before ifup for
sanity that prevents some inconsistent successes and failures.

Change-Id: I96d552e0f46ebbdfd9827b9b9c818e5c561699b1
2015-05-14 02:07:51 -05:00
Jenkins
1feff6d861 Merge "Update vip and network plug methods" 2015-05-14 05:42:58 +00:00
ptoohill1
8cfdb9d116 Updating member flow
Adding ability to plug networks when creating member.

Change-Id: I48fcb64839f46e4ce0754cd9b25b47cd13b7fd75
2015-05-13 18:29:20 +00:00
ptoohill1
a3f53841f8 Updates for calculate delta task
Member has subnet_id and we need to compare with network_id.
In order to do this CalculateDelta task now takes in a load balancer
loops through the amphora, collects the plugged networks
and gathers the network_ids from member subnet_ids and
builds the list accordingly.

Updates network_tasks CalculateDelta
Updates network_tasks adding method to handle deltas
Updates driver adding method to get network
Updates tests, spec and other required code

Change-Id: I698625e4e2e7352cb3000e22de808c33fa7636ed
2015-05-13 13:28:52 -05:00
Jenkins
88049e87ae Merge "Added update_vip method to network driver" 2015-05-13 18:18:33 +00:00
ptoohill1
df6f5b4a56 Updates devstack plugin to add service endpoint
Updates plugin.sh with method to add octavia service endpoint
Updates settings for protocol and port

Change-Id: Ie2a36f7a7f487c411d35f4a39cae336090caad33
2015-05-13 01:53:26 -05:00
Brandon Logan
913b6a8514 Added update_vip method to network driver
There needed to be a method to update the security group rules whenever
a listener is added or removed.  The update_vip method will not update those
rules based on what listener's are present.

Also changed the allocate_vip method to take in a load_balancer instead of
port_id, network_id, and/or ip_address.   The reason for this is some driver
implementations may just want the vip to be the IP directly on the amphora.
The previous signature did not allow this.

Closes-Bug: #1453609
Closes-Bug: #1453610

Change-Id: Ie5765c231c6f6ba45042db9b111e6814cf50c465
2015-05-12 22:02:36 -05:00
Jenkins
6fabda08dc Merge "Fixed a parameter issue for config drive files" 2015-05-12 22:53:31 +00:00
Brandon Logan
abc0374960 Fixes issue where loadbalancer is None in flow
A task was saying it provided LOADBALANCER but it wasn't returning
anything, so it overwrote the LOADBALANCER with None.

Change-Id: I8274832b5bfbabdf29f2491a5a7591e0817f6345
Closes-Bug: #1453945
2015-05-12 14:47:32 -05:00
Michael Johnson
b03a4d08b2 Fixed a parameter issue for config drive files
The parameters passed to novaclient create for config drive
files and user data were incorrect.

Change-Id: Ic7e2a1a32600194959d0c02179bbb0986bfe1413
2015-05-12 17:54:12 +00:00
OpenStack Proposal Bot
260c78f9b8 Updated from global requirements
Change-Id: I8913f0acdf73efeb2c4eaa2fcb36c33e062a4ce7
2015-05-11 14:05:11 +00:00
Michael Johnson
6210f76749 Fix a bug in the amphora create revert
There was a missing logging parameter that caused the create
amphora flow to fail during revert.

Change-Id: I3d61221476a0a9317afc64446f32e5143727e0a5
2015-05-08 18:31:44 +00:00
minwang
e4beb4edad Edit the plugin to add alembic information
Add the alembic migration information in plug.sh.
Closes-Bug:1450523

Change-Id: I5e63076e8e119d9eaa02845105d6d6d469c2a48e
2015-05-07 15:33:38 -07:00
Brandon Logan
0837da18a7 Fixed various issues with create lb and amphora flow
Closes-Bug: #1450520
Closes-Bug: #1450524
Closes-Bug: #1450621

Change-Id: Ibc347dec4bebe10e0c7603bfa6b09833c84f181f
2015-05-06 23:54:46 -05:00
Jenkins
00d37ef490 Merge "Fix queue producer handler to send ids" 2015-05-06 22:49:56 +00:00
Brandon Logan
9226b29187 Fix queue producer handler to send ids
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
2015-05-06 17:37:45 -05:00
Al Miller
4ac7376c2f Add devstack plugin for octavia
Co-Authored-By: Phillip Toohill <phillip.toohill@rackspace.com>

Change-Id: I9f8c87cd39ef59db71fe3a93b09f905f71dd2feb
2015-05-06 15:31:45 -07:00
Jenkins
88228c4272 Merge "Fixes load balancer create flow issue" 2015-05-04 22:18:59 +00:00
OpenStack Proposal Bot
470a356ada Updated from global requirements
Change-Id: I3389086c44309b5f9100b3fae61552d0e9038ada
2015-05-04 21:13:02 +00:00
ptoohill1
987480156e Fixing inconsistencies and applying sane defaults
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
2015-05-04 12:11:45 -05:00
Trevor Vardeman
3fc14d164c Update vip and network plug methods
Change vip and network plug methods to stop if no interface is DOWN

Change-Id: Ife677ed1a488be49437197f6db1a6a8fa903819b
Closes-Bug: #1011848
2015-05-04 11:14:10 -05:00
Jenkins
f24a5b9595 Merge "Update nova_driver to use amp_network" 2015-05-01 20:28:14 +00:00
Jenkins
991e0053f8 Merge "Remove extra requirements" 2015-05-01 20:27:33 +00:00
Michael Johnson
659219d311 Fixes load balancer create flow issue
The load balancer flow needed to use updated load balancer
data model objects for the networking sub flow.

Change-Id: I5b87ef7ab17579721950e943d13fb46405e0b072
Closes-Bug: #1450621
2015-04-30 23:21:30 +00:00
Jorge Miramontes
65e361613e Implemented Queue Consumer
Co-Authored-By: Jorge Miramontes <jorge.miramontes@rackspace.com>
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>

Change-Id: I6e739506f29aa4131d7f3626a66f3ac6ea816863
2015-04-30 16:48:09 -05:00
ptoohill1
7cd76047e6 Update nova_driver to use amp_network
Updates transform method to use amp_network id instead of name

Change-Id: I0a04b93d66b87d92adaa80bf5ec9953c5fc10b97
2015-04-30 10:20:07 -05:00
ptoohill1
a65c89a3bf Remove extra requirements
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
2015-04-29 18:33:58 -05:00
Michael Johnson
424c320b01 Implements Octavia Controller Worker
Co-Authored-By: Aishwarya Thangappa <aishwarya.thangappa@gmail.com>
Co-Authored-By: German Eichberger <german.eichberger@hp.com>
Implements: blueprint controller-worker
Change-Id: If44a70d6ada43673d827987081e7c760598523bd
2015-04-29 21:34:07 +00:00
Trevor Vardeman
fac74ad2d6 Amphora SSH Driver
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
2015-04-29 16:22:55 -05:00
Jenkins
62b34038fb Merge "Fixes a config load bug for keystone v3 domains" 2015-04-29 20:53:31 +00:00