Skip to content

Instantly share code, notes, and snippets.

@dizz
dizz / gist:2917445
Created June 12, 2012 13:15
edit localrc
EXTRA_OPTS=( --allow_resize_to_same_host=True --libvirt_inject_password=True --enabled_apis=ec2,occiapi,osapi_compute,osapi_volume,metadata )
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit,n-vol,openstackx
OFFLINE=False
@dizz
dizz / gist:2917441
Created June 12, 2012 13:14
edit stackrc
sed -i 's/NOVA_REPO=https\:\/\/github.com\/openstack\/nova.git/NOVA_REPO=https\:\/\/github.com\/dizz\/nova.git/' stackrc
sed -i 's/NOVA_BRANCH=stable\/essex/NOVA_BRANCH=bp\/bexar-open-cloud-compute-interface/' stackrc
@dizz
dizz / gist:2917434
Created June 12, 2012 13:14
prettytable fix
pip uninstall prettytable
pip install "prettytable<0.6"
@dizz
dizz / gist:2917431
Created June 12, 2012 13:13
get dependencies
apt-get -y install python-pip python-dev build-essential
pip install pyssf
@dizz
dizz / gist:2917429
Created June 12, 2012 13:13
get devstack
cd ~
git clone git://github.com/openstack-dev/devstack.git
cd /opt/devstack
git checkout remotes/origin/stable/essex
@dizz
dizz / gist:2888556
Created June 7, 2012 12:29
puppet cannot retrieve facts
puppet-agent[1824]: Could not retrieve fact: Error 400 on SERVER: Not authorized to call find on /file_metadata/facts Could not retrieve file metadata for puppet://foreman.cloudcomplab.ch/facts: Error 400 on SERVER: Not authorized to call find on /file_metadata/facts
@dizz
dizz / gist:2888551
Created June 7, 2012 12:27
Foreman boot server issue
Unable to save
failed to detect boot server: undefined method `bootserver_ip' for #
Failed to perform rollback on DHCP Settings for em1.cloudcomplab.ch - undefined method `destroy' for nil:NilClass
@dizz
dizz / gist:2888549
Created June 7, 2012 12:27
add foreman-proxy to bind group
adduser foreman-proxy bind
@dizz
dizz / gist:2888540
Created June 7, 2012 12:25
Foreman DNS error
Unable to save
Reverse DNS record for em1.cloudcomplab.ch task failed with the following error: Update errors: Answer:
;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 48509
;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;56.168.192.in-addr.arpa. IN SOA
@dizz
dizz / gist:2888536
Created June 7, 2012 12:24
foreman ubuntu preseed config for partitions
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/init_automatically_partition select Guided - use entire disk
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select \
Finish partitioning and write changes to disk
# d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true