Update readmes to better clarify:

- baremetal vs virt setup
- source vs package install
This commit is contained in:
James Slagle 2014-03-19 08:14:19 -04:00
parent 84ead648b3
commit 4e7d21be79
5 changed files with 86 additions and 36 deletions

View File

@ -1,9 +1,9 @@
Undercloud Install via instack
==============================
instack-undercloud via packages
===============================
1. Enable the openstack-m repository
sudo yum -y install http://repos.fedorapeople.org/repos/openstack-m/openstack-m/openstack-m-release-icehouse-1.noarch.rpm
sudo yum -y install http://repos.fedorapeople.org/repos/openstack-m/openstack-m/openstack-m-release-icehouse-2.noarch.rpm
2. Install instack-undercloud

33
README-source.md Normal file
View File

@ -0,0 +1,33 @@
instack-undercloud via source
=============================
1. Clone this repository and instack
git clone https://github.com/agroup/instack-undercloud
git clone https://github.com/agroup/instack
2. Create and edit your answers file. The descriptions of the parameters that
can be set are in the sample answers file.
cd instack-undercloud
# Use either the baremetal or virt sample answers file
# cp instack-baremetal.answers.sample instack.answers
# cp instack-virt.answers.sample instack.answers
# Return back to directory where instack was cloned
cd ..
4. Add the instack-undercloud scripts directory to your $PATH for convenience
export PATH=instack-undercloud/scripts:$PATH
3. Run script to install undercloud. The script will produce a lot of output on
the sceen. It also logs to ~/.instack/install-undercloud.log. You should see
`install-undercloud Complete!` at the end of a successful run.
instack-install-undercloud
That completes the Undercloud install. To proceed with deploying and using the
Overcloud see [Overcloud-packages](Overcloud-packages.md).

24
README-virt.md Normal file
View File

@ -0,0 +1,24 @@
instack-undercloud virt setup
=============================
1. Install the openstack-m repository
sudo yum -y install http://repos.fedorapeople.org/repos/openstack-m/openstack-m/openstack-m-release-icehouse-2.noarch.rpm
1. Enable the fedora-openstack-m-testing yum repository.
sudo yum -y install yum-utils
sudo yum-config-manager --enable fedora-openstack-m-testing
1. Install instack-undercloud
sudo yum -y install openstack-tripleo
1. Run script to setup your virtual environment
instack-virt-setup
You should now have a vm called instack that you can use for the
instack-undercloud installation. Return to the (README)[README.md] and choose
either a source or package based install.

View File

@ -1,29 +1,20 @@
Undercloud Install via instack
==============================
1. Clone this repository and instack
instack-undercloud can be used in an all baremetal environment or an all
virtual environment.
git clone https://github.com/agroup/instack-undercloud
git clone https://github.com/agroup/instack
2. Create and edit your answers file. The descriptions of the parameters that
can be set are in the sample answers file.
cd instack-undercloud
# Use either the baremetal or virt sample answers file
# cp instack-baremetal.answers.sample instack.answers
# cp instack-virt.answers.sample instack.answers
# Return back to directory where instack was cloned
cd ..
3. Run script to install undercloud. The script will produce a lot of output on
the sceen. It also logs to ~/.instack/install-undercloud.log. You should see
`install-undercloud Complete!` at the end of a successful run.
instack-undercloud/scripts/instack-install-undercloud
To use instack-undercloud in an all virtual environment, perform the setup at
[README-virt](README-virt.md) first, then return to this page.
You can use packages of instack-undercloud and instack to perform the install,
or you can use git checkouts of these 2 repositories to perform a source based
install. Note that only instack-undercloud and instack will be installed from
source, the rest of the dependencies will still be installed from packages.
To use instack-undercloud/instack from source see (README-source)[README-source.md].
To use instack-undercloud/instack from packages see (README-packages)[README-source.md].
That completes the Undercloud install. To proceed with deploying and using the
Overcloud see [Overcloud](Overcloud.md).

View File

@ -24,7 +24,7 @@ pushd instack
sudo pip install -e .
popd
# Upstream dib is fine
# Upstream dib is still needed due to environmentd patch
if [ ! -d diskimage-builder ]; then
git clone https://git.openstack.org/openstack/diskimage-builder
pushd diskimage-builder
@ -35,13 +35,13 @@ if [ ! -d diskimage-builder ]; then
popd
fi
# We need the packages branch of tie
if [ ! -d tripleo-image-elements ]; then
git clone https://github.com/slagle/tripleo-image-elements
pushd tripleo-image-elements
git checkout packages
popd
fi
sudo yum install -y openstack-tripleo
sudo yum install -y openstack-tripleo-image-elements
sudo yum install -y openstack-tripleo-heat-templates
# TODO include tuskar-ui when available
sudo yum install -y openstack-tuskar
sudo yum install -y python-tuskarclient
# Needed by source-repositories
sudo yum -y install tar
@ -64,7 +64,9 @@ export NETWORK_CIDR
export NETWORK_GATEWAY
sudo -E instack \
-p diskimage-builder/elements/ tripleo-image-elements/elements/ instack-undercloud/elements \
-p diskimage-builder/elements/ \
/usr/share/tripleo-image-elements/ \
instack-undercloud/elements \
-j instack-undercloud/json-files/fedora-20-undercloud.json
sudo os-refresh-config