Skip to content

Instantly share code, notes, and snippets.

View harlowja's full-sized avatar

Joshua Harlow harlowja

  • Waymo
  • Campbell
  • 07:47 (UTC -07:00)
View GitHub Profile
From e482cee76b9a4e8e0cb865bc2f9c7bb14fe29cae Mon Sep 17 00:00:00 2001
From: David Moreau Simard <dmsimard@redhat.com>
Date: Thu, 30 Nov 2017 18:34:19 -0500
Subject: [PATCH] Add support for configuring sqlalchemy pool size, timeout and
recycle
These are especially useful when using remote database servers.
We need to be able to tweak when timeouts and recycling are occuring
on the client side in order to prevent server-side timeouts to be
happening.
From ply Mon Sep 17 00:00:00 2001
From: dbingham <dbingham@godaddy.com>
Date: Fri, 17 Jun 2016 09:25:23 -0700
Subject: GD: Allow multiple floating IPs to single port.
diff --git a/neutron/db/l3_db.py b/neutron/db/l3_db.py
index ef4c486..607c310 100644
--- a/neutron/db/l3_db.py
+++ b/neutron/db/l3_db.py
@@ -914,20 +914,6 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase):
use ara;
DELETE FROM task_results WHERE task_id IN (SELECT id FROM tasks WHERE file_id IN (SELECT id FROM files WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed'))
DELETE FROM tasks WHERE file_id IN (SELECT id FROM files WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed')
DELETE FROM files WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed'
DELETE FROM hosts WHERE playbook_id='e2d47b03-31b7-4665-b9c8-ae7a9b987fed'
- name: deploy SSH keys from topology to boxes
hosts: all
gather_facts: false
vars:
ssh_keys: "{{ lookup('file', '../envs/keys.yaml') | from_yaml }}"
tasks:
- authorized_key:
user: "{{ ansible_user }}"
key: "{{ item.kind }} {{ item.value }} {{ item.user }}@godaddy.com"
with_items: "{{ ssh_keys }}"
[2018-03-14 00:45:50,922] ERROR in app: Exception on /reports/ajax/results/e2d47b03-31b7-4665-b9c8-ae7a9b987fed.txt [GET]
Traceback (most recent call last):
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
[2018-03-13 19:44:54,165] ERROR in app: Exception on /reports/ajax/results/75f074c9-1622-45c5-906b-81f95b49523f.txt [GET]
Traceback (most recent call last):
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/opt/ara/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
- hosts: all
tasks:
- debug:
msg: "{{ item.name }}"
with_items:
- name: 'b'
password: 'e'
loop_control:
label: "{{ item.name }}"
PLAY [all] *************************************************************************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************************************
ok: [n3plpubcldmap01.prod.ams3.gdg]
TASK [debug] ***********************************************************************************************************************************************************************************
ok: [n3plpubcldmap01.prod.ams3.gdg] => (item=b) => {
"changed": false,
"item": {
"name": "b",
import prettytable
import six
import sys
class FSM(object):
"""A basic state machine."""
def __init__(self, start_state):
self._table = {}
using docker==3.0
DEBUG:urllib3.connectionpool:http://localhost:None "POST /v1.35/images/create?tag=glance.15.0.1.g06af2eb5abe0.j27&fromImage=docker-cloud-ostack-local.artifactory.secureserver.net%2Fcentos-source-glance-api%3Aglance.15.0.1.g06af2eb5abe0.j27 HTTP/1.1" 200 None
u'{"status":"Pulling repository docker-cloud-ostack-local.artifactory.secureserver.net/centos-source-glance-api"}\r\n{"errorDetail":{"message":"Error: image centos-source-glance-api:glance.15.0.1.g06af2eb5abe0.j27 not found"},"error":"Error: image centos-source-glance-api:glance.15.0.1.g06af2eb5abe0.j27 not found"}\r\n'
using docker==2.7.0
>>> dc.pull(repository="docker-cloud-ostack-local.artifactory.secureserver.net/centos-source-glance-api:glance.15.0.1.g06af2eb5abe0.j27", tag="glance.15.0.1.g06af2eb5abe0.j27")
DEBUG:docker.auth:Looking for auth config
DEBUG:docker.auth:Looking for auth entry for 'docker-cloud-ostack-local.artifactory.secureserver.net'