2620 Commits

Author SHA1 Message Date
Jenkins
5867509e6e Merge "Update PUT methods to send update through queue" 2015-06-18 01:28:27 +00:00
Jenkins
a0a390891e Merge "Fix the delete listener flow" 2015-06-17 19:18:34 +00:00
Jenkins
c2072db165 Merge "AAP Driver deletes sec grp rule on listener delete" 2015-06-17 17:09:49 +00:00
Jenkins
1d323ec52c Merge "Do not delete vip port if octavia didn't create it" 2015-06-17 17:09:40 +00:00
Doug Hellmann
3d26fc9a1c Drop use of 'oslo' namespace package
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.

The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.

Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.

Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages

Change-Id: Ib9106f86b1a04825c24bb2be284c17590f941d3c
2015-06-17 15:57:42 +00:00
Trevor Vardeman
854e01530b Update PUT methods to send update through queue
Update controller_simulator handler to behave clearly through operations
Update handler interface to utilize ids instead of full objects
Update controllers to utilize new handler parameters
Update tests to follow new controller behavior
Update queue producer and test to include data_models for updates

Change-Id: I3423ccf5b3e3c0810d000454df984fca4ec4dbbd
2015-06-16 20:18:20 +00:00
Jenkins
1694086cd1 Merge "Fix the devstack octavia plugin for non ubuntu distributions" 2015-06-16 16:56:39 +00:00
Trevor Vardeman
d020ceb41c Fix the delete listener flow
Modified flows to receive appropriate arguments for flows to complete
Added task to delete listener from DB
Modified deletion tasks to remove listener from the DB rather than update to DELETED
Added tests for new task

Change-Id: I4e7c0310de13b5dab0f7a382b9c81a0b0c6e72ad
Closes-Bug: 1459001
2015-06-16 11:04:08 -05:00
nmagnezi
d0f9a5ccdc Fix the devstack octavia plugin for non ubuntu distributions
The plugin.sh script should refrain from using apt-get directly.
By doing so, package installation (in our case qemu and kpartx) fails
for non ubuntu distributions.

This Fix uses the install_package wrapper function, which is part of devstack.

Change-Id: Ie602fbb6f7a39ceff11354ee95d99fe1e267a4ed
Closes-Bug: 1465618
2015-06-16 14:24:39 +03:00
Trevor Vardeman
00640a9c6f Fix the delete pool flow
Updated tasks in delete flow
Added more constants to keep flows consistent
Updated model methods to define a deletion step
Updated unit tests

Change-Id: Icf22c36cbdf0e3f95b56876c776524958090bdf2
Closes-Bug: 1458242
2015-06-14 00:51:13 -05:00
Brandon Logan
58ff70822e Do not delete vip port if octavia didn't create it
Octavia should not attempt to delete the vip port if the port was previously
created by another service and its id was passed to Octavia.  It is that
service's responsibility to delete it.

Change-Id: Ia233349e0ade804a2b02145e9ae91b7d3d3e57ce
Closes-Bug: #1464948
2015-06-14 00:38:15 -05:00
Brandon Logan
c895654328 AAP Driver deletes sec grp rule on listener delete
The allowed address pairs driver did not appropriately calculate what ports
should be removed upon a listener deletion.  It does now by removing any
protocol ports of a listener that is in PENDING_DELETE provisioning_status.

Change-Id: Ice5224d9a9af51a981ee2efad792f037204fba7b
Closes-Bug: #1464954
2015-06-14 00:17:22 -05:00
Jenkins
ed7d67d47c Merge "Fix the delete loadbalancer flow" 2015-06-14 04:56:23 +00:00
Michael Johnson
e6cb590fdd Updates for repo rename stackforge->openstack
Updated files to use openstack instead of stackforge
Updated devstack samples to not point to old references

Change-Id: I501d76173475bb1619006819d971493854fdd15c
2015-06-13 00:20:11 +00:00
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