genesis.git
8 years agoFixes issue with deploy copying from /tmp and clean bailing early 78/1378/1
Tim Rozet [Tue, 1 Sep 2015 20:41:28 +0000 (16:41 -0400)]
Fixes issue with deploy copying from /tmp and clean bailing early

deploy.sh was failing in user deployments because the necessary puppet
modules and vagrant files were being copied accidentally from /tmp and
not the script directory.  This patch fixes that issue.  clean.sh was
failing checks to see if vagrant or virtualbox was still running, due to
a bug with checking "ps" and using grep.  This patch resolves that.

JIRA: APEX-16,APEX-17

Change-Id: I1faa6fc134c0308acb2e7b14be30f7cd3c99d109
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Fixes puppet modules to come from Genesis repo"
Tim Rozet [Tue, 1 Sep 2015 00:55:56 +0000 (00:55 +0000)]
Merge "Fixes puppet modules to come from Genesis repo"

8 years agoFixes puppet modules to come from Genesis repo 55/1355/2
Tim Rozet [Mon, 31 Aug 2015 14:36:27 +0000 (10:36 -0400)]
Fixes puppet modules to come from Genesis repo

This patch deprecates the use of puppet-trystack repo and migrates the
puppet modules even to Genesis.  deploy.sh now now copies the modules
from the current Genesis repo into foreman VM's /vagrant to be used
during install (rather than recloning).  Associated changes in
Khaleesi/QuickStack:
 - Khaleesi: commit 31b912778847f295d1459a71e5c41c808977c91d
 - Astapor: commit ac4be11e348d7bcff1e1aa28c96056e18dba5291

JIRA: APEX-8

Change-Id: I322ac797d1d687f17434e07e6775acef8961bdef
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes bug with interface detection 21/1321/3
Tim Rozet [Wed, 26 Aug 2015 20:00:40 +0000 (16:00 -0400)]
Fixes bug with interface detection

This patch addresses the detection of the physical NICs to bridge to.
There was a bug where the regexp would ignore some NICs on accident, and
the purpose of the expression was to ignore virtual NICs.  Rather than
ignore NICs by their name, this patch ensures that NICs are ignored if
they are actually virtual types.

Also fixes syntax issue with checking for nic_arg_flag.

JIRA: APEX-11

Change-Id: Ibd965c454faab1d751e3ce0b260eabc7fbe7c720
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Adds ability to specify NICs to bridge on the jumphost"
Dan Radez [Fri, 28 Aug 2015 14:55:55 +0000 (14:55 +0000)]
Merge "Adds ability to specify NICs to bridge on the jumphost"

8 years agoMerge "Fixes vagrant base box to be opnfv"
Tim Rozet [Thu, 27 Aug 2015 23:26:51 +0000 (23:26 +0000)]
Merge "Fixes vagrant base box to be opnfv"

8 years agoMerge "Adds baremetal node power check before attempting deploy"
Tim Rozet [Thu, 27 Aug 2015 21:14:17 +0000 (21:14 +0000)]
Merge "Adds baremetal node power check before attempting deploy"

8 years agoMerge "Adds check to ensure 3 control nodes are defined with HA"
Tim Rozet [Thu, 27 Aug 2015 21:05:16 +0000 (21:05 +0000)]
Merge "Adds check to ensure 3 control nodes are defined with HA"

8 years agoFixes vagrant base box to be opnfv 46/1346/1
Tim Rozet [Thu, 27 Aug 2015 20:30:54 +0000 (16:30 -0400)]
Fixes vagrant base box to be opnfv

Chef removed the centos7 basebox from Atlas.  A new opnfv base box was
added.  This patch includes the modifications necessary to point to
that new box.

JIRA: APEX-14

Change-Id: I7e74726c692f21583d0d70f9dd7558665dfb5d99
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdds baremetal node power check before attempting deploy 18/1318/2
Tim Rozet [Wed, 26 Aug 2015 18:22:15 +0000 (14:22 -0400)]
Adds baremetal node power check before attempting deploy

Ensures nodes are shutoff if a baremetal deployment, before attempting
to deploy.  Previous behavior is deploy will run up to Foreman pxeboot,
then fail.  We can save a lot of time by detecting this up front.  Nodes
must be shutoff before deploying.

JIRA: BGS-68

Change-Id: Ie585e12a5271bc1baac60f6256f85e5cb1b1baeb
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdds ability to specify NICs to bridge on the jumphost 44/1344/1
Tim Rozet [Wed, 26 Aug 2015 22:18:59 +0000 (18:18 -0400)]
Adds ability to specify NICs to bridge on the jumphost

This patch adds new functionality to be able to specify the physical
interfaces on the jumphost to bridge to (rather than figured out
dynamically).  The patch introduces new args for each nic:
 - admin_nic
 - private_nic
 - public_nic
 - storage_nic

The public_nic is the only arg to be used when using -virtual.  In
baremetal: admin_nic, private_nic, and public_nic must either be all or
none specified.  The patch also cleans up virtual node logic, which was
working, but had unnecessary logic.

JIRA: APEX-4

Change-Id: Ic0a2e1d8ce2b7464441e3e9041faf123b86ca7e6
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFIX for DHA libvirt template 41/1341/2
Szilard Cserey [Thu, 27 Aug 2015 12:06:34 +0000 (14:06 +0200)]
FIX for DHA libvirt template

Change-Id: I5c04770970fc781f1c7f95ef0f8e308f2c541f89
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge "Removed ODL_DOCKER implementation (DEPRECATED FOR PLUGIN ARCH IN FUEL 6.1...
Daniel Smith [Thu, 27 Aug 2015 11:31:54 +0000 (11:31 +0000)]
Merge "Removed ODL_DOCKER implementation (DEPRECATED FOR PLUGIN ARCH IN FUEL 6.1/SR1 OF ARNO)"

8 years agoAdds check to ensure 3 control nodes are defined with HA 19/1319/1
Tim Rozet [Wed, 26 Aug 2015 19:03:30 +0000 (15:03 -0400)]
Adds check to ensure 3 control nodes are defined with HA

New check makes sure that 3 controller nodes are defined in base_config
when ha_flag is set to true in base_config.

JIRA: APEX-7

Change-Id: I7f49dec82704d8c9cbbcf17eb004b0adede406b3
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Fixes Foreman clean to not hang and removes libvirt"
Tim Rozet [Tue, 25 Aug 2015 22:03:09 +0000 (22:03 +0000)]
Merge "Fixes Foreman clean to not hang and removes libvirt"

8 years agoRemoved ODL_DOCKER implementation (DEPRECATED FOR PLUGIN ARCH IN FUEL 6.1/SR1 OF... 07/1307/1
Daniel Smith [Tue, 25 Aug 2015 15:25:32 +0000 (11:25 -0400)]
Removed ODL_DOCKER implementation (DEPRECATED FOR PLUGIN ARCH IN FUEL 6.1/SR1 OF ARNO)

Change-Id: I8643d268c5d5e3395725667deb50b5f9df7c3f09
JIRA:0
Signed-off-by: Daniel Smith <daniel.smith@ericsson.com>
8 years agoRemoved opendaylight build capabilities as a preparation toward Arno SR1 35/1235/4
Jonas Bjurel [Wed, 19 Aug 2015 09:58:53 +0000 (11:58 +0200)]
Removed opendaylight build capabilities as a preparation toward Arno SR1
Note: The local branch name "removedocker" is missleading!
Change-Id: I4086bb3f47f720407a6356796a9724367cca2898
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoFixes Foreman clean to not hang and removes libvirt 89/1289/1
Tim Rozet [Mon, 24 Aug 2015 17:01:09 +0000 (13:01 -0400)]
Fixes Foreman clean to not hang and removes libvirt

Fixes clean so that it does not hang when base_config is not provided.
Also now removes libvirt libraries which conflict with VirtualBox
required for deploy.

JIRA: BGS-78

Change-Id: I7c71ca207f260eafb1fb97ace764b9d288fc258a
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes setup.sh pxebr checks 52/1252/1
Tim Rozet [Thu, 20 Aug 2015 16:46:46 +0000 (12:46 -0400)]
Fixes setup.sh pxebr checks

Bug where pxebr was checking for link state UP before the subinterface
was added to the bridge.  Moved the check to be after.  Added a short
sleep in between issuing the link up and checking link status.

JIRA: OCTO-109

Change-Id: I7f782a35adf49b0da675e932d109c41b26016a5b
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoRemoves pxebr in clean.sh, updates setup.sh 41/1241/1
Tim Rozet [Wed, 19 Aug 2015 20:20:01 +0000 (16:20 -0400)]
Removes pxebr in clean.sh, updates setup.sh

pxebr bridge is needed by Fuel, but causes issues with Foreman.  It is
now removed in clean.sh.  setup.sh is also updated to be executable and
fixes a bug where grep was being used on output that is in stderr.

JIRA: OCTO-109

Change-Id: I037e168e40f3352a61a604ed6cea21d10250b434
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Adding prep script for Fuel Deployment"
Tim Rozet [Wed, 19 Aug 2015 18:02:22 +0000 (18:02 +0000)]
Merge "Adding prep script for Fuel Deployment"

8 years agoAdding prep script for Fuel Deployment 39/1239/2
Szilard Cserey [Wed, 19 Aug 2015 16:02:57 +0000 (18:02 +0200)]
Adding prep script for Fuel Deployment

Change-Id: If9bf1e1de27a0564a7d6fd0184dc80073bc060e6
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoFIX for missing ks.cfg.patch file 21/1221/2
Szilard Cserey [Tue, 18 Aug 2015 17:20:06 +0000 (19:20 +0200)]
FIX for missing ks.cfg.patch file

Change-Id: I2a204a9119c20cc1ab3a1a20807593454d5b1cd4
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoFIX for stealing POD-2 Jumphost IP address 172.30.10.72 90/1190/1
Szilard Cserey [Thu, 13 Aug 2015 18:31:33 +0000 (20:31 +0200)]
FIX for stealing POD-2 Jumphost IP address 172.30.10.72

Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge "Adding LF POD2 config files for Autodeployer"
Tim Rozet [Thu, 13 Aug 2015 16:11:34 +0000 (16:11 +0000)]
Merge "Adding LF POD2 config files for Autodeployer"

8 years agoMerge "Adds common clean script for CI infrastructure"
Tim Rozet [Thu, 13 Aug 2015 14:04:40 +0000 (14:04 +0000)]
Merge "Adds common clean script for CI infrastructure"

8 years agoAdding LF POD2 config files for Autodeployer 83/1183/1
Szilard Cserey [Thu, 13 Aug 2015 13:44:35 +0000 (15:44 +0200)]
Adding LF POD2 config files for Autodeployer

Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoNeeded rebase after fuel dev-ops changes 71/1171/2
Jonas Bjurel [Wed, 12 Aug 2015 19:17:09 +0000 (21:17 +0200)]
Needed rebase after fuel dev-ops changes

Patch needed after updated fuel devops repo key change
Reference: https://github.com/stackforge/fuel-main/commit/82e77c7f476a23220f44b74c7f32fc04a7189a4e#diff-9d30c16c74e663e5cdb1dc7d9189ed2d

Patch needed after updated fuel devops python package versions
Reference: https://github.com/stackforge/fuel-main/commit/a765460d3fd69089e3b4d2b3a6b55e28e6fb53eb

Rebased site.pp

Change-Id: I138b383b0d57091a81f98acae3b6e7af6a189632
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoAdds common clean script for CI infrastructure 46/1146/3
Tim Rozet [Tue, 11 Aug 2015 17:24:16 +0000 (13:24 -0400)]
Adds common clean script for CI infrastructure

Universal clean script will remove VirtualBox or libvirt/KVM VMs and
related hypervisor packages/kernel modules.  The script is meant to be
executed prior to a deploy to clean the jumphost. The script will also
power off baremtal nodes via IPMI.  These nodes are defined in yaml
and passed via argument -base_config.

JIRA: OCTO-109

Change-Id: I933b3d505b290d65996d60bf465144d92d433315
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "speed up the installation of compass"
Tim Rozet [Tue, 28 Jul 2015 15:39:49 +0000 (15:39 +0000)]
Merge "speed up the installation of compass"

8 years agoMerge "update ansible roles directory for supporting commpass-core installing"
Tim Rozet [Tue, 28 Jul 2015 15:35:54 +0000 (15:35 +0000)]
Merge "update ansible roles directory for supporting commpass-core installing"

8 years agoFixes IP/MAC of inventory for lab reconfig 71/1071/2
Tim Rozet [Fri, 24 Jul 2015 16:35:19 +0000 (12:35 -0400)]
Fixes IP/MAC of inventory for lab reconfig

JIRA: OCTO-109

Change-Id: I272a1f9f12454ff71a8a1915ab7b712474b84832
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoRemove broken links, regression in sphinx? 85/1085/1
Aric Gardner [Mon, 27 Jul 2015 17:23:04 +0000 (13:23 -0400)]
Remove broken links, regression in sphinx?

Change-Id: I2d7b1862e49cf56e4b962248957a09cef83f0f23
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
8 years agoMerge "Adds check to make sure subnets are a minimum size per network"
Tim Rozet [Wed, 22 Jul 2015 21:37:24 +0000 (21:37 +0000)]
Merge "Adds check to make sure subnets are a minimum size per network"

8 years agoAdds check to make sure subnets are a minimum size per network 32/1032/3
Tim Rozet [Mon, 20 Jul 2015 19:49:53 +0000 (15:49 -0400)]
Adds check to make sure subnets are a minimum size per network

Verifies that subnets are at least these sizes for deploy:
 - admin: 5 IPs
 - private: 10 IPs
 - public: 25 IPs
 - storage: 10 IPs

JIRA: BGS-71

Change-Id: I0a6c373c9a8737fa9f0c2712851616dc301968f3
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes clean to remove all VMs and be more effective 33/1033/3
Tim Rozet [Mon, 20 Jul 2015 21:41:20 +0000 (17:41 -0400)]
Fixes clean to remove all VMs and be more effective

Now all VMs in the vm_dir (/opt/var/opnfv) will be destroyed and
removed.  Also, virtual box VMs that are leftover even if Vagrant is
stuck will attempted to be gracefully removed first, before forcefully
destroying the process.  The clean should work for both baremetal and
virtual deployments.

JIRA: APEX-3

Change-Id: Ib31cf1210651e4413ec8fe918ff91be63f4ad6d4
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixed public IP allocation JIRA: BGS-89 20/1020/4
randyl [Thu, 16 Jul 2015 01:30:34 +0000 (19:30 -0600)]
Fixed public IP allocation JIRA: BGS-89

For bare metal deployments, the list IP of the last IP of the subnet
and 20 IPs before are reservered for neutron public IPs.

A new function to subtract a number from an IP was added.

Really fixed the logic for skipping 10 IP for VIPs was flipped to treat
no_dhcp with static IPs as a special case.

Removed a false print statement that the foreman VM is running.
Consolidated two identical print messages with the public IP range.

Change-Id: I189b9440dafd98e49d9a147515810e44b97ab256
Signed-off-by: randyl <r.levensalor@cablelabs.com>
8 years agoFixes issue where git clone fails 14/1014/1
Tim Rozet [Wed, 15 Jul 2015 02:19:38 +0000 (22:19 -0400)]
Fixes issue where git clone fails

Looks like for some reason GIT_SSL_NO_VERIFY=true is required for the
git clone to work in LF lab.  I guess git cannot recognize the SSL
cert.  However, this same git clone command works on another non-LF
server that is using the same exact git version without the need for
this fix.

JIRA: BGS-60

Change-Id: I2a71902b3fe01026644ada29bef67c3db3cda711
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes syntax error with git clone for genesis 13/1013/1
Tim Rozet [Wed, 15 Jul 2015 01:49:13 +0000 (21:49 -0400)]
Fixes syntax error with git clone for genesis

JIRA: BGS-60

Change-Id: I23a004d41ff8fd37a0ddcae1b4831a333000cae8
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes clean bug where $vm_dir is assumed to exist 12/1012/1
Tim Rozet [Tue, 14 Jul 2015 21:41:06 +0000 (17:41 -0400)]
Fixes clean bug where $vm_dir is assumed to exist

JIRA: BGS-60

Change-Id: Ida9458cf638eca81e6a3d67941203c605d9e4a8a
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMigrates from github bgs_vagrant project to genesis 00/1000/5
Tim Rozet [Mon, 13 Jul 2015 20:28:53 +0000 (16:28 -0400)]
Migrates from github bgs_vagrant project to genesis

No longer relies on bgs_vagrant github project.  Now Foreman VM is
created under /var/opt/opnfv/foreman_vm, instead of /tmp/bgs_vagrant for better
naming convention and file location.  Other VM nodes are also placed in
/var/opt/opnfv/.

JIRA: BGS-60

Change-Id: I009d907ad777750168b822ab86cd11515e28cdd7
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Take care of the subnet on public subnet"
Frank Brockners [Fri, 10 Jul 2015 07:07:33 +0000 (07:07 +0000)]
Merge "Take care of the subnet on public subnet"

8 years agoTake care of the subnet on public subnet 75/975/3
arnaudmorin [Tue, 7 Jul 2015 13:34:04 +0000 (15:34 +0200)]
Take care of the subnet on public subnet

This patch will take care of the subnet on public range. Instead of
having a stoned /24, we can use now use at least /27 subnet (because
foreman will try to use 20 IPs for public floating ip pool)
This is not the best way to do that, but it's better than the current
way.

It also add a parameter to set the number of floating IP we want to use
from the public subnet in provider network.

Change-Id: I467f2a4098d2da3c6f666453cead64e18d0c655c
JIRA: BGS-75
Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
8 years agoRemoves version pinning to khaleesi and other utils 90/990/1
Tim Rozet [Thu, 9 Jul 2015 18:07:42 +0000 (14:07 -0400)]
Removes version pinning to khaleesi and other utils

No longer needed post Arno

Change-Id: I24ba94e48658372034e334d413f044f407f2cb72
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agospeed up the installation of compass 61/961/2
carey.xu [Mon, 6 Jul 2015 08:45:40 +0000 (16:45 +0800)]
speed up the installation of compass

BGS-83

Change-Id: I0dada0a6c4fc6b9dda9fe586b0371ba543045057
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
8 years agoAdd a 1 minute pause after ansible playbook 74/974/1
arnaudmorin [Tue, 7 Jul 2015 13:04:34 +0000 (15:04 +0200)]
Add a 1 minute pause after ansible playbook

For the LF pods, it seems that the ansible reload playbook is necessary,
in our pod, we also need to wait 1 minute before trying to run shell
provisionner in Vagrant VM.
This patch adds a 1 minute pause into the ansible playground in order to
be sure that the machine will be accessible.
This avoid "SSH connection unexpectedly closed" issue.

Change-Id: Iab2b47decb0120e8359a175b1f16ccbd1036e91f
JIRA: BGS-85
Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
8 years agoMerge "Fixes networking related constraints for Virtual deployments"
Dan Radez [Mon, 6 Jul 2015 19:53:21 +0000 (19:53 +0000)]
Merge "Fixes networking related constraints for Virtual deployments"

8 years agoFixes networking related constraints for Virtual deployments 09/909/5
Tim Rozet [Fri, 26 Jun 2015 15:49:42 +0000 (11:49 -0400)]
Fixes networking related constraints for Virtual deployments

Patchset fixes the following:
 - Virtual deployment no longer requires 3 networks, does a lookup of
the public interface on the server to bridge to, and then uses internal
VirtualBox networks for the other admin and private networks
 - enable_virtual_dhcp option now allows enabling of Foreman DHCP
server.  This new default behavior is to use static IP address in
virtual deployments.  This is more useful in environments where
disabling DHCP on the public network is not an option.
 - static_ip_range argument used to define which IP block to use out of
the public network for the deployment. Valid only in virtual deployment.
 - puppet verification for virtual deployments added
 - horizon and foreman URLs will now be printed at the end of deployment
 - fixes and updates to non-HA deployments
 - ping_site argument now allows users to specify the site to verify VM
internet connectivity.  Default is google.com which is unreachable in
China

JIRA: BGS-73

Change-Id: I63b4c91477591d2f9436b5e6f59a2f2ee021d7d7
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdded libvirt boot watchdog definition to provide more robust deployment in case... 41/941/1
Jonas Bjurel [Wed, 1 Jul 2015 17:34:51 +0000 (19:34 +0200)]
Added libvirt boot watchdog definition to provide more robust deployment in case of dhcp/pxe time-out

Change-Id: Id505a0ee89b72460bc65c7181ceae40e5443a515
JIRA:
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "add a complete cleanup scripts for compass"
Frank Brockners [Tue, 30 Jun 2015 15:34:52 +0000 (15:34 +0000)]
Merge "add a complete cleanup scripts for compass"

8 years agoMerge "Add ODL Deployment stack docs to Foreman guide"
Frank Brockners [Tue, 30 Jun 2015 15:34:09 +0000 (15:34 +0000)]
Merge "Add ODL Deployment stack docs to Foreman guide"

8 years agoMerge "Moved 80% of Foreman deploy.sh into functions"
Frank Brockners [Tue, 30 Jun 2015 15:33:14 +0000 (15:33 +0000)]
Merge "Moved 80% of Foreman deploy.sh into functions"

8 years agoupdate ansible roles directory for supporting commpass-core installing 56/956/1
carey.xu [Tue, 30 Jun 2015 06:53:17 +0000 (14:53 +0800)]
update ansible roles directory for supporting commpass-core installing

BGS-80

Change-Id: I97a5d2a9b1f6c799c1976ec1cf6e687b108e0d0f
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
8 years agoadd a complete cleanup scripts for compass 02/902/2
m00133142 [Fri, 26 Jun 2015 02:40:48 +0000 (10:40 +0800)]
add a complete cleanup scripts for compass

JIRA: BGS-79

Change-Id: I9b7e3b5244056971b54b2ea9e0d0c9a9db31c47a
Signed-off-by: m00133142 <meimei@huawei.com>
8 years agoMerge "change in Fuel VM name"
Stefan Berg [Mon, 29 Jun 2015 14:34:16 +0000 (14:34 +0000)]
Merge "change in Fuel VM name"

8 years agochange in Fuel VM name 14/914/1
Szilard Cserey [Mon, 29 Jun 2015 12:44:10 +0000 (14:44 +0200)]
change in Fuel VM name

for eliminating the conflict between prototype and production autodeployers

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: Ib12d3643dd07a3dcbc8b8d19593385348b583ad2
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoRemoved security policies from autodeploy prototype libvirt fuel example libvirt... 10/910/1
Jonas Bjurel [Sun, 28 Jun 2015 19:19:29 +0000 (21:19 +0200)]
Removed security policies from autodeploy prototype libvirt fuel example libvirt template, preventing
fuel node to boot on Ubuntu 14.04 libvirt.

Change-Id: If9083fba89cca855ef3a4502b820583227cab950
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "Revert "Adding in support for Lithium container." since it doesnt deploy"
Jonas Bjurel [Fri, 26 Jun 2015 15:09:54 +0000 (15:09 +0000)]
Merge "Revert "Adding in support for Lithium container." since it doesnt deploy"

8 years agoMerge "Add create vm script and foreman config"
Jonas Bjurel [Fri, 26 Jun 2015 12:26:09 +0000 (12:26 +0000)]
Merge "Add create vm script and foreman config"

8 years agoAdd create vm script and foreman config 93/693/5
arnaudmorin [Fri, 29 May 2015 13:56:50 +0000 (15:56 +0200)]
Add create vm script and foreman config

Add a script to create a KVM machine and install foreman in it.
This is the beginning of the OpenSteak installation mecanism.
It is very similare as what is done in the Foreman/Quickstack approach
with small differences:
 - Ubuntu as base OS (instead of CentOS)
 - Foreman v1.8 (instead of 1.7.5
 - KVM (libvirt) virtual machine (instead of Vagrant)
 - Only python/bash scripts to manage all the stuff (instead of
   Khaleesi/Ansible/Astaport playbooks)

Change-Id: Ie66b1da4288372927e30163f82f5a0f45e2e73d0
JIRA: BGS-9
Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
8 years agoRevert "Adding in support for Lithium container." 04/904/3
Jonas Bjurel [Fri, 26 Jun 2015 09:03:36 +0000 (09:03 +0000)]
Revert "Adding in support for Lithium container."
since it doesnt deploy

This reverts commit eb887812da568cfb4908f6ae14449b2ceaeb5bc0.

Change-Id: Ia7490d86c1d91abca1f50d90f43bdf3e4917f23a

8 years agoMerge "Corrected links associated with release docs. To be updated along with the...
Jonas Bjurel [Thu, 25 Jun 2015 17:06:58 +0000 (17:06 +0000)]
Merge "Corrected links associated with release docs.  To be updated along with the previous patch for the doc and cherry picked to stable/arno."

8 years agoMerge "Fetching exit code from deploy.py in deploy.sh"
Jonas Bjurel [Thu, 25 Jun 2015 17:06:33 +0000 (17:06 +0000)]
Merge "Fetching exit code from deploy.py in deploy.sh"

8 years agoMoved 80% of Foreman deploy.sh into functions 92/892/1
randyl [Wed, 24 Jun 2015 18:55:53 +0000 (12:55 -0600)]
Moved 80% of Foreman deploy.sh into functions

To help with readability and troubleshooting, the 80% of the
script that was not in a function were added to functions
based on logical blocks.

Neither functional nor order of execution changes were made
to the script.

Since most of the file and other Foreman CI scripts use a
2 space indent, that was also applied uniformly across the
file.

Change-Id: I83b96e231d484813025f6aa900cf2ffc92e94397
Signed-off-by: randyl <r.levensalor@cablelabs.com>
8 years agoAdd ODL Deployment stack docs to Foreman guide 91/891/1
Daniel Farrell [Wed, 24 Jun 2015 14:41:47 +0000 (10:41 -0400)]
Add ODL Deployment stack docs to Foreman guide

JIRA: BGS-59

Change-Id: Ia2541f7b56077f2ce95acc4dd042d72bb8cbbf2c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years agoFetching exit code from deploy.py in deploy.sh 78/878/4
Szilard Cserey [Mon, 22 Jun 2015 15:37:50 +0000 (17:37 +0200)]
Fetching exit code from deploy.py in deploy.sh

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: I9b4f7f27fc8ad271fc9bb37f4cb1910af5068a73
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge "Fixing network configuration bug in dea.yaml"
Jonas Bjurel [Sat, 20 Jun 2015 16:39:26 +0000 (16:39 +0000)]
Merge "Fixing network configuration bug in dea.yaml"

8 years agoMerge "Fix typo: conatiner => container"
Jonas Bjurel [Sat, 20 Jun 2015 16:38:21 +0000 (16:38 +0000)]
Merge "Fix typo: conatiner => container"

8 years agoMerge "Updating ci deploy script + argument parsing improvements"
Jonas Bjurel [Sat, 20 Jun 2015 16:37:45 +0000 (16:37 +0000)]
Merge "Updating ci deploy script + argument parsing improvements"

8 years agoMerge "Catching exit status from remote deployment process"
Jonas Bjurel [Sat, 20 Jun 2015 16:36:48 +0000 (16:36 +0000)]
Merge "Catching exit status from remote deployment process"

8 years agoMerge "Add openstack HA installer code with ansible for compass adapter"
Prakash Ramchandran [Fri, 19 Jun 2015 17:54:43 +0000 (17:54 +0000)]
Merge "Add openstack HA installer code with ansible for compass adapter"

8 years agoFixing network configuration bug in dea.yaml 75/875/1
Szilard Cserey [Fri, 19 Jun 2015 16:11:34 +0000 (18:11 +0200)]
Fixing network configuration bug in dea.yaml

it kept failing whenever I tried to deploy in HA mode

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: I94f2b49ef4caf6674c636568601aac69c0339617
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoFix typo: conatiner => container 70/870/1
Szilard Cserey [Thu, 18 Jun 2015 20:04:25 +0000 (22:04 +0200)]
Fix typo: conatiner => container

Change-Id: If7a29b0c88a7009ef7587a460ecfeff4ba3f3661
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoUpdating ci deploy script + argument parsing improvements 67/867/2
Szilard Cserey [Thu, 18 Jun 2015 15:05:03 +0000 (17:05 +0200)]
Updating ci deploy script + argument parsing improvements

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: I891d574a5f8593a83edc89bb145bde90943c593f
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoCatching exit status from remote deployment process 58/858/5
Szilard Cserey [Thu, 18 Jun 2015 09:32:57 +0000 (11:32 +0200)]
Catching exit status from remote deployment process

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: I21997df2534ef3cb0ae9ed47a01e6625b8404af9
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoFixing verification of vbox drivers JIRA: BGS-74 71/871/1
randyl [Wed, 17 Jun 2015 21:23:45 +0000 (15:23 -0600)]
Fixing verification of vbox drivers JIRA: BGS-74

With the foreman install the vboxdrv module is not loaded
then the deploy.sh script attempts to load the driver by
running ‘/etc/init.d/vboxdrv setup’
and checks the return code for success.

However, /etc/init.d/vboxdrv will return 0 as long a valid parameter was passed on the command line. In the case of a
failure, a failure message will be logged and the return code
will still be 0.

For instance if the kvm module is already loaded, the
VirtualBox driver will never install.

deploy.sh will now check for the VirtualBox kernel module
with lsmod after the setup script is installed.

The deploy.sh will now exit if the vboxdrv is not loaded.

Change-Id: I702819cbf28afb08e0035e08918390af85c07674
Signed-off-by: randyl <r.levensalor@cablelabs.com>
8 years agoMerge "Fixes external network bridge and adds quota limits"
Frank Brockners [Wed, 17 Jun 2015 18:06:38 +0000 (18:06 +0000)]
Merge "Fixes external network bridge and adds quota limits"

8 years agoFuel Config Reap + Additional Refactoring for Autodeployment 46/846/1
Szilard Cserey [Wed, 17 Jun 2015 10:14:54 +0000 (12:14 +0200)]
Fuel Config Reap + Additional Refactoring for Autodeployment

1. Refactor the whole autodeployment code in such a way that
the preparation of Fuel VM + networking and the autodeployment itself
can be executed all at once

2. Functionality added that allows reaping of Fuel configuration from
an existing environment and create DHA and DEA configuration files from it

JIRA: [BGS-2] Create Fuel deployment script

Change-Id: Ia22ae9b050085aaa4cadb4ee6c7bfd556c4bc18a
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoAdd openstack HA installer code with ansible for compass adapter 09/809/3
baigk [Thu, 11 Jun 2015 06:13:24 +0000 (14:13 +0800)]
Add openstack HA installer code with ansible for compass adapter

patch 2: add service monitor and adjust monitor timelen

BGS-25

Change-Id: I4239576b3888a0a7f6b697fe7fffffb677ef7dab
Signed-off-by: baigk <baiguoku@huawei.com>
8 years agoAdding in support for Lithium container. 18/818/1
Dan Smith [Fri, 12 Jun 2015 17:08:42 +0000 (13:08 -0400)]
Adding in support for Lithium container.

Both will be present on the controller nodes and can be started/switches on and off at will. Networking scripts are not updated - will be deprecated in
favour of plugin method of enabling / setting up VXLAN / OVSDB integration

pulling from the latest nightly artifact at time of commit - will work on automated pulling each night to see if that makes sense.

Change-Id: Ie911cdf61cd97a99b975c30c55c664daf70eb3ee
JIRA: 0
Signed-off-by: Dan Smith <daniel.smith@ericsson.com>
8 years agoCorrected links associated with release docs. To be updated along with the previous... 91/791/1
ChristopherPrice [Tue, 9 Jun 2015 20:17:57 +0000 (22:17 +0200)]
Corrected links associated with release docs.  To be updated along with the previous patch for the doc and cherry picked to stable/arno.

JIRA: BGS-64

Change-Id: Ifb5a5d115559097d361aeca83d9b6a0807bbf3d7
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoFixes external network bridge and adds quota limits 82/782/1
Tim Rozet [Mon, 8 Jun 2015 17:11:56 +0000 (13:11 -0400)]
Fixes external network bridge and adds quota limits

Issue where external network router port was being placed on br-int.
Port will now be properly added to br-ex.  Patch also includes increased
quota limits for neutron.

JIRA: BGS-65

Change-Id: I30de85e4ef241b567a90011d08c0cb4ad97fe411
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoCorrected the "support" e-mail address. Will need to be cherry picked and merged... 78/778/1
ChristopherPrice [Fri, 5 Jun 2015 13:49:13 +0000 (15:49 +0200)]
Corrected the "support" e-mail address.  Will need to be cherry picked and merged to arno stable then updated on the release pages once approved and generated.

JIRA: BGS-64

Change-Id: Ie6c48fb863f726e5d2331e53a5b0764f9fb479b4
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoMerge "Fix formatting to '_sha1_', '_date_' where needed" arno.2015.1.0
Jonas Bjurel [Wed, 3 Jun 2015 22:40:08 +0000 (22:40 +0000)]
Merge "Fix formatting to '_sha1_', '_date_' where needed"

8 years agoMerge "Very final review before cutting the release Very-very final review :-) Update...
jonasbjurel [Wed, 3 Jun 2015 22:20:54 +0000 (22:20 +0000)]
Merge "Very final review before cutting the release Very-very final review :-) Update of release-notes"

8 years agoFinal installation instructions commit taged 1.0.0 57/757/2
jonasbjurel [Wed, 3 Jun 2015 16:56:23 +0000 (18:56 +0200)]
Final installation instructions commit taged 1.0.0
Very final installation instruction commit

Change-Id: Ie60e936c04cbaf17e5d5b4e19846b7ced2ae86de
Signed-off-by: jonasbjurel <jonas.bjurel@ericsson.com>
8 years agoVery final review before cutting the release 51/751/3
jonasbjurel [Wed, 3 Jun 2015 15:53:51 +0000 (17:53 +0200)]
Very final review before cutting the release
Very-very final review :-)
Update of release-notes

Change-Id: Ia5e6dc35495b92dcfbb402ecb96e8f41786848d0
Signed-off-by: jonasbjurel <jonas.bjurel@ericsson.com>
8 years agoFix formatting to '_sha1_', '_date_' where needed 62/762/2
Ildiko Vancsa [Wed, 3 Jun 2015 20:38:30 +0000 (22:38 +0200)]
Fix formatting to '_sha1_', '_date_' where needed

JIRA: BGS-48

Change-Id: Ic67f7935a37014c54357a478a596a280773f0580
Signed-off-by: Ildiko Vancsa <ildiko.vancsa@ericsson.com>
8 years agoAdd references to the User Guide 49/749/3
Ildiko Vancsa [Wed, 3 Jun 2015 15:39:12 +0000 (17:39 +0200)]
Add references to the User Guide

JIRA: BGS-48

Change-Id: I195fc3796f146bcb796fe9773dd5a996fe43d31e
Signed-off-by: Ildiko Vancsa <ildiko.vancsa@ericsson.com>
8 years agoMerge "Update Reference section for the Install Guides"
Tim Rozet [Wed, 3 Jun 2015 17:59:09 +0000 (17:59 +0000)]
Merge "Update Reference section for the Install Guides"

8 years agoMerge "Fixes release tags and versions"
Frank Brockners [Wed, 3 Jun 2015 17:33:59 +0000 (17:33 +0000)]
Merge "Fixes release tags and versions"

8 years agoLast build instruction commit for Arno, now tagged as 1.0.0 48/748/3
jonasbjurel [Wed, 3 Jun 2015 15:32:39 +0000 (17:32 +0200)]
Last build instruction commit for Arno, now tagged as 1.0.0
Final review of the Fuel build instructions
JIRA:

Change-Id: I75903a69fe8a77b35008ceed38464c3cb8727978
Signed-off-by: jonasbjurel <jonas.bjurel@ericsson.com>
8 years agoUpdate Reference section for the Install Guides 47/747/2
Ildiko Vancsa [Wed, 3 Jun 2015 15:23:18 +0000 (17:23 +0200)]
Update Reference section for the Install Guides

JIRA: BGS-48

Change-Id: Ice04e177f4451d8bb3170a5e3ef3e8418deead3e
Signed-off-by: Ildiko Vancsa <ildiko.vancsa@ericsson.com>
8 years agoFixes release tags and versions 53/753/1
Tim Rozet [Wed, 3 Jun 2015 16:06:27 +0000 (12:06 -0400)]
Fixes release tags and versions

JIRA:

Change-Id: I1bb931f2c9cf028c7cb935bb24ffc8425913be97
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFinal review for the fuel installation instructions 46/746/2
jonasbjurel [Wed, 3 Jun 2015 14:55:52 +0000 (16:55 +0200)]
Final review for the fuel installation instructions
JIRA:

Change-Id: I7a525ca56e20a92b004620e85de48f3ff3b3d64e
Signed-off-by: jonasbjurel <jonas.bjurel@ericsson.com>
8 years agoFixed scripts inside ODL container to match SR3 release naming. 45/745/1
Dan Smith [Wed, 3 Jun 2015 14:42:21 +0000 (10:42 -0400)]
Fixed scripts inside ODL container to match SR3 release naming.

Change-Id: I3c9b7acb8972bd34afc01f3aad9a1f5ec9a1b99f
JIRA: 0
Signed-off-by: Dan Smith <daniel.smith@ericsson.com>
8 years agoMerge "Adding some doc fixes."
Frank Brockners [Wed, 3 Jun 2015 14:40:05 +0000 (14:40 +0000)]
Merge "Adding some doc fixes."

8 years agoMerge "Fix ISO name in Fuel Install Instruction"
Frank Brockners [Wed, 3 Jun 2015 14:37:40 +0000 (14:37 +0000)]
Merge "Fix ISO name in Fuel Install Instruction"

8 years agoMerge "Fix indentation in user-guide.rst"
Tim Rozet [Wed, 3 Jun 2015 14:32:45 +0000 (14:32 +0000)]
Merge "Fix indentation in user-guide.rst"

8 years agoMerge "Add ISO reference to Foreman Install Instruction"
Tim Rozet [Wed, 3 Jun 2015 14:29:03 +0000 (14:29 +0000)]
Merge "Add ISO reference to Foreman Install Instruction"