Differences between revisions 4 and 5
Revision 4 as of 2016-05-24 10:07:29
Size: 919
Editor: ?Thomas Goirand
Comment:
Revision 5 as of 2016-05-25 17:38:23
Size: 2175
Editor: ?Thomas Goirand
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

= Setting up a server with the correct IPs =

Install a Jessie machine. Set eth0 to whatever is convenient for you (a public IP address, dhcp, etc.). Setup eth1 to use 10.20.0.2, as this is the default for Fuel, and it'd be hard to use something else for the moment (this would involve a lot of manual config work).
Line 27: Line 31:
You should then edit /etc/fuel-bootstrap-iso/config and fix DEBIAN_REPO_MASTER_IP to something like httpredir.debian.org. You should then edit /etc/fuel-bootstrap-iso/config and fix the different addresses to match your needs. In most cases, you will want to set DEBIAN_REPO_MASTER_IP to "mitaka-jessie.pkgs.mirantis.com", and FUELBOOTSTRAP_SETUP_DEBIAN_MIRROR to something like httpredir.debian.org. It could be done this way:

{{{
sed -i 's|^DEBIAN_REPO_MASTER_IP=.*|DEBIAN_REPO_MASTER_IP=mitaka-jessie.pkgs.mirantis.com' /etc/fuel-bootstrap-iso/config
sed -i 's|^FUELBOOTSTRAP_SETUP_DEBIAN_MIRROR=.*|FUELBOOTSTRAP_SETUP_DEBIAN_MIRROR=http://httpredir.debian.org/debian' /etc/fuel-bootstrap-iso/config
}}}

Then apply the changes to the live build config:

{{{
fuel-bootstrap-iso-param-lb-config
}}}

and finally build the bootstrap ISO image:

{{{
build-fuel-bootstrap-iso
}}}

= Install the Fuel master node =

The easiest way is to just use the openstack-deploy script, available in the openstack-deploy package. This will do all of the install for you.

{{{
apt-get install openstack-deploy
openstack-deploy --non-interactive fuel-master-node
}}}

This page explains how to install a fuel master node using Jessie.

Setting up a server with the correct IPs

Install a Jessie machine. Set eth0 to whatever is convenient for you (a public IP address, dhcp, etc.). Setup eth1 to use 10.20.0.2, as this is the default for Fuel, and it'd be hard to use something else for the moment (this would involve a lot of manual config work).

Add the apt-repository

Add this to your sources.list:

deb http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports main
deb-src http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports main

deb http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports-nochange main
deb-src http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports-nochange main

then run apt-get update.

Prepare the bootstrap image

To do hardware discovery, Fuel starts an OS using PXE. In Debian, this is done by preparing a Debian live distribution using live build. To install the script do:

apt-get install fuel-bootstrap-iso

You should then edit /etc/fuel-bootstrap-iso/config and fix the different addresses to match your needs. In most cases, you will want to set DEBIAN_REPO_MASTER_IP to "mitaka-jessie.pkgs.mirantis.com", and FUELBOOTSTRAP_SETUP_DEBIAN_MIRROR to something like httpredir.debian.org. It could be done this way:

sed -i 's|^DEBIAN_REPO_MASTER_IP=.*|DEBIAN_REPO_MASTER_IP=mitaka-jessie.pkgs.mirantis.com' /etc/fuel-bootstrap-iso/config
sed -i 's|^FUELBOOTSTRAP_SETUP_DEBIAN_MIRROR=.*|FUELBOOTSTRAP_SETUP_DEBIAN_MIRROR=http://httpredir.debian.org/debian' /etc/fuel-bootstrap-iso/config

Then apply the changes to the live build config:

fuel-bootstrap-iso-param-lb-config

and finally build the bootstrap ISO image:

build-fuel-bootstrap-iso

Install the Fuel master node

The easiest way is to just use the openstack-deploy script, available in the openstack-deploy package. This will do all of the install for you.

apt-get install openstack-deploy
openstack-deploy --non-interactive fuel-master-node