Created
April 7, 2014 07:23
-
-
Save congto/10016036 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This guide is only making sure that devstack and unit tests will pass, it does not include any | |
provisioning settings and instructions. If you're going to test provisioning stuff refer to: | |
https://etherpad.openstack.org/p/IronicAndDevstackAgain | |
or | |
https://etherpad.openstack.org/p/IronicDeployDevstack | |
# Upgrade the system | |
sudo apt-get upgrade | |
# Install git | |
sudo apt-get install git | |
# Clone devstack | |
cd ~ | |
git clone https://github.com/openstack-dev/devstack.git | |
# Make sure we're using stable devstack and OpenStack services. | |
cd devstack | |
git checkout --track origin/stable/havana | |
# Create localrc | |
nano localrc # + paste contents from the file below | |
# If you have slow VM do this change in stack.sh to make sure it will have time to do the job: | |
# https://github.com/openstack-dev/devstack/blob/stable/havana/stack.sh#L291 change timeout at least to 120 seconds. | |
nano +291 stack.sh # + do change | |
# Run devstack | |
./stack.sh | |
# Install ironic client manually since it wasn't included to the stable/havana devstack branch | |
cd /opt/stack/ | |
git clone https://github.com/openstack/python-ironicclient.git | |
cd python-ironicclient/ | |
sudo python setup.py develop | |
# Prepare tox stuff using https://gist.github.com/max-lobur/9033138 | |
# DONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RECLONE=yes | |
# Enable Ironic API and Ironic Conductor | |
enable_service ir-api | |
enable_service ir-cond | |
# Enable Neutron which is required by Ironic and disable nova-network. | |
disable_service n-net | |
enable_service q-svc | |
enable_service q-agt | |
enable_service q-dhcp | |
enable_service q-l3 | |
enable_service q-meta | |
enable_service neutron | |
# Disable Cinder as it not needed | |
disable_service cinder | |
disable_service c-api | |
disable_service c-sch | |
disable_service c-vol | |
# You can replace "password" with your own one. | |
ADMIN_PASSWORD=111 | |
MYSQL_PASSWORD=111 | |
RABBIT_PASSWORD=111 | |
SERVICE_PASSWORD=111 | |
SERVICE_TOKEN=111 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment