516 Commits

Author SHA1 Message Date
Brandon Logan
fd0301a5a7 Default controller_ip_port_list option to empty
Also, change a mutable default in the ComputeCreate method.

Change-Id: Ifb90c4a4064500a07fe2243187e4b5fefe6ee899
Closes-Bug: #1490707
2015-09-11 13:32:07 -05:00
Jenkins
94d1930769 Merge "Adds the NO_MONITOR operational status for members" 2015-09-11 00:04:11 +00:00
Jenkins
20318ec576 Merge "Fix the shebang line and permission of webserver.sh" 2015-09-10 23:48:29 +00:00
Jenkins
2d6b7e1eef Merge "Update the cirros version in devstack samples" 2015-09-10 23:47:21 +00:00
Jenkins
99c77bcbdb Merge "Updated from global requirements" 2015-09-10 22:20:44 +00:00
Jenkins
9cf4fe4b75 Merge "Implement UDP heartbeat sender and receiver" 2015-09-10 16:01:09 +00:00
Yoshihide Matsumoto
345b430275 Update the cirros version in devstack samples
The cirros version in local.sh and in local.conf are mismatched,
which causes the nova boot error in devstack.
This patch updates both cirros version to the latest version 0.3.4.

Change-Id: I5cb828914dfd127ac64628520498d38c1a157f46
2015-09-10 18:39:39 +09:00
Jenkins
9d1e5defd0 Merge "health manager service" 2015-09-10 02:49:59 +00:00
Jenkins
da7443525f Merge "Adding amphora failover flows" 2015-09-10 02:48:19 +00:00
Jenkins
16e84df044 Merge "Plug vip and networks by port mac address" 2015-09-10 02:40:06 +00:00
Michael Johnson
c421056956 Adds the NO_MONITOR operational status for members
When no health monitor is assigned to a member HAProxy returns
"no_check" as the status for the server.  This change will pull
that forward into Octavia as member operational_status "NO_MONITOR"

Closes-Bug: 1491936
Change-Id: Ifefd2bddf8999c75397bf7c693042003e0f8a382
2015-09-10 01:19:29 +00:00
OpenStack Proposal Bot
01aa3cb8f1 Updated from global requirements
Change-Id: I05e1adc8f5b0af23c2c47f206eeee60b6b77ffad
2015-09-09 19:40:30 +00:00
minwang
c511b2f195 Increase connection_max_retries to be 300
We also set request_poll_timeout to be 3000 in neutron.conf;
This can help to resolve the error for could not ssh to instance for octavia gate-setting.


This patch is needed by https://review.openstack.org/#/c/209675/


Change-Id: I90002a8913dd7db375ff5740a3f9cd5566b82054
2015-09-09 18:16:22 +00:00
Yoshihide Matsumoto
a7cfdd2bc9 Fix the shebang line and permission of webserver.sh
The cirros doesn't have /bin/ash and /bin/bash.
We should use /bin/sh instead of /bin/ash, and give execute permissions.

Change-Id: I9efa49174377566943f685c345e181ca38ee031e
2015-09-09 18:55:42 +09:00
Carlos D. Garza
ccd7865350 Implement UDP heartbeat sender and receiver
Used binary compressed encoding of json dumped object. To reduce
the size needed to send heart beats incase some stats objects
start getting sent later on. Also used sha256 instead of sha1
with hmac.

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Co-Authored-By: German Eichberger <german.eichbeger@hp.com>
Co-Authored-By: Carlos Garza <carlos.garza@rackspace.com>
Partially implements: health-manager
Change-Id: I932c693101b94c9132e1741291610508876eab43
2015-09-09 06:48:24 +00:00
minwang
f849f55e5e health manager service
This model is used to check amphora health
Add a column 'busy' and primary key  for data table amphora health
Add mutiprocessing code in cmd/health_manager, one for health check, the other is for UDP pacakge listening,

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Co-Authored-By: min wang <swiftwangster@gmail.com>
Implements: blueprint health-manager
Change-Id: I8aeb6b82b58b59951a414e7c2e4c2c58c33a5d15
2015-09-09 06:32:19 +00:00
Trevor Vardeman
2cfcf3eff1 Adding amphora failover flows
Added a flow to complete automated failover for an amphora.  Added new tasks
to retrieve ports, change port device ids for re-allocating to new amphora,
and added functionality to include existing ports on amphora creation.

Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>

Change-Id: Ic0d3f2b9a48ebf66df78e1ef98aef92ad7ee5057
2015-09-09 06:04:47 +00:00
Brandon Logan
3b23de32b8 Plug vip and networks by port mac address
Co-Authored-By: German Eichberger <german.eichberger@hp.com>

Change-Id: Ic6206a97ad67f6364d850e033760ee60d7161f6f
2015-09-09 01:58:19 +00:00
OpenStack Proposal Bot
0bc2612952 Updated from global requirements
Change-Id: I481098fa3c0682d745e23197ec4273bc34859f97
2015-09-07 21:57:02 +00:00
Jenkins
cf348c4f57 Merge "Rest API plug network interface handling" 2015-09-04 22:22:50 +00:00
Jenkins
c15689a25b Merge "Switch to OSC for devstack (keystone client deprecated)" 2015-09-04 22:19:40 +00:00
Jenkins
4e1a1cb5c4 Merge "Set the Amphora REST driver as devstack default" 2015-09-04 21:40:35 +00:00
Adam Harwell
a050d426eb Switch to OSC for devstack (keystone client deprecated)
Change-Id: I503a7494d1e20f78dda402737eea1d4ae6d45ee1
2015-09-04 14:36:01 -07:00
Brandon Logan
f8af6bef7d Rest API plug network interface handling
On a plug network the rest api code was trying to bring up an interface
appended by :0 which is only meant for multiple ips on the same link.  When
post network plug is called on the amphora driver, this is because a member
got added that is on a different subnet.

This change also checks to see if there are any network changes before calling
post_plug_network of the amphora driver.  It didn't make sense to call this
method if there weren't any networks plugged.

Change-Id: I76548a8c82a7a495f909b5b8ac3932a661731293
2015-09-04 15:40:19 -05:00
Jenkins
3ef7e314c2 Merge "Update Active/Standby blueprint" 2015-09-04 17:45:53 +00:00
Sherif Abdelwahab
f8686de9dd Update Active/Standby blueprint
This patch updates the Active/Standby bluprint to:
1. fix asciiflow rendering problem.
2. update the datamodel impact section to include actual changes in
   current review 206252.
3. update the api impact section to include the amphorae rest api
   changes.
4. discuss further performance impact that must be taken care of when
   developing services health checks for VRRP.

Change-Id: I6bddfc628ebf615f5c2966f2ef1837899cd122bf
2015-09-03 14:01:57 -07:00
Brandon Logan
3fb9ffd364 Fix allowed address pairs driver to use region
Also, use the common client code that got added recently.

Change-Id: Id50b9e9998a9dd1c4fd08f875f7d0052881d7362
2015-09-02 21:21:47 -05:00
Jenkins
72dbe50126 Merge "Added support of multi-region environment" 2015-09-02 21:52:10 +00:00
Jenkins
e36296ac2d Merge "Enable automatic sample config generation" 2015-09-02 21:27:39 +00:00
Jenkins
c3369be65c Merge "Fix doctrings typo in delete_member" 2015-09-02 21:26:41 +00:00
ptoohill1
9da1c3794d Adding sni_containers to Octavia API
This just adds the API to accept it and insert into DB.  There is still some
code needed to get the parsing done in the drivers but can be done in another
review as this has become needed due to a change in the neutron lbaas octavia
driver requiring this.

Change-Id: I69c55ee44c510979296539efbf1908af9204a620
2015-09-02 14:45:50 -05:00
Jenkins
190a0ec12b Merge "Removes unused posix-ipc requirement" 2015-09-02 03:05:03 +00:00
OpenStack Proposal Bot
6823aba76e Updated from global requirements
Change-Id: I109117d0990bf2451fa0cba1e6d5d62a605d94b1
2015-09-01 23:24:16 +00:00
Michael Johnson
26e43bec11 Set the Amphora REST driver as devstack default
Change-Id: I11eee8062ed1e61accef6e9e9f6eeb032cdf9466
2015-09-01 19:32:48 +00:00
Claudiu Belu
28036a73eb Removes unused posix-ipc requirement
Change-Id: I58f5f44de1adaa9fa5516ee5f1450b1c2a73ff20
2015-09-01 13:03:59 +00:00
Bertrand Lallau
e2a787e1a4 Fix doctrings typo in delete_member
Change-Id: Ia0f2a9ffc6461f427f45073379d94bdc4f36437b
2015-08-31 21:56:03 +02:00
Jenkins
5ab6ee4681 Merge "Updated from global requirements" 2015-08-31 18:00:03 +00:00
OpenStack Proposal Bot
aec3f5e200 Updated from global requirements
Change-Id: Ic53aeba9311a6d26ed489e9c51d476fecddf6334
2015-08-31 15:35:03 +00:00
Brandon Logan
acc8883c54 Do not remove egress sec group rules on plug vip
When a vip is plugged or a listener is added, all security group rules that
did not have the current configuration of ports were deleted.  This included
the egress rules that by default allow all protocols and ports.  Now, egress
rules are ignored and maintained so connection to amphorae can be preserved.

Change-Id: I9ff2772f9c3e12a5099b7b57cd64f74da5aa35ae
Closes-Bug: #1488281
2015-08-31 02:53:56 -05:00
Jenkins
11d682870b Merge "Increase the amp active retries to be 500 times" 2015-08-29 18:28:37 +00:00
Jenkins
3ce3b3833e Merge "Updated from global requirements" 2015-08-29 05:51:05 +00:00
Jenkins
36f48ab698 Merge "Adding the line to delete amphora" 2015-08-29 05:50:26 +00:00
OpenStack Proposal Bot
11caa0d239 Updated from global requirements
Change-Id: I52c8bcd63b6d2e9125e1cfe24131d8ba880062dd
2015-08-28 23:46:44 +00:00
minwang
1271d5653f Increase the amp active retries to be 500 times
By increasing te times of amphora active retries,we are targeting for octavia gate setting to work.

Change-Id: If81cc13966a0a24368225b89c9678f6b0fdc1a7b
2015-08-28 13:41:52 -07:00
Jenkins
1c899ddb4a Merge "Clean NovaAuth._nova_client during test cleanup" 2015-08-28 18:00:42 +00:00
Jenkins
8f084dd4c7 Merge "Ensure mocks are stopped during test cleanup" 2015-08-28 17:59:12 +00:00
Bertrand Lallau
0ab265ff41 Added support of multi-region environment
Octavia does not support keystone regions and can choose an incorrect
endpoint url when multiple regions provides same services.

Change-Id: I5ea9de380419592920555a2c2fe7ac6f6935e700
Closes-Bug: #1487359
2015-08-28 19:25:45 +02:00
German Eichberger
4d8b98f7ee Adding the line to delete amphora
Had to modify compute driver to take amphora instead of just
a compute_id (we call amphora_id to confuse ourselves)

Change-Id: Ia8b0854fb90d7469cc5ec2fafb47ccd17e6e8c1c
2015-08-28 09:33:39 -07:00
Chandan Kumar
b165d191f6 Removing unused dependency: discover
Change-Id: I2611311405bee9aab1c4aac11268d77e4d070b59
2015-08-28 20:11:50 +05:30
Cedric Brandily
cdd03b28eb Clean NovaAuth._nova_client during test cleanup
NovaAuth[1] memoizes nova client using _nova_client, it implies
_nova_client will reference the mock created on get_nova_client first
call! This change updates Octavia testcase base class[2] in order to
clean up NovaAuth._nova_client.

[1] octavia.compute.drivers.nova_driver
[2] octavia.tests.unit.base.TestCase

Closes-Bug: #1489888
Change-Id: Iec42c822a23c32c17a6e52afbea12c2bcc19fdd0
2015-08-28 15:50:07 +02:00