From a98bf1747db2894394da929d07bde78a1ec19015 Mon Sep 17 00:00:00 2001 From: Szilard Cserey Date: Tue, 18 Aug 2015 19:47:50 +0200 Subject: Autodeployer support for ODL Plugin installation + Fuel 6.1 - Opendaylight plugin installation - Adapting Autodeployer to Fuel 6.1 - restarting blades that couldn't be discovered Fuel in time BGS-87 Autodeployment restarts blade if that has not been discovered by Fuel BGS-90 Fuel 6.1 and Opendaylight Fuel plugin install support for Autodeployer Change-Id: I83aab3f8caf368a70fd3f2b67c7ba1b6191993c6 Signed-off-by: Szilard Cserey --- fuel/ci/README | 67 +- fuel/deploy/README.txt | 165 +++- fuel/deploy/__init__.py | 8 + .../conf/ericsson_montreal_lab/ha/dea.yaml | 993 -------------------- .../conf/ericsson_montreal_lab/ha/dha.yaml | 54 -- .../conf/ericsson_montreal_lab/multinode/dea.yaml | 987 -------------------- .../conf/ericsson_montreal_lab/multinode/dha.yaml | 54 -- .../conf/linux_foundation_lab/pod1/ha/dea.yaml | 950 -------------------- .../conf/linux_foundation_lab/pod1/ha/dha.yaml | 49 - .../linux_foundation_lab/pod1/multinode/dea.yaml | 950 -------------------- .../linux_foundation_lab/pod1/multinode/dha.yaml | 49 - .../conf/linux_foundation_lab/pod2/ha/dea.yaml | 950 -------------------- .../conf/linux_foundation_lab/pod2/ha/dha.yaml | 49 - .../linux_foundation_lab/pod2/multinode/dea.yaml | 950 -------------------- .../linux_foundation_lab/pod2/multinode/dha.yaml | 49 - fuel/deploy/baremetal/vms/fuel.xml | 87 -- fuel/deploy/baremetal/vms/fuel_lf.xml | 93 -- fuel/deploy/cloud/configure_environment.py | 41 +- fuel/deploy/cloud/configure_network.py | 15 +- fuel/deploy/cloud/configure_nodes.py | 34 +- fuel/deploy/cloud/configure_settings.py | 12 + fuel/deploy/cloud/deploy.py | 201 ++--- fuel/deploy/cloud/deployment.py | 87 +- fuel/deploy/common.py | 63 +- fuel/deploy/dea.py | 51 +- fuel/deploy/deploy.py | 146 ++- fuel/deploy/deploy_env.py | 215 ++++- fuel/deploy/dha.py | 21 +- fuel/deploy/dha_adapters/__init__.py | 8 + fuel/deploy/dha_adapters/hardware_adapter.py | 13 +- fuel/deploy/dha_adapters/hp_adapter.py | 13 +- fuel/deploy/dha_adapters/ipmi_adapter.py | 13 +- fuel/deploy/dha_adapters/libvirt_adapter.py | 17 +- fuel/deploy/environments/__init__.py | 9 +- fuel/deploy/environments/execution_environment.py | 17 +- fuel/deploy/environments/libvirt_environment.py | 30 +- fuel/deploy/environments/virtual_fuel.py | 11 + fuel/deploy/execution_environment.py | 46 + fuel/deploy/install_fuel_master.py | 60 +- fuel/deploy/libvirt/conf/ha/dea.yaml | 976 -------------------- fuel/deploy/libvirt/conf/ha/dha.yaml | 42 - fuel/deploy/libvirt/conf/multinode/dea.yaml | 976 -------------------- fuel/deploy/libvirt/conf/multinode/dha.yaml | 42 - fuel/deploy/libvirt/networks/fuel1.xml | 12 - fuel/deploy/libvirt/networks/fuel2.xml | 5 - fuel/deploy/libvirt/networks/fuel3.xml | 5 - fuel/deploy/libvirt/networks/fuel4.xml | 12 - fuel/deploy/libvirt/vms/compute.xml | 92 -- fuel/deploy/libvirt/vms/controller.xml | 91 -- fuel/deploy/libvirt/vms/fuel.xml | 93 -- fuel/deploy/reap.py | 21 +- fuel/deploy/setup_execution_environment.py | 36 - fuel/deploy/ssh_client.py | 12 +- .../conf/ericsson_montreal_lab/ha/dea.yaml | 845 +++++++++++++++++ .../conf/ericsson_montreal_lab/ha/dha.yaml | 54 ++ .../conf/linux_foundation_lab/pod1/ha/dea.yaml | 842 +++++++++++++++++ .../conf/linux_foundation_lab/pod1/ha/dha.yaml | 49 + .../conf/linux_foundation_lab/pod2/ha/dea.yaml | 842 +++++++++++++++++ .../conf/linux_foundation_lab/pod2/ha/dha.yaml | 49 + .../old_conf/ericsson_montreal_lab/ha/dea.yaml | 997 +++++++++++++++++++++ .../old_conf/ericsson_montreal_lab/ha/dha.yaml | 54 ++ .../ericsson_montreal_lab/multinode/dea.yaml | 991 ++++++++++++++++++++ .../ericsson_montreal_lab/multinode/dha.yaml | 54 ++ .../old_conf/linux_foundation_lab/pod1/ha/dea.yaml | 954 ++++++++++++++++++++ .../old_conf/linux_foundation_lab/pod1/ha/dha.yaml | 49 + .../linux_foundation_lab/pod1/multinode/dea.yaml | 954 ++++++++++++++++++++ .../linux_foundation_lab/pod1/multinode/dha.yaml | 49 + .../old_conf/linux_foundation_lab/pod2/ha/dea.yaml | 954 ++++++++++++++++++++ .../old_conf/linux_foundation_lab/pod2/ha/dha.yaml | 49 + .../linux_foundation_lab/pod2/multinode/dea.yaml | 954 ++++++++++++++++++++ .../linux_foundation_lab/pod2/multinode/dha.yaml | 49 + .../templates/hardware_environment/vms/fuel.xml | 91 ++ .../templates/virtual_environment/conf/ha/dea.yaml | 839 +++++++++++++++++ .../templates/virtual_environment/conf/ha/dha.yaml | 38 + .../virtual_environment/networks/fuel1.xml | 12 + .../virtual_environment/networks/fuel2.xml | 5 + .../virtual_environment/networks/fuel3.xml | 5 + .../virtual_environment/networks/fuel4.xml | 12 + .../virtual_environment/old_conf/ha/dea.yaml | 980 ++++++++++++++++++++ .../virtual_environment/old_conf/ha/dha.yaml | 44 + .../old_conf/multinode/dea.yaml | 980 ++++++++++++++++++++ .../old_conf/multinode/dha.yaml | 44 + .../templates/virtual_environment/vms/compute.xml | 91 ++ .../virtual_environment/vms/controller.xml | 91 ++ .../templates/virtual_environment/vms/fuel.xml | 93 ++ fuel/deploy/transplant_fuel_settings.py | 25 +- 86 files changed, 13189 insertions(+), 8992 deletions(-) delete mode 100644 fuel/deploy/baremetal/conf/ericsson_montreal_lab/ha/dea.yaml delete mode 100644 fuel/deploy/baremetal/conf/ericsson_montreal_lab/ha/dha.yaml delete mode 100644 fuel/deploy/baremetal/conf/ericsson_montreal_lab/multinode/dea.yaml delete mode 100644 fuel/deploy/baremetal/conf/ericsson_montreal_lab/multinode/dha.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod1/ha/dea.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod1/ha/dha.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod1/multinode/dea.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod1/multinode/dha.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod2/ha/dea.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod2/ha/dha.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod2/multinode/dea.yaml delete mode 100644 fuel/deploy/baremetal/conf/linux_foundation_lab/pod2/multinode/dha.yaml delete mode 100644 fuel/deploy/baremetal/vms/fuel.xml delete mode 100644 fuel/deploy/baremetal/vms/fuel_lf.xml create mode 100644 fuel/deploy/execution_environment.py delete mode 100644 fuel/deploy/libvirt/conf/ha/dea.yaml delete mode 100644 fuel/deploy/libvirt/conf/ha/dha.yaml delete mode 100644 fuel/deploy/libvirt/conf/multinode/dea.yaml delete mode 100644 fuel/deploy/libvirt/conf/multinode/dha.yaml delete mode 100644 fuel/deploy/libvirt/networks/fuel1.xml delete mode 100644 fuel/deploy/libvirt/networks/fuel2.xml delete mode 100644 fuel/deploy/libvirt/networks/fuel3.xml delete mode 100644 fuel/deploy/libvirt/networks/fuel4.xml delete mode 100644 fuel/deploy/libvirt/vms/compute.xml delete mode 100644 fuel/deploy/libvirt/vms/controller.xml delete mode 100644 fuel/deploy/libvirt/vms/fuel.xml delete mode 100644 fuel/deploy/setup_execution_environment.py create mode 100644 fuel/deploy/templates/hardware_environment/conf/ericsson_montreal_lab/ha/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/conf/ericsson_montreal_lab/ha/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/conf/linux_foundation_lab/pod1/ha/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/conf/linux_foundation_lab/pod1/ha/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/conf/linux_foundation_lab/pod2/ha/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/conf/linux_foundation_lab/pod2/ha/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/ericsson_montreal_lab/ha/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/ericsson_montreal_lab/ha/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/ericsson_montreal_lab/multinode/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/ericsson_montreal_lab/multinode/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod1/ha/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod1/ha/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod1/multinode/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod1/multinode/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod2/ha/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod2/ha/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod2/multinode/dea.yaml create mode 100644 fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod2/multinode/dha.yaml create mode 100644 fuel/deploy/templates/hardware_environment/vms/fuel.xml create mode 100644 fuel/deploy/templates/virtual_environment/conf/ha/dea.yaml create mode 100644 fuel/deploy/templates/virtual_environment/conf/ha/dha.yaml create mode 100644 fuel/deploy/templates/virtual_environment/networks/fuel1.xml create mode 100644 fuel/deploy/templates/virtual_environment/networks/fuel2.xml create mode 100644 fuel/deploy/templates/virtual_environment/networks/fuel3.xml create mode 100644 fuel/deploy/templates/virtual_environment/networks/fuel4.xml create mode 100644 fuel/deploy/templates/virtual_environment/old_conf/ha/dea.yaml create mode 100644 fuel/deploy/templates/virtual_environment/old_conf/ha/dha.yaml create mode 100644 fuel/deploy/templates/virtual_environment/old_conf/multinode/dea.yaml create mode 100644 fuel/deploy/templates/virtual_environment/old_conf/multinode/dha.yaml create mode 100644 fuel/deploy/templates/virtual_environment/vms/compute.xml create mode 100644 fuel/deploy/templates/virtual_environment/vms/controller.xml create mode 100644 fuel/deploy/templates/virtual_environment/vms/fuel.xml diff --git a/fuel/ci/README b/fuel/ci/README index 3525d4d..5ecaa7b 100644 --- a/fuel/ci/README +++ b/fuel/ci/README @@ -18,6 +18,69 @@ For more info on usage: ./build.sh -h ./deploy.sh -h -To be able to deploy on a certain metal environment there needs to be a Deplyment Environment Adaptor" executable with propper added to $PATH such that -deploy.sh can call it by $dea [options] as indicated by ./deploy -h. +sudo ./deploy.sh -h +python deploy.py -h + +usage: python deploy.py [-h] [-nf] [-nh] [-fo] [-co] [-c] [-iso [ISO_FILE]] + [-dea [DEA_FILE]] [-dha [DHA_FILE]] [-s STORAGE_DIR] + [-b PXE_BRIDGE] [-p FUEL_PLUGINS_DIR] + +optional arguments: + -h, --help show this help message and exit + -nf Do not install Fuel Master (and Node VMs when using + libvirt) + -nh Don't run health check after deployment + -fo Install Fuel Master only (and Node VMs when using + libvirt) + -co Cleanup VMs and Virtual Networks according to what is + defined in DHA + -c Cleanup after deploy + -iso [ISO_FILE] ISO File [default: OPNFV.iso] + -dea [DEA_FILE] Deployment Environment Adapter: dea.yaml + -dha [DHA_FILE] Deployment Hardware Adapter: dha.yaml + -s STORAGE_DIR Storage Directory [default: images] + -b PXE_BRIDGE Linux Bridge for booting up the Fuel Master VM + [default: pxebr] + -p FUEL_PLUGINS_DIR Fuel Plugins directory + + + +* EXAMPLES: + +- Install Fuel Master and deploy OPNFV Cloud from scratch on Hardware Environment: + + sudo ./deploy.sh -iso ~/ISO/opnfv.iso -dea ~/CONF/hardware/dea.yaml -dha ~/CONF/hardware/dha.yaml -s /mnt/images -b pxebr -p ~/PLUGIN + + +- Install Fuel Master and deploy OPNFV Cloud from scratch on Virtual Environment: + + sudo ./deploy.sh -iso ~/ISO/opnfv.iso -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -s /mnt/images -p ~/PLUGIN + + +- Deploy OPNFV Cloud on an already active Environment where Fuel Master VM is running so no need to install Fuel again: + + sudo ./deploy.sh -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml + + => with plugin installation + sudo ./deploy.sh -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -p ~/PLUGIN + + => with cleanup after deployment is finished + sudo ./deploy.sh -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -p ~/PLUGIN -c + + => no healthcheck after deployment is completed + sudo ./deploy.sh -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -p ~/PLUGIN -nh + + +- Install Fuel Master only (and Node VMs when using virtual environment): + + => for virtual environment: + sudo ./deploy.sh -iso ~/ISO/opnfv.iso -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -s /mnt/images + + => for hardware environment: + sudo ./deploy.sh -iso ~/ISO/opnfv.iso -dea ~/CONF/hardware/dea.yaml -dha ~/CONF/hardware/dha.yaml -s /mnt/images -b pxebr + + +- Cleanup a running OPNFV environment: + + sudo ./deploy.sh -co -dha ~/CONF/virtual/dha.yaml \ No newline at end of file diff --git a/fuel/deploy/README.txt b/fuel/deploy/README.txt index 33baff1..f42e9ac 100644 --- a/fuel/deploy/README.txt +++ b/fuel/deploy/README.txt @@ -1,15 +1,16 @@ ======== PREREQUISITES ======== -the following applications and python modules are required to be installed: +the following dependencies and python modules are required to be installed: -- example for Ubuntu environment: +- for Ubuntu: -sudo apt-get install -y libvirt-bin qemu-kvm tightvncserver virt-manager -sshpass fuseiso genisoimage blackbox xterm python-pip -sudo restart libvirt-bin -sudo pip install pyyaml netaddr paramiko lxml scp +sudo apt-get install -y libvirt-bin qemu-kvm python-pip fuseiso mkisofs +sudo apt-get install -y python-dev libz-dev libxml2-dev libxslt-dev +sudo pip install pyyaml netaddr paramiko lxml scp pycrypto ecdsa +During libvirt install the user is added to the libvirtd group, so you have to +logout then login back again ======== PREPARE and RUN the OPNFV Autodeployment ======== @@ -24,86 +25,162 @@ you will have to modify them according to your needs - If wou wish to deploy OPNFV cloud environment on top of KVM/Libvirt virtualization use as example the following configuration files: - => libvirt/conf/ha + * SR1 configuration files + + => templates/virtual_environment/conf/ha + dea.yaml + dha.yaml + + + * ARNO configuration files + + => templates/virtual_environment/old_conf/ha dea.yaml dha.yaml - => libvirt/conf/multinode + => templates/virtual_environment/old_conf/multinode dea.yaml dha.yaml -- If you wish to deploy OPNFV cloud environment on baremetal +- If you wish to deploy OPNFV cloud environment on hardware use as example the following configuration files: - => baremetal/conf/ericsson_montreal_lab/ha + * SR1 configuration files + + => templates/hardware_environment/conf/ericsson_montreal_lab/ha dea.yaml dha.yaml - => baremetal/conf/ericsson_montreal_lab/multinode + => templates/hardware_environment/conf/linux_foundation_lab/pod1/ha dea.yaml dha.yaml - => baremetal/conf/linux_foundation_lab/ha + => templates/hardware_environment/conf/linux_foundation_lab/pod2/ha dea.yaml dha.yaml - => baremetal/conf/linux_foundation_lab/multinode + + * ARNO configuration files + + => templates/hardware_environment/old_conf/ericsson_montreal_lab/ha dea.yaml dha.yaml + => templates/hardware_environment/old_conf/ericsson_montreal_lab/multinode + dea.yaml + dha.yaml ---- Step.2 Run Autodeployment: + => templates/hardware_environment/old_conf/linux_foundation_lab/ha + dea.yaml + dha.yaml + + => templates/hardware_environment/old_conf/linux_foundation_lab/multinode + dea.yaml + dha.yaml -usage: python deploy.py [-h] [-nf] [-s [STORAGE_DIR]] [-b [PXE_BRIDGE]] - [iso_file] dea_file dha_file -positional arguments: - iso_file ISO File [default: OPNFV.iso] - dea_file Deployment Environment Adapter: dea.yaml - dha_file Deployment Hardware Adapter: dha.yaml +--- Step.2 Run Autodeployment --- + +usage: python deploy.py [-h] [-nf] [-nh] [-fo] [-co] [-c] [-iso [ISO_FILE]] + [-dea [DEA_FILE]] [-dha [DHA_FILE]] [-s STORAGE_DIR] + [-b PXE_BRIDGE] [-p FUEL_PLUGINS_DIR] optional arguments: - -h, --help show this help message and exit - -nf Do not install Fuel Master (and Node VMs when using - libvirt) - -s [STORAGE_DIR] Storage Directory [default: images] - -b [PXE_BRIDGE] Linux Bridge for booting up the Fuel Master VM [default: - pxebr] + -h, --help show this help message and exit + -nf Do not install Fuel Master (and Node VMs when using libvirt) + -nh Don't run health check after deployment + -fo Install Fuel Master only (and Node VMs when using libvirt) + -co Cleanup VMs and Virtual Networks according to what is + defined in DHA + -c Cleanup after deploy + -iso [ISO_FILE] ISO File [default: OPNFV.iso] + -dea [DEA_FILE] Deployment Environment Adapter: dea.yaml + -dha [DHA_FILE] Deployment Hardware Adapter: dha.yaml + -s STORAGE_DIR Storage Directory [default: images] + -b PXE_BRIDGE Linux Bridge for booting up the Fuel Master VM + [default: pxebr] + -p FUEL_PLUGINS_DIR Fuel Plugins directory -* WARNING: +* EXAMPLES: -If optional argument -s is not specified, Autodeployment will use -"/images" as default, and it will create it, if it hasn't been created before +- Install Fuel Master and deploy OPNFV Cloud from scratch on Hardware Environment: -If optional argument -b is not specified, Autodeployment will use "pxebr" as default, -if the bridge does not exist, the application will terminate with an error message + sudo python deploy.py -iso ~/ISO/opnfv.iso -dea ~/CONF/hardware/dea.yaml -dha ~/CONF/hardware/dha.yaml -s /mnt/images -b pxebr -p ~/PLUGIN -IF optional argument is not specified, Autodeployment will use "/OPNFV.iso" -as default, if the iso file does not exist, the application will terminate with an error message - is not required for Autodeployment in virtual environment, even if it is specified -it will not be used at all +- Install Fuel Master and deploy OPNFV Cloud from scratch on Virtual Environment: + sudo python deploy.py -iso ~/ISO/opnfv.iso -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -s /mnt/images -p ~/PLUGIN -* EXAMPLES: -- Install Fuel Master and deploy OPNFV Cloud from scratch on Baremetal Environment +- Deploy OPNFV Cloud on an already active Environment where Fuel Master VM is running so no need to install Fuel again: + + sudo python deploy.py -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml + + => with plugin installation + sudo python deploy.py -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -p ~/PLUGIN + + => with cleanup after deployment is finished + sudo python deploy.py -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -p ~/PLUGIN -c + + => no healthcheck after deployment is completed + sudo python deploy.py -nf -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -p ~/PLUGIN -nh + + +- Install Fuel Master only (and Node VMs when using virtual environment): + + => for virtual environment: + sudo python deploy.py -iso ~/ISO/opnfv.iso -dea ~/CONF/virtual/dea.yaml -dha ~/CONF/virtual/dha.yaml -s /mnt/images + + => for hardware environment: + sudo python deploy.py -iso ~/ISO/opnfv.iso -dea ~/CONF/hardware/dea.yaml -dha ~/CONF/hardware/dha.yaml -s /mnt/images -b pxebr + + +- Cleanup a running OPNFV environment: + + sudo python deploy.py -co -dha ~/CONF/virtual/dha.yaml + + +* WARNINGS: + +=> If optional argument -s is not specified, Autodeployment will use +"/images" as default, and it will create it, if it hasn't been created before + +=> If optional argument -b is not specified, Autodeployment will use "pxebr" as default, +if the bridge does not exist, the application will terminate with an error message + +=> If argument -iso [ISO_FILE] is not specified, Autodeployment will use "/OPNFV.iso" +as default, if the iso file does not exist, the application will terminate with an error message + +=> If argument -dea [DEA_FILE] is not specified, Autodeployment will use "/dea.yaml" +as default, if DEA file does not exist, the application will terminate with an error message -sudo python deploy.py ~/ISO/opnfv.iso ~/CONF/baremetal/dea.yaml ~/CONF/baremetal/dha.yaml -s /mnt/images -b pxebr +=> If argument -dha [DHA_FILE] is not specified, Autodeployment will use "/dha.yaml" +as default, if DHA file does not exist, the application will terminate with an error message +=> Optional argument -b PXE_BRIDGE is not required for Autodeployment in virtual environment, + even if it is specified it will not be used at all because virtual environment is using a different virtual network setup -- Install Fuel Master and deploy OPNFV Cloud from scratch on Virtual Environment +=> If optional argument -p FUEL_PLUGINS_DIR is not specified, no plugins will be installed in Fuel -sudo python deploy.py ~/ISO/opnfv.iso ~/CONF/virtual/dea.yaml ~/CONF/virtual/dha.yaml -s /mnt/images +--- Networking considerations --- +For Virtual Environment: -- Deploy OPNFV Cloud on an already active Environment where Fuel Master VM is running - so no need to install Fuel again +There are some NAT, IPTABLE conflicts on the edge of libvirt bridging and Fuel Master +according to http://wiki.libvirt.org/page/Networking +netfilter on the bridges should be disabled -sudo python deploy.py -nf ~/CONF/baremetal/dea.yaml ~/CONF/baremetal/dha.yaml +Add these lines to /etc/sysctl.conf -sudo python deploy.py -nf ~/CONF/virtual/dea.yaml ~/CONF/virtual/dha.yaml +cat >> /etc/sysctl.conf <