2888 Commits

Author SHA1 Message Date
Jenkins
f7236de450 Merge "Add network noop driver" 2015-04-13 18:39:14 +00:00
Jenkins
6ee4fb2fb1 Merge "Fix arg order for Update functions in Controller-Worker" 2015-04-13 18:30:07 +00:00
minwang
480ad90229 Add network noop driver
1. implement methods in noop_driver/driver.py
2. add unit test class in test_network_noop_driver

Change-Id: I48cf1c051e7d3427b918f686bf8788c077e7d829
2015-04-13 10:35:34 -07:00
Jenkins
a0d831cbe8 Merge "Added post_vip_plug method to the amphora driver" 2015-04-13 16:15:34 +00:00
Adam Harwell
b57da1b097 Fix arg order for Update functions in Controller-Worker
Also fix the docstrings while we're here.

Change-Id: I84f9de160c5c61bac01e86a5a142fd1111a7bda9
2015-04-13 10:19:20 -05:00
Brandon Logan
961f304ca1 Added post_vip_plug method to the amphora driver
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
2015-04-13 02:21:46 -05:00
Brandon Logan
1fb924146b Fixed sessionpersistence and healthmonitor refs
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
2015-04-13 01:22:19 -05:00
Jenkins
f3c9784309 Merge "Updating the disk image builder code" 2015-04-10 21:40:52 +00:00
Jenkins
39f3f5f750 Merge "Implementation for bp/api-to-oslo-messing-handler" 2015-04-10 21:16:42 +00:00
Michael Johnson
9b47e9a4c5 Updating the disk image builder code
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
2015-04-10 21:03:17 +00:00
Brandon Logan
85838dbb4c Added neutron allowed address pairs network driver
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
2015-04-10 15:24:48 -05:00
Brandon Logan
7e11665bc5 Added vrrp_ip and ha_ip to amphora models
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
2015-04-10 15:07:24 -05:00
Michael Johnson
1bb0402062 Removing a log parameter from the noop driver
We don't want to pass in a log object on amphora drivers.

Change-Id: I4c8c099fbeea352ff9d47af077f807eab49b7347
2015-04-10 16:40:09 +00:00
minwang
86ec61f961 Add health check amphora-driver-interface
Add the specs in amphora-driver-interface and driver_base and noop-driver under amphora driver

Change-Id: Ie97f4156ba1a6c7db0d59c202b752345be004cf3
2015-04-08 15:02:01 -07:00
Carlos D. Garza
0969dcb7a8 Implementation for bp/api-to-oslo-messing-handler
Implements: blueprint api-to-oslo-messaging-handler

Change-Id: Ia23418943c6c21032bf204132a8118ace237ef10
2015-04-08 21:46:54 +00:00
Jenkins
39d20059ca Merge "Adding post_network_plug to the noop amphora driver" 2015-04-08 21:07:04 +00:00
Jenkins
c5fcdbeab4 Merge "Updates Jinja templater with additional optional params" 2015-04-08 19:16:52 +00:00
Jenkins
0776e2fa4c Merge "Adds rise threshold to configuration generation" 2015-04-08 18:43:57 +00:00
Michael Johnson
8e7eb281d0 Adding post_network_plug to the noop amphora driver
Change-Id: Ifcba52309cdb40b2e832108c558c01da95805272
2015-04-07 23:51:19 +00:00
OpenStack Proposal Bot
d16d73a27f Updated from global requirements
Change-Id: Iada56d49979685305b341c6b9b0d82fcf3c436b8
2015-04-07 22:00:32 +00:00
ptoohill1
3fd102f226 Adds rise threshold to configuration generation
Updates jinja templates for rise threshold
Updates jinja templater for rise threshold
Updates tests and sample configs

Change-Id: I4a4b109e77562b7c1af5494c80020cb3c121420d
2015-04-07 11:12:31 -05:00
ptoohill1
76da1c0bac Updates Jinja templater with additional optional params
Added optional logging params
Added optional timeout params

Change-Id: I2ca1ff0ab889ed2048b7fbfc36018fac23c4474e
2015-04-06 11:38:42 -05:00
Jenkins
2b45684380 Merge "Fix stale pyc issue for unit tests" 2015-03-31 20:35:24 +00:00
OpenStack Proposal Bot
dfeafc271b Updated from global requirements
Change-Id: Ie0f6b800500f61e5dfa1b6b810b473313bd19cc6
2015-03-31 18:40:05 +00:00
Adam Harwell
28c7eacab2 Fix stale pyc issue for unit tests
See the following for more info:
* http://lists.openstack.org/pipermail/openstack-dev/2014-September/045845.html
* http://lists.openstack.org/pipermail/openstack-dev/2014-September/045873.html
* https://review.openstack.org/#/c/121044/

Change-Id: I98161082cd72b92a7af44f8be8b5a92328a72281
2015-03-31 11:18:31 -05:00
Brandon Logan
98792dd462 DRY'ed keystone session creation and retrieval
Also corrected importing of keystone config options

Change-Id: Icf4ea584bb199d36f848104254a529e19a6cf8ef
2015-03-31 02:34:04 -05:00
Doug Wiegley
ccecb6ea26 Sync with oslo-incubator, tweak as needed
Change-Id: Ice3cfd55ebdfc0b1355ecbb48d42c123cdb743bb
2015-03-30 18:06:47 -06:00
Jenkins
bbf208633b Merge "Jinja Haproxy templates" 2015-03-27 21:08:13 +00:00
Kiall Mac Innes
278a39ecf7 Add tox -ecover environment
Change-Id: Ifb07bb6e7240d8d8a116baa17cb89ced647c128b
2015-03-27 16:12:38 +00:00
Jenkins
b435b50e4c Merge "Create database models for healthmanager" 2015-03-26 21:59:49 +00:00
Jenkins
aaebb084a2 Merge "Add the config file for nova compute drive" 2015-03-26 19:25:13 +00:00
Jenkins
2e400f0610 Merge "Fixes some inconsistencies" 2015-03-26 19:24:12 +00:00
minwang
164c09ef3d Create database models for healthmanager
Co-Authored-By: German german.eichberger@hp.com
Create data models and repositories for healthmanager
Change the health manager's property---lastupdated to be datetime type
Change the code based on the previous comment
Design a new class healthmanager and  implement the update health method
and unit test class test_health_mixin
Add try and exception for get member in update_health_mixin
Delete the pool part when the member gets offline status
Add get_all method for AmphoraHealthRepository so we can pass non equality comparation in it,
also make a test for it in test_repositories.py
Changed the name of test_all and get_all to be test_all_filter and get_all_filter

Change-Id: Ic356dee139e743a9617d401f9658cfefcb49d15f
2015-03-25 17:33:54 -07:00
German Eichberger
e6b9f88fb1 Fixes some inconsistencies
* Fixes inconsistent 404 error messages
* Made status more precise
* Added 404 to upload cert
* Changed start/stop/reload to 202

Change-Id: Ic6c56deea8dcb599e4768aecb5ad8a04e0e69022
2015-03-25 15:53:17 -07:00
minwang
dc68919383 Add the config file for nova compute drive
Include a certificate , key and user data.
Change-Id: I98577e180159030ad2546ca7badf0b8b04589516
2015-03-24 13:48:36 -07:00
Trevor Vardeman
4c8e6d8ab2 Modified amphora driver spec to include a new, optional method
Updated spec to include method and description for network plug operations
potentially necessary on an amphora

Updated interface to include optional method and description for network plug
operations potentially necessary on an amphora

Change-Id: Iaee3033796d4890a549c25a7327cada81bdf0384
2015-03-23 13:35:14 -05:00
ptoohill
847a25042e Jinja Haproxy templates
Adds Jinja templating for haproxy configuration
Adds tests to verify Jinja templating

Change-Id: I7dd71bec3d4993ffb732dcd316b801498329fd2a
Partially-Implements: bp/haproxy-amphora-driver
2015-03-23 09:25:22 -04:00
OpenStack Proposal Bot
10e3fb0f69 Updated from global requirements
Change-Id: I9ce5f9bed99487991f441f29adc5106ee05819e2
2015-03-21 00:19:23 +00:00
minwang
8c221e8f66 change specs for amphora manager interface
Add 2 argument for method build: config_drive_files and user_data

Change-Id: I414fb87609e2be915945619608edda0489fcf35f
2015-03-09 15:40:10 -07:00
OpenStack Proposal Bot
5af84406a7 Updated from global requirements
Change-Id: Ic5fe7edb6ee217a0625b63cf496af198f334b4dc
2015-03-05 18:01:00 +00:00
Jenkins
17454830f6 Merge "Remove the 2.6 classifier" 2015-03-04 20:14:21 +00:00
Joshua Harlow
674072a2a1 Remove the 2.6 classifier
Octavia is only targeting 2.7 and newer so it shouldn't
have the 2.6 classifier listed in its setup.cfg file.

Change-Id: I68fce657362a54b1953183cd6191d90ffa4815ce
2015-03-03 14:28:50 -08:00
Trevor Vardeman
d619e6aff6 Moving to novaclient v2
Updated novaclient references to utilize v2 since v1_1's deprecated.

Change-Id: Ibdcbe7291e72c0e9c59effaecf9f9b16de286873
2015-03-03 14:24:21 -06:00
OpenStack Proposal Bot
662d648ded Updated from global requirements
Change-Id: Ic090bf2183640976ce05729d365c1651fa37b84d
2015-02-24 16:23:15 +00:00
OpenStack Proposal Bot
071aa189b3 Updated from global requirements
Change-Id: I2d88831fa9ef953389ae288c62f3826b1a7df192
2015-02-20 14:01:03 +00:00
Carlos D. Garza
6c743f4524 removing unused import on novaclient
Change-Id: Ib85e9ec79d895a712b10e3693025f2fbc51c955d
2015-02-19 16:37:29 -06:00
Carlos D. Garza
345979e86b Fixes import error in novaclient test
Change-Id: I153b4ead19acafe00d8e574086f11e2df6f2e479
2015-02-19 15:48:15 -06:00
Jenkins
bf32e05e80 Merge "Updated from global requirements" 2015-02-19 06:10:40 +00:00
Jenkins
6ab07c23ec Merge "Specification of reference haproxy amphora API" 2015-02-19 06:04:26 +00:00
Doug Wiegley
8bd86ad487 Fix over-zealous oslo incubator namespace fixing
Change-Id: I694448ad8a9886aeb06e923b5deb5f31e3b273f3
2015-02-18 15:24:51 -07:00