Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am dhellmann on github.
  • I am doughellmann (https://keybase.io/doughellmann) on keybase.
  • I have a public key whose fingerprint is E060 113F 190C D011 A8FA B18D 3B6D 06A0 C428 437A

To claim this, I am signing this object:

View gist:3373826
diff --git a/nova/db/sqlalchemy/migrate_repo/versions/111_general_aggregates.py b/nova/db/sqlalchemy/migrate_repo/versions/111_g
index 0c97112..dbbc069 100644
--- a/nova/db/sqlalchemy/migrate_repo/versions/111_general_aggregates.py
+++ b/nova/db/sqlalchemy/migrate_repo/versions/111_general_aggregates.py
@@ -43,8 +43,9 @@ def upgrade(migrate_engine):
aggregate_hosts = Table('aggregate_hosts', meta, autoload=True)
if dialect.startswith('sqlite'):
- aggregate_hosts.drop_column('host')
- aggregate_hosts.create_column(Column('host', String(255)))
@dhellmann
dhellmann / gist:2844410
Created May 31, 2012
ceilometer meter message format, v 0.1
View gist:2844410
msg = {
'method': 'record_metering_data',
'version': '1.0',
'args': {'data': {
'source': counter.source,
'counter_type': counter.type,
'counter_volume': counter.volume,
'user_id': counter.user_id,
'project_id': counter.project_id,
'resource_id': counter.resource_id,
@dhellmann
dhellmann / gist:2837084
Created May 30, 2012
ceilometer tox test failure
View gist:2837084
======================================================================
ERROR: Failure: ImportError (cannot import name Full)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/opt/stack/ceilometer/.tox/py27/local/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
@dhellmann
dhellmann / gist:2301311
Created Apr 4, 2012
Mercurial 2.1.1 installation error
View gist:2301311
~ $ mktmpenv
Using real prefix '/Library/Frameworks/Python.framework/Versions/2.7'
New python executable in 9c0e1be03bb8d654/bin/python
Installing distribute....................................................................................................................................................................................done.
virtualenvwrapper.user_scripts creating /Users/dhellmann/Envs/9c0e1be03bb8d654/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/dhellmann/Envs/9c0e1be03bb8d654/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/dhellmann/Envs/9c0e1be03bb8d654/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/dhellmann/Envs/9c0e1be03bb8d654/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/dhellmann/Envs/9c0e1be03bb8d654/bin/get_env_details
This is a temporary environment. It will be deleted when you run 'deactivate'.
@dhellmann
dhellmann / gist:2209104
Created Mar 26, 2012
error installing with quantum
View gist:2209104
[vagrant@127.0.0.1:2222] out: Traceback (most recent call last):
[vagrant@127.0.0.1:2222] out: File "/vagrant/Openstack-DevstackPy/stack", line 199, in main
[vagrant@127.0.0.1:2222] out: started_ok = run(args)
[vagrant@127.0.0.1:2222] out: File "/vagrant/Openstack-DevstackPy/stack", line 165, in run
[vagrant@127.0.0.1:2222] out: runner.run(persona_inst, root_dir)
[vagrant@127.0.0.1:2222] out: File "/vagrant/Openstack-DevstackPy/devstack/progs/actions.py", line 149, in run
[vagrant@127.0.0.1:2222] out: self._run(persona, root_dir, component_order, instances)
[vagrant@127.0.0.1:2222] out: File "/vagrant/Openstack-DevstackPy/devstack/progs/actions.py", line 200, in _run
[vagrant@127.0.0.1:2222] out: instances,
[vagrant@127.0.0.1:2222] out: File "/vagrant/Openstack-DevstackPy/devstack/progs/actions.py", line 113, in _run_phase
@dhellmann
dhellmann / devstack.rb
Created Mar 2, 2012 — forked from oubiwann/devstack.rb
Vagrant script for devstack
View devstack.rb
# -*- mode: ruby -*-
Vagrant::Config.run do |config|
sshdir = "#{ENV['HOME']}/.ssh/"
cachedir = (ENV['CACHEDIR'] or "/Users/dhellmann/Documents/Devel/openstack-vm/cache")
checkout = (ENV['COOKBOOKS'] or "/Users/dhellmann/Documents/Devel/openstack-vm/openstack-cookbooks")
# Make /vagrant an NFS mount instead of using the default setting
#config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)
You can’t perform that action at this time.