Fuel 8.0 InstallGuide
Fuel 8.0 InstallGuide
version 8.0
Fuel v8.0
Installation Guide
Contents
Preface
Intended Audience
Documentation History
Introduction to Fuel
System requirements
Hardware requirements
Network requirements
Storage requirements
Additional components
10
11
Controller nodes
12
Compute nodes
12
Storage nodes
13
Install Fuel
14
14
15
15
15
16
17
Set up Fuel
17
19
21
Page i
Fuel v8.0
Installation Guide
21
23
23
24
24
25
26
27
28
29
32
32
33
36
36
40
41
Fuel Plugins
45
45
Prerequisites
46
46
47
Uninstall a plugin
47
49
49
49
50
Configure networks
50
50
50
51
51
Page ii
Fuel v8.0
Installation Guide
52
52
52
Upgrade Fuel
53
54
56
57
Apply patches
57
58
58
58
59
59
60
60
Pre-installation checklists
Hardware checklist
Index
62
62
63
Page iii
Fuel v8.0
Installation Guide
Preface
Preface
This documentation provides information on how to use Fuel to deploy OpenStack environments. The
information is for reference purposes and is subject to change.
Intended Audience
This documentation is intended for OpenStack administrators and developers; it assumes that you have
experience with network and cloud concepts.
Documentation History
The following table lists the released revisions of this documentation:
Revision Date
February, 2016
Description
8.0 GA
Page 1
Fuel v8.0
Installation Guide
Introduction to Fuel
Introduction to Fuel
Fuel is an open-source software application that simplifies the deployment of highly available OpenStack
environments, as well as enables you to manage your OpenStack environments after deployment.
Fuel provides a web user interface (WUI), as well as a command-line user interface (CLI) and RESTful API for
provisioning, configuration, and management of OpenStack environments. A link to the Horizon OpenStack
Dashboard appears in the Fuel web UI after you deploy an OpenStack environment.
Using Fuel you can:
Deploy multiple highly-available OpenStack environments on virtual or bare metal hardware.
Configure and verify network configurations.
Test interoperability between the OpenStack components.
Easily scale your OpenStack environment by adding and removing nodes.
Fuel architecture includes:
Fuel Master node
A server with the installed Fuel application that performs initial configuration, provisioning, and PXE booting
of the Fuel Slave nodes, as well as assigning the IP addresses to the Fuel Slave nodes.
Fuel Slave node
In the Fuel project terminology, a generic term that describes a server that is provisioned by the Fuel Master
node. A Fuel Slave node can be a controller, compute, or storage node, among others. These terms are
interchangeable with the OpenStack terminology.
Seealso
Fuel Architecture
Page 2
Fuel v8.0
Installation Guide
Seealso
System requirements
System requirements
2016, Mirantis Inc.
Page 3
Fuel v8.0
Installation Guide
Hardware requirements
This section describes how to configure hardware nodes to accommodate your OpenStack workloads. Since there
are many possible use cases for an OpenStack environment, the number and configurations of your servers will
also vary. While this section provides clear hardware requirements for the Fuel Master node, it can only provide
guidelines on how to configure the Fuel Slave nodes. For reference, a sample hardware configuration of a
medium-sized OpenStack environment is described at the end of this section.
This section includes the following topics:
Hardware requirements
Network requirements
Storage requirements
Additional components
Sample hardware architecture
Hardware requirements
Planning hardware requirements for an OpenStack environment is a complex task that requires analysis of the
applications that you plan to run in your cloud, as well as understanding how your cloud will expand over time.
Therefore, the hardware requirements for Fuel Slave nodes will differ for each use case. However, hardware
requirements for Fuel Master node are identical for all deployments.
Seealso
Fuel Master node hardware requirements
Fuel Slave nodes hardware recommendations
Page 4
Fuel v8.0
Installation Guide
Seealso
OpenStack Architecture Design Guide
OpenStack Operations Guide
Sample hardware configuration for Fuel Slave nodes
Network requirements
Your OpenStack environment must have an efficient, scalable, and manageable network infrastructure that
addresses your immediate business needs and future growth. All nodes must communicate with each other
Page 5
Fuel v8.0
Installation Guide
through allocated networks. Network configuration of your Fuel Slave nodes depends significantly on the
network topology that you select.
Fuel can deploy the following network topologies:
Nova-network
Nova-network is a simple network manager that provides layer 3 network virtualization. Use
nova-network only if you use VMware vCenter as a hypervisor. To configure nova-network, you must
have at least 1 NIC on each Fuel Slave node. Capacity and number of network interfaces depends on
the workloads that you plan to run in your environment and requires extensive planning that is out of
scope for this document.
Note
Since the introduction of Neutron, nova-network development efforts have been gradually
reduced and may be deprecated in the future OpenStack releases. Neutron is recommended in
all new deployments.
If you select nova-network, you can configure the following using Fuel:
Nova-network FlatDHCP Manager
Nova-network FlatDHCP Manager is the simplest network configuration that Fuel can create.
FlatDHCP Manager ensures that each virtual machine instance is connected to the network bridge
on the compute node. FlatDHCP Manager also provides a DHCP server (dnsmasq) that allocates IP
addresses from the subnetwork assigned by a network administrator to virtual machine instances.
You must configure switch ports as tagged (trunk) to use this network configuration.
Nova-network VLAN Manager
Nova-network VLAN Manager enables you to isolate traffic that flows in one tenant from the
traffic that flows inside other tenants by tagging IP frames. VLAN Manager creates a network
bridge, a VLAN, and a subnetwork for each tenant. Use this option if you plan to have multiple
tenants in your environment. Configure switch ports as tagged.
Neutron
Neutron is a flexible network manager that enables you to create complex network configurations.
Neutron provides both level 2 and 3 network virtualization, as well as IP address management (IPAM).
In addition, Neutron has multiple open-source and enterprise-class plugins that enable interoperability
with such networking technologies as virtual switches and software defined networking (SDN).
If you select Neutron, you can configure the following using Fuel:
Neutron with VLAN segmentation
Similar to nova-network VLAN Manager, in Neutron's VLAN segmentation topology a VLAN is
assigned to each tenant. IP subnets and ranges in different tenants can overlap. This is the
default networking option in Fuel. The disadvantage of this option is that you must configure
your networking equipment, as well as provide the total number of tenants, before configuring
the network.
Page 6
Fuel v8.0
Installation Guide
If you select Neutron with VLAN segmentation, you must have at least 3 network interfaces (NICs).
Neutron with VLAN segmentation examples:
3 NICs
4 NICs
eth0
eth1 (br-eth1)
eth2 (br-eth2)
eth3 (br-eth3)
Public/Floating
Public/Floating
Management
Management
Storage
Port for Private network. The number
of VLANs depends on the number of
tenant networks with a continuous
range.
N/A
Note
To use VXLAN segmentation, your network hardware must support VXLAN segmentation.
You can configure GRE segmentation using CLI. For more information, see: Fuel CLI Reference.
Neutron with GRE segmentation examples:
eth0
2 NICs
3 NICs
4 NICs
Page 7
Fuel v8.0
Installation Guide
eth1
(br-eth1)
eth2
(br-eth2)
eth3
(br-eth3)
Public/Floating
Public/Floating
Management
Management
Storage
N/A
N/A
N/A
Routing recommendations:
Public network: use the default routing through the router.
Management network: use management network to access your management infrastructure (L3
connectivity, if necessary).
Administrative network or only Fuel Master node: must have the Internet access through a
dedicated NIC.
Storage and Private networks (VLANs): isolate from other networks.
Seealso
Set up a local repository
Storage requirements
When planning storage for your OpenStack environment, understand the difference between the two types of
storage that OpenStack uses: persistent and ephemeral.
The nova-compute service manages ephemeral storage that is used as temporary storage for the operating
system of virtual machine instances. When you delete an instance, nova-compute deletes the ephemeral storage
as well. If you do not select any additional storage options, the virtual machine volumes will be stored on the
Page 8
Fuel v8.0
Installation Guide
Additional components
local disks of the compute nodes, in the virtual storage partition. However, if you enable Ceph RBD back end for
ephemeral volumes, nova-compute stores virtual machine volumes in Ceph.
Persistent storage is the storage that exists outside an instance, in contrast to ephemeral storage.
Fuel deploys storage for the following types of persistent data:
Glance, for image data, which can use either Swift or Ceph RBD as a storage back end.
Cinder, for block data, which can use either LVM or Ceph RBD as a storage back end.
Ceph RadosGW, for object storage, with Ceph RBD as storage back end.
Note
Fuel plugins may provide additional storage options. For more information, see the OpenStack Driverlog
for the Fuel project.
Seealso
Storage Decisions
Additional components
If you plan to install additional OpenStack programs, see the system requirements for additional components:
Prerequisites for the OpenStack bare-metal service
Page 9
Fuel v8.0
Installation Guide
Seealso
Bare Metal service limitations
Using networking templates in Fuel User Guide
Description
Neutron with VLAN segmentation is the only supported networking
option.
Ironic does not support attaching or booting from the volumes stored in
Cinder.
Ironic requires a swift-compatible object storage. You can use Swift or
RADOS Gateway.
Page 10
Fuel v8.0
Installation Guide
Security
Virtualization platform
Fuel plug-ins
Management
Note
This example is not a best practice document of how to design an OpenStack environment. The purpose
of the example is to help OpenStack administrators to understand how to plan an installation and
demonstrate how an OpenStack environment may look.
Page 11
Fuel v8.0
Installation Guide
Controller nodes
Network
Storage
Additional Components
Controller nodes
In this example, we use Ceph as a back end for ephemeral storage. Therefore, in addition to the basic OpenStack
components and a MySQL database, controller nodes require sufficient resources to run Ceph monitors.
Each controller node must include:
CPU
RAM
Network
Storage
Compute nodes
Your virtual machines are hosted on the compute nodes; therefore, you must allocate enough resources to run
these virtual machines.
Each compute node must include:
CPU
Page 12
Fuel v8.0
Installation Guide
Storage nodes
RAM
64 GB
Storage
Hardware RAID 1 controller with at least 500 GB capacity for the host
operating system disk
Network
Storage nodes
We recommend that you separate Ceph nodes for scalability and robustness. The hardware estimate provided
below is based on the requirement of 0.5 cores per Ceph-OSD CPU and 1 GB of RAM per 1 TB of Ceph-OSD space.
You can configure all Ceph storage and journal hard disks in JBOD (Just a Bunch of Disks) mode on the RAID
controller or plug them directly to the available SATA or SAS ports on the mainboard.
Each storage node must include:
CPU
RAM
24 GB
Storage
Network
Storage
Page 13
Fuel v8.0
Installation Guide
Install Fuel
You can install Fuel on bare-metal or virtual hardware. For information about specific virtual machine and
network configurations on VMware vSphere, see: Install Fuel on VMware vSphere.
This section includes the following topics:
Before you install Fuel
Download the ISO image
Prepare an installation media
Install the Fuel Master node
Set up Fuel
Log in to the Fuel Master node
Log in to the Fuel Master node with multiple NICs
Boot the Fuel Slave nodes
Configure a bootstrap image
If you install Fuel on a server without an Internet connection, you must configure a local repository and
modify the default Fuel repositories, so that Fuel installs the operating system packages from the local
repositories. Therefore, follow this workflow:
2016, Mirantis Inc.
Page 14
Fuel v8.0
Installation Guide
Page 15
Fuel v8.0
Installation Guide
Xfburn
Brasero
Mac OS X:
Disk Utility (a commonly pre-installed application)
Burn
Windows:
ImgBurn
InfraRecorder
2. Proceed to the Fuel Master node installation.
Note
Write the Fuel ISO image to the USB drive itself and not to one of its partitions, if any. For example, if you
have a USB /dev/sdc with the /dev/sdc1 and /dev/sdc2 partititions, write the ISO to /dev/sdc.
Warning
This operation wipes all the data you have on the USB drive and places a bootable Fuel ISO on it.
Page 16
Fuel v8.0
Installation Guide
Note
You can install the Fuel Master node on VMware vSphere. For more information, see: Before you install
Fuel on VMware vSphere.
Set up Fuel
During installation, Fuel prompts you to access the Fuel setup screen where you can modify the default network
and authentication parameters.
Typically, you want to modify network settings to meet the requirements of your existing network infrastructure.
Also, you must change the default Fuel administrator password. Although you can change some of the network
interface settings after you install the Fuel Master node, we recommend that you finalize network configuration
before you install the Fuel Master node.
Page 17
Fuel v8.0
Installation Guide
Warning
Do not modify settings of the Admin (PXE) network after you deploy the Fuel Master node, because Fuel
will lose the ability to PXE boot and manage OpentStack environments.
If you are installing Fuel for testing purposes, you can keep the default settings and proceed to Install the Fuel
Master node.
To set up Fuel:
1. Configure the following settings as required:
1. Change the Fuel administrator password.
Page 18
Fuel v8.0
Installation Guide
Seealso
Configure a network interface for the Fuel web UI
Change the Admin (PXE) network interface
Page 19
Fuel v8.0
Installation Guide
However, some environments may require you to configure other network interfaces for the Admin (PXE)
network. If you plan to use a network interface that is differnt from the default setting, change it before you
install the Fuel Master node.
Warning
Do not change the network interface assigned for the Admin (PXE) network after you install the Fuel
Master node.
Seealso
Configure a network interface for the Fuel web UI
Page 20
Fuel v8.0
Installation Guide
Seealso
Log in to the Fuel Master node with multiple NICs
Warning
Remove the installation media before booting the system. You may damage or delete the entire
environment by booting the installation media once again accidentally. This is especially important if you
set the boot order so that the USB or DVD drive boots before the hard disk.
Log in to the Fuel Master node for further configuration using one of the following options:
Log in to the Fuel web UI.
Log in to the Fuel CLI.
You can perform most of the operations in both Fuel web UI and Fuel CLI. However, for your convenience, we
recommend that you use the Fuel web UI for initial configuration.
To log in to the Fuel web UI:
Page 21
Fuel v8.0
Installation Guide
1. In a web browser, type the IP address and port number that you have assigned for the Fuel web UI in Set up
Fuel.
Fuel prompts you for the login credentials.
2. In a web browser, enter the Fuel UI login and password that you have set for the Fuel web UI in Set up Fuel.
If you use the default network settings, use the following values:
IP address: https://10.20.0.2:8443/
Fuel UI login: admin
Fuel UI password: admin
Note
The IP address must be reachable from the machine on which you open the Fuel web UI URL.
Warning
For security reasons, change the default credentials for the administrator account.
Warning
For security reasons, change the default credentials for the root account.
Page 22
Fuel v8.0
Installation Guide
Seealso
Log in to the Fuel Master node with multiple NICs
to
log
in
to
the
Fuel
web
UI.
For
example:
Note
The tasks above do not change the default administrator network settings. You can access the Fuel web
UI using the URL displayed on the Fuel boot screen.
Seealso
Log in to the Fuel Master node
Page 23
Fuel v8.0
Installation Guide
If you use virtual servers, verify that the Fuel Slave nodes are bridged to the same network as the Fuel
Master node. The Fuel Master node and the Fuel Slave nodes must be in the same L2 network
segment.
To boot the Fuel Slave nodes:
1. Power on a Fuel Slave node.
2. Boot the Fuel Slave node through PXE using one of the following options:
Modify the boot order in BIOS to PXE boot.
Press the appropriate key to initiate a PXE boot.
Warning
If the Fuel Slave node has several network interfaces, enable the PXE boot on the interface that is
on the same network as Admin (PXE) network on the Fuel Master node.
3. Repeat the procedure for all the Fuel Slave nodes you will use for your OpenStack environment.
Seealso
Create a new OpenStack environment
Page 24
Fuel v8.0
Installation Guide
You can include additional packages, custom drivers, and even change the default Ubuntu kernel to be deployed
on Fuel Slave nodes.
This section includes the following topics:
Overview of the Fuel bootstrap builder
The fuel-bootstrap container format
View available bootstraps
Select a bootstrap
Build a bootstrap image with an additional package
Install a custom kernel
Inject custom SSL certificates
Inject a driver (from .deb packages)
Enable advanced debugging
Troubleshoot custom bootstrap building
Optional arguments
Option
Description
--version
-v, --verbose
--log-fileLOG_FILE
-q, --quiet
-h, --help
Page 25
Fuel v8.0
Installation Guide
--debug
Description
activate
build
delete
help
import
list
Warning
You cannot modify file names. This limitation is planned to be removed in future releases.
Page 26
Fuel v8.0
Installation Guide
In the case of the manually built bootstrap you can generate UUID with the following command:
python -c "import uuid; print str(uuid.uuid4())"
To connect (discover) and work correctly, fuel-bootstrap requires runtime system to have installed and
properly
configured
packages.
The
list
of
packages
is
specified
in
the
/etc/fuel-bootstrap-cli/fuel_bootstrap_cli.yaml file.
list
System response:
+--------------------------------------+--------------------------------------+-------| uuid
| label
| status
+--------------------------------------+--------------------------------------+-------| 2b7fe334-4ef7-4a9d-8fcb-e0d7cc009d0c | 2b7fe334-4ef7-4a9d-8fcb-e0d7cc009d0c | active
| centos
| deprecated
|
+--------------------------------------+--------------------------------------+-------2. To check, which exactly bootstrap image is currently loaded on a discovered node:
# fuel nodes
System response:
id | status
| name
| cluster | ip
| mac
| roles | p
---|----------|------------------|---------|------------|-------------------|-------|-1 | discover | Untitled (29:bb) | None
| 10.109.0.3 | 64:26:37:0b:29:bb |
|
3. Connect to a node by SSH and check the file:
ssh 10.109.0.3 cat /etc/nailgun-agent/config.yaml
System response:
Page 27
Fuel v8.0
Installation Guide
{runtime_uuid: 2b7fe334-4ef7-4a9d-8fcb-e0d7cc009d0c}
4. You can use Fuel web UI as well:
Go to Nodes tab of your environment.
Locate the node and click on gear button in front of the node name.
Expand the System tab and find runtimeuuid record.
As you can see, Fuel loaded the discovered node with the bootstrap image marked as Active in the bootstrap
list.
+--------------------------------------+--------------------------------------+-------| uuid
| label
| status
+--------------------------------------+--------------------------------------+-------| a778efad-88ca-41fe-b592-f02101c11d22 | bs1
|
| 244782c1-7343-43f7-9ee3-8989c252eb2e | bs2
| active
| 2b7fe334-4ef7-4a9d-8fcb-e0d7cc009d0c | 2b7fe334-4ef7-4a9d-8fcb-e0d7cc009d0c |
| centos
| deprecated
|
+--------------------------------------+--------------------------------------+-------2. Activate a new bootstrap image:
# fuel-bootstrap activate a778efad-88ca-41fe-b592-f02101c11d22
3. Reboot the affected node:
# fuel nodes
System response
+-------------------------------------------------------------------------------------|id | status
| name
| cluster | ip
| mac
| roles |
2016, Mirantis Inc.
Page 28
Fuel v8.0
Installation Guide
...Building process...
Building initramfs
Building squashfs
...
Bootstrap image a778efad-88ca-41fe-b592-f02101c11d22 has been built: /root/example1/a77
2. After the build process is completed, you can import and activate the new bootstrap image:
| active |
Page 29
Fuel v8.0
Installation Guide
5. Verify that the new bootstrap image is loaded on the discovered node:
1. Verify that the runtime_uuid value of the activated bootstrap image has been updated in the
nailgun-agent configuration file:
# cat /etc/nailgun-agent/config.yaml
System response:
{runtime_uuid: a778efad-88ca-41fe-b592-f02101c11d22}
2. Verify that the new package has been installed:
# dpkg -l |grep strace
System response:
ii
strace
4.8-1ubuntu5
Page 30
Fuel v8.0
Installation Guide
Warning
The first repository must point to the upstream mirror.
Warning
Use priorities higher than 1000 to force the installation of an old version of a package, when other
repositories have newer versions of the same package or a newer version of the package is already
installed on the system. You can use the force installation in case of a regression caused by the
newer version of a package. Find more information about apt-pinning in Debian Manuals.
nginx
1.8.1-1~trusty
amd64
Page 31
Fuel v8.0
Installation Guide
Package: nginx
Status: install ok installed
...
6. Verify that the runtime_uuid value of the activated bootstrap image has been updated in the
nailgun-agent configuration file:
# cat /etc/nailgun-agent/config.yaml
System response:
{runtime_uuid: e295a410-2605-4ddf-a967-c3d638d901bc}
Warning
Non-standard kernels, which were not verified with the Fuel packages, can brake your system.
...
- name: wily1
priority: 1001
section: "main restricted universe multiverse"
suite: wily
2016, Mirantis Inc.
Page 32
Fuel v8.0
Installation Guide
type: deb
uri: "http://cz.archive.ubuntu.com/ubuntu/"
- name: wily2
priority: 1001
section: "main restricted universe multiverse"
suite: wily-updates
type: deb
uri: "http://cz.archive.ubuntu.com/ubuntu/"
...
3. Build and activate a bootstrap image specifying a kernel flavor:
linux-image-generic-lts-wily
4.2.0.27.21
amd64
-a
System response:
Linux bootstrap 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 201
Page 33
Fuel v8.0
Installation Guide
Note
Due to a specific logic of apt-getupgrade\dist-upgrade system, an old kernel cannot be
installed as easily as the latest one.
Page 34
Fuel v8.0
Installation Guide
...
Copy user-script /root/user_script.sh into chroot:/tmp/tmplGugKE.fuel-agent-image
Make user-script /tmp/tmplGugKE.fuel-agent-image/user_script.sh executable
Trying to execute command: chroot /tmp/tmplGugKE.fuel-agent-image /bin/bash -c /user_sc
...
Bootstrap image 244782c1-7343-43f7-9ee3-8989c252eb2e has been built
...
Bootstrap image 244782c1-7343-43f7-9ee3-8989c252eb2e has been activated.
4. Reboot the discovered node:
$ ssh 10.109.0.3
5. Verify if the node applied the kernel succesfully:
1. View infomation about the current kernel:
# uname
-a
System response:
3. Verify that the runtime_uuid value of the activated bootstrap image has been updated in the
nailgun-agent configuration file:
# cat /etc/nailgun-agent/config.yaml
System response:
{runtime_uuid: 244782c1-7343-43f7-9ee3-8989c252eb2e}
Page 35
Fuel v8.0
Installation Guide
1
1
1
1
1
root
root
root
root
root
root
root
root
root
root
13M
13M
27K
27K
44K
Jan
Jan
Jan
Jan
Jan
21
21
21
21
31
08:55
08:55
08:55
08:55
16:08
cirros-testvm-mellanox-ib_0.3.2-7_amd64.deb
cirros-testvm-mellanox_0.3.2-ubuntu3_amd64.deb
eswitchd_0.13-1_amd64.deb
eswitchd_1.14-3_amd64.deb
libibverbs1_1.1.8mlnx1-OFED.3.1.1.0.0_amd64.deb
Page 36
Fuel v8.0
Installation Guide
-rw-r--r--rw-r--r--rw-r--r--rw-r--r--rw-r--r--rw-r--r--rw-r--r--rw-r--r--
1
1
1
1
1
1
1
1
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
49K
3.7K
100M
193M
1.9M
68K
14K
18K
Jan
Jan
Jan
Jan
Jan
Jan
Jan
Jan
31
21
21
21
31
31
31
21
16:08
08:55
08:55
08:55
16:08
16:08
16:08
08:55
libmlx4-1_1.0.6mlnx1-OFED.3.1.1.0.0_amd64.deb
mlnx-dnsmasq_2015.1.0-1_all.deb
mlnx-ofed-fuel_2.3-2.0.8_amd64.deb
mlnx-ofed-fuel_3.1-1.5.7_amd64.deb
mlnx-ofed-kernel-dkms_3.1-OFED.3.1.1.0.3.1.g903273
mlnx-ofed-kernel-utils_3.1-OFED.3.1.1.0.3.1.g90327
ofed-scripts_3.1-OFED.3.1.1.0.3_amd64.deb
python-networking-mlnx_2015.1.2-1_amd64.deb
Warning
Injected files and folder should have execute permission
Page 37
Fuel v8.0
Installation Guide
Page 38
Fuel v8.0
Installation Guide
...
Trying to execute command: rsync -rlptDKv /root/mlnx/mlnx_bootstrap_root// /tmp/tmpsJA1
...
Trying to execute command: chroot /tmp/tmpsJA1Yp.fuel-agent-image /bin/bash -c /mellano
....
stdout:MLNX add init_mlnx.sh into bootstrap /etc/rc.local
...
Setting up mlnx-ofed-kernel-dkms (3.1-OFED.3.1.1.0.3.1.g9032737)
...
Loading new mlnx-ofed-kernel-3.1 DKMS files
...
Rsync files from /root/mlnx/mlnx_bootstrap_root/ to: /tmp/tmpIA5Ro8.fuel-agent-image
...
--- Building bootstrap image END (do_mkbootstrap) --...
Bootstrap image 37369fd8-34c0-444d-a4d1-2f266d586442 has been activated
4. Reboot the affected nodes:
$ ssh 10.109.0.3 reboot
5. Check that the driver has been installed succesfully:
1. View the information about the installed packages:
# dpkg -l |grep mlnx
System response:
ii
ii
Page 39
Fuel v8.0
Installation Guide
System response:
filename:
version:
license:
description:
author:
...
/lib/modules/3.13.0-76-generic/updates/dkms/mlx4_core.ko
3.1-1.0.3
Dual BSD/GPL
Mellanox ConnectX HCA low-level driver
Roland Dreier
3113
0.0
0.0
9600
1492 pts/0
13:00
Warning
Use for debug purpose only.
Page 40
Fuel v8.0
Installation Guide
...
Copy user-script /root/sleep.sh into chroot:/tmp/tmpdOS3ya.fuel-agent-image
Trying to execute command: chroot /tmp/tmpdOS3ya.fuel-agent-image /bin/bash -c /sleep.s
The process is sleeping and you can jump into chroot
The sleep.sh script delays the start of the building process. Therefore, you can enable the chroot
environment.
3. Enable the chroot environment:
$ chroot /tmp/tmpdOS3ya.fuel-agent-image /bin/bash
4. Fix PATH difference between CentOS and Ubuntu environmnets:
$ export PATH=$PATH:/sbin:/bin
5. You can now make any changes to the bootstrap-dev system.
6. After you apply the required changes, exit the chroot environment.
7. Terminate the sleep process:
$ [root@nailgun ~]# ps xauf |grep sleep
System response:
root
root
23642
23643
0.0
0.0
0.0
0.0
9524
4340
1128 pts/14
360 pts/14
S+
S+
17:54
17:54
0:00
0:00
|
|
\_ /bin/b
\_ sl
Page 41
Fuel v8.0
Installation Guide
While you don't activate any bootstrap - new nodes cannot be discovered
and added to cluster.
For more information please visit
https://docs.mirantis.com/openstack/fuel/fuel-master/"
or
WARNING: Failed to build the bootstrap image, see
/var/log/fuel-bootstrap-image-build.log
for details. Perhaps your Internet connection is broken. Please fix the
problem and run `fuel-bootstrap build --activate`.
While you don't activate any bootstrap - new nodes cannot be discovered
and added to cluster.
For more information please visit
https://docs.mirantis.com/openstack/fuel/fuel-master/"
You typically receive such error messages when software repositories are unavailable.
To resolve the issue:
If the Fuel Master node has an Internet connection, verify network connectivity to the software repositories.
If you use a local repository mirror:
Follow
the
instructions
provided
https://github.com/openstack/fuel-mirror
in
the
fuel-mirror
utility
System response:
2016, Mirantis Inc.
Page 42
Fuel v8.0
Installation Guide
Profile : bootstrap
Fuel (obbler) creates a system with the CentOS bootstrap image.
$ cobbler system report --name node-1
System response:
...
Profile : bootstrap (centos-bootstrap)
...
Then, you change the active bootstrap, which makes astute change the cobbler default profile to
ubuntu-bootstrap:
$ cobbler system report --name default |grep -i Profile
System response:
Profile : ubuntu_bootstrap
But the stored system still use the old bootstrap data.
To enable the new bootstarp image:
1. Remove the node from db, reboot, and re-discover it
Warning
All node data will be destroyed!
Page 43
Fuel v8.0
Installation Guide
Note
No data will be destroyed.
Page 44
Fuel v8.0
Installation Guide
Fuel Plugins
You can extend Fuel functionality by installing the plugins that companies and individual contributors develop
for Fuel.
This section includes the following topics:
Fuel plugins overview
Prerequisites
Install a Fuel plugin
View Fuel plugins
Uninstall a plugin
Note
You must install all Fuel plugins that you plan to use in your OpenStack environment before you deploy
your environment. You will not be able to add plugins after deployment.
Fuel Plugins SDK enables you to develop virtually any plugin that you need to meet your environment
prerequisites.
Seealso
Fuel Plugins catalog
2016, Mirantis Inc.
Page 45
Fuel v8.0
Installation Guide
Prerequisites
Prerequisites
When planning to deploy an environment with Fuel plugins, mind the following recommendations:
No enviroment should be deployed before that point. If you already have the environment you want to
upgrade, read the Upgrade Fuel section first.
Use Fuel 6.1 or later for deployment.
Read additional requirements provided by the selected plugin.
Seealso
Fuel plugins catalog
Page 46
Fuel v8.0
Installation Guide
8. Create an OpenStack environment as described in Create a new OpenStack environment in the Fuel User
Guide.
9. After completing the Create a new OpenStack environment wizard, click Settings in the Fuel web UI.
10. Enable plugin in the Fuel web UI as described in the plugin documentation.
11. Configure and deploy your environment as described in Configure a new environment in the Fuel User Guide.
Seealso
Fuel plugins CLI
Fuel plugins catalog
Seealso
Fuel plugins CLI <fuel-plugins-cli>
Uninstall a plugin
Fuel does not support upgrades for plugins. The old plugin versions may not be compatible with the new version
of Fuel. Therefore, you must uninstall the Fuel plugins before upgrading Fuel.
To uninstall a plugin:
1. Log in to the Fuel Master node CLI.
2016, Mirantis Inc.
Page 47
Fuel v8.0
Installation Guide
Seealso
Fuel Plugin Wiki
Page 48
Fuel v8.0
Installation Guide
Note
The vCenter Server supported versions are 5.1, 5.5, and 6.0.
Page 49
Fuel v8.0
Installation Guide
Note
You must name the network br100. Otherwise, Fuel will not be able to communicate with VMware
vSphere.
Configure networks
To enable inter-node communication, you must configure networks on VMware vCenter.
Page 50
Fuel v8.0
Installation Guide
Page 51
Fuel v8.0
Installation Guide
Page 52
Fuel v8.0
Installation Guide
Upgrade Fuel
You can upgrade the Fuel Master node to the latest Fuel version.
The following table describes available upgrades for the Fuel software:
Initial Fuel version
Fuel is upgraded to
5.0
2014.1-5.0
2014.1.1-5.0.2
2014.1.1-5.1
2014.1.3-5.1.1
2014.2-6.0
5.0
2014.1-5.0
2014.1.1-5.0.1
2014.1.1-5.0.2
2014.1.1-5.1
2014.1.3-5.1.1
2014.2-6.0
5.0.1
2014.1.1-5.0.1
2014.1.1-5.0.2
2014.1.1-5.1
2014.1.3-5.1.1
2014.2-6.0
5.1
2014.1.1-5.1
2014.1.3-5.1.1
2014.2-6.0
6.0
6.1
2014.2-6.0
2014.2.2-6.1
2015.x-7.0
7.0
2014.2.2-6.1
2015.1.0-7.0
liberty-8.0
Page 53
Fuel v8.0
Installation Guide
Note
Fuel does not support upgrades for plugins. The old plugin versions may not be compatible with the new
version of Fuel. Therefore, you must uninstall the Fuel plugins before upgrading Fuel. See Uninstall a
plugin.
Note
Upgrades are not supported for Fuel 4.x or earlier. If you use Fuel 4.x or earlier, you must install new
instance of Fuel and deploy your environments from scratch.
After you upgrade Fuel, you can only deploy new environments of the corresponding Fuel version. Environments
deployed using older versions of Fuel will remain operational.
To upgrade the Fuel Master node:
1. Verify that no installations are in progress in any of your OpenStack environments.
2. Download and install the fuel-octane package using the yuminstall command:
$ yum install fuel-octane
3. Back up the configuration of the Fuel Master node to an archive:
octane fuel-backup --to <path-to-archive> --admin-password <admin-password>
Example:
$ octane fuel-backup --to /tmp/fuel-backup.7.0.tar.gz --admin-password admin
4. Back up package repositories and other binary artifacts from the Fuel Master node:
Example:
$ octane fuel-repo-backup --to /tmp/fuel-repo-backup.7.0.tar.gz
Page 54
Fuel v8.0
Installation Guide
5. Copy the backup files to a secure external location, such as a removable USB drive or network server. If you
copy the files to a network server, use SSH.
Note
When you reinstall the Fuel Master node, all configuration files are deleted. Therefore, if you fail to
back up the Fuel Master node and repository configuration files, you will not be able to manage the
OpenStack environments created by the old version of Fuel.
Note
The new Fuel Master node must have the same IP address as the original Fuel Master node.
Otherwise, you cannot restore the configuration from the backup.
8. Copy the backup files to the location on the new Fuel Master node.
For example, in the /tmp directory.
9. Log in to the new Fuel Master node.
10. Install the fuel-octane package:
$ yum install fuel-octane
11. Restore the configuration of the original Fuel Master node and the OpenStack environments:
$ octane fuel-restore --from /tmp/fuel-backup.7.0.tar.gz
12. Restore repositories and binary artifacts from the old version:
Example:
$ octane fuel-repo-restore --from /tmp/fuel-repo-backup.7.0.tar.gz
Page 55
Fuel v8.0
Installation Guide
Warning
The Fuel Master node must have at least 2 GB of RAM to decompress the gzip upgrade archive.
When Fuel completes the upgrade, the New Release available message appears in the Releases tab.
13. If you want to use CentOS-based bootstrap, rebuild the bootstrap image:
$ octane update-bootstrap-centos
14. Reboot all nodes that are in the Discover status.
Seealso
Configure a bootstrap image.
Page 56
Fuel v8.0
Installation Guide
Apply patches
You can apply only the patches you need one by one or you can apply all accumulated patches in one go.
The documentation for each patch is available in the corresponding release notes.
Note
Maintenance Updates are only available online. Currently there is no option to run these updates from a
local repository.
Page 57
Fuel v8.0
Installation Guide
fuel-createmirror -M
2. Run the command specified in the documentation to download and install the patch.
To patch a Fuel Slave node:
1. Run the command specified in the documentation to download and install the patch.
Apply all accumulated changes in one go:
Before starting the update, back up all sensitive data that can be changed during the the whole lifetime of your
environment and the Fuel Master node. We recommend to apply the updates to one node at a time, so that you
can interrupt the update procedure whenever an issue occurs.
If you have configured any custom repositories, Fuel will use fetch the upgrade packages from these repositories.
Note
This set of actions should be applied carefully and with consideration. It is strongly recommended that
you do this on your test staging environment before applying the updates to production.
Page 58
Fuel v8.0
Installation Guide
2. Run fuelnode--nodeNODE_ID--deploy
To update Puppet manifests and apply a single task:
1. Update fuel-libraryX.X on Fuel Master yumupdate
2. Run fuelnode--nodenode-XX--taskrsync_core_puppethieraglobalsTASK
Note
The tasks rsync_core_puppet, hiera, and globals are required for processing any Puppet changes.
Verify a patch:
Page 59
Fuel v8.0
Installation Guide
Note
The rollback instructions listed here are for advanced administrators. If you are not sure how to plan and
execute the rollbacks, your best option is to contact Mirantis support.
you
want
to
roll
back
in
/var/log/apt/history.log
and
4. Figure out where to get the old package version. Run apt-cachepolicy.
5. Figure out if the old package version is available locally.
6. If it is, install these versions using dpkg. Otherwise, check the snapshots of previous repositories on
http://mirror.fuel-infra.org/mos/snapshots and pick the repository that contains the packages you need.
7. Add this repository to the environment configuration.
8. On the Fuel Master node run:
fuel node --node-id <comma_separated_list_of_nodes_you_want_to_update_repo> \
--tasks upload_core_repos
This will propagate the new repos configuration.
Page 60
Fuel v8.0
Installation Guide
Page 61
Fuel v8.0
Installation Guide
Hardware checklist
Pre-installation checklists
Before you install Fuel, verify that you configured your environment for the installation.
This section includes the following topics:
Hardware checklist
Hardware checklist
Before you install the Fuel Master node, verify that you have configured your hardware correctly. If you install
Fuel on virtual hardware for testing purposes, skip this section.
You must configure all items from the list below before you install Fuel.
Hardware checklist
Item to confirm
The Fuel server has an IPMI or out-of-band management system that you can access.
The Fuel server hardware can boot the Fuel ISO from a DVD, USB flash drive, or IPMI
remote media.
Theserveron which you plan to install the Fuel Master node can access all nodes
through the L2 management network.
The Admin (PXE) network does not have a configured DHCP server. Fuel acts as a DHCP
server for Fuel Slave nodes configured to boot using PXE.
The Spanning Tree Protocol (STP) is disabled on switch ports connected to the node
servers ports or the switch ports are set to the edge/portfast mode. The edge/portfast
mode is the preferred configuration. It allows the ports to forward immediately when
they are linked up, but listens for network loops for 15 seconds.
The switch assigned for the Admin network does not have any tagged VLANs
configured.
The node servers are set to network boot using PXE.
The node servers have hardware virtualization enabled in BIOS.
You have a methodto reboot node servers(remotely or on-site).
The network equipment supports VLANs.
Your network switches support tagged ports. You need tagged ports in order to use the
nova-network VLAN Manager or Neutron with VLAN segmentation.
You have permit rules on TCP ports 22 and 8000 on the firewallfor the Fuel servers IP
address(to access the Fuel server from your PC).
Page 62
Fuel v8.0
Installation Guide
Index
Index
C
confirm
H
Hardware configuration
Page 63