Skip to content

Instantly share code, notes, and snippets.

py.warnings:WARNING: [26f391af] (986-29280)
pulp.server.async.tasks:INFO: [26f391af] Task failed : [bc52aeba-74a0-469c-9c52-6eeb17112afd] : Worker terminated abnormally while processing task bc52aeba-74a0-469c-9c52-6eeb17112afd. Check the logs for details
celery.app.trace:ERROR: [26f391af] (986-29280) Task pulp.server.async.tasks._release_resource[26f391af-2118-4fec-bfb5-30f4bd8c0734] raised unexpected: AttributeError("'NoneType' object has no attribute 'top'",)
celery.app.trace:ERROR: [26f391af] (986-29280) Traceback (most recent call last):
celery.app.trace:ERROR: [26f391af] (986-29280) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task
celery.app.trace:ERROR: [26f391af] (986-29280) R = retval = fun(*args, **kwargs)
celery.app.trace:ERROR: [26f391af] (986-29280) File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 107, in __call__
celery.app.trace:ERROR: [26f391af] (986-29280) return super(PulpTask, self).__call__(*args, **kwargs)
celery.ap
@signed8bit
signed8bit / gist:25e46bae7047bb827c59f837a82564f8
Created November 10, 2017 01:15
Debug Output: Vagrant destroy now returns exit status 1 when there was nothing to destroy
# vagrant --version
Vagrant 2.0.0
# vagrant destroy -f
==> vm1: VM not created. Moving on...
==> vm2: VM not created. Moving on...
# echo $?
0
# vagrant --version
Vagrant 2.0.1
@signed8bit
signed8bit / setting-up-a-pipeline.md
Last active March 16, 2017 19:25
DEVNET-1027 Setting up a Pipeline

Setting up a Pipeline

Commit Job

  • New Item -> Freestyle Project

    • Name: python-commit-job
  • General

@signed8bit
signed8bit / python-release-job-script.sh
Created July 11, 2016 21:08
DEVNET-1027 python-release-job-script Script
#!/usr/bin/env bash
set -e
virtualenv .publish_venv --system-site-packages
source .publish_venv/bin/activate
cd ${WORKSPACE}/${GERRIT_PROJECT}
pip install devpi-client
@signed8bit
signed8bit / python-commit-job-script.sh
Created July 11, 2016 21:06
DEVNET-1027 python-commit-job Script
#!/usr/bin/env bash
set -e
virtualenv .test_venv
source .test_venv/bin/activate
cd ${WORKSPACE}/${GERRIT_PROJECT}
pip install -r requirements-dev.txt
@signed8bit
signed8bit / netloc.sh
Created May 2, 2016 13:27
A simple wrapper script for setting a network location on OS X using the networksetup command.
#! /usr/bin/env bash
##
# Switches to the specified network location
##
function switch_location() {
if ! /usr/sbin/networksetup -switchtolocation "${loc}" >/dev/null 2>&1 ; then
echo "Error: Network location \"${loc}\" not found"
fi
}
Tennessee State Museum is a good start...
=========================================
http://www.tnmuseum.org
More Museums
============
Frist Center for the Visual Arts - http://fristcenter.org
@signed8bit
signed8bit / gist:d3459fb3dd65bed6df41
Last active August 29, 2015 14:06
CoderFaire Heat Example
heat_template_version: 2013-05-23
description: >
A template showing how to create a Nova instance, a Cinder volume and attach
the volume to the instance. The template uses only Heat OpenStack native
resource types.
parameters:
instance_type:
type: string
@signed8bit
signed8bit / gist:11225629
Created April 23, 2014 17:43
Vagrant provision script for devstack
#!/bin/bash
# Dependencies
apt-get update
apt-get install -y git
# Obtain and configure DevStack
cd /home/vagrant/ && git clone https://github.com/openstack-dev/devstack.git
cat > /home/vagrant/devstack/local.conf << 'EOF'
@signed8bit
signed8bit / gist:11225557
Created April 23, 2014 17:40
Vagrant file for devstack using VMware
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider 'vmware_fusion' do |v|
v.vmx['memsize'] = '2048'
v.vmx['numvcpus'] = '2'