Skip to content

Instantly share code, notes, and snippets.

View banveerad's full-sized avatar

Banashankar Veerad banveerad

View GitHub Profile
enable_plugin barbican https://review.openstack.org/openstack/barbican
enable_plugin neutron-lbaas https://review.openstack.org/openstack/neutron-lbaas
enable_plugin octavia https://review.openstack.org/openstack/octavia refs/changes/52/206252/27
LIBS_FROM_GIT+=python-neutronclient
KEYSTONE_TOKEN_FORMAT=UUID
DATABASE_PASSWORD=secretdatabase
RABBIT_PASSWORD=secretrabbit
ADMIN_PASSWORD=secretadmin
SERVICE_PASSWORD=secretservice
SERVICE_TOKEN=111222333444
nable_plugin neutron-lbaas https://review.openstack.org/openstack/neutron-lbaas
enable_plugin octavia https://review.openstack.org/openstack/octavia refs/changes/52/206252/27
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
producer:
def __init__(self):
topic = cfg.CONF.oslo_messaging.topic
self.transport = messaging.get_transport(cfg.CONF)
self.target = messaging.Target(
namespace=constants.RPC_NAMESPACE_CONTROLLER_AGENT,
topic=topic, version="1.0", fanout=False)
self.client = messaging.RPCClient(self.transport, target=self.target)
stack@vagrant-ubuntu-trusty-64:~/octavia/octavia/db/migration$ alembic history
543f5d8e4e56 -> 3b199c848b96 (head), Create NO_MONITOR operational_status
2351ea316465 -> 543f5d8e4e56, Add a column busy in table amphora health
2351ea316465 -> 1e4c1d83044c (head), Keepalived configuration datamodel
357d17a6d5ac -> 2351ea316465 (branchpoint), Adding TERMINATED_HTTPS support and TLS ref ID char length increase
298eac0640a7 -> 357d17a6d5ac, update lb and amphora data model for active passive
4fe8240425b4 -> 298eac0640a7, Add vrrp_port_id and ha_port_id to amphora
48660b6643f0 -> 4fe8240425b4, update vip add subnet id
3e5b37a0bdb9 -> 48660b6643f0, add new states for amphora
92fe9857279 -> 3e5b37a0bdb9, Add vrrp_ip and ha_ip to amphora
2015-09-16 23:32:25.668 23639 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not talk to instance
2015-09-16 23:33:15.710 23639 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not talk to instance
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connection.py:251: SecurityWarning: Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
SecurityWarning
/usr/local/lib/python2.7/dist-packages/requests/packa
<johnsom> Issue one is you need to edit (this is temporary until the patch merges) elements/amphora-agent/source-repository-amphora-agen and add the ref to the patch
<johnsom> bana_k no, it's a bug, so master won't help.
<bana_k> oh ok got it.
<johnsom> But you should be able to get past this by doing the step above. That way the amp image build by devstack will have the new agent code in it
<johnsom> You can just append refs/changes/52/206252/30 for this patchset
* diogogmt has quit (Quit: diogogmt)
<bana_k> ok ll try that out
<bana_k> whats the second bug you talking about ?
<johnsom> I will fix the bug in the revert in master in this patch.
description: A simple lb pool test
heat_template_version: '2015-04-30'
resources:
my_hm:
properties:
pool: a20dbf07-cdb0-42ab-bb3b-8912fbbece68
delay: 1
max_retries: 1
timeout: 1
type: PING
###########################################
############## CONTROLLER NODE ############
###########################################
# Sample ``local.conf`` that builds a devstack with neutron LBaaS Version 2
# NOTE: Copy this file to the root DevStack directory for it to work properly.
# ``local.conf`` is a user-maintained settings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
###########################################
############## CONTROLLER NODE ############
###########################################
# Sample ``local.conf`` that builds a devstack with neutron LBaaS Version 2
# NOTE: Copy this file to the root DevStack directory for it to work properly.
# ``local.conf`` is a user-maintained settings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
@banveerad
banveerad / gist:7caaf5acff949308bbc7
Created November 13, 2015 19:58
heat n celiometer
###########################################
############## CONTROLLER NODE ############
###########################################
# Sample ``local.conf`` that builds a devstack with neutron LBaaS Version 2
# NOTE: Copy this file to the root DevStack directory for it to work properly.
# ``local.conf`` is a user-maintained settings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.