genesis.git
8 years agoChange mirror rsync check 49/2049/1
Michal Skalski [Sat, 26 Sep 2015 14:10:17 +0000 (16:10 +0200)]
Change mirror rsync check

Checking if rsync is enabled on remote host is not enough.

Change-Id: I478c32a407af7ea01f90c45adcafdf99b6ba1782
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit acbb3b26c855ff35c8774eff8cd696b0198f9ac8)

8 years agoIncreasing storage size for Controllers and Computes in Virtual Deployment 05/2005/5
Szilard Cserey [Fri, 25 Sep 2015 10:48:20 +0000 (12:48 +0200)]
Increasing storage size for Controllers and Computes in Virtual Deployment

Change-Id: I69b79af835e5dd7df465e5bde75023a77fb23527
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoBuild Fuel ODL plugin 89/1989/4
Michal Skalski [Thu, 24 Sep 2015 16:59:31 +0000 (18:59 +0200)]
Build Fuel ODL plugin

Build Fuel OpenDaylight plugin and make it accessible on Fuel Master
inside /opt/opnfv directory.

JIRA: FUEL-30

Change-Id: I5297c0fa70207c3631a0cdf205559fcb55d13554
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit a73a2551cd0986a94402ed98e1608d861e22d709)

8 years agoTry to choose close ubuntu mirror 39/2039/1
Michal Skalski [Fri, 25 Sep 2015 22:30:44 +0000 (00:30 +0200)]
Try to choose close ubuntu mirror

As described in this bug https://bugs.launchpad.net/fuel/+bug/1459252
slow connection to ubuntu mirror can lead to errors. Lets try choose
mirror which is near build server.

Change-Id: I7a367cbb6edbcf30dceb52934a9adf35cbd7ce5a
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit f2752258649dc714a3c0adc8fa6aa4cfab405a45)

8 years agoCorrection of Fuel cache building 37/2037/1
Stefan K. Berg [Fri, 25 Sep 2015 23:05:16 +0000 (01:05 +0200)]
Correction of Fuel cache building

The cache was previously not fully populated.

Change-Id: I77885bc1fa0e9cbc7499e2dc4ceee47ff3b2e14c
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
(cherry picked from commit d8d4303b2cea8dca0ce67407b6a60145dbfe111c)

8 years agoFuel patch to enable virtual deployment 21/2021/2
Stefan K. Berg [Thu, 24 Sep 2015 20:07:46 +0000 (22:07 +0200)]
Fuel patch to enable virtual deployment

Disable ext4 journalling during Fuel master image creation,
otherwise the provisioning process times out on many virtual
setups after 3600 sec.

All credit to Michal Skalski of Mirantis for providing the
information to patch this up:

https://docs.mirantis.com/openstack/fuel/fuel-6.1/release-notes.html#issues-with-image-based-provisioning
https://review.openstack.org/#/c/197943/

Change-Id: I90f68a351b3afe1273440846bc5d56da8f6d3507
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoUpdate of READMEs and build instructions for Arno SR1 77/1977/2
Jonas Bjurel [Thu, 24 Sep 2015 10:53:46 +0000 (12:53 +0200)]
Update of READMEs and build instructions for Arno SR1

Change-Id: Ib4204a591a8623b47848968b9ee0252a772bbafe
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoRemoved obsolete Fuel patches 19/2019/1
Stefan K. Berg [Thu, 24 Sep 2015 10:53:19 +0000 (12:53 +0200)]
Removed obsolete Fuel patches

The patch files were modifying behavior already addressed by changes
in the Fuel config in terms of boot arguments.

Change-Id: Icb5af0e3a75a71e8c26fb646fc734189bf16b7c8
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
(cherry picked from commit 19353295cc1e3bf5dff72ab48d794087767c62d7)

8 years agoFixes and updates for clean.sh and setup.sh 07/2007/2
Szilard Cserey [Thu, 24 Sep 2015 12:10:07 +0000 (14:10 +0200)]
Fixes and updates for clean.sh and setup.sh

Remove PXE interface (VLAN 0) and check IP Forwarding is enabled
Add/Clean VLAN 300 interface
Swap IP address from Base interface to VLAN interface

Change-Id: Ia6ce76b220518f979dc2e3e9acd8e53540cbaef1
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoUpdate of release notes towards SR1 65/1465/5
Jonas Bjurel [Thu, 10 Sep 2015 13:08:38 +0000 (15:08 +0200)]
Update of release notes towards SR1

Change-Id: I0f5eeeb9d478b7a44e06ac0a3106a2eba539f077
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoUbuntu package repositories added to Fuel ISO 51/1951/1
Stefan K. Berg [Tue, 22 Sep 2015 10:05:35 +0000 (12:05 +0200)]
Ubuntu package repositories added to Fuel ISO

Starting with Fuel 6.1, the Ubuntu repositories are no longer stored
on the Fuel ISO, but by default fetched from the Internet during
installation (the exact URI can be modified in the Fuel configuration).

In order to being able to handle a deployment scenario where the Fuel
node has no Internet connectivity, the OPNFV Fuel ISO is adding the
necessary repositories into /var/www/nailgun by fetching them during
the generation of the ISO.

The actual fetching is done by a Fuel provided package,
fuel-createmirror.deb, which can be found in /opt of the Fuel master
(but which is run outside Fuel in the context of the build process
when generating the OPNFV ISO).

An additional OPNFV post installation script is added as
/opt/opnfv/bootstrap/post.d/03_install_repo.sh
which will populate /var/www/nailgun with these repositories in the
late stage of the bootstrap_admin_node process.

Important!

In order to use these repositories For deployment, the default Fuel
repo configuration must be changed as below:

Repository "mos-updates"
 URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-updates main restricted"
Repository "mos-security"
  URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-security main restricted"
Repository "mos-holdback"
  URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-holdback main restricted"

Repository "ubuntu"
  URI="deb http://10.20.0.2:8080/ubuntu-part trusty main"
Repository "ubuntu-security"
  URI="deb http://10.20.0.2:8080/ubuntu-part trusty main"
Repository "ubuntu-updates"
  URI="deb http://10.20.0.2:8080/ubuntu-part trusty main"

Change-Id: I25211bd3f277b560808fd838180aa52e278af404
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoUpdate ODL links in Foreman install docs 37/1937/1
Daniel Farrell [Wed, 23 Sep 2015 20:47:57 +0000 (16:47 -0400)]
Update ODL links in Foreman install docs

OPNFV Arno SR1 uses ODL Helium SR4, so link to the Helium CBS repo.

Also add links to the RPM building logic in Integration/Packaging.

JIRA: APEX-21

Change-Id: Iaa4b7bc890ced2deb17fa7b0c2f6ba676dbe69c6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
(cherry picked from commit 14ffa4eeb4c5b03ab972f2449546891b0598409a)

8 years agoUpdate documentation for SR1 release 33/1933/1
Tim Rozet [Thu, 10 Sep 2015 17:30:53 +0000 (13:30 -0400)]
Update documentation for SR1 release

JIRA: APEX-21

Change-Id: Iea656b3a6f8bc9571920afa8f5ba63036ac5c653
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 37c01214db85cbd5a3940bf5cdb9ff12e260149e)

8 years agoFixes public gateway to be the correct value 29/1929/1
Tim Rozet [Wed, 23 Sep 2015 16:58:34 +0000 (12:58 -0400)]
Fixes public gateway to be the correct value

Bug where default gateway was always being set to the first IP in the
subnet.  Now should detect correct public gateway.  This only impacts
the default gateway configured on the external neturon
"provider_subnet".

JIRA: APEX-37

Change-Id: I0296fa7149679a0f2eb47f7d65e0011f366c1147
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit f5032bce67f6b7b8f8c5186b6f64e83bd113338e)

8 years agoMerge "Adds single NIC support for baremetal deployments" into stable/arno
Tim Rozet [Tue, 22 Sep 2015 21:55:27 +0000 (21:55 +0000)]
Merge "Adds single NIC support for baremetal deployments" into stable/arno

8 years agoFIX networking configuration in dea.yaml 01/1901/1
Szilard Cserey [Tue, 22 Sep 2015 13:16:48 +0000 (15:16 +0200)]
FIX networking configuration in dea.yaml

Change-Id: I7eb03139d947fbf8fbe1562eb87bf484a2799faa
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoFixes bug where puppet fails to run due to domain name 99/1899/1
Tim Rozet [Tue, 22 Sep 2015 17:18:04 +0000 (13:18 -0400)]
Fixes bug where puppet fails to run due to domain name

Puppet relies on facter to gather host facts, including domain name.
Unfortunately facter gathers domain name by looking at the first domain
listed in /etc/resolv.conf, rather than the domain name set on the host.
This fix corrects the domain in that file.

JIRA: APEX-36

Change-Id: If4e4a0b9f82e562463d97ceeee6b7dfd445e3bdc
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit d4ccd3bdf95f4250747f72d0ca98a19f3656d128)

8 years agoReconfigure network interface setup in dea.yaml 47/1847/1
Szilard Cserey [Mon, 21 Sep 2015 21:36:52 +0000 (23:36 +0200)]
Reconfigure network interface setup in dea.yaml

Change-Id: I6737a2a2300ceba22bc3858fb947d409a3caa927
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoAdds single NIC support for baremetal deployments 43/1843/1
Tim Rozet [Wed, 16 Sep 2015 17:00:26 +0000 (13:00 -0400)]
Adds single NIC support for baremetal deployments

Simply use a new argument "-single_baremetal_nic <nic name>" to define which NIC to
bridge to on your host.  Also ensure when using this arg that your
ksgen_settings file has mac_address and private_mac as the same value
for your controllers (since you are using a single interface).

JIRA: APEX-33

Change-Id: I69095ccc4b907ae3c6ea3e88b2d1c9af9894c5cb
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit f6947d7d35d5b0dd3a8a38152a367d9422b81279)

8 years agoMerge "Grant access for Fuel VM to external public network" into stable/arno
Tim Rozet [Mon, 21 Sep 2015 19:05:21 +0000 (19:05 +0000)]
Merge "Grant access for Fuel VM to external public network" into stable/arno

8 years agoGrant access for Fuel VM to external public network 09/1809/4
Szilard Cserey [Sun, 20 Sep 2015 23:36:21 +0000 (01:36 +0200)]
Grant access for Fuel VM to external public network

Change-Id: I429d41ea9942321fb4768a5a4d46d0976adbf47d
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoModified cache naming. Now the cache name comprises an xor of the following: 01/1801/2
Jonas Bjurel [Sat, 19 Sep 2015 16:53:42 +0000 (18:53 +0200)]
Modified cache naming. Now the cache name comprises an xor of the following:
- config.mk
- cache.mk
- Upstream fuel commit-id

This should avoid any cache flapping, and insted produce a unique cache for any permutation of the above identities.

Change-Id: Ieb28748ae9075725e54f6a5e87740281bf81116e
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoFIX raise Exception 05/1805/1
Szilard Cserey [Sun, 20 Sep 2015 14:19:29 +0000 (16:19 +0200)]
FIX raise Exception

Change-Id: Ia1ded0e6de426b97de6aec9c0ff5225ea63a8c91
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge "Missed a reference to prepare target which was earlier used by odl" into stabl...
Jonas Bjurel [Sun, 20 Sep 2015 16:47:01 +0000 (16:47 +0000)]
Merge "Missed a reference to prepare target which was earlier used by odl" into stable/arno

8 years agoMerge "Tidied up the last references to ODL" into stable/arno
Jonas Bjurel [Sun, 20 Sep 2015 16:46:26 +0000 (16:46 +0000)]
Merge "Tidied up the last references to ODL" into stable/arno

8 years agoFIX for temporary ISO directory cleanup 65/1765/1
Szilard Cserey [Fri, 18 Sep 2015 10:13:46 +0000 (12:13 +0200)]
FIX for temporary ISO directory cleanup
Move plugin installation in Fuel installer

Change-Id: Ibb24da448681fb70686a1f59738bd9fdda12e9d0
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoUpdates for Autodeployer 15/1715/2
Szilard Cserey [Mon, 14 Sep 2015 15:54:32 +0000 (17:54 +0200)]
Updates for Autodeployer

-Remove pre-deploy mechanism
-Update reaping mechanism
-Remove old DEA, DHA configuration files

Change-Id: Ibc28d148bc23992e940e0247873a226d92fb7af7
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoCorrects the default route on controllers 59/1759/1
randyl [Tue, 15 Sep 2015 00:11:23 +0000 (18:11 -0600)]
Corrects the default route on controllers

BGS-84

After the changes to br-ex on the control nodes.  The default route
was no longer correct on the control nodes in bare metal deployments.

Added an admin_network paramater for barmetal deployments.

Added logic on br-ex in to set DEROUTE=no on the admin network
in the extern_net_presetup.

Tested on HA physical deployment.

Change-Id: Ic4b1ef521da2c55590990411f3f2444d4c94b019
Signed-off-by: randyl <r.levensalor@cablelabs.com>
(cherry picked from commit 7dc718a545c2da1b7bf150bf652705aeb98b245c)

8 years agoMissed a reference to prepare target which was earlier used by odl 53/1753/1
Jonas Bjurel [Fri, 18 Sep 2015 12:00:18 +0000 (14:00 +0200)]
Missed a reference to prepare target which was earlier used by odl

Change-Id: Ief101627e2af51c4b565dcb5d230922c5f113c8d
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 0011674c45680df6c1fe9491c974eb3e57a4a0fe)

8 years agoTidied up the last references to ODL 45/1745/1
Jonas Bjurel [Fri, 18 Sep 2015 10:34:26 +0000 (12:34 +0200)]
Tidied up the last references to ODL

Change-Id: I715f47461622f2d26a492eb61d68b20ca84825aa
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 4d23d9a0079735322c88e53a8ebb1c4d2c0b1566)

8 years agoFixed cache logic 31/1731/1
Jonas Bjurel [Fri, 18 Sep 2015 09:14:28 +0000 (11:14 +0200)]
Fixed cache logic

Change-Id: I904a4b8ebcab5aedefef287ff8bb5357dae8e3ff
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoFix to solve issues around cache archives having trailing garbage 25/1725/1
Jonas Bjurel [Thu, 17 Sep 2015 17:32:50 +0000 (19:32 +0200)]
Fix to solve issues around cache archives having trailing garbage

Change-Id: I69689767e423cf469b5fdf2e40bb0cc931628002
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "adding files to the build cache to reduce bandwidth by reusing already downloa...
Tim Rozet [Wed, 16 Sep 2015 19:02:13 +0000 (19:02 +0000)]
Merge "adding files to the build cache to reduce bandwidth by reusing already downloaded build dependancies reverting git archive to use HEAD, jenkins checks out the correct branch so we can rely on head" into stable/arno

8 years agoFIX for Autodeployer 25/1625/1
Szilard Cserey [Mon, 14 Sep 2015 09:49:04 +0000 (11:49 +0200)]
FIX for Autodeployer

- Fuel installation - fix for finding fuelmenu
- ugo+rwx access rights to autodeploy.log file
- backward compatibility for argument parsing of ISO, DEA, DHA

Change-Id: Ib4ad5b0868a25b0357cfcd9d8f644bb3a0703b25
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoAutodeployer support for ODL Plugin installation + Fuel 6.1 23/1623/1
Szilard Cserey [Tue, 18 Aug 2015 17:47:50 +0000 (19:47 +0200)]
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 <szilard.cserey@ericsson.com>
8 years agoadding files to the build cache to reduce bandwidth by reusing already downloaded... 89/1589/9
Dan Radez [Tue, 15 Sep 2015 15:14:53 +0000 (11:14 -0400)]
adding files to the build cache to reduce bandwidth by reusing already downloaded build dependancies
reverting git archive to use HEAD, jenkins checks out the correct branch so we can rely on head

Change-Id: Iaf308ebdbd72e96c87fb49ee04168a7e9a905d98
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "FIX for bringing down pxebr in clean.sh" into stable/arno
Tim Rozet [Tue, 15 Sep 2015 20:32:04 +0000 (20:32 +0000)]
Merge "FIX for bringing down pxebr in clean.sh" into stable/arno

8 years agoMerge "changing branch to checkout from to arno/stable and placing all repo contents...
Tim Rozet [Tue, 15 Sep 2015 15:12:25 +0000 (15:12 +0000)]
Merge "changing branch to checkout from to arno/stable and placing all repo contents into /root instead of deploy.sh only in /bin" into stable/arno

8 years agoFIX for bringing down pxebr in clean.sh 79/1579/2
Szilard Cserey [Tue, 15 Sep 2015 12:26:38 +0000 (14:26 +0200)]
FIX for bringing down pxebr in clean.sh

Wait for 5 seconds after pxebr has been brought down

Change-Id: Ic9e64a484eeab6be63df3c7c4b9b98bed1cd2ed4
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoFIX for using qemu instead of kvm as hypervisor in virtual environment 47/1547/2
Szilard Cserey [Mon, 14 Sep 2015 15:21:55 +0000 (17:21 +0200)]
FIX for using qemu instead of kvm as hypervisor in virtual environment

Change-Id: Ib02c98e9410fc98a23379f9e40291763d354a8a8
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agochanging branch to checkout from to arno/stable and placing all repo contents into... 49/1549/4
Dan Radez [Mon, 14 Sep 2015 15:23:57 +0000 (11:23 -0400)]
changing branch to checkout from to arno/stable and placing all repo contents into /root instead of deploy.sh only in /bin

Change-Id: I5c7c3a990bf18480b1e99a2119363e30e68e6d12
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoRefactoring build system to support Fuel 6.1 43/1543/1
Stefan K. Berg [Thu, 10 Sep 2015 12:46:28 +0000 (14:46 +0200)]
Refactoring build system to support Fuel 6.1

As Fuel 6.1 has changed both Debian package handling (fetching
repositories from Internet) as well as Puppet packaging, the support
for patching these has been disabled.

The pre-deploy logic of Fuel has been removed together with a
number of patches applied on top of a Fuel build, among them
fixes for NTP, DNS and /etc/hosts injection.

Instead, when changed default behavior is required, this will be
introduced as Fuel plugins which more cleanly integrates into the
Fuel system, and also decouples additional functionality from the
ISO build stage.

Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoAllows domain name to be configured 27/1527/1
Tim Rozet [Wed, 9 Sep 2015 21:59:42 +0000 (17:59 -0400)]
Allows domain name to be configured

Users may now provide domain_name in the ksgen settings file (along with
setting the correct and respective hostnames).  This domain name will be
used for all of the deployed machines.

JIRA: BGS-86

Change-Id: I34b6da07dd565648399ea7a1abf2abe1ae62d91a
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 1089c79563e61589d105accc3067f6ebbd3020ed)

8 years agoForeman deploy.sh bug corrected when finding the interfaces 19/1519/1
jose.lausuch [Fri, 11 Sep 2015 09:16:19 +0000 (11:16 +0200)]
Foreman deploy.sh bug corrected when finding the interfaces

Change-Id: Ifb1ab47017ab28fab0a39961c2fd7728d2098cda
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit cf15cf80302559a1647d243187240cfca1efaad2)

8 years agoAdds functionality to modify VM resources 77/1477/1
Tim Rozet [Thu, 3 Sep 2015 21:12:11 +0000 (17:12 -0400)]
Adds functionality to modify VM resources

VM resources (vcpus, memory, disk size) are now configurable in the
opnfv_ksgen_settings files.  Each node in the ksgen settings file now
has "memory, cpus, disk" attributes:
 - cpus is an integer number of CPUs to assign to the VM
 - memory is an integer size in kilobytes
 - disk is an integer size in gigabytes

The vagrant box vmdk is resized for each VM.  Each VM will then modify
its partition to the new size, execute the normal reboot, then extend
the physical+logical volumes and filesystem using vagrant provisioning
scripts.

JIRA: APEX-1

Change-Id: I471319db14d2189052961b2f533c65850ebeb1e7
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 5384a722ffae47bc3519512d34802102ebc7be5b)

8 years agoFixes horizon IP URL for non-HA deployments 37/1437/1
Tim Rozet [Tue, 8 Sep 2015 18:17:28 +0000 (14:17 -0400)]
Fixes horizon IP URL for non-HA deployments

The printed horizon URL at the end of a successful deployment was
incorrect for non-HA deployments.  The private IP was being printed
which is not publicly accessible.  This patch fixes the URL printed to
be the public IP of the control node - the correct URL.

JIRA: APEX-12

Change-Id: Ia2f594e0cf839a9100c3bf5715a38fe4fd243bfe
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit db4a9ac5492659cd435b4e4e84868510259c6b29)

8 years agoAdds check to ensure that provided static_ip_range param is correct 26/1426/1
Tim Rozet [Tue, 8 Sep 2015 20:00:46 +0000 (16:00 -0400)]
Adds check to ensure that provided static_ip_range param is correct

Patch adds a check to make sure that the user specified static_ip_range
argument (Ex. 192.168.0.10,192.168.0.20) falls within the valid public
subnet of the host (the same subnet as the default gateway).

JIRA: APEX-19

Change-Id: Ifc0b79074b887509617c2749e50d97d1800abad0
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 50fe670726f2229ef963517a890fef2d821b8821)

8 years agoMerge "Merge branch 'master' into merge-master-arno" into stable/arno
Tim Rozet [Tue, 8 Sep 2015 14:57:39 +0000 (14:57 +0000)]
Merge "Merge branch 'master' into merge-master-arno" into stable/arno

8 years agoFIX for ip link state verification 95/1395/2
Szilard Cserey [Fri, 4 Sep 2015 09:33:13 +0000 (11:33 +0200)]
FIX for ip link state verification

Change-Id: Ibe0840a74b9fe7fc0041ce92190cf82f25ae9298
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
8 years agoMerge branch 'master' into merge-master-arno 96/1396/1
Dan Radez [Fri, 4 Sep 2015 18:38:56 +0000 (14:38 -0400)]
Merge branch 'master' into merge-master-arno

Change-Id: Idbe1d8ba5f1fe44ae5c5e407d5999c28909639c5
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoFixes bug in looking for interfaces 87/1387/1
Tim Rozet [Thu, 3 Sep 2015 19:44:30 +0000 (15:44 -0400)]
Fixes bug in looking for interfaces

Issue where the wrong field was being used for finding interfaces.

JIRA: APEX-11

Change-Id: I94635837c73acd0d271dbc9d0474dc5ba688ff10
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes setup.sh pxebr checks 85/1385/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>
(cherry picked from commit 87157c0dc9bd2a3da709d1cf980cce2e9c5469a3)

8 years agoFixes IP/MAC of inventory for lab reconfig 80/1380/1
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>
(cherry picked from commit 1facde0bf0d51035cfed819e7680145969c6174d)

8 years agoMerge "Fixes external network to services tenant and no dhcp"
Tim Rozet [Wed, 2 Sep 2015 19:21:08 +0000 (19:21 +0000)]
Merge "Fixes external network to services tenant and no dhcp"

8 years agoMerge "Removes default vagrant route from virtual nodes"
Tim Rozet [Wed, 2 Sep 2015 16:28:49 +0000 (16:28 +0000)]
Merge "Removes default vagrant route from virtual nodes"

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 agoFixes external network to services tenant and no dhcp 75/1375/2
Tim Rozet [Tue, 1 Sep 2015 15:33:23 +0000 (11:33 -0400)]
Fixes external network to services tenant and no dhcp

External network should have been provisioned as services tenant.  The
external network and subnet are both changed with this patch.  The
external subnet is also now configured to disable dhcp.

JIRA: APEX-9, APEX-10

Change-Id: I3e41dc4b0678efeb0824259147008cf455d8de1e
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoRemoves default vagrant route from virtual nodes 76/1376/1
Tim Rozet [Tue, 1 Sep 2015 17:22:35 +0000 (13:22 -0400)]
Removes default vagrant route from virtual nodes

Removes default gateway route to 10.0.2.2 after adding public default route

JIRA: APEX-2

Change-Id: I7ba23e916f3995f39ee1677007ae5c1612cb3cc9
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoRemoves pxebr in clean.sh, updates setup.sh 71/1371/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>
(cherry picked from commit 30361efb7d3bf9525e9d9aadd5c137e9a654d1a4)

8 years agoAdding prep script for Fuel Deployment 70/1370/1
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>
(cherry picked from commit c4a78e86d6d0eafb754a2bab3323d117ae507494)

8 years agoAdds common clean script for CI infrastructure 69/1369/1
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>
(cherry picked from commit 6de2b5425491885a660748b0aced2f2c2363e07f)

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 42/1342/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 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 22/1222/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 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 05/1205/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 agoAdding LF POD2 config files for Autodeployer 04/1204/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 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 79/1179/1
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>
(cherry picked from commit 82b3389ae1907b04c1d57a8ce87708726b00277a)

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>