Skip to content

Instantly share code, notes, and snippets.

View ianychoi's full-sized avatar

Ian Y. Choi ianychoi

View GitHub Profile
@ianychoi
ianychoi / gist:6507fb5f7bb2ad3311ef
Created December 10, 2014 17:55
Midostack execution - error: "020.setup_fake_uplink.sh.log"
++ sudo ip link add type veth
++ sudo ip link set dev veth0 up
++ sudo ip link set dev veth1 up
++ sudo brctl addbr uplinkbridge
++ sudo brctl addif uplinkbridge veth0
++ sudo ip addr add 172.19.0.1/30 dev uplinkbridge
++ sudo ip link set dev uplinkbridge up
++ sudo sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
++ sudo ip route add 200.200.200.0/24 via 172.19.0.2
@ianychoi
ianychoi / gist:4e9e514dd21e0710b2cf
Last active August 29, 2015 14:12
DevStack - localrc file for OpenDaylight + Juno
# DevStack localrc file
# All-in-one mode: a single node with all the services
# with Opendaylight SDN controller
# for Juno release
# - Assumption: Floating IP addresses are 192.168.100.0/24. So, the following command is needed.
# $ sudo route add -net 192.168.100.0/24 gw [your IP address]
# - Default password is 'openstack'.
DEST=/opt/stack
@ianychoi
ianychoi / stack.sh.log_error_20150108
Created January 8, 2015 17:50
One successful & other error (decorator) stack.sh logs on Ubuntu 12.04 with DevStack icehouse release: (localrc: http://goo.gl/OeOGqL)
2015-01-08 16:42:40.048 | + echo_summary 'Installing package prerequisites'
2015-01-08 16:42:40.050 | + [[ -t 3 ]]
2015-01-08 16:42:40.050 | + [[ True != \T\r\u\e ]]
2015-01-08 16:42:40.050 | + echo -e Installing package prerequisites
2015-01-08 16:42:40.050 | + source /home/stack/devstack/tools/install_prereqs.sh
2015-01-08 16:42:40.050 | ++ [[ -n '' ]]
2015-01-08 16:42:40.050 | ++ [[ -z /home/stack/devstack ]]
2015-01-08 16:42:40.050 | ++ PREREQ_RERUN_MARKER=/home/stack/devstack/.prereqs
2015-01-08 16:42:40.050 | ++ PREREQ_RERUN_HOURS=2
2015-01-08 16:42:40.050 | ++ PREREQ_RERUN_SECONDS=7200
@ianychoi
ianychoi / gist:ae997ddad83f46f58d1d
Created March 1, 2015 11:17
devstack: localrc (all-in-one, juno with neutron)
DEST=/opt/stack
# Logging
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=$DEST/logs/screen
# Credentials
ADMIN_PASSWORD=openstack
@ianychoi
ianychoi / local.conf
Created February 16, 2016 00:07
Sample local.conf file (master branch, Neutron with fake nova driver, used in i18n mitake virtual sprint)
[[local|localrc]]
RECLONE=True
ADMIN_PASSWORD=secrete
DATABASE_PASSWORD=secrete
RABBIT_PASSWORD=secrete
SERVICE_PASSWORD=secrete
SWIFT_HASH=secrete
# Keystone
# use defaults
@ianychoi
ianychoi / localrc
Created May 9, 2016 07:34
Sample localrc file (Works well even Ubuntu 16.04 LTS with uncommenting the 2nd line)
# For Ubuntu 16.04 LTS
#FORCE=yes
# Logging
DEST=/opt/stack
LOGFILE=$DEST/logs/stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen
# Credentials
ADMIN_PASSWORD=openstack
[[local|localrc]]
#-----------------------------
# Common configurations
#-----------------------------
HOST_IP=10.0.2.15
enable_service c-bak
disable_service tempest
enable_service heat h-api h-api-cfn h-api-cw h-eng
[[local|localrc]]
# For Ubuntu 16.04 LTS
#FORCE=yes
# Logging
DEST=/opt/stack
LOGFILE=$DEST/logs/stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen
1. DevStack
- http://docs.openstack.org/developer/devstack/
- 환경: Ubuntu 16.04 Server (14.04도 무관)
1) Ubuntu 가상 머신을 설치 후 최신으로 업데이트
## 설치시: 두 번째 어댑터에 기본 host-only 네트워크 추가
# apt-get update
===> # apt update
# apt-get upgrade
https://www.dropbox.com/s/8uqdf9e98etxqzc/training-guides.svg?dl=1

OpenStack Training Guides

This repository contains open source training manuals that can be used to learn about the OpenStack project.

For more details, see the `OpenStack Training Guides wiki page