Skip to content

Instantly share code, notes, and snippets.

2016-05-19 17:14:55.351 28244 INFO quark.plugin_modules.floating_ips [req-47339b7e-7cac-4e20-922e-a8975d72711a - - - - -] get_scalingips for tenant None filters {} fields []
2016-05-19 17:14:55.560 28244 ERROR neutron.api.v2.resource [req-47339b7e-7cac-4e20-922e-a8975d72711a - - - - -] index failed
2016-05-19 17:14:55.560 28244 ERROR neutron.api.v2.resource Traceback (most recent call last):
2016-05-19 17:14:55.560 28244 ERROR neutron.api.v2.resource File "/opt/rackstack/neutron/neutron.488.0/neutron/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 84, in resource
2016-05-19 17:14:55.560 28244 ERROR neutron.api.v2.resource result = method(request=request, **args)
2016-05-19 17:14:55.560 28244 ERROR neutron.api.v2.resource File "/opt/rackstack/neutron/neutron.488.0/neutron/lib/python2.7/site-packages/oslo_db/api.py", line 148, in wrapper
2016-05-19 17:14:55.560 28244 ERROR neutron.api.v2.resource ectxt.value = e.inner_exc
2016-05-19 17:14:55.560 28244 ERROR neutron.api.v2.resource Fi
#PIP_UPGRADE=True
#OFFLINE=True
RECLONE=no
#GIT_BASE=${GIT_BASE:-http://git.openstack.org}
enable_plugin barbican https://review.openstack.org/openstack/barbican
enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas
enable_plugin octavia https://git.openstack.org/openstack/octavia
#LIBS_FROM_GIT+=python-neutronclient,python-novaclient
LIBS_FROM_GIT+=python-neutronclient
2016-04-01 22:46:04.783 1483 ERROR octavia.amphorae.backends.agent.api_server.server [-] Exception on /0.5/plug/vip/10.187.184.7 [POST]
2016-04-01 22:46:04.783 1483 ERROR octavia.amphorae.backends.agent.api_server.server Traceback (most recent call last):
2016-04-01 22:46:04.783 1483 ERROR octavia.amphorae.backends.agent.api_server.server File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
2016-04-01 22:46:04.783 1483 ERROR octavia.amphorae.backends.agent.api_server.server response = self.full_dispatch_request()
2016-04-01 22:46:04.783 1483 ERROR octavia.amphorae.backends.agent.api_server.server File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
2016-04-01 22:46:04.783 1483 ERROR octavia.amphorae.backends.agent.api_server.server rv = self.handle_user_exception(e)
2016-04-01 22:46:04.783 1483 ERROR octavia.amphorae.backends.agent.api_server.server File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in h
#enable_plugin barbican https://review.openstack.org/openstack/barbican $BARBICAN_PATCH
#enable_plugin neutron-lbaas https://review.openstack.org/openstack/neutron-lbaas $NEUTRON_LBAAS_PATCH
#enable_plugin octavia https://review.openstack.org/openstack/octavia $OCTAVIA_PATCH
LIBS_FROM_GIT+=python-neutronclient
KEYSTONE_TOKEN_FORMAT=UUID
HOST_IP=127.0.0.1
DATABASE_PASSWORD=secretdatabase
RABBIT_PASSWORD=secretrabbit
stack@stackbook ~ $ curl -k -v --cert /etc/octavia/certs/client.pem https://10.69.218.6:9443/0.5/info
* Hostname was NOT found in DNS cache
* Trying 10.69.218.6...
* Connected to 10.69.218.6 (10.69.218.6) port 9443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to 10.69.218.6:9443
* Closing connection 0
stack@stackbook ~ $ curl -k -v --cert client.pem https://10.69.218.6:9443
* Rebuilt URL to: https://10.69.218.6:9443/
* Hostname was NOT found in DNS cache
* Trying 10.69.218.6...
* connect to 10.69.218.6 port 9443 failed: Connection refused
* Failed to connect to 10.69.218.6 port 9443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 10.69.218.6 port 9443: Connection refused
client.pem:
maxPersonalitySize = 1000
maxPersonality = 5
https://preprod1.iad.servers.api.rackspacecloud.com/v2/6224140
Need maxPersonalitySize = 10000 or more.
#!/bin/bash
# This is meant to be executed from packer
if [ -z "$PACKER_BUILD_NAME" ] && [ -z "$PACKER_BUILDER_TYPE" ]; then
echo "Do not run by hand, this is run by packer"
exit 1
fi
export DEBIAN_FRONTEND=noninteractive
cert = x509.load_pem_x509_certificate(data=certificate,
backend=backends.default_backend())
if intermediates:
for x509Pem in _split_x509s(intermediates):
_get_x509_from_pem_bytes(x509Pem)
if private_key:
pkey = _read_privatekey(private_key, passphrase=private_key_passphrase)
pknum = pkey.public_key().public_numbers
certnum = cert.public_key().public_numbers
if pknum != certnum:
# Gather networking data and remove old amphorae
create_member_tf = self._taskflow_load(
self._member_flows.get_pre_create_container_member_flow(),
store=store)
with tf_logging.DynamicLoggingListener(create_member_tf, log=LOG):
create_member_tf.run()
# Create the new amphorae configuration for the load balancer
create_lb_tf = self._taskflow_load(
self._lb_flows.get_create_load_balancer_flow(