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:2917453
Created June 12, 2012 13:16
execute devstack
./stack.sh
@dizz
dizz / gist:2917462
Created June 12, 2012 13:17
devstack end output
Horizon is now available at http://YOUR_DEVSTACK_IP/
Keystone is serving at http://YOUR_DEVSTACK_IP:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: YOUR_DEVSTACK_ADMIN_PASSWORD
This is your host ip: YOUR_DEVSTACK_IP
stack.sh completed in 366 seconds.
@dizz
dizz / gist:2987340
Created June 25, 2012 08:19
resolv.conf content
domain cloudcomplab.ch
nameserver 8.8.8.8
@dizz
dizz / gist:2987348
Created June 25, 2012 08:21
install ntp
apt-get -y install ntp
ntpdate -b pool.ntp.org
@dizz
dizz / gist:2987954
Created June 25, 2012 10:58
/etc/dhcp/dhclient.conf
supersede domain-name "cloudcomplab.ch";
prepend domain-name-servers 8.8.8.8;
@dizz
dizz / gist:2988063
Created June 25, 2012 11:26
another augeas error
notice: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Dependency Augeas[sudo-foreman-proxy] has failures: true
warning: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Skipping because of failed dependencies
@dizz
dizz / gist:2988152
Created June 25, 2012 11:49
disable puppetmaster
service puppetmaster stop
sed -i 's/^START=yes/START=no/' /etc/default/puppetmaster
@dizz
dizz / gist:3029145
Created July 1, 2012 18:11
nova-manage service list
Binary Host Zone Status State Updated_At
nova-scheduler os-controller nova enabled :-) 2012-06-28 14:51:59
nova-consoleauth os-controller nova enabled :-) 2012-06-28 14:51:59
nova-network os-controller nova enabled :-) 2012-06-28 14:51:59
nova-cert os-controller nova enabled :-) 2012-06-28 14:51:59
nova-compute os-node1 nova enabled :-) 2012-06-28 14:51:59
nova-volume os-node1 nova enabled :-) 2012-06-28 14:51:57
nova-compute os-node2 nova enabled :-) 2012-06-28 14:51:25
nova-volume os-node2 nova enabled :-) 2012-06-28 14:51:22
@dizz
dizz / gist:3029148
Created July 1, 2012 18:12
os-controller definition
node /os-controller\.cloudcomplab\.ch/ {
# Node definition goes here.
}