From 1926f534bd30b195eaa8d099be2e50f164fe79cb Mon Sep 17 00:00:00 2001 From: Cristina Pauna Date: Wed, 27 Sep 2017 16:54:47 +0300 Subject: docs: Update installation instructions This documentation contains the updated procedure on how to use Fuel to deploy openstack. JIRA: FUEL-276 Change-Id: I38dc9c57ea386a628cd363f5bcef3818739b9122 Signed-off-by: Cristina Pauna (cherry picked from commit 1e3b2751ce0ca7fa2b011efdc76ae69dfc106ec8) --- docs/release/installation/img/addnodes.png | Bin 24089 -> 0 bytes docs/release/installation/img/compute.png | Bin 25978 -> 0 bytes docs/release/installation/img/computelist.png | Bin 67975 -> 0 bytes docs/release/installation/img/fuelconsole1.png | Bin 8269 -> 0 bytes docs/release/installation/img/fuelmenu1.png | Bin 24730 -> 0 bytes docs/release/installation/img/fuelmenu2.png | Bin 26118 -> 0 bytes docs/release/installation/img/fuelmenu3.png | Bin 25739 -> 0 bytes docs/release/installation/img/fuelmenu4.png | Bin 24365 -> 0 bytes docs/release/installation/img/fuelmenu5.png | Bin 26661 -> 0 bytes docs/release/installation/img/fuelmenu6.png | Bin 27230 -> 0 bytes docs/release/installation/img/grub-1.png | Bin 464529 -> 0 bytes docs/release/installation/img/health.png | Bin 51840 -> 0 bytes docs/release/installation/img/interfaceconf.png | Bin 25676 -> 0 bytes docs/release/installation/img/interfaces.png | Bin 58851 -> 0 bytes docs/release/installation/img/network.png | Bin 55423 -> 0 bytes docs/release/installation/img/neutronl3.png | Bin 40478 -> 0 bytes docs/release/installation/img/newenv.png | Bin 37483 -> 0 bytes docs/release/installation/img/nodes.png | Bin 9155 -> 0 bytes docs/release/installation/img/offloadingmodes.png | Bin 23017 -> 0 bytes docs/release/installation/img/other.png | Bin 41526 -> 0 bytes docs/release/installation/img/plugin_install.png | Bin 17431 -> 0 bytes docs/release/installation/img/plugins.png | Bin 52382 -> 0 bytes docs/release/installation/img/verifynet.png | Bin 33162 -> 0 bytes .../installation/installation.instruction.rst | 665 ++++++--------------- 24 files changed, 175 insertions(+), 490 deletions(-) delete mode 100644 docs/release/installation/img/addnodes.png delete mode 100644 docs/release/installation/img/compute.png delete mode 100644 docs/release/installation/img/computelist.png delete mode 100644 docs/release/installation/img/fuelconsole1.png delete mode 100644 docs/release/installation/img/fuelmenu1.png delete mode 100644 docs/release/installation/img/fuelmenu2.png delete mode 100644 docs/release/installation/img/fuelmenu3.png delete mode 100644 docs/release/installation/img/fuelmenu4.png delete mode 100644 docs/release/installation/img/fuelmenu5.png delete mode 100644 docs/release/installation/img/fuelmenu6.png delete mode 100644 docs/release/installation/img/grub-1.png delete mode 100644 docs/release/installation/img/health.png delete mode 100644 docs/release/installation/img/interfaceconf.png delete mode 100644 docs/release/installation/img/interfaces.png delete mode 100644 docs/release/installation/img/network.png delete mode 100644 docs/release/installation/img/neutronl3.png delete mode 100644 docs/release/installation/img/newenv.png delete mode 100644 docs/release/installation/img/nodes.png delete mode 100644 docs/release/installation/img/offloadingmodes.png delete mode 100644 docs/release/installation/img/other.png delete mode 100644 docs/release/installation/img/plugin_install.png delete mode 100644 docs/release/installation/img/plugins.png delete mode 100644 docs/release/installation/img/verifynet.png (limited to 'docs/release') diff --git a/docs/release/installation/img/addnodes.png b/docs/release/installation/img/addnodes.png deleted file mode 100644 index b62405692..000000000 Binary files a/docs/release/installation/img/addnodes.png and /dev/null differ diff --git a/docs/release/installation/img/compute.png b/docs/release/installation/img/compute.png deleted file mode 100644 index fc1cf0f22..000000000 Binary files a/docs/release/installation/img/compute.png and /dev/null differ diff --git a/docs/release/installation/img/computelist.png b/docs/release/installation/img/computelist.png deleted file mode 100644 index 474196536..000000000 Binary files a/docs/release/installation/img/computelist.png and /dev/null differ diff --git a/docs/release/installation/img/fuelconsole1.png b/docs/release/installation/img/fuelconsole1.png deleted file mode 100644 index 61703cab1..000000000 Binary files a/docs/release/installation/img/fuelconsole1.png and /dev/null differ diff --git a/docs/release/installation/img/fuelmenu1.png b/docs/release/installation/img/fuelmenu1.png deleted file mode 100644 index 4b5097ff4..000000000 Binary files a/docs/release/installation/img/fuelmenu1.png and /dev/null differ diff --git a/docs/release/installation/img/fuelmenu2.png b/docs/release/installation/img/fuelmenu2.png deleted file mode 100644 index 42cd75f62..000000000 Binary files a/docs/release/installation/img/fuelmenu2.png and /dev/null differ diff --git a/docs/release/installation/img/fuelmenu3.png b/docs/release/installation/img/fuelmenu3.png deleted file mode 100644 index 174cb5004..000000000 Binary files a/docs/release/installation/img/fuelmenu3.png and /dev/null differ diff --git a/docs/release/installation/img/fuelmenu4.png b/docs/release/installation/img/fuelmenu4.png deleted file mode 100644 index 0e218fca7..000000000 Binary files a/docs/release/installation/img/fuelmenu4.png and /dev/null differ diff --git a/docs/release/installation/img/fuelmenu5.png b/docs/release/installation/img/fuelmenu5.png deleted file mode 100644 index b1063d576..000000000 Binary files a/docs/release/installation/img/fuelmenu5.png and /dev/null differ diff --git a/docs/release/installation/img/fuelmenu6.png b/docs/release/installation/img/fuelmenu6.png deleted file mode 100644 index 16d641e9f..000000000 Binary files a/docs/release/installation/img/fuelmenu6.png and /dev/null differ diff --git a/docs/release/installation/img/grub-1.png b/docs/release/installation/img/grub-1.png deleted file mode 100644 index 113178948..000000000 Binary files a/docs/release/installation/img/grub-1.png and /dev/null differ diff --git a/docs/release/installation/img/health.png b/docs/release/installation/img/health.png deleted file mode 100644 index 57bd8cf70..000000000 Binary files a/docs/release/installation/img/health.png and /dev/null differ diff --git a/docs/release/installation/img/interfaceconf.png b/docs/release/installation/img/interfaceconf.png deleted file mode 100644 index e00b03f03..000000000 Binary files a/docs/release/installation/img/interfaceconf.png and /dev/null differ diff --git a/docs/release/installation/img/interfaces.png b/docs/release/installation/img/interfaces.png deleted file mode 100644 index 291e434f6..000000000 Binary files a/docs/release/installation/img/interfaces.png and /dev/null differ diff --git a/docs/release/installation/img/network.png b/docs/release/installation/img/network.png deleted file mode 100644 index 7bef05064..000000000 Binary files a/docs/release/installation/img/network.png and /dev/null differ diff --git a/docs/release/installation/img/neutronl3.png b/docs/release/installation/img/neutronl3.png deleted file mode 100644 index 36291ef87..000000000 Binary files a/docs/release/installation/img/neutronl3.png and /dev/null differ diff --git a/docs/release/installation/img/newenv.png b/docs/release/installation/img/newenv.png deleted file mode 100644 index d6bc2827f..000000000 Binary files a/docs/release/installation/img/newenv.png and /dev/null differ diff --git a/docs/release/installation/img/nodes.png b/docs/release/installation/img/nodes.png deleted file mode 100644 index 771e4813d..000000000 Binary files a/docs/release/installation/img/nodes.png and /dev/null differ diff --git a/docs/release/installation/img/offloadingmodes.png b/docs/release/installation/img/offloadingmodes.png deleted file mode 100644 index 5b3cb17bc..000000000 Binary files a/docs/release/installation/img/offloadingmodes.png and /dev/null differ diff --git a/docs/release/installation/img/other.png b/docs/release/installation/img/other.png deleted file mode 100644 index c088488dc..000000000 Binary files a/docs/release/installation/img/other.png and /dev/null differ diff --git a/docs/release/installation/img/plugin_install.png b/docs/release/installation/img/plugin_install.png deleted file mode 100644 index ff50633ed..000000000 Binary files a/docs/release/installation/img/plugin_install.png and /dev/null differ diff --git a/docs/release/installation/img/plugins.png b/docs/release/installation/img/plugins.png deleted file mode 100644 index 8f7ea596f..000000000 Binary files a/docs/release/installation/img/plugins.png and /dev/null differ diff --git a/docs/release/installation/img/verifynet.png b/docs/release/installation/img/verifynet.png deleted file mode 100644 index e675562c0..000000000 Binary files a/docs/release/installation/img/verifynet.png and /dev/null differ diff --git a/docs/release/installation/installation.instruction.rst b/docs/release/installation/installation.instruction.rst index bc1b913e8..fbf22d168 100644 --- a/docs/release/installation/installation.instruction.rst +++ b/docs/release/installation/installation.instruction.rst @@ -6,81 +6,42 @@ Abstract ======== -This document describes how to install the Danube release of +This document describes how to install the Euphrates release of OPNFV when using Fuel as a deployment tool, covering its usage, limitations, dependencies and required system resources. +This is an unified documentation for both x86_64 and aarch64 +architectures. All information is common for both architectures +except when explicitly stated. ============ Introduction ============ This document provides guidelines on how to install and -configure the Danube release of OPNFV when using Fuel as a +configure the Euphrates release of OPNFV when using Fuel as a deployment tool, including required software and hardware configurations. -Although the available installation options give a high degree of -freedom in how the system is set-up, including architecture, services +Although the available installation options provide a high de.g.ee of +freedom in how the system is set up, including architecture, services and features, etc., said permutations may not provide an OPNFV -compliant reference architecture. This instruction provides a -step-by-step guide that results in an OPNFV Danube compliant +compliant reference architecture. This document provides a +step-by-step guide that results in an OPNFV Euphrates compliant deployment. -The audience of this document is assumed to have good knowledge in +The audience of this document is assumed to have good knowledge of networking and Unix/Linux administration. ======= Preface ======= -Before starting the installation of the Danube release of +Before starting the installation of the Euphrates release of OPNFV, using Fuel as a deployment tool, some planning must be done. -Retrieving the ISO image -======================== - -First of all, the Fuel deployment ISO image needs to be retrieved, the -Fuel .iso image of the Danube release can be found at `OPNFV Downloads `_. - -Building the ISO image -====================== - -Alternatively, you may build the Fuel .iso from source by cloning the -opnfv/fuel git repository. To retrieve the repository for the Danube -release use the following command: - -.. code-block:: bash - - $ git clone https://gerrit.opnfv.org/gerrit/fuel - -Check-out the Danube release tag to set the HEAD to the -baseline required to replicate the Danube release: - -.. code-block:: bash - - $ git checkout danube.2.0 - -Go to the fuel directory and build the .iso: - -.. code-block:: bash - - $ cd fuel/build; make all - -For more information on how to build, please see :ref:`Build instruction for Fuel\@OPNFV ` - -Other preparations +Preparations ================== -Next, familiarize yourself with Fuel by reading the following documents: - -- `Fuel Installation Guide `_ - -- `Fuel User Guide `_ - -- `Fuel Developer Guide `_ - -- `Fuel Plugin Developers Guide `_ - Prior to installation, a number of deployment specific parameters must be collected, those are: #. Provider sub-net and gateway information @@ -103,44 +64,74 @@ Prior to installation, a number of deployment specific parameters must be collec This information will be needed for the configuration procedures provided in this document. -===================== -Hardware requirements -===================== - -The following minimum hardware requirements must be met for the -installation of Danube using Fuel: - -+--------------------+------------------------------------------------------+ -| **HW Aspect** | **Requirement** | -| | | -+====================+======================================================+ -| **# of nodes** | Minimum 5 (3 for non redundant deployment): | -| | | -| | - 1 Fuel deployment master (may be virtualized) | -| | | -| | - 3(1) Controllers (1 colocated mongo/ceilometer | -| | role, 2 Ceph-OSD roles) | -| | | -| | - 1 Compute (1 co-located Ceph-OSD role) | -| | | -+--------------------+------------------------------------------------------+ -| **CPU** | Minimum 1 socket x86_AMD64 with Virtualization | -| | support | -+--------------------+------------------------------------------------------+ -| **RAM** | Minimum 16GB/server (Depending on VNF work load) | -| | | -+--------------------+------------------------------------------------------+ -| **Disk** | Minimum 256GB 10kRPM spinning disks | -| | | -+--------------------+------------------------------------------------------+ -| **Networks** | 4 Tagged VLANs (PUBLIC, MGMT, STORAGE, PRIVATE) | -| | | -| | 1 Un-Tagged VLAN for PXE Boot - ADMIN Network | -| | | -| | Note: These can be allocated to a single NIC - | -| | or spread out over multiple NICs as your hardware | -| | supports. | -+--------------------+------------------------------------------------------+ +========================================= +Hardware requirements for virtual deploys +========================================= + +The following minimum hardware requirements must be met for the virtual +installation of Euphrates using Fuel: + ++----------------------------+--------------------------------------------------------+ +| **HW Aspect** | **Requirement** | +| | | ++============================+========================================================+ +| **1 Jumpserver** | A physical node (also called Foundation Node) that | +| | hosts a Salt Master VM and each of the VM nodes in | +| | the virtual deploy | ++----------------------------+--------------------------------------------------------+ +| **CPU** | Minimum 1 socket with Virtualization support | ++----------------------------+--------------------------------------------------------+ +| **RAM** | Minimum 32GB/server (Depending on VNF work load) | ++----------------------------+--------------------------------------------------------+ +| **Disk** | Minimum 100GB (SSD or SCSI (15krpm) highly recommended | ++----------------------------+--------------------------------------------------------+ + + +=========================================== +Hardware requirements for baremetal deploys +=========================================== + +The following minimum hardware requirements must be met for the baremetal +installation of Euphrates using Fuel: + ++-------------------------+------------------------------------------------------+ +| **HW Aspect** | **Requirement** | +| | | ++=========================+======================================================+ +| **# of nodes** | Minimum 5 | +| | | +| | - 3 KVM servers which will run all the controller | +| | services | +| | | +| | - 2 Compute nodes | +| | | ++-------------------------+------------------------------------------------------+ +| **CPU** | Minimum 1 socket with Virtualization support | ++-------------------------+------------------------------------------------------+ +| **RAM** | Minimum 16GB/server (Depending on VNF work load) | ++-------------------------+------------------------------------------------------+ +| **Disk** | Minimum 256GB 10kRPM spinning disks | ++-------------------------+------------------------------------------------------+ +| **Networks** | 4 VLANs (PUBLIC, MGMT, STORAGE, PRIVATE) - can be | +| | a mix of tagged/native | +| | | +| | 1 Un-Tagged VLAN for PXE Boot - ADMIN Network | +| | | +| | Note: These can be allocated to a single NIC - | +| | or spread out over multiple NICs | ++-------------------------+------------------------------------------------------+ +| **1 Jumpserver** | A physical node (also called Foundation Node) that | +| | hosts the Salt Master and MaaS VMs | ++-------------------------+------------------------------------------------------+ +| **Power management** | All targets need to have power management tools that | +| | allow rebooting the hardware and setting the boot | +| | order (e.g. IPMI) | ++-------------------------+------------------------------------------------------+ + +**NOTE:** All nodes including the Jumpserver must have the same architecture (either x86_64 or aarch64). + +**NOTE:** For aarch64 deployments an UEFI compatible firmware with PXE support is needed (e.g. EDK2). + =============================== Help with Hardware Requirements @@ -153,7 +144,7 @@ For information on compatible hardware types available for use, please see `Fuel When choosing the hardware on which you will deploy your OpenStack environment, you should think about: -- CPU -- Consider the number of virtual machines that you plan to deploy in your cloud environment and the CPU per virtual machine. +- CPU -- Consider the number of virtual machines that you plan to deploy in your cloud environment and the CPUs per virtual machine. - Memory -- Depends on the amount of RAM assigned per virtual machine and the controller node. @@ -182,7 +173,7 @@ the Fuel OPNFV reference platform. All the networks involved in the OPNFV infrastructure as well as the provider networks and the private tenant VLANs needs to be manually configured. -Manual configuration of the Danube hardware platform should +Manual configuration of the Euphrates hardware platform should be carried out according to the `OPNFV Pharos Specification `_. @@ -190,432 +181,118 @@ be carried out according to the `OPNFV Pharos Specification OPNFV Software installation and deployment ========================================== -This section describes the installation of the OPNFV installation -server (Fuel master) as well as the deployment of the full OPNFV -reference platform stack across a server cluster. - -Install Fuel master -=================== - -#. Mount the Danube Fuel ISO file/media as a boot device to the jump host server. - -#. Reboot the jump host to establish the Fuel server. - - - The system now boots from the ISO image. - - - Select "Fuel Install (Static IP)" (See figure below) - - - Press [Enter]. - - .. figure:: img/grub-1.png - -#. Wait until the Fuel setup screen is shown (Note: This can take up to 30 minutes). - -#. In the "Fuel User" section - Confirm/change the default password (See figure below) - - - Enter "admin" in the Fuel password input - - - Enter "admin" in the Confirm password input - - - Select "Check" and press [Enter] - - .. figure:: img/fuelmenu1.png - -#. In the "Network Setup" section - Configure DHCP/Static IP information for your FUEL node - For example, ETH0 is 10.20.0.2/24 for FUEL booting and ETH1 is DHCP in your corporate/lab network (see figure below). - - - Configure eth1 or other network interfaces here as well (if you have them present on your FUEL server). - - .. figure:: img/fuelmenu2.png - -#. In the "PXE Setup" section (see figure below) - Change the following fields to appropriate values (example below): - - - DHCP Pool Start 10.20.0.4 - - - DHCP Pool End 10.20.0.254 - - - DHCP Pool Gateway 10.20.0.2 (IP address of Fuel node) - - .. figure:: img/fuelmenu3.png - -#. In the "DNS & Hostname" section (see figure below) - Change the following fields to appropriate values: - - - Hostname - - - Domain - - - Search Domain - - - External DNS - - - Hostname to test DNS - - - Select and press [Enter] - - .. figure:: img/fuelmenu4.png - - -#. OPTION TO ENABLE PROXY SUPPORT - In the "Bootstrap Image" section (see figure below), edit the following fields to define a proxy. (**NOTE:** cannot be used in tandem with local repository support) - - - Navigate to "HTTP proxy" and enter your http proxy address - - - Select and press [Enter] - - .. figure:: img/fuelmenu5.png - -#. In the "Time Sync" section (see figure below) - Change the following fields to appropriate values: - - - NTP Server 1 - - - NTP Server 2 - - - NTP Server 3 - - .. figure:: img/fuelmenu6.png - -#. Start the installation. - - - Select Quit Setup and press Save and Quit. - - - The installation will now start, wait until the login screen is shown. - -Boot the Node Servers -===================== - -After the Fuel Master node has rebooted from the above steps and is at -the login prompt, you should boot the Node Servers (Your -Compute/Control/Storage blades, nested or real) with a PXE booting -scheme so that the FUEL Master can pick them up for control. - -#. Enable PXE booting - - - For every controller and compute server: enable PXE Booting as the first boot device in the BIOS boot order menu, and hard disk as the second boot device in the same menu. - -#. Reboot all the control and compute blades. - -#. Wait for the availability of nodes showing up in the Fuel GUI. - - - Connect to the FUEL UI via the URL provided in the Console (default: https://10.20.0.2:8443) - - - Wait until all nodes are displayed in top right corner of the Fuel GUI: Total nodes and Unallocated nodes (see figure below). - - .. figure:: img/nodes.png - -Install additional Plugins/Features on the FUEL node -==================================================== - -#. SSH to your FUEL node (e.g. root@10.20.0.2 pwd: r00tme) - -#. Select wanted plugins/features from the /opt/opnfv/ directory. - -#. Install the wanted plugin with the command - - .. code-block:: bash - - $ fuel plugins --install /opt/opnfv/-..rpm - - Expected output (see figure below): - - .. code-block:: bash - - Plugin ....... was successfully installed. - - .. figure:: img/plugin_install.png - -Create an OpenStack Environment -=============================== - -#. Connect to Fuel WEB UI with a browser (default: https://10.20.0.2:8443) (login: admin/admin) - -#. Create and name a new OpenStack environment, to be installed. - - .. figure:: img/newenv.png - -#. Select "" and press - -#. Select "compute virtulization method". - - - Select "QEMU-KVM as hypervisor" and press - -#. Select "network mode". - - - Select "Neutron with ML2 plugin" - - - Select "Neutron with tunneling segmentation" (Required when using the ODL or ONOS plugins) - - - Press +This section describes the process of installing all the components needed to +deploy the full OPNFV reference platform stack across a server cluster. -#. Select "Storage Back-ends". +The installation is done with Mirantis Cloud Platform (MCP), which is based on +a reclass model. This model provides the formula inputs to Salt, to make the deploy +automatic based on deployment scenario. +The reclass model covers: - - Select "Ceph for block storage" and press + - Infrastucture node definition: Salt Master node (cfg01) and MaaS node (mas01) + - Openstack node defition: Controler nodes (ctl01, ctl02, ctl03) and Compute nodes (cmp001, cmp002) + - Infrastructure components to install (software packages, services etc.) + - Openstack components and services (rabbitmq, galera etc.), as well as all configuration for them -#. Select "additional services" you wish to install. - - Check option "Install Ceilometer and Aodh" and press +Automatic Installation of a Virtual POD +======================================= -#. Create the new environment. +For virtual deploys all the targets are VMs on the Jumpserver. The deploy script will: - - Click Button + - Create a Salt Master VM on the Jumpserver which will drive the installation + - Create the bridges for networking with virsh (only if a real bridge does not already exists for a given network) + - Install Openstack on the targets + - Leverage Salt to install & configure Openstack services -Configure the network environment -================================= -#. Open the environment you previously created. +Automatic Installation of a Baremetal POD +========================================= -#. Open the networks tab and select the "default" Node Networks group to on the left pane (see figure below). +The baremetal installation process can be done by editing the information about +hardware and enviroment in the reclass files, or by using a Pod Descriptor File (PDF). +This file contains all the information about the hardware and network of the deployment +the will be fed to the reclass model during deployment. - .. figure:: img/network.png +The installation is done automatically with the deploy script, which will: -#. Update the Public network configuration and change the following fields to appropriate values: + - Create a Salt Master VM on the Jumpserver which will drive the installation + - Create a MaaS Node VM on the Jumpserver which will provision the targets + - Install Openstack on the targets + - Leverage MaaS to provision baremetal nodes with the operating system + - Leverage Salt to configure the operatign system on the baremetal nodes + - Leverage Salt to install & configure Openstack services - - CIDR to - - IP Range Start to +Steps to start the automatic deploy +=================================== - - IP Range End to +These steps are common both for virtual and baremetal deploys. - - Gateway to +#. Clone the Fuel code from gerrit - - Check . + For x86_64 - - Set appropriate VLAN id. + .. code-block:: bash -#. Update the Storage Network Configuration + $ git clone https://git.opnfv.org/fuel + $ cd fuel - - Set CIDR to appropriate value (default 192.168.1.0/24) + For aarch64 - - Set IP Range Start to appropriate value (default 192.168.1.1) + .. code-block:: bash - - Set IP Range End to appropriate value (default 192.168.1.254) + $ git clone https://git.opnfv.org/armband + $ cd armband - - Set vlan to appropriate value (default 102) +#. Checkout the Euphrates release -#. Update the Management network configuration. + .. code-block:: bash - - Set CIDR to appropriate value (default 192.168.0.0/24) + $ git checkout 5.0.0 - - Set IP Range Start to appropriate value (default 192.168.0.1) +#. Start the deploy script - - Set IP Range End to appropriate value (default 192.168.0.254) + .. code-block:: bash - - Check . + $ ci/deploy.sh -l \ + -p \ + -b \ + -s \ + -B - - Set appropriate VLAN id. (default 101) +Examples +-------- +#. Virtual deploy -#. Update the Private Network Information + .. code-block:: bash - - Set CIDR to appropriate value (default 192.168.2.0/24 + $ ci/deploy.sh -b file:///home/jenkins/tmpdir/securedlab \ + -l ericsson \ + -p virtual_kvm \ + -s os-nosdn-nofeature-noha \ - - Set IP Range Start to appropriate value (default 192.168.2.1) +#. Baremetal deploy - - Set IP Range End to appropriate value (default 192.168.2.254) +A x86 deploy on pod1 from Ericsson lab - - Check . + .. code-block:: bash - - Set appropriate VLAN tag (default 103) + $ ci/deploy.sh -b file:///home/jenkins/tmpdir/securedlab \ + -l ericsson \ + -p pod1 \ + -s os-nosdn-nofeature-ha \ + -B pxebr -#. Select the "Neutron L3" Node Networks group on the left pane. +An aarch64 deploy on pod5 from Arm lab - .. figure:: img/neutronl3.png + .. code-block:: bash -#. Update the Floating Network configuration. - - - Set the Floating IP range start (default 172.16.0.130) - - - Set the Floating IP range end (default 172.16.0.254) - - - Set the Floating network name (default admin_floating_net) - -#. Update the Internal Network configuration. - - - Set Internal network CIDR to an appropriate value (default 192.168.111.0/24) - - - Set Internal network gateway to an appropriate value - - - Set the Internal network name (default admin_internal_net) - -#. Update the Guest OS DNS servers. - - - Set Guest OS DNS Server values appropriately - -#. Save Settings. - -#. Select the "Other" Node Networks group on the left pane (see figure below). - - .. figure:: img/other.png - -#. Update the Public network assignment. - - - Check the box for "Assign public network to all nodes" (Required by OpenDaylight) - -#. Update Host OS DNS Servers. - - - Provide the DNS server settings - -#. Update Host OS NTP Servers. - - - Provide the NTP server settings - -Select Hypervisor type -====================== - -#. In the FUEL UI of your Environment, click the "Settings" Tab - -#. Select "Compute" on the left side pane (see figure below) - - - Check the KVM box and press "Save settings" - - .. figure:: img/compute.png - -Enable Plugins -============== - -#. In the FUEL UI of your Environment, click the "Settings" Tab - -#. Select Other on the left side pane (see figure below) - - - Enable and configure the plugins of your choice - - .. figure:: img/plugins.png - -Allocate nodes to environment and assign functional roles -========================================================= - -#. Click on the "Nodes" Tab in the FUEL WEB UI (see figure below). - - .. figure:: img/addnodes.png - -#. Assign roles (see figure below). - - - Click on the <+Add Nodes> button - - - Check , and optionally an SDN Controller role (OpenDaylight controller/ONOS) in the "Assign Roles" Section. - - - Check one node which you want to act as a Controller from the bottom half of the screen - - - Click . - - - Click on the <+Add Nodes> button - - - Check the and roles. - - - Check the two next nodes you want to act as Controllers from the bottom half of the screen - - - Click - - - Click on <+Add Nodes> button - - - Check the and roles. - - - Check the Nodes you want to act as Computes from the bottom half of the screen - - - Click . - - .. figure:: img/computelist.png - -#. Configure interfaces (see figure below). - - - Check Select to select all allocated nodes - - - Click - - - Assign interfaces (bonded) for mgmt-, admin-, private-, public- and storage networks - - - Click - - .. figure:: img/interfaceconf.png - - -Target specific configuration -============================= - -#. Set up targets for provisioning with non-default "Offloading Modes" - - Some target nodes may require additional configuration after they are - PXE booted (bootstrapped); the most frequent changes are in defaults - for ethernet devices' "Offloading Modes" settings (e.g. some targets' - ethernet drivers may strip VLAN traffic by default). - - If your target ethernet drivers have wrong "Offloading Modes" defaults, - in "Configure interfaces" page (described above), expand affected - interface's "Offloading Modes" and [un]check the relevant settings - (see figure below): - - .. figure:: img/offloadingmodes.png - -#. Set up targets for "Verify Networks" with non-default "Offloading Modes" - - **NOTE**: Check *Reference 15* for an updated and comprehensive list of - known issues and/or limitations, including "Offloading Modes" not being - applied during "Verify Networks" step. - - Setting custom "Offloading Modes" in Fuel GUI will only apply those settings - during provisiong and **not** during "Verify Networks", so if your targets - need this change, you have to apply "Offloading Modes" settings by hand - to bootstrapped nodes. - - **E.g.**: Our driver has "rx-vlan-filter" default "on" (expected "off") on - the Openstack interface(s) "eth1", preventing VLAN traffic from passing - during "Verify Networks". - - - From Fuel master console identify target nodes admin IPs (see figure below): - - .. code-block:: bash - - $ fuel nodes - - .. figure:: img/fuelconsole1.png - - - SSH into each of the target nodes and disable "rx-vlan-filter" on the - affected physical interface(s) allocated for OpenStack traffic (eth1): - - .. code-block:: bash - - $ ssh root@10.20.0.6 ethtool -K eth1 rx-vlan-filter off - - - Repeat the step above for all affected nodes/interfaces in the POD. - -Verify Networks -=============== - -It is important that the Verify Networks action is performed as it will verify -that communicate works for the networks you have setup, as well as check that -packages needed for a successful deployment can be fetched. - -#. From the FUEL UI in your Environment, Select the Networks Tab and select "Connectivity check" on the left pane (see figure below) - - - Select - - - Continue to fix your topology (physical switch, etc) until the "Verification Succeeded" and "Your network is configured correctly" message is shown - - .. figure:: img/verifynet.png - -Deploy Your Environment -======================= - -#. Deploy the environment. - - - In the Fuel GUI, click on the "Dashboard" Tab. - - - Click on in the "Ready to Deploy?" section - - - Examine any information notice that pops up and click - - Wait for your deployment to complete, you can view the "Dashboard" - Tab to see the progress and status of your deployment. - -========================= -Installation health-check -========================= - -#. Perform system health-check (see figure below) - - - Click the "Health Check" tab inside your Environment in the FUEL Web UI - - - Check