1013 Commits

Author SHA1 Message Date
Adam Harwell
8c50a35850 Allow IPv6 VIPs
Removes hardcoded IPv4 logic from the controller and agent.
Updates the VIP address field size in the DB.

Closes-Bug: #1585803
Closes-Bug: #1585804

Change-Id: Ib5aeef4563e20cc8ffdc607139f28aad9787aaeb
2016-08-11 22:30:00 +00:00
OpenStack Proposal Bot
9630ae7cb5 Updated from global requirements
Change-Id: I34fd6195c2f8481ade4e16652160258aeaae02be
2016-08-05 08:50:47 +00:00
Jenkins
7b18f19870 Merge "Update the home-page info with the developer documentation" 2016-08-04 18:08:10 +00:00
Jenkins
5eeb1c51d2 Merge "Use seperate security group for o-hm0 port in devstack" 2016-08-04 08:24:57 +00:00
Jenkins
1cc2e89b2e Merge "Fixes Octavia handling of subnets without DHCP" 2016-08-04 00:39:04 +00:00
OpenStack Proposal Bot
23ec55364d Updated from global requirements
Change-Id: If64b0fde7550cad84257cd6374525684bbfab0f9
2016-08-02 15:13:20 +00:00
Michael Johnson
53ac6823fa Fixes Octavia handling of subnets without DHCP
Currently Octavia assumes that DHCP service is available on
the VIP and member subnets.  This is not the case at all operators.
This patch makes Octavia use the IP information provided when
the ports are created, if available.  If the IP information is
not available on the ports it will fall back to relying on DHCP.

Change-Id: I08a93d4318bbce48128019376320782d1a334369
Closes-Bug: #1607900
2016-08-01 15:13:48 +00:00
OpenStack Proposal Bot
bb9612478b Updated from global requirements
Change-Id: I90b6745e69fece91ce80113b694f1260456ff880
2016-07-30 01:22:04 +00:00
Brandon Logan
0fa0828432 Allow deletion of ERRORed load balancers
The API was not allowing the deletion of load balancers in ERROR state.
Users should be able to delete their load balancers in ACTIVE or ERROR
state.  This is good for users and good for operators.

Change-Id: Ie40b062e1b5cc6d90274190676fb81ee1c32e63e
Closes-Bug: #1607502
2016-07-28 14:48:32 -05:00
Jenkins
114eacdd34 Merge "Fix a small bug when list opts" 2016-07-27 22:31:16 +00:00
liyang
68aa273ed5 Fix a small bug when list opts
Change-Id: Ie050581282023dcdb8487b193a9dbf9c973f00fd
2016-07-26 10:22:14 +08:00
zhangyanxian
37fc1a0943 Update the home-page info with the developer documentation
Change-Id: Ia5229a148c7bfd334d6454ea9a3e960c8619e1f9
2016-07-25 01:14:06 +00:00
Jenkins
53834349fb Merge "Disbale DNS update for port o-hm0 in devstack" 2016-07-23 01:44:08 +00:00
Jenkins
32a19203bb Merge "Instead of info, use exception for logging an exception" 2016-07-22 21:24:46 +00:00
liyang
fb8bd2c802 Instead of info, use exception for logging an exception
Change-Id: I49db7157d42815102fcde3fc139236bd8d7f2df8
2016-07-22 20:21:57 +08:00
Jenkins
7f03bbeafe Merge "DIB image tests speedups" 2016-07-22 03:22:08 +00:00
Jenkins
cf67f7976e Merge "Py3: Don't use dict.values()[0]" 2016-07-22 03:22:01 +00:00
qinchunhua
fd18ee3623 Py3: Don't use dict.values()[0]
In Py3 'dict_values', 'dict_keys', 'dict_items' objects don't support
indexing.

Change-Id: Ie29ac8c38aa2e72f73f9b4d04ff187d214b0df34
2016-07-21 20:31:24 -04:00
Bernard Cafarelli
3a44e594ef DIB image tests speedups
Change default image size to 2GB (align with devstack value)
Store the virt-inspector output to reuse in virt-inspector calls
Relax the size check to allow for system size change after updates and
differences in base distribution

Change-Id: I9aaaabcbe8a1332e57fd8f9f0649dc8cfc5b9977
2016-07-21 17:33:25 +02:00
Yang Li
3ea3151ed4 Fix a typo and replace unused variable with '_'
Change-Id: I67113acd4758ca3b68180e75eac920226e88fd71
2016-07-21 21:20:40 +08:00
chen-li
686357ad29 Use seperate security group for o-hm0 port in devstack
OCTAVIA_HM_LISTEN_PORT is used for amphore to talk with o-hm.
This port need to be enabled in security group.

Change-Id: I686e49a502a1abf9afa5fc6b10d444fda98dc0d5
2016-07-20 00:24:31 -05:00
OpenStack Proposal Bot
79bcdeceb3 Updated from global requirements
Change-Id: Id2f1124809bca9d6d5c3c6930e3867eb362f765a
2016-07-18 18:13:25 +00:00
chen-li
a4f3931ca2 Disbale DNS update for port o-hm0 in devstack
Disable the DNS update for port o-hm0 during the installation of
devstack to aviod accidentally DNS change.

Note: NetworkManager will attempt to write DNS information from
DHCP into /etc/resolv.conf, overwriting the existing contents.
So, if you have NetworkManager enabled, the once for all solution
should be set the immutable bit on the file:
    chattr +i /etc/resolv.conf

Change-Id: Icbc23feb8cb3c9967aa66a3c6c2f61da61397d11
2016-07-18 04:45:32 -05:00
Jenkins
78e28f880b Merge "Adding improved logging to amphora rest driver" 2016-07-16 04:39:42 +00:00
Jenkins
cd02e5e17c Merge "Add _get_resource func to get any type resource in neutron" 2016-07-16 03:06:06 +00:00
Jenkins
5818119df3 Merge "Add revert method in database_tasks MapLoadbalancerToAmphora" 2016-07-16 03:05:59 +00:00
Jenkins
ed104392bb Merge "Cache neutron extension lookup state" 2016-07-16 03:00:14 +00:00
Michael Johnson
7be9df899b Adding improved logging to amphora rest driver
We are seeing odd behavior connecting to the amphora on some
gate hosts.  This patch adds additional logging to gather
information on this behavior as well as provide more user
friendly log messages when connection issues occur.

Change-Id: I086fd64cfadb839eec36128016ee018e373f9457
2016-07-15 23:50:48 +00:00
Jenkins
7119a6a85a Merge "Fixing bug in single-create jinja config generation" 2016-07-15 22:20:39 +00:00
Jenkins
25ce9f3904 Merge "Correct reraising of exception" 2016-07-15 18:05:46 +00:00
Jenkins
c5b43412eb Merge "Fix typo in the files" 2016-07-15 16:36:44 +00:00
qinchunhua
a5f730ce7c Correct reraising of exception
When an exception is caught and rethrown, it should call 'raise'
without any arguments because it shows the place where an exception
occured initially instead of place where the exception was re-raised.

Co-Authored-By: Songming Yan <yan.songming@zte.com.cn>

Change-Id: I49f9847fbc0733b97a99637e2400f9dbb21182e3
2016-07-14 23:20:38 +00:00
zhangyanxian
2c134db4ad Fix typo in the files
Change-Id: I166e9e75aa1716b3151164e06d6664348084cf02
2016-07-14 12:46:12 +00:00
Adam Harwell
e1d545be30 Cache neutron extension lookup state
I don't believe that neutron extensions are loaded/unloaded on the fly,
so there should be no reason to check them every time (this adds
additional API call overhead). It is trivial to cache them instead.
If people think this is a bad idea for some reason I have not
considered, feel free to -2 (maybe my assumption is incorrect).

Change-Id: Ifa08bea3187eb1f603a28c7faf33dfbaff6f6afe
2016-07-14 19:16:22 +09:00
Adam Harwell
8c17379cb2 Removing FK relationships from ListenerStatistics
The design is for ListenerStatistics to be in its own DB (probably
Redis) because of the required write performance at scale. Having these
constrains in place (however valid they seem) will prevent a deployer
from correctly splitting these tables between different DBs.

Change-Id: I35d424cb6f8c858a3465ea94e496c7de946ffa70
2016-07-14 09:57:53 +00:00
Adam Harwell
fdde4e6984 Revert "Condense amphora-agent-ubuntu in to amphora-agent"
This reverts commit 687a972960915ef01008701dbbb35a7b52c728ae.
Something about this seems to have possibly broken amphora boots.
Testing reverting this patch to see if it fixes the scenario runs.

Change-Id: I824cb1c6fa38f2320f84456a551585114215f625
2016-07-14 17:51:02 +09:00
Jenkins
c2b82a0849 Merge "Fix Octavia release notes header" 2016-07-13 21:10:25 +00:00
Jenkins
ed45d5f9c4 Merge "Condense amphora-agent-ubuntu in to amphora-agent" 2016-07-13 21:10:18 +00:00
Jenkins
62c3353a44 Merge "Support RHEL base image in DIB" 2016-07-13 21:04:08 +00:00
Jenkins
613cbf6538 Merge "Fix docstrings for database tasks" 2016-07-13 21:02:10 +00:00
Jenkins
cae30d125d Merge "Use git.o.o rather than review.o.o for cloning" 2016-07-13 21:01:36 +00:00
Jenkins
fd9e45a54a Merge "Modernize amphora-agent element" 2016-07-13 20:50:34 +00:00
Jenkins
e0cfe6b559 Merge "Add Python 3.5 classifier and venv" 2016-07-13 20:50:10 +00:00
Trevor Vardeman
7bfd1e20dc Fixing bug in single-create jinja config generation
Fix detailed generating the config regardless of the presence of the redirect
pool backend configuration, sending requests to the default pool backend

Change-Id: I84194e6b8cab765fc1c97c0acaaa0c3037320578
Closes-Bug: 1583341
2016-07-13 16:06:19 +00:00
Jenkins
1f05e3bb1c Merge "Remove the conditional check for topology" 2016-07-12 22:31:03 +00:00
Jenkins
6910f1a57f Merge "Fixed running tox while stacked" 2016-07-12 22:07:23 +00:00
Yatin Kumbhare
db2178964a Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: I968c8baab6b9f5c1b1b99735e16dc08158f7d8d7
2016-07-12 21:12:59 +05:30
Bernard Cafarelli
6e97a37744 Support RHEL base image in DIB
This adds a rhel type and gives some pointers on needed environment
variables for base image, registration, needed subscriptions.

no-resolvconf is also updated to work on rhel-type systems

Depends-On: Icb0e20b01479fea345e01309fc4bf3f7f639900c
Change-Id: Ic452feaf32fe7699ebd072f21dd630a2ac93bb5f
2016-07-12 10:24:37 +02:00
Jenkins
a3803ad68b Merge "Insert haproxy in front of all the o-api endpoints" 2016-07-12 02:29:30 +00:00
Jenkins
ab2faff96f Merge "Allow deploying secondary worker and API nodes" 2016-07-12 02:13:37 +00:00