1035 Commits

Author SHA1 Message Date
daz
118e9d07f7 Update readme file
Revise content in the readme file

Change-Id: I514bc6c3ecb47de3a537a356671fb49d437b472a
2016-08-31 00:59:59 +00:00
Jenkins
5f1942259b Merge "Use the from_environ features of oslo_context" 2016-08-09 07:07:35 +00:00
Jenkins
a96559ef7f Merge "fix a misspelling" 2016-08-09 07:07:29 +00:00
Jenkins
d9163cafde Merge "Replace 'c = a if a else b' with 'c = a or b'" 2016-08-09 07:06:54 +00:00
Jenkins
8c5108c28b Merge "Add debug information when skipped some errors" 2016-08-09 06:57:05 +00:00
Jenkins
36054ea9a0 Merge "Instead name, use uuid to get security group instance" 2016-08-09 06:53:03 +00:00
Jenkins
552ce0f879 Merge "We should set status to be 1 if get nothing from socket" 2016-08-09 06:52:57 +00:00
Jenkins
03cb6b53eb Merge "Fixed UnmappedInstanceError thrown when LB delete" 2016-08-09 06:27:30 +00:00
Jenkins
282bc2d249 Merge "Mock time.sleep in tests to reduce test time" 2016-08-09 06:17:18 +00:00
Jenkins
14aa377568 Merge "Revise pagination_max_limit description" 2016-08-09 06:16:54 +00:00
Jenkins
cb9763edfd Merge "Allow to run DIB when installed system-wide" 2016-08-09 06:13:21 +00:00
Jenkins
b4ab6a58bb Merge "Skip removing sec_group if none" 2016-08-09 06:09:01 +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
Adam Harwell
3b11f69181 Mock time.sleep in tests to reduce test time
time.sleep() should be mocked when tests run so they don't take an
extra amount of time to run for no reason.

30s from test_health_daemon.TestHealthDaemon.test_run_sender
10s from test_rest_api_driver.TestAmphoraAPIClientTest.test_request

Change-Id: If32c2021ea37240fd200ebc41d519ed897be87b2
2016-08-04 16:24:03 +09:00
Jenkins
1cc2e89b2e Merge "Fixes Octavia handling of subnets without DHCP" 2016-08-04 00:39:04 +00:00
Selvakumar S
5891b5a0b9 Fixed UnmappedInstanceError thrown when LB delete
During loadbalancer delete in certain corner case where
Amphora agent never reports the heartbeat to the octavia controller.
After load balancer creation the health manager updates the health status of
amphora in the amphora_health table . Since none of the heartbeat received
from the amphora agent and hence no entry is created in 'amphora_health'
table And eventually it goes PENDING_DELETE during delete .

This fix handles UnmappedInstanceError when there is no entries represented
in the octavia DB for the amphora health.

Change-Id: Ib149c7c93ae2f0ad97b09cbcb5668a8872f01879
Closes-Bug: #1609235
2016-08-04 00:23:56 +00:00
daz
74d052ffaa Revise pagination_max_limit description
Revise the description for pagination_max_limit

Change-Id: I401783bfa3b3e60b3f3b4bc2f83270f59fd7c3f0
Partial-bug: #1605039
2016-08-04 06:15:09 +10:00
Lubosz "diltram" Kosnik
2b41699bbc Skip removing sec_group if none
Verify that security group exists. If no skip procedure do remove it
Small code refactoring to be more readable and usable

Change-Id: I2e567f9d6e95a3f6219b569c9dde8e0356daca6b
Closes-Bug: #1605548
2016-08-02 16:15:39 -05: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
maoshuai
6979f8ee6d fix a misspelling
Change-Id: I27189908489df0f182649d6546ad38c4eb97f8f4
2016-07-31 11:46:37 +08: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
Yang Li
4695d053ed Replace 'c = a if a else b' with 'c = a or b'
Change-Id: I66ed9cf8007243e2464837094a90b39449249e6a
2016-07-28 21:38:55 +08:00
Jenkins
114eacdd34 Merge "Fix a small bug when list opts" 2016-07-27 22:31:16 +00:00
Jamie Lennox
636165b852 Use the from_environ features of oslo_context
Oslo context provides a from_environ features that loads up a context
with all the standard auth_token middleware and oslo middleware. Use
that instead of checking those ourselves.

Change-Id: Id19aa796bf284348667b8e02f91bec4dba9d7b4a
2016-07-27 15:24:01 -05:00
Yang Li
eff96e6a5e We should set status to be 1 if get nothing from socket
Change-Id: I52964d4d59ecb70438cc3e45c826bf079711b878
2016-07-27 22:25:27 +08: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
Yang Li
e919aba769 Add debug information when skipped some errors
Although the codes make the steps continue, the error infomation
should be logged to users.

Change-Id: I2cbd3e337ad0c818468ff738634fd4af809f009a
2016-07-24 16:09:22 +08:00
Yang Li
21078a43d3 Instead name, use uuid to get security group instance
Security group names could be same, although it's low probabilities,
we should try to use uuid as far as possible

Change-Id: I66122ddf335ca8e3567c28f9fb65fde6b7aa31c1
2016-07-24 09:05:14 +08: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