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
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
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
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
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
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
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
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
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
By increasing te times of amphora active retries,we are targeting for octavia gate setting to work.
Change-Id: If81cc13966a0a24368225b89c9678f6b0fdc1a7b
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
Had to modify compute driver to take amphora instead of just
a compute_id (we call amphora_id to confuse ourselves)
Change-Id: Ia8b0854fb90d7469cc5ec2fafb47ccd17e6e8c1c
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