1311 Commits

Author SHA1 Message Date
Jenkins
cd7043d611 Merge "Fix tenant_id reference" 2017-01-05 23:14:33 +00:00
Jenkins
7ba3434215 Merge "Set access_policy for messaging's dispatcher" 2017-01-05 19:47:40 +00:00
Lubosz "diltram" Kosnik
37592bf873 Fix tenant_id reference
Replace self.tenant_id with reference to client

Co-Authored-By: Abhishek G M <abhishek.gm@hpe.com>
Change-Id: I361bd8ec1d129ab9351868be60c09db6f47e7e93
2017-01-05 13:09:44 -06:00
Jenkins
0650017e41 Merge "Remove an erroneous MarkMemberActiveInDB task" 2017-01-05 19:03:44 +00:00
Jenkins
bcb0295140 Merge "Adds diskimage-create scripts to pypi package" 2017-01-05 18:44:33 +00:00
Jenkins
9cc65b3f31 Merge "Correcting error message for CA Key validation failure" 2017-01-05 18:44:28 +00:00
Jenkins
c88b9fb4cb Merge "Fix missing NovaServerGroupDelete" 2017-01-05 18:42:10 +00:00
Jenkins
adf9c74c84 Merge "Fix a typo" 2017-01-05 18:42:04 +00:00
Jenkins
59ee58191f Merge "Fix typo in doc/source/api/octaviaapi.rst" 2017-01-05 18:37:36 +00:00
Jenkins
a459c672ca Merge "Fix multi-typo error in Octavia" 2017-01-05 18:20:01 +00:00
OpenStack Proposal Bot
0993ca8708 Updated from global requirements
Change-Id: Iefb3ad63816b15696c6f9d8a021509c58c2ec220
2017-01-05 09:47:54 +00:00
Adam Harwell
654e88686e Correcting error message for CA Key validation failure
Change-Id: I8f16b56d09f69b07423faf23615a3bdd15c3b10a
2017-01-04 23:09:43 -08:00
Jenkins
71f0aea35f Merge "Save neutron calls if plugin does not support dns-integration" 2017-01-05 06:42:20 +00:00
Jenkins
38aca2cfaf Merge "Do not use log hints for exceptions" 2017-01-05 06:42:14 +00:00
Jenkins
1c8ce75bbd Merge "Remove MANIFEST.in from repo" 2017-01-05 06:41:56 +00:00
ZhaoBo
8eddb0fd22 Fix multi-typo error in Octavia
This patch fix some typo in Octavia.

Change-Id: I2699f85f07e3207a0438b8127e9992c553fa40fc
2017-01-05 11:56:20 +08:00
JingLiu
f138219e72 Set access_policy for messaging's dispatcher
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
2017-01-05 01:07:53 +00:00
Michael Johnson
4e2a34dfad Adds diskimage-create scripts to pypi package
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
2017-01-05 00:13:40 +00:00
melissaml
2b8b202689 Fix a typo
Removed redundant 'the'

Change-Id: I815548ae6c2bbccef5cf8b500c84b35104e5fdc5
2017-01-05 00:18:52 +08:00
Jeremy Liu
f42206c7bb Remove MANIFEST.in from repo
It's empty file and no longer used.

Change-Id: Ia0957146bc1427a6407f81f61055293019541eca
2017-01-04 16:47:25 +08:00
da52700
0281872c51 Fix typo in doc/source/api/octaviaapi.rst
Fix typo in doc/source/api/octaviaapi.rst

Change-Id: Ie024bdb865444cc4ff6f757608cb7e650de99589
2017-01-03 17:43:38 +08:00
Gary Kotton
4edcf3a8df Add context to unit tests
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
2017-01-01 01:50:56 -08:00
Gary Kotton
04b0b960b5 Do not use log hints for exceptions
According to the guidlines:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html, a
exception message should not have a log translation hint.

Change-Id: I2d1a5c4ac2a7fa102596891da12b747c27a88e7a
2016-12-29 00:53:32 -08:00
Gary Kotton
32ada008d4 Save neutron calls if plugin does not support dns-integration
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
2016-12-29 00:46:31 -08:00
Jenkins
56bdf7ae0e Merge "Setup translation for octavia" 2016-12-28 17:39:05 +00:00
OpenStack Proposal Bot
6043523bf4 Updated from global requirements
Change-Id: I76ff083a201e059af67430a56cb79d5c7aa9e20d
2016-12-23 03:16:37 +00:00
Michael Johnson
bb8bb1ff67 Fix missing NovaServerGroupDelete
The cascade delete flow was missing the NovaServerGroupDelete
task to clean up the nova server group used for anti-affinity.

Change-Id: I98b90bf3188ffaf3d29b89e1802b2032d2906b36
2016-12-22 16:19:34 +00:00
Jenkins
d7cb74092c Merge "Adding name to health monitor and member" 2016-12-20 19:06:11 +00:00
Jenkins
87fdb48645 Merge "Add build-essential package dependency to amphora-agent element" 2016-12-20 18:14:03 +00:00
Jenkins
8058c70bcc Merge "Fix typo" 2016-12-20 18:08:56 +00:00
Jenkins
1da3cd4a59 Merge "add CONTRIBUTING.rst" 2016-12-20 18:08:34 +00:00
Jenkins
97c555ac94 Merge "Updated from global requirements" 2016-12-20 17:48:54 +00:00
Michael Johnson
04a7079f7f Remove an erroneous MarkMemberActiveInDB task
The get_delete_member_flow had a MarkMemberActiveInDB
task after it deleted the health monitor.  This patch removes that
improper task.

Change-Id: I4640a752de26de32ead6058b90d1445e164e65b9
2016-12-20 16:20:06 +00:00
zhouyunfeng
d05368f4c7 add CONTRIBUTING.rst
The module has no CONTRIBUTING.rst file, so add it.

Change-Id: I2661f7bf992aa58ef871f06f15c012d2a39d1bc7
2016-12-20 16:34:46 +08:00
Ha Van Tu
6e2dcabce2 Fix typo
This patch fixes typo "privledges" by changing it to "privileges".

Change-Id: Id72016eb782b614ee6dcacf8ceb6a0b75b27c6b7
2016-12-20 14:47:50 +07:00
OpenStack Proposal Bot
e93a387219 Updated from global requirements
Change-Id: Ifed1feeb887f4db12c83649bf715d024ea5228ae
2016-12-20 01:48:22 +00:00
Adam Harwell
e51a073614 oslo_messaging_rabbit settings are deprecated
Use [DEFAULT]/transport_url instead.

Change-Id: I6b8a44958570c970b6ce1a48e5d7c09cb2ec3c43
2016-12-19 16:23:40 -08:00
Jenkins
e24e3934c2 Merge "Amphora-agent should log to a distinct location" 2016-12-19 18:54:25 +00:00
German Eichberger
2766174c2b Adding name to health monitor and member
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
2016-12-19 13:42:21 -05:00
Bernard Cafarelli
32f3c4de8c
Add build-essential package dependency to amphora-agent element
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
2016-12-19 17:02:58 +01:00
Adam Harwell
bf8aac5561 Amphora-agent should log to a distinct location
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
2016-12-16 22:02:44 +00:00
Lubosz "diltram" Kosnik
3ffcbeab64 Change bind_host IP address
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
2016-12-16 20:14:09 +00:00
German Eichberger
264f3b58d1 Fix some python3 string issues in amphora agent
The amphora agent has some code that is not handling python3 strings
properly.
This patch resolves that issue.

Change-Id: Ib1af8287bf126aa2aa4626b5ac067bbe20eaa5d2
2016-12-16 20:13:49 +00:00
OpenStack Proposal Bot
78b1a4a8b5 Updated from global requirements
Change-Id: I364e04bb81f116cf4d2a6b28ba92cc6d065e200e
2016-12-16 03:31:29 +00:00
Michael Johnson
34a47353f0 Fix the agent install to use pip -U
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
2016-12-15 13:17:18 -06:00
Michael Johnson
835b3c5be5 The amphora agent plug_vip has an indention issue
The amphora agent plug_vip method had a bad indention causing
a scoping issue.  This patch fixes it.

Change-Id: I310a37972b71cbd9b7d0eb74d2af1cc3b2c66db6
2016-12-15 13:17:18 -06:00
Gregory Haynes
3c5c13c69c Stop depending on tripleo-image-elements
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
2016-12-15 13:17:18 -06:00
Michael Johnson
ad828709a7 Setup translation for octavia
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
2016-12-15 00:48:02 +00:00
Jenkins
547d03ae25 Merge "Add support for diskimage-builder tracing" 2016-12-14 19:57:11 +00:00
Gregory Haynes
316a13ac48 Add support for diskimage-builder tracing
Dib supports a -x argument to output additional tracing information.
Lets support this in our diskimage-create script.

Change-Id: Ifb9f29250475d53ae8c64deef4be01ef8bd584d4
2016-12-14 09:06:56 -08:00