34 Commits

Author SHA1 Message Date
Mark Vanderwiel
5b4e4d88b2 chmod +x on local.sh to allow it to be executed by stack.sh
Allow sample local.sh to be found and run by stack.sh

Change-Id: Ic12f7376a01553e9cb0a5172af572cef59a5d6f3
2015-11-06 15:36:03 +00:00
Michael Johnson
887012f1d4 Add environment varible to skip amp image build
This patch adds an environment variable check in the devstack
plugin.sh script that disables the amphora image build process.
This will be used by gate test jobs that test against the noop
driver and do not boot amphora.

Change-Id: I6faf2f4d853972f7e700122444da202bdba2dc64
2015-10-16 00:13:54 +00:00
Brandon Logan
01abc3f34c Allow drivers to be overridden for devstack
Change-Id: Ia26bd8cb28dccbb021b2a2f64a9b7e6ef498ff4c
2015-10-01 01:39:36 -05:00
Michael Johnson
0000908ab0 Don't build amphora image if one is available
The devstack plugin.sh script will always build and load an
amphora image.  This patch checks for an existing amphora
image and if one exists it will not build another.

Change-Id: Ifce40b0af9da715d44bab8ec437f844ccf638f52
2015-09-18 03:44:30 +00:00
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
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
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
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
Jenkins
c15689a25b Merge "Switch to OSC for devstack (keystone client deprecated)" 2015-09-04 22:19:40 +00:00
Adam Harwell
a050d426eb Switch to OSC for devstack (keystone client deprecated)
Change-Id: I503a7494d1e20f78dda402737eea1d4ae6d45ee1
2015-09-04 14:36:01 -07:00
Michael Johnson
26e43bec11 Set the Amphora REST driver as devstack default
Change-Id: I11eee8062ed1e61accef6e9e9f6eeb032cdf9466
2015-09-01 19:32:48 +00:00
Jenkins
11d682870b Merge "Increase the amp active retries to be 500 times" 2015-08-29 18:28:37 +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
Bertrand Lallau
4bd3b20083 Correct rabbit messaging config set in devstack
Config section [oslo_messaging] used to set rabbit config is wrong and not used anymore.
New section [oslo_messaging_rabbit] must be used.

Change-Id: Id06bcdfbfecda202bff13915c4f020bc00e19c3c
2015-08-26 10:11:38 +02:00
Adam Harwell
8669340ffc Fix a typo in the devstack plugin.sh which caused a truncated error
Change-Id: I5ad319c43319844944b7675be184eacd0ae8c627
2015-08-13 18:22:16 -05:00
Jenkins
15128a6f40 Merge "haproxy reference amphora REST API client" 2015-07-02 02:16:38 +00:00
German Eichberger
0abcbc4f7d haproxy reference amphora REST API client
Adds rest driver methods
Adds rest driver tests
Add cert task for generating server certs
Modified compute task/flow
Fixed local certificate stuff
Refactored to use requests-mock inetad of responses
Added a "conditiobal flow" for REST

Cleaned up and changed the code to work with
https://review.openstack.org/#/c/160034/

Replaces:
https://review.openstack.org/#/c/144348/
https://review.openstack.org/#/c/145637/14

Change-Id: Ibcbf0717b785aab4c604deef1061e8b2fa41006c
Co-Authored-By: Phillip Toohill <phillip.toohill@rackspace.com>
Co-Authored-By: German Eichberger <german.eichberger@hp.com>
Co-Authored-By: Stephen Balukoff <sbalukoff@bluebox.net>
Implements: bp/haproxy-amphora-driver
2015-06-29 09:08:37 -07:00
minwang
d978263786 Add content for octavia in plugin.sh and settings
The purpose is to make sure the service provider is pointing to octavia
instead of lbaas v2.

Change-Id: I2b315edae15606b0706e49e123db067d7cd67056
2015-06-26 16:06:55 -07:00
minwang
16ba783391 Add webserver in octavia/devstack/samples
Needs to add this file so vagrant script can run.

Change-Id: Iba28a75a9ba201d2a22594d9cb8ab7d4014360f7
2015-06-25 15:59:06 -07:00
ptoohill1
180e6a3c8a Fixes missing admin/user for devstack plugin
At some point a VAR we depended on was removed or changed upstream. This
patch updates to fixes that so the users fields are populated again.

Change-Id: Ie58b478d13b758e020df0655e6e3462ab4755f9a
2015-06-19 12:54:02 -05:00
Jenkins
1694086cd1 Merge "Fix the devstack octavia plugin for non ubuntu distributions" 2015-06-16 16:56:39 +00: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
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
Jenkins
6b391eb53c Merge "Implements the haproxy amphora agent api server" 2015-06-05 06:14:14 +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
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
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
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
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
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