User Tools

Site Tools


deploy_opnfv_with_fuel_in_a_virtual_environment

This is an old revision of the document!


CONFIG FILES

CONFIG FILE TEMPLATES

For Bare Metal and Virtual deployment, template files are available

fuel/deploy/templates/virtual_environment/conf/<dea.yaml,dha.yaml> fuel/deploy/templates/hardware_environment/conf/<ericsson_montreal_lab, linux_foundation_lab, opnfv_box>/<dea.yaml,dha.yaml>

VM definition files

fuel/deploy/templates/virtual_environment/vms/<controller.xml, compute.xml, fuel.xml> fuel/deploy/templates/hardware_environment/vms/fuel.xml

Network config for Virtual deployment

fuel/deploy/templates/virtual_environment/networks/fuel<x>.xml

CONFIG FILES CONTENT - DEA

There are 2 config files wired out from fuel: DEA, DHA

Deployment Environment Adapter: dea.yaml
mode: ha
net_segment_type: gre
wanted_release: Juno on Ubuntu 14.04.1
Node roles
Fuel networks, ips, interfaces, bridge configs
OS components settings
...

CONFIG FILES CONTENT - DHA

There are 2 config files wired out from fuel: DEA, DHA

Deployment Hardware Adapter: dha.yaml
adapter: libvirt
nodes:
- id: 1
  libvirtName: controller1
  libvirtTemplate: templates/virtual_environment/vms/controller.xml
- id: 5
  libvirtName: fuel-master
  libvirtTemplate: templates/virtual_environment/vms/fuel.xml
  isFuel: yes
  username: root
  password: r00tme

  virtNetConfDir: templates/virtual_environment/networks
  disks:
  fuel: 50G
  controller: 50G
  compute: 50G

DEPLOYMENT

AUTO DEPLOYER

fuel/ci/deploy.sh

Typically:

sudo ./deploy.sh -iso opnfv.iso -dea dea.yaml -dha dha.yaml -s /mnt/images -p PLUGIN
-> deploy OPNFV Cloud env with Fuel

-iso	-> OPNFV iso downloaded or built from source
-p	-> plugins for FUEL, like ODL puppet files to install ODL on nodes
           * Not ODL itself
           * Default ODL rpm for ARNO SR1 is integrated in OPNFV iso
           * Can be downloaded or built from source if different version required
-s	-> storage location for generated VMs, user defined
-nf	-> no fuel (redeployment)
-nh	-> no health check

VERIFICATION

PREPARE ARNO ISO

DOWNLOAD ARNO ISO FILE: http://artifacts.opnfv.org/arno.2015.2.0/fuel/arno.2015.2.0.fuel.iso

It contains a Centos FUEL image containing all the requirements for OPNFV deployments (e.g. OpenStack Juno, ODL Lithium, Fuel plugins

USE CORRECT NTP SETTINGS IN DEA.YAML

  • Section „fuel”:
NTP1: 10.118.34.219
NTP2:
NTP3:
  • Section „ntp_list”:
value: 10.118.34.219

Unless using a correct value, deployment will fail - FUEL GUI ERROR:

Deployment has failed. Method granular_deploy. Failed to execute hook 'puppet' Puppet run failed. Check puppet logs for details
---
priority: 200
fail_on_error: true
type: puppet
uids:
- '3'
parameters:
  puppet_modules: "/etc/puppet/modules"
  puppet_manifest: "/etc/puppet/modules/osnailyfacter/modular/ntp/ntp-check.pp"
  timeout: 600
  cwd: "/"
.
Inspect Astute logs for the details

OPTIONAL ODL BUILD STEP

One should either use the ODL integrated in ARNO SR1 (iso downloaded or built manually in previour step already contains it, no manual step required) or build rpm from source, and add it to the deploy script as argument.

BUILD: (readme: https://github.com/openstack/fuel-plugin-opendaylight)

git clone https://github.com/stackforge/fuel-plugin-opendaylight
pip install fuel-plugin-builder
gem install fpm
fpb --build fuel-plugin-opendaylight/

INCLUDE TO DEPLOYMENT (by using argument for deploy.sh on next slide):

-p <fuel-plugin-opendaylight-rmp-dir>

CHALLENGES

MANUAL iso BUILD

INVESTIGATION TOPICS

deploy_opnfv_with_fuel_in_a_virtual_environment.1445964917.txt.gz · Last modified: 2015/10/27 16:55 by Gabor Halasz