Skip to content

Instantly share code, notes, and snippets.

View harlowja's full-sized avatar

Joshua Harlow harlowja

  • Waymo
  • Campbell
  • 23:13 (UTC -07:00)
View GitHub Profile
{
"_meta": {
"hostvars": {
"p3slcldlab01-01.prod.phx3.gdg": {
"ansible_host": "....."
}
}
},
"all": {
"children": [],
import logging
import pkg_resources
from daddy import channel as c
from daddy import handler
from daddy import matchers
from daddy import trigger
LOG = logging.getLogger(__name__)
import logging
import pkg_resources
from daddy import channel as c
from daddy import handler
from daddy import matchers
from daddy import trigger
LOG = logging.getLogger(__name__)
(<ansible.plugins.callback./opt/daddy/venv/lib/python2.7/site-
packages/ara/plugins/callbacks/log_ara.CallbackModule object at 0x236ed10>):
This Session's transaction has been rolled back due to a previous exception
during flush. To begin a new transaction with this Session, first issue
Session.rollback(). Original exception was: (pymysql.err.OperationalError)
(2006, "MySQL server has gone away (error(32, 'Broken pipe'))") [SQL: u'INSERT
INTO host_facts (id, host_id, timestamp, `values`) VALUES (%(id)s, %(host_id)s,
%(timestamp)s, %(values)s)'] [parameters: {'host_id': u'eba13d48-6e2a-4878
-884e-68dbacaf9a34', 'values': '{"facter_operatingsystem": "CentOS",
"facter_macaddress_ifb632c3f59_f0": "d6:9c:11:fc:f4:f0",
$ cat sr0/openstack/latest/network_data.json | python -mjson.tool
{
"links": [
{
"ethernet_mac_address": "fa:16:3e:60:32:83",
"id": "tapf7f00564-60",
"mtu": null,
"type": "ovs",
"vif_id": "f7f00564-60c4-4237-b8fb-cb36bb66458a"
}
import contextlib
import errno
import itertools
import logging
import pkg_resources
import re
import socket
import threading
import traceback
import contextlib
import os
import socket
import time
from kazoo import client
def do_hello():
print("Hello from %s:%s" % (socket.gethostname(), os.getpid()))
(.venv) LMDV-JHARLOW:openstack-daddy jxharlow$ git diff HEAD~1
diff --git a/requirements.txt b/requirements.txt
index 172214f..52a2669 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -43,8 +43,12 @@ tabulate
# Used to give message -> command suggestions
pylev
-# Ara brings in an ansible that works
INFO:kolla.image.build.nova-compute:Collecting libvirt-python===1.3.2 (from -c requirements/upper-constraints.txt (line 171))
INFO:kolla.image.build.nova-compute: Downloading https://artifactory.secureserver.net/artifactory/api/pypi/python-pypi.python.org-remote/packages/39/e9/ca0127323a3b23279be82d54ee07eaf921cf6262a2e0de8f9251421c2e6b/libvirt-python-1.3.2.tar.gz (171kB)
INFO:kolla.image.build.nova-compute:Installing collected packages: libvirt-python
INFO:kolla.image.build.nova-compute: Running setup.py install for libvirt-python: started
INFO:kolla.image.build.nova-compute: Running setup.py install for libvirt-python: finished with status 'error'
INFO:kolla.image.build.nova-compute: Complete output from command /var/lib/kolla/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mtK5yi/libvirt-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-usg9pY-record/
[WARNING]: Failure using method (v2_runner_on_ok) in callback plugin
(<ansible.plugins.callback./opt/daddy/venv/lib/python2.7/site-
packages/ara/plugins/callbacks/log_ara.CallbackModule object at 0x40c2e90>):
(pymysql.err.OperationalError) (2006, "MySQL server has gone away (error(32,
'Broken pipe'))") [SQL: u'INSERT INTO host_facts (id, host_id, timestamp,
`values`) VALUES (%(id)s, %(host_id)s, %(timestamp)s, %(values)s)']
[parameters: {'host_id': u'00c1e526-30a9-4779-9e1f-6bf7b2430048', 'values':
'{"facter_macaddress_ifb93483b7b_84": "e2:f7:13:b4:17:90",
"ansible_ifb937cddc1_3f": {"macaddress": "d2:5b:9a:24:fd:ec", "features":
{"tx_checksum_ipv ... (3183916 characters truncated) ... ": "off [fixed]",