I hereby claim:
- I am derks on github.
- I am derks (https://keybase.io/derks) on keybase.
- I have a public key ASDF7C3v9TeQlQD9mAy73tmJHgVFcCLqBnkQuznNrMFxTgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
oot@openstack:/opt/openstack-ansible/playbooks# openstack-ansible setup-openstack.yml | |
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml " | |
ERROR! the role 'ceph_client' was not found in /opt/openstack-ansible/playbooks/common-playbooks/roles:/etc/ansible/roles:/opt/openstack-ansible/playbooks/roles:/etc/ansible/roles/ceph-ansible/roles:/opt/openstack-ansible/playbooks/common-playbooks | |
The error appears to have been in '/etc/ansible/roles/os_glance/tasks/main.yml': line 66, column 11, but may | |
be elsewhere in the file depending on the exact syntax problem. | |
The offending line appears to be: | |
include_role: |
00:07:00 root:~# groupadd rkt | |
groupadd: group 'rkt' already exists | |
00:07:16 root:~# rkt install | |
rkt directory structure successfully created. | |
00:07:23 root:~# rkt status ec73bd12 | |
state=running | |
networks=default:ip4=172.16.28.3 | |
Unable to print status: unable to read status directory: unable to open directory: unable to open file: no such file or directory |
from cement.core import hook | |
def add_db_object(app): | |
# setup your database object here, note you can | |
# get database config settings from app.config.get() | |
my_db_object = WhateverYourDatabaseIs() | |
app.extend('db', my_db_object) | |
hook.register('pre_run', add_db_object) |
import drest | |
from cement2.core import foundation, controller | |
class VTController(controller.CementBaseController): | |
class Meta: | |
label = 'base' | |
arguments = [ | |
( ['-f', '--foo'], dict(help='foo option', dest='foo')) | |
] |
class UserResource(ModelResource): | |
class Meta: | |
queryset = db.User.objects.all() | |
authentication = ApiKeyPlusWebAuthentication() | |
authorization = DjangoAuthorization() | |
resource_name = 'user' | |
excludes = ['email', 'password', 'is_active', 'is_staff', 'is_superuser'] | |
filtering = {} | |
allowed_methods = ['get'] | |
The simple hello world, though it doesn't output anything. | |
### | |
from cement2.core import foundation | |
app = foundation.lay_cement('helloworld') | |
app.run() | |
### | |
What the framework is doing: |
====================================================================== | |
ERROR: tests.cli.test_cmds.test_cmd_backup | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/nose-1.0.0-py2.7.egg/nose/case.py", line 187, in runTest | |
self.test(*self.arg) | |
File "/Users/wdierkes/devel/holland/tests/cli/test_cmds.py", line 60, in test_cmd_backup | |
dry_run=True) | |
File "/Users/wdierkes/devel/holland/holland/cli/cmd/builtin/cmd_backup.py", line 74, in run_backup | |
config = self.config.load_backupset(name) |
====================================================================== | |
FAIL: tests.core.test_util.test_diskfree | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/nose-1.0.0-py2.7.egg/nose/case.py", line 187, in runTest | |
self.test(*self.arg) | |
File "/Users/wdierkes/devel/holland/tests/core/test_util.py", line 99, in test_diskfree | |
assert_equals(path.disk_free("/"), actual_bytes) | |
AssertionError: 199717908480 != 199717769216 | |
'199717908480 != 199717769216' = '%s != %s' % (safe_repr(199717908480), safe_repr(199717769216)) |
(holland-test)derks-macbook [~] $ holland bk | |
2011-05-14 15:46:40,578 [INFO] Backup: default | |
2011-05-14 15:46:40,619 [INFO] + Found plugin mysqldump | |
2011-05-14 15:46:40,619 [INFO] + Locked spool /Users/wdierkes/holland-test/backups/default/.holland | |
2011-05-14 15:46:40,619 [INFO] + Initialized backup directory /Users/wdierkes/holland-test/backups/default/20110514_154640.cAJ5xe | |
2011-05-14 15:46:40,620 [INFO] + Running setup-backup hooks | |
2011-05-14 15:46:40,620 [INFO] + Configured plugin | |
2011-05-14 15:46:40,620 [INFO] + Running backup failure hooks | |
2011-05-14 15:46:40,620 [INFO] Unexpected exception while running command "bk" | |
Traceback (most recent call last): |