Skip to content

Instantly share code, notes, and snippets.

# history |grep wget
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/graphite-web/graphite-web_0.9.12+debian-1_all.deb
wget http://ftp.us.debian.org/debian/pool/main/p/python-whisper/python-whisper_0.9.12-1_all.deb
wget http://security.ubuntu.com/ubuntu/pool/universe/p/python-django-tagging/python-django-tagging_0.3.1-3_all.deb
wget http://ftp.us.debian.org/debian/pool/main/f/flot/libjs-jquery-flot_0.8.1+dfsg-2_all.deb
wget http://ftp.us.debian.org/debian/pool/main/g/graphite-carbon/graphite-carbon_0.9.12-2_all.deb
wget http://ftp.us.debian.org/debian/pool/main/i/init-system-helpers/init-system-helpers_1.14_all.deb
# apt-cache depends graphite-web
graphite-web
Depends: python
Depends: python
Depends: adduser
Depends: python-cairo
Depends: python-django
Depends: python-simplejson
Depends: python-django-tagging
Depends: python-sqlite
** Reason for termination ==
** {{badmatch,
{error,
{noproc,
{gen_server,call,
[kernel_safe_sup,
{start_child,
{disk_log_sup,
{disk_log_sup,start_link,[]},
permanent,1000,supervisor,
** In 'terminate' callback with reason ==
** shutdown
=ERROR REPORT==== 18-Dec-2013::16:40:17 ===
** gen_event handler rabbit_error_logger crashed.
** Was installed in error_logger
** Last event was: {error,<0.67.0>,
{<0.245.0>,
"** Generic server ~p terminating~n** Last message in was ~p~n** When Server state == ~p~n** Reason for termination == ~n** ~p~n** In 'terminate' callback with reason ==~n** ~p~n",
[msg_store_persistent,
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install rabbitmq-server'
err: /Stage[main]/Rabbitmq::Server/Package[rabbitmq-server]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install rabbitmq-server' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
rabbitmq-server
0 upgraded, 1 newly installed, 0 to remove and 389 not upgraded.
# ./cobbler_sync.py -y /etc/puppet/data/cobbler.yaml
mount: warning: /tmp/cobbler-ubuntu-import.1zyD1L/mnt seems to be mounted read-only.
task started: 2013-12-03_222547_import
task started (id=Media import, time=Tue Dec 3 22:25:47 2013)
Found a debian/ubuntu compatible signature: .disk/mini-info
adding distros
creating new distro: precise-x86_64
creating new profile: precise-x86_64
associating repos
traversing distro precise-x86_64
root@build-server:/etc/puppet/modules/cobbler/files# ./cobbler_sync.py -y /etc/puppet/data/cobbler.yaml
--2013-12-03 21:49:03-- http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/installer-amd64/current/images/netboot/mini.iso
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.92.156, 91.189.92.201, 91.189.91.13, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.92.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34603008 (33M) [application/x-iso9660-image]
Saving to: `/tmp/cobbler-ubuntu-import.rc3MiN/precise-x86_64-mini.iso'
0K ........ ........ ........ ........ ........ ........ 9% 539K 57s
3072K ........ ........ ........ ........ ........ ........ 18% 754K 44s
tderr from the command:
stdin: is not a tty
Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 47 in file /etc/puppet/modules/naginator/manifests/init.pp
Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 52 in file /etc/puppet/modules/naginator/manifests/init.pp
Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored on line 56 in file /etc/puppet/modules/naginator/manifests/init.pp
Warning: Variable access via 'management_interface' is deprecated. Use '@management_interface' instead. template[/etc/puppet/modules/collectd/templates/collectd.erb]:331
(at /etc/puppet/modules/collectd/templates/collectd.erb:331:in `result')
Warning: Variable access via 'graphitehost' is deprecated. Use '@graphitehost' instead. template[/etc/puppet/modules/collectd/templates/collectd.erb]:441
(at /etc/puppet/modules/collectd/templates/co

OpenStack

In this document I describe the steps to setup OpenStack cloud on Fedora 19

Setup

First, install OpenStack on Fedora 19

RDO Quick Start -

$ git diff
diff --git a/manifests/repo/rdo.pp b/manifests/repo/rdo.pp
index 9f172d1..7baae49 100644
--- a/manifests/repo/rdo.pp
+++ b/manifests/repo/rdo.pp
@@ -2,10 +2,10 @@
class openstack::repo::rdo {
include openstack::repo::epel
- if $::osfamily == 'RedHat' {