This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_get_all_pools(self): | |
with self.subnet() as subnet: | |
with self.loadbalancer(subnet=subnet, name='lb1') as lb: | |
lb_id = lb['loadbalancer']['id'] | |
with self.listener(loadbalancer_id=lb_id, | |
protocol_port=80) as listener1: | |
with self.listener(loadbalancer_id=lb_id, | |
protocol_port=443) as listener2: | |
listener1_id = listener1['listener']['id'] | |
listener2_id = listener2['listener']['id'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
2015-08-18 03:43:14.713 TRACE neutron_lbaas.services.loadbalancer.plugin File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 480, in _call_driver_operation | |
2015-08-18 03:43:14.713 TRACE neutron_lbaas.services.loadbalancer.plugin driver_method(context, db_entity) | |
2015-08-18 03:43:14.713 TRACE neutron_lbaas.services.loadbalancer.plugin File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/driver_base.py", line 126, in func_wrapper | |
2015-08-18 03:43:14.713 TRACE neutron_lbaas.services.loadbalancer.plugin args[0].failed_completion(args[1], args[2]) | |
2015-08-18 03:43:14.713 TRACE neutron_lbaas.services.loadbalancer.plugin File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 119, in __exit__ | |
2015-08-18 03:43:14.713 TRACE neutron_lbaas.services.loadbalancer.plugin six.reraise(self.type_, self.value, self.tb) | |
2015-08-18 03:43:14.713 TRACE neutron_lbaas.services.loadbalancer.plugin File "/opt/stack/neutron-lbaas/n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^[[01;31m2015-08-18 00:32:01.487 TRACE neutron_lbaas.services.loadbalancer.plugin ^[[01;35m^[[00mTraceback (most recent call last): | |
^[[01;31m2015-08-18 00:32:01.487 TRACE neutron_lbaas.services.loadbalancer.plugin ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 480, in _call_driver_operation | |
^[[01;31m2015-08-18 00:32:01.487 TRACE neutron_lbaas.services.loadbalancer.plugin ^[[01;35m^[[00m driver_method(context, db_entity) | |
^[[01;31m2015-08-18 00:32:01.487 TRACE neutron_lbaas.services.loadbalancer.plugin ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/drivers/driver_base.py", line 126, in func_wrapper | |
^[[01;31m2015-08-18 00:32:01.487 TRACE neutron_lbaas.services.loadbalancer.plugin ^[[01;35m^[[00m args[0].failed_completion(args[1], args[2]) | |
^[[01;31m2015-08-18 00:32:01.487 TRACE neutron_lbaas.services.loadbalancer.plugin ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 119, in __exit__ | |
^[[01;31m201 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
015-08-24 12:51:05.977 27578 DEBUG octavia.controller.worker.controller_worker [-] Task 'octavia.controller.worker.tasks.amphora_driver_tasks.AmphoraPostVIPPlug' (2ce665df-755d-4730-bbab-f7ef4b2e2cb0) transitioned into state 'RUNNING' from state 'PENDING' _task_receiver /usr/local/lib/python2.7/dist-packages/taskflow/listeners/logging.py:190 | |
2015-08-24 12:51:05.995 27578 DEBUG octavia.amphorae.drivers.haproxy.rest_api_driver [-] request url plug/vip/10.0.0.3 request /opt/stack/octavia/octavia/amphorae/drivers/haproxy/rest_api_driver.py:214 | |
2015-08-24 12:51:08.999 27578 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not talk to instance | |
2015-08-24 12:51:27.016 27578 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not talk to instance | |
2015-08-24 12:51:45.032 27578 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not talk to instance | |
2015-08-24 12:52:03.033 27578 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not talk to instance | |
20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cert_manager = barbican_cert_manager | |
# SSH Driver specific | |
username = ubuntu | |
# key_path = /opt/stack/.ssh/id_rsa | |
# REST Driver specific | |
# bind_host = 0.0.0.0 | |
# bind_port = 9191 | |
# haproxy_cmd = /usr/sbin/haproxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eth1:0 Link encap:Ethernet HWaddr fa:16:3e:5e:d5:8d | |
inet addr:10.0.0.13 Bcast:10.0.0.255 Mask:255.255.255.0 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== START localrc ===== | |
[[local|localrc]] | |
# The name of the RECLONE environment variable is a bit misleading. It doesn't actually | |
# reclone repositories, rather it uses git fetch to make sure the repos are current. | |
#RECLONE=True | |
enable_plugin neutron-lbaas https://review.openstack.org/openstack/neutron-lbaas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Original author https://gist.github.com/rm-you | |
# Set up the packages we need | |
apt-get update | |
apt-get install libffi-dev libssl-dev git vim libxml2-dev libsqlite3-dev libxslt1-dev -y | |
# Clone the repos we need | |
git clone https://github.com/openstack/barbican.git /tmp/barbican |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enable_plugin neutron-lbaas https://review.openstack.org/openstack/neutron-lbaas | |
enable_plugin octavia https://review.openstack.org/openstack/octavia | |
LIBS_FROM_GIT+=python-neutronclient | |
USE_CONSTRAINTS=True | |
DATABASE_PASSWORD=password | |
ADMIN_PASSWORD=password | |
SERVICE_PASSWORD=password | |
SERVICE_TOKEN=password | |
RABBIT_PASSWORD=password | |
# Enable Logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stack@vagrant-ubuntu-trusty-64:~$ neutron lbaas-member-create --subnet private-subnet --address 10.0.0.4 --protocol-port 80 test_pool_1 | |
Created a new member: | |
+----------------+--------------------------------------+ | |
| Field | Value | | |
+----------------+--------------------------------------+ | |
| address | 10.0.0.4 | | |
| admin_state_up | True | | |
| id | b4ed91ab-adf8-4a34-8aed-0ab90d025511 | | |
| protocol_port | 80 | | |
| subnet_id | 26ba7fbe-f85a-4d5b-be40-6ab311357091 | |
OlderNewer