Skip to content

Instantly share code, notes, and snippets.

ubuntu@ubuntu:~/buildd$ python manage.py runserver 0.0.0.0:8000
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
$ pip freeze
Warning: cannot find svn location for distribute==0.6.28dev-r0
Django==1.4.3
GnuPGInterface==0.3.2
Magic-file-extensions==0.2
Mako==0.7.1
MarkupSafe==0.15
PAM==0.4.2
PIL==1.1.7
PyYAML==3.10
glance
swift
python-swiftclient
python-quantumclient
quantum
cinder
nova
horizon
keystone
$ bzr diff
=== modified file 'debian/control'
--- debian/control 2013-03-07 18:54:05 +0000
+++ debian/control 2013-03-26 17:54:29 +0000
@@ -35,7 +35,8 @@
python-sqlalchemy,
python-stevedore (>= 0.7),
python-suds,
- python-webob
+ python-webob,
$ koji add-user kojira
FFFFFFFFF /kojihub/ssllogin [('User-Agent', 'koji/1.7'), ('Content-Type', 'text/xml'), ('Content-Length', 140)] <?xml version='1.0'?>
<methodCall>
<methodName>sslLogin</methodName>
<params>
<param>
<value><nil/></value></param>
</params>
</methodCall>
2013-04-02 19:47:40,262 DEBUG utils 4288 139705428084480 Executing ['dput', '-c', u'/home/buildd/repos/cisco/conf/dput.cf', 'autopush', '/tmp/tmpPIO5WB/tmp19mj48/puppet-pip_20121219-4-cisco1_source.changes'] with input=None
2013-04-02 19:47:40,456 DEBUG utils 4288 139705428084480 ['dput', '-c', u'/home/buildd/repos/cisco/conf/dput.cf', 'autopush', '/tmp/tmpPIO5WB/tmp19mj48/puppet-pip_20121219-4-cisco1_source.changes'] with input=None returned 'gpg: Signature made Tue 02 Apr 2013 07:47:40 PM UTC using RSA key ID 3ED3B199\ngpg: Good signature from "OpenStack@Cisco APT repo <openstack-buildd@cisco.com>"\ngpg: WARNING: This key is not certified with a trusted signature!\ngpg: There is no indication that the signature belongs to the owner.\nPrimary key fingerprint: 29B0 95C2 2584 8FD8 E657 5377 E8CC 6705 3ED3 B199\ngpg: Signature made Tue 02 Apr 2013 07:47:39 PM UTC using RSA key ID 3ED3B199\ngpg: Good signature from "OpenStack@Cisco APT repo <openstack-buildd@cisco.com>"\ngpg: WARNING: This key is not c
$ git diff
diff --git a/puppet-cobbler.spec b/puppet-cobbler.spec
index 5ee7caa..7543960 100644
--- a/puppet-cobbler.spec
+++ b/puppet-cobbler.spec
@@ -9,6 +9,8 @@ URL: https://github.com/CiscoSystems/puppet-cobbler.git
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%define tmpname %(echo %{name} | cut -d- -f 2-)
Error: /Stage[main]//Node[cobbler-node]/Cobbler::Ubuntu[precise]/Exec[cobbler-import-precise-x86_64]/returns: change from notrun to 0 failed: /bin/sh: cobbler-ubuntu-import: command not found
Notice: /Stage[main]//Node[cobbler-node]/Cobbler::Ubuntu[precise]/Anchor[cobbler-profile-precise-x86_64-auto]: Dependency Exec[cobbler-import-precise-x86_64] has failures: true
Warning: /Stage[main]//Node[cobbler-node]/Cobbler::Ubuntu[precise]/Anchor[cobbler-profile-precise-x86_64-auto]: Skipping because of failed dependencies
Notice: /Stage[main]//Node[cobbler-node]/Cobbler::Ubuntu[precise]/Anchor[cobbler-profile-precise-x86_64]: Dependency Exec[cobbler-import-precise-x86_64] has failures: true
Warning: /Stage[main]//Node[cobbler-node]/Cobbler::Ubuntu[precise]/Anchor[cobbler-profile-precise-x86_64]: Skipping because of failed dependencies
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install tftpd-hpa' returned 1: Error: Nothing to do
# pushd modules/openstack;git show -1 --oneline;popd
/usr/share/puppet/modules/openstack /usr/share/puppet
bb9ec20 Add an openstack::client class for client nodes
diff --git a/.fixtures.yml b/.fixtures.yml
index 36a1df7..5ce53e4 100644
--- a/.fixtures.yml
+++ b/.fixtures.yml
@@ -7,6 +7,7 @@ fixtures:
'horizon': 'git://github.com/stackforge/puppet-horizon'
'swift' : 'git://github.com/stackforge/puppet-swift'
# grep -ri "guest" .
./spec/classes/openstack_cinder_controller_spec.rb: :rabbit_userid => 'guest',
./spec/classes/openstack_cinder_storage_spec.rb: :rabbit_userid => 'guest',
./manifests/cinder/controller.pp: $rabbit_userid = 'guest',
./manifests/cinder/storage.pp: $rabbit_userid = 'guest',
./manifests/db/mysql.pp: # This removes default users and guest access
[root@os-build openstack]# grep -ri rabbit_user manifests/*
manifests/all.pp:# [rabbit_user] The rabbitmq user to use for auth. Optional. Defaults to openstack.
manifests/all.pp: $rabbit_user = 'openstack',
manifests/all.pp: userid => $rabbit_user,