Replace self.tenant_id with reference to client
Co-Authored-By: Abhishek G M <abhishek.gm@hpe.com>
Change-Id: I361bd8ec1d129ab9351868be60c09db6f47e7e93
oslo.messaging allow dispatcher to restrict endpoint methods since
5.11.0 in d3a8f280ebd6fd12865fd20c4d772774e39aefa2, set with
DefaultRPCAccessPolicy to fix FutureWarning like:
"The access_policy argument is changing its default value to <class
'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'> in version '?',
please update the code to explicitly set None as the value:
access_policy defaults to LegacyRPCAccessPolicy which exposes private
methods. Explicitly set access_policy to DefaultRPCAccessPolicy or
ExplicitRPCAccessPolicy.
Change-Id: I9a644624d4bfdf8830fe0012dc269da8a52559ee
This patch adds the diskimage-create script and associated files
to the pypi package under share/octavia so that operators have the
required script to be able to build amphora images.
This also includes the README and LICENSE file for octavia.
Change-Id: Id014c4ac067de223f15a6bc2382aa2529cf89a13
Closes-Bug: #1654099
When running the unit tests we will now see which tests is being
run and the status of the test in question. This will help debugging,
triaging and cleaning things up.
Change-Id: I6d1458654d2fb6a8e814b17c4673bb9337fac4ec
Some plugins may not suopprt this extension. If this is the case
then there is no need to read and update ports.
Change-Id: If0bf386d68d764fdf6ec52631230a7d00d0dc733
The cascade delete flow was missing the NovaServerGroupDelete
task to clean up the nova server group used for anti-affinity.
Change-Id: I98b90bf3188ffaf3d29b89e1802b2032d2906b36
The get_delete_member_flow had a MarkMemberActiveInDB
task after it deleted the health monitor. This patch removes that
improper task.
Change-Id: I4640a752de26de32ead6058b90d1445e164e65b9
1) Refactor to have a new name mixin to unify names in Octavia
2) Add name to the two tables and have migration scripts
Change-Id: Ic60b9c8c28f7a99de2d36c98a28afac830b24947
Closes-Bug:#1635731
Closes-Bug:#1635740
With the recent changes, gcc is not pulled in anymore on CentOS, and
compilation of the python modules fails in the amphora-agent element
To be on the safe side, this adds the build-essential dependency
to make sure these modules can be buillt
Change-Id: I842b07cbc3e48209fd500bff5cc798be655f0ae9
This patch sets up a seperate log file for the amphora-agent
and logrotate to manage this new log.
Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Ia7b057642d7a567d685d989d1c689d5f3481e73e
Previously octavia API was binding to 127.0.0.1 and in Keystone
was specified other IP depending on the IP specified on host.
Bind to the service host address to enable keystone service catalog usage.
Change-Id: Iead0075c3ac4b2fbc733b8916503d0a8c68dd232
The amphora agent has some code that is not handling python3 strings
properly.
This patch resolves that issue.
Change-Id: Ib1af8287bf126aa2aa4626b5ac067bbe20eaa5d2
The previous patch that switched the agent install to use pip install
did not include the -U switch or the upper constraints flag.
This patch adds those to the amphora-agent element.
Change-Id: If907909704fcff4c7be10690eb4f50d0ba54b1c1
The amphora agent plug_vip method had a bad indention causing
a scoping issue. This patch fixes it.
Change-Id: I310a37972b71cbd9b7d0eb74d2af1cc3b2c66db6
There were only two elements we were using from this repo -
os-svc-install which we werent actually calling anywhere, we only
depended on it needelessly and sysctl. The sysctl element has been moved
in to dib as dib-sysctl so we can now stop depending on
tripleo-image-elements entirely.
Depends-On: If312d199388036d6f4103e94dca99249cb3bcbaf
Depends-On: Ia730850a48e2478fd5461710a9d2619408725cd8
Change-Id: Ie78c4f3ebe506214f0ce7c456fcbbee09d35ba2a
This patch sets up octavia for translations.
It also includes some additional pep8 tests borrowed from neutron
that will be used in the future (tempest idempotent ids and policy.json)
Change-Id: Ia70506fa8cfdbcea7cc67b940761365093e94f2b
Dib supports a -x argument to output additional tracing information.
Lets support this in our diskimage-create script.
Change-Id: Ifb9f29250475d53ae8c64deef4be01ef8bd584d4