Setup OpenStack Ironic development environment
The script ironic-test.sh is a wrapper of tripleo devtest.sh, it is coded according OpenStack Ironic wiki page: https://wiki.openstack.org/wiki/Ironic
Ubuntu 13.10 64B on ThinkPad T420
-
NOPASSWD for sudo add a file to /etc/sudolers.d/ e.g. $ cat /etc/sudoers.d/01_kui kui ALL=(ALL) NOPASSWD:ALL
-
update the default sources.list to local mirror on your host, it will save a lot time on "apt-get update". The apt-sources element will allow you to change the default sources.list for build time and run time, by defining DIB_APT_SOURCES.
-
set the localhost as a squid3 server, which will cache all the http download, the second access of same URL will hit the squid3 cache, and get from it.
Modify the squid3.conf according the diff file: squid3-conf.diff
check this file /var/log/squid3/access.log to confirm the server works well.
-
patch 3 scripts in tripleo-incubator/scripts: devtest.sh devtest_undercloud.sh pull-tools
modify them according ironic-devenv.patch
-
run ironic-devenv.sh