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
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
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
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
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
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
By increasing te times of amphora active retries,we are targeting for octavia gate setting to work.
Change-Id: If81cc13966a0a24368225b89c9678f6b0fdc1a7b
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
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
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
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
Updated files to use openstack instead of stackforge
Updated devstack samples to not point to old references
Change-Id: I501d76173475bb1619006819d971493854fdd15c
- 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
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
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
Updates plugin.sh with method to add octavia service endpoint
Updates settings for protocol and port
Change-Id: Ie2a36f7a7f487c411d35f4a39cae336090caad33