apex.git
6 years agoMerge "Fix interface role mapping config for odl-fdio scenarios" into stable/euphrates opnfv-5.0.0
Tim Rozet [Thu, 19 Oct 2017 20:51:07 +0000 (20:51 +0000)]
Merge "Fix interface role mapping config for odl-fdio scenarios" into stable/euphrates

6 years agoMerge "Adapt zrpcd to work for Carbon/Nitrogen" into stable/euphrates
Tim Rozet [Thu, 19 Oct 2017 20:50:45 +0000 (20:50 +0000)]
Merge "Adapt zrpcd to work for Carbon/Nitrogen" into stable/euphrates

6 years agoFix releasenotes label and include paths for docs 79/45879/1
Trevor Bramwell [Thu, 19 Oct 2017 20:24:20 +0000 (13:24 -0700)]
Fix releasenotes label and include paths for docs

Change-Id: I50a8f35165954b9b4bdf62864055ad475843c179
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoAdapt zrpcd to work for Carbon/Nitrogen 17/45817/1
tomsou [Mon, 9 Oct 2017 13:53:39 +0000 (16:53 +0300)]
Adapt zrpcd to work for Carbon/Nitrogen

It updates the quagga tar.gz file which is used to
install zrpcd/quagga.
The new rpms are compiled with thrift-version 4

Zrpcd is installed as a process. Additional changes takwqe place
adopting the installation and checking of zrpcd process

Note that an extra patch is needed to update or remove the
building procedure, which is present within the project
but not used actually.

JIRA: APEX-508

Change-Id: If6da075d2aafdb8c2ecfc599f595a7201490aa23
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit 663db511c540fe94b4396146f76bbc40bd3fd852)

6 years agoFix interface role mapping config for odl-fdio scenarios 15/45815/1
Feng Pan [Mon, 16 Oct 2017 17:17:49 +0000 (13:17 -0400)]
Fix interface role mapping config for odl-fdio scenarios

This patch fixes a bug in deploy config function that will make
performance parameters overwrite interface role mapping config for honeycomb.

apex-os-net-config: Ifa3b18aa6370c79ad6ad3ce983f1648ff0d1d79d

Change-Id: Icdb7603577bc7edf1959238ddd3d686c310544ce
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit da99ee8cf99824a7ee5ff19544d3eec4788edd68)

6 years agoMore updates to docs for Euphrates 13/45613/1
Tim Rozet [Wed, 18 Oct 2017 18:46:55 +0000 (14:46 -0400)]
More updates to docs for Euphrates

Changes Include:
 - SFC HA will not be supported in 5.0
 - Table of Contents removed from release-notes/scenarios
 - Version table removed
 - Release date updated

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

6 years agoUpdates docs and scenarios for Euphrates 39/45539/1
Tim Rozet [Tue, 17 Oct 2017 19:25:16 +0000 (15:25 -0400)]
Updates docs and scenarios for Euphrates

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

6 years agoAdding apex/overcloud/* unittests 33/44933/1
Dan Radez [Mon, 2 Oct 2017 16:02:22 +0000 (12:02 -0400)]
Adding apex/overcloud/* unittests

Change-Id: I02cd512ba1ddaee2538bee7739e27b136112a0c6
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit d158a48f4f10e9abb1403b1178b8c2f31b36e992)

6 years agoMerge "Updates to Inventory object" into stable/euphrates
Dan Radez [Thu, 12 Oct 2017 14:02:14 +0000 (14:02 +0000)]
Merge "Updates to Inventory object" into stable/euphrates

6 years agoUpdates to Inventory object 39/44839/1
Dan Radez [Thu, 5 Oct 2017 19:17:53 +0000 (15:17 -0400)]
Updates to Inventory object

- moved get_node_counts over from overcloud/deploy.py
- added more test coverage

Change-Id: I7774bebb99169aa1da0f07cb2cfc0c1d197af5ca
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit ca7b8665dce213c51ae1e15dceede7cc9fba97c1)

6 years agoIncrease ssh timeout and add retry for Ansible 11/44811/1
Tim Rozet [Wed, 11 Oct 2017 12:54:15 +0000 (08:54 -0400)]
Increase ssh timeout and add retry for Ansible

Several users have experienced random disconnections from the undercloud
during deployment.  This should help to stop deployments from aborting.

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

6 years agoFixes OVS NSH for SFC scenarios 83/44783/1
Tim Rozet [Wed, 11 Oct 2017 12:23:23 +0000 (08:23 -0400)]
Fixes OVS NSH for SFC scenarios

Change-Id: I0e52ee58868bd301bf534585d914be18e30c4505
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Fixes OVS NSH build with increased memory" into stable/euphrates
Feng Pan [Tue, 10 Oct 2017 18:55:34 +0000 (18:55 +0000)]
Merge "Fixes OVS NSH build with increased memory" into stable/euphrates

6 years agoIncreasing clean.py unittest coverage 05/44705/1
Dan Radez [Wed, 4 Oct 2017 15:46:04 +0000 (11:46 -0400)]
Increasing clean.py unittest coverage

Change-Id: Iae3e80b399d1431382614449488238475b47b103
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit 88230c898808ecefffed413c36d3a558dcb7f763)

6 years agoFixes OVS NSH build with increased memory 85/44685/1
Tim Rozet [Tue, 10 Oct 2017 13:59:30 +0000 (09:59 -0400)]
Fixes OVS NSH build with increased memory

Only exists in stable/euphrates

Change-Id: I506dd1ed551ea8b69b2b75c520f7d45bd73f4328
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFix licenses to be Apache 2.0 65/44665/1
Tim Rozet [Mon, 9 Oct 2017 14:02:52 +0000 (10:02 -0400)]
Fix licenses to be Apache 2.0

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

6 years agoRemoving the downloaded libvirt-client for the iso build 93/44593/1
Dan Radez [Mon, 9 Oct 2017 18:08:31 +0000 (14:08 -0400)]
Removing the downloaded libvirt-client for the iso build

JIRA: APEX-529

Change-Id: I09970847833d3e182a7485c051e2e46d394cfeff
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit a9ba058e7711379157ae5f99d08cc793b18f8793)

6 years agoUse stable/17.10 branch for VPP 89/44489/1
Feng Pan [Wed, 4 Oct 2017 02:42:36 +0000 (22:42 -0400)]
Use stable/17.10 branch for VPP

also add retry and timeout for VPP interface check in os-net-config

apex-os-net-config: Idaf03d78d2ce657ac484c1285a795d98760d0112

Change-Id: I3dca43d263923e2ae7ff84781d3f7aa64fad6b5d
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit 89932c44597ae86e8460939896f978862005596f)

6 years agoPass flags to allow domain undefine with NVRAM 63/44263/2
Dan Radez [Tue, 3 Oct 2017 18:25:04 +0000 (14:25 -0400)]
Pass flags to allow domain undefine with NVRAM

Change-Id: I8365dd327d4bf7abebc72922e030b3049cd66de9
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit 30c7c9e4de1bbd4d4cdc6f0c775d52f80a3103fb)

6 years agoIncrease memory size for virt-customize 95/44395/1
Michael Chapman [Fri, 29 Sep 2017 06:02:50 +0000 (16:02 +1000)]
Increase memory size for virt-customize

Some of the bigger commands can exceed the default,
so increase all instances for consistency. It's
unlikely build machines won't have 4G of memory
available.

Change-Id: Ifa575b6e6faef9ba038900ab0e080da15d5680aa
JIRA: APEX-520
Signed-off-by: Michael Chapman <michapma@redhat.com>
(cherry picked from commit 0220094bfe4abdc964f282f4f01190897e3065e4)

6 years agoThis config is no longer needed 63/44363/1
Dan Radez [Wed, 4 Oct 2017 03:33:09 +0000 (23:33 -0400)]
This config is no longer needed

it is setting and unescaped default value which ended up setting an
invalid value. removing it uses the default which accomplishes what
this was originally attempting to put into place.

Change-Id: I03660921860adf7625e17d2c4a3ba07b62d0f3f0
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit 811bb2c4878973fd3c479d880bb6aea9b1c2958c)

6 years agoMerge "baro: update collectd-openstack branch" into stable/euphrates
Tim Rozet [Wed, 4 Oct 2017 15:36:43 +0000 (15:36 +0000)]
Merge "baro: update collectd-openstack branch" into stable/euphrates

6 years agoInstall honeycomb and vpp in a single step 75/44175/1
Feng Pan [Tue, 3 Oct 2017 13:50:09 +0000 (09:50 -0400)]
Install honeycomb and vpp in a single step

We currently install Honeycomb and VPP in 2 steps, this could potentially
cause version conflicts.

Change-Id: I1e54a576bced07f5115b12fef3bbdf2e95e9ab90
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit e915d21073b5b780f9abfc7ab50d6fede6b1d93a)

6 years agoUpdating the iso build to CentOS 7.4 17/44117/1
Dan Radez [Tue, 26 Sep 2017 14:14:51 +0000 (10:14 -0400)]
Updating the iso build to CentOS 7.4

JIRA: APEX-522

Change-Id: I03efc6ccad708d12f3fdabd9ace9935edb31d4bb
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit 1f8cf744499c5a97c88c02e949593c5bb203e2b0)

6 years agobaro: update collectd-openstack branch 25/44025/1
Emma Foley [Mon, 2 Oct 2017 17:04:19 +0000 (17:04 +0000)]
baro: update collectd-openstack branch

COLLECTD_OPENSTACK_GIT_BRANCH has been updated to stable/pike so that aodh
changes will be picked up

Previously, the branch was not actually being checked out, but was being
used as a name for a new branch. This behaviour has been corrected.

Change-Id: I516c4311d2a0cedcca6ec293b62c21234b1e1975
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agonosdn-fdio scenarios fixes 81/43881/3
Feng Pan [Mon, 2 Oct 2017 14:26:32 +0000 (10:26 -0400)]
nosdn-fdio scenarios fixes

- pin vpp/networking-vpp versions
- Add external_network_bridge config back to puppet-neutron

Change-Id: Ia58fb55638390757ea3350b2921897c4d315f9b5
Signed-off-by: Feng Pan <fpan@redhat.com>
6 years agoFixes python-networking-sfc install 39/43939/1
Tim Rozet [Mon, 2 Oct 2017 13:34:58 +0000 (09:34 -0400)]
Fixes python-networking-sfc install

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

6 years agoAdding unittests for undercloud.py 01/43901/1
Dan Radez [Thu, 21 Sep 2017 21:12:24 +0000 (17:12 -0400)]
Adding unittests for undercloud.py

Change-Id: I65d73f7a1ad27f319857a72b7d9f738b04318aa6
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit 11be8e73043eeaa9ec18508410ec28faecbccc08)

6 years agoAdds Calipso scenario 81/43781/1
Tim Rozet [Thu, 21 Sep 2017 19:06:46 +0000 (19:06 +0000)]
Adds Calipso scenario

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

6 years agoFixes nova migration 77/43677/1
Tim Rozet [Thu, 28 Sep 2017 19:00:17 +0000 (15:00 -0400)]
Fixes nova migration

Nova migration was failing in rally sanity test.  Looking at the keys
nova is configured with, the newlines in the private key were being
converted to spaces in hieradata, thus making the key invalid.  This
patch corrects the yaml so it is multiline data.

Also, corrects the parameter being set to the right THT parameter and
adds sshd service to the control/compute roles which is required for
migration to work.

JIRA: APEX-525

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

6 years agoMerge "re-enable support for fdio dvr scenario" into stable/euphrates
Tim Rozet [Fri, 29 Sep 2017 23:17:53 +0000 (23:17 +0000)]
Merge "re-enable support for fdio dvr scenario" into stable/euphrates

6 years agoUpdate zrpcd version for Carbon/ Nitrogen 47/43647/2
tomsou [Fri, 29 Sep 2017 07:04:20 +0000 (10:04 +0300)]
Update zrpcd version for Carbon/ Nitrogen

JIRA: APEX-508

Compile zrpcd --with-thrift-version=4 to support carbon/nitrogen

Note that version number stands for the thrift vpnservice.thrift
model to use with ODL and not the  thrift package version.

Change-Id: I3ab13d0b62f56747249bfdee1c0766cd43de935a
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit 118f817b458e4fd3e08a360caf81187967c92adc)

6 years agore-enable support for fdio dvr scenario 49/43549/2
Feng Pan [Mon, 11 Sep 2017 19:58:49 +0000 (15:58 -0400)]
re-enable support for fdio dvr scenario

- Update FDIO scenarios to use master branch images
- Update VPP/HC version to master for all fdio scenarios

apex-os-net-config: Ie6aee86eaccad5fc98820a28f10adc7475cc5e33
apex-tripleo-heat-templates: Ie8b284f64bd6491c389129d8afdaeae8a399b607
apex-puppet-tripleo: I9954240529278e74d93fdf89d2ebc2536249245a

Change-Id: I31740f97052947b5e4688cca47320bc49a902d7c
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit a3c2c8c746470c993d70d92d13415e2b4263cc25)

6 years agoIncrease overcloud qcow2 size by 1500mb 43/43643/1
Feng Pan [Fri, 29 Sep 2017 14:14:46 +0000 (10:14 -0400)]
Increase overcloud qcow2 size by 1500mb

We are seeing build failures with 1200mb qcow2 size expansion, increasing
to 1500mb.

Change-Id: Ib177525559c7905c78fe5931c172fce01846b4c3
Signed-off-by: Feng Pan <fpan@redhat.com>
6 years agoMerge "Adding python unittests for apex/virtual/*" into stable/euphrates
Tim Rozet [Fri, 29 Sep 2017 05:12:14 +0000 (05:12 +0000)]
Merge "Adding python unittests for apex/virtual/*" into stable/euphrates

6 years agoAdding python unittests for apex/virtual/* 97/43497/1
Dan Radez [Tue, 19 Sep 2017 19:57:01 +0000 (15:57 -0400)]
Adding python unittests for apex/virtual/*

Change-Id: I13dd395cd6270cbf0a02855b1d29794ecca06d76
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit 9d24ddc56a76175a4b7514cea5c789e2612b2528)

6 years agoFix RT KVM scenario 95/43495/1
Feng Pan [Wed, 27 Sep 2017 03:33:08 +0000 (23:33 -0400)]
Fix RT KVM scenario

Also change first-boot.yaml to handle updated kernel for rt kvm

Change-Id: I66b7159731dd286c4a97ba4f3583e229afbb73b3
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit 68095d704d1aea94f5890f54eefa13929aab737c)

6 years agoFixes BgpVpn service name and tht fixes 97/43297/1
Tim Rozet [Tue, 26 Sep 2017 15:45:59 +0000 (11:45 -0400)]
Fixes BgpVpn service name and tht fixes

BgpVpn service was spelled incorrectly and there were syntax issues with
the corresponding heat templates.

apex-tripleo-heat-templates: If39072c687dcfb3fcb5c2dab33ecc3755b3396df

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

6 years agoMerge "corrected the path for executing dev_dep_check script" into stable/euphrates
Tim Rozet [Wed, 27 Sep 2017 03:25:30 +0000 (03:25 +0000)]
Merge "corrected the path for executing dev_dep_check script" into stable/euphrates

6 years agoMerge "Fix Neutron data_plane_status extension path" into stable/euphrates
Tim Rozet [Wed, 27 Sep 2017 03:24:58 +0000 (03:24 +0000)]
Merge "Fix Neutron data_plane_status extension path" into stable/euphrates

6 years agoFix Neutron data_plane_status extension path 25/43225/2
Carlos Goncalves [Tue, 26 Sep 2017 14:01:40 +0000 (16:01 +0200)]
Fix Neutron data_plane_status extension path

This way is easier to patch than patching file
neutron.egg-info/entry_points.txt, plus this feature is backported
to Ocata so it's temporary and only applicable for Euphrates.

From Pike we can move it back to 'data_plane_status' as it was before.

Change-Id: I1c2ebc55e782463793e7a8e463cc17fdf899457a
Signed-off-by: Carlos Goncalves <mail@cgoncalves.pt>
(cherry picked from commit 3ad85e5753dd4b0bf621f5d92f45725d18070e54)

6 years agoFix ovs-dpdk failures 19/43219/1
Feng Pan [Tue, 26 Sep 2017 13:22:19 +0000 (09:22 -0400)]
Fix ovs-dpdk failures

- Add quotes to ovs config options in opnfv-environment.yaml
- Fixed an error where we don't populate kernel paramaters when ovs-dpdk is enabled

Change-Id: I7579358411a844e9d0c34ca53701f12f46ef7c13
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit f1c462054fe302ab6cbf170ab71c0c8edfba680a)

6 years agocorrected the path for executing dev_dep_check script 37/43137/1
Periyasamy Palanisamy [Tue, 26 Sep 2017 08:13:00 +0000 (10:13 +0200)]
corrected the path for executing dev_dep_check script

Change-Id: I9291aaddd370c1304b4aba3c90298c8e4d291e59
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoApplies Tacker upstream patches and fixes fernet dir perms 89/43089/1
Tim Rozet [Mon, 25 Sep 2017 17:22:09 +0000 (13:22 -0400)]
Applies Tacker upstream patches and fixes fernet dir perms

We need a couple patches to Tacker upstream that we will not get now
that our images are frozen in RDO.  We should remove them on upgrade to
Pike.  Also this patch fixes the permissions on the fernet keys dir so
that the Tacker group can write.

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

6 years agoAdding unittests for build 09/43009/1
Dan Radez [Thu, 14 Sep 2017 13:56:36 +0000 (09:56 -0400)]
Adding unittests for build

- covers build.py
- covers build_utils.py
- moved build_utils out of build module, it wasn't possible to import
  build.py while build_utils was in a module

Change-Id: I42f08a475d9ca219a62c421d4bdd2d1d3c49691a
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit c876e9d261a7c3189cc8374c995014309c5b9881)

6 years agoMerge "Adds detection for virsh default network IP" into stable/euphrates
Tim Rozet [Sun, 24 Sep 2017 01:52:03 +0000 (01:52 +0000)]
Merge "Adds detection for virsh default network IP" into stable/euphrates

6 years agoMerge "Fixes Tacker auth and fernet keys dir" into stable/euphrates
Tim Rozet [Sun, 24 Sep 2017 01:50:43 +0000 (01:50 +0000)]
Merge "Fixes Tacker auth and fernet keys dir" into stable/euphrates

6 years agoAdd python-passlib in iso build 79/42879/1
Feng Pan [Sun, 24 Sep 2017 00:51:25 +0000 (20:51 -0400)]
Add python-passlib in iso build

python-passlib is required for ansible

Change-Id: Ifca73ed759211c6fff4a039d121b3c4d5c388415
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit 493876c4933b5eac8a5026bdd79f2a3a4ae7ac20)

6 years agoFixes Tacker auth and fernet keys dir 41/42841/2
Tim Rozet [Fri, 22 Sep 2017 20:06:45 +0000 (16:06 -0400)]
Fixes Tacker auth and fernet keys dir

Tacker authtoken was missing password which is now added in the tht
patch.  Tacker also needs 'etc/tacker/vim/fernet_keys' in order to be
able to create VIMs.  The real fix to this missing directory is to the
rpm itself:

https://review.rdoproject.org/r/#/c/9725/

However in this patch we ensure it is created in Ansible because
RDO images are frozen in for now in Apex so we would not pick up new
RDO packages.

apex-tripleo-heat-templates: I2b347cbc4595e6651b0d4be032cb862fde72e15f

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

6 years agoMerge "Fixes clone fork change URL" into stable/euphrates
Tim Rozet [Sat, 23 Sep 2017 19:46:31 +0000 (19:46 +0000)]
Merge "Fixes clone fork change URL" into stable/euphrates

6 years agoFixes clone fork change URL 55/42855/1
Tim Rozet [Sat, 23 Sep 2017 14:09:18 +0000 (10:09 -0400)]
Fixes clone fork change URL

Downloading the change information was failing for branches other than
master.  This fixes the URL format to work for branches.

Change-Id: I5ec0494aca93437266237ee63b292a6aa5a43f0e
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoUse the right branch for apex forks with euphrates 51/42851/1
Tim Rozet [Sat, 23 Sep 2017 14:57:16 +0000 (10:57 -0400)]
Use the right branch for apex forks with euphrates

Change-Id: Iee95bfbf4ac4beb4057403422de8e48a047d33ca
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Removing duplicate lib path in ansible_path" into stable/euphrates
Tim Rozet [Sat, 23 Sep 2017 11:56:57 +0000 (11:56 +0000)]
Merge "Removing duplicate lib path in ansible_path" into stable/euphrates

6 years agoFixes missing bgpvpn service on controller 39/42839/1
Tim Rozet [Thu, 21 Sep 2017 21:20:41 +0000 (17:20 -0400)]
Fixes missing bgpvpn service on controller

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

6 years agoRemoving duplicate lib path in ansible_path 23/42823/1
Dan Radez [Thu, 21 Sep 2017 12:33:33 +0000 (08:33 -0400)]
Removing duplicate lib path in ansible_path

- deploy line 283 lib is joined with ANSIBLE_PATH
  then line 285, 347, 418 and 435 it was joined again with
  ansible_path from 283 already containing lib

Change-Id: I6612967d626eeb0668eb43294831447c387f8e93
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit fae35267b18d246350ace0e38c41c307bec73894)

6 years agoAdds detection for virsh default network IP 21/42821/1
Tim Rozet [Fri, 22 Sep 2017 14:35:53 +0000 (10:35 -0400)]
Adds detection for virsh default network IP

In case a user already has a default virsh network and the default IP is
not 192.168.122.1, this patch will allow detecting and using the found
value.

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

6 years agoFixes removing inventory keys 69/42769/1
Tim Rozet [Thu, 21 Sep 2017 15:38:51 +0000 (11:38 -0400)]
Fixes removing inventory keys

Inventory keys that we want to delete were not being removed for
instackenv.json.  Also fixes unit tests.

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

6 years agoImproves clean to cleanup virsh nets and and other bridges 53/42653/1
Tim Rozet [Tue, 19 Sep 2017 01:48:45 +0000 (21:48 -0400)]
Improves clean to cleanup virsh nets and and other bridges

Currently only the admin and external bridges will be removed from the
jumphost which is only really clean for a baremetal deployment.  Virtual
deployments will leave br-tenant, br-api, br-storage.  This patch
removes those as well as deletes all Apex virsh networks from libvirt.

Also checks if authorized_keys exists before trying to edit it.

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

6 years agoSet aarch64 deploys to UEFI 91/42591/1
Dan Radez [Wed, 6 Sep 2017 17:32:47 +0000 (13:32 -0400)]
Set aarch64 deploys to UEFI

Change-Id: I6b037ccd38fa68e5f863566a1c9a3ed4399bab84
Signed-off-by: Dan Radez <dradez@redhat.com>
(cherry picked from commit da94c0191c910a1c2c796abfbe6b380fc341ef84)

6 years agoMerge "Minor fixes to clean" into stable/euphrates
Tim Rozet [Wed, 20 Sep 2017 20:44:10 +0000 (20:44 +0000)]
Merge "Minor fixes to clean" into stable/euphrates

6 years agoMerge "Fixes missing libvirt-client in ISO" into stable/euphrates
Tim Rozet [Wed, 20 Sep 2017 18:53:15 +0000 (18:53 +0000)]
Merge "Fixes missing libvirt-client in ISO" into stable/euphrates

6 years agoMinor fixes to clean 39/42539/1
Tim Rozet [Mon, 18 Sep 2017 18:10:07 +0000 (14:10 -0400)]
Minor fixes to clean

Also adds hidden files (like IDE configs) to gitignore

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

6 years agoFixes wrong argument for inventory with clean 37/42537/1
Tim Rozet [Fri, 15 Sep 2017 20:53:02 +0000 (16:53 -0400)]
Fixes wrong argument for inventory with clean

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

6 years agoFixes missing libvirt-client in ISO 35/42535/1
Tim Rozet [Tue, 19 Sep 2017 20:14:18 +0000 (16:14 -0400)]
Fixes missing libvirt-client in ISO

This was causing ISO install to fail because the libvirt modules were
missing for python-libvirt.

JIRA: APEX-517

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

6 years agoFix broken jumphost detach method when orig file exists 29/42329/2
Tim Rozet [Sat, 16 Sep 2017 13:42:47 +0000 (09:42 -0400)]
Fix broken jumphost detach method when orig file exists

In the case where the backup ifcfg file exists (.orig) the functionality
to detach the interface from ovs was broken.  This fixes it and adds
unit test case to cover that scenario.

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

6 years agoFreezes RDO images for Euphrates 37/42437/3
Tim Rozet [Tue, 19 Sep 2017 16:03:14 +0000 (12:03 -0400)]
Freezes RDO images for Euphrates

Change-Id: Ie20e7d0c52efc2497c7c9975f88be0a9bfa7aa07
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Cleaning up yamllint warnings"
Dan Radez [Fri, 15 Sep 2017 12:18:24 +0000 (12:18 +0000)]
Merge "Cleaning up yamllint warnings"

6 years agoMerge "Removes clean.sh"
Feng Pan [Fri, 15 Sep 2017 12:03:40 +0000 (12:03 +0000)]
Merge "Removes clean.sh"

6 years agoRemoves clean.sh 15/42015/1
Tim Rozet [Fri, 15 Sep 2017 00:07:44 +0000 (20:07 -0400)]
Removes clean.sh

CI has been migrated to use opnfv-clean for verify jobs, which is now
installed as python.  There is no reason to keep ci/clean.sh anymore.

Change-Id: I2edf23901c5debaba0674e3506fd0392d317dc6f
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agobaro: updating refs to collectd-ceilometer 03/41403/12
Emma Foley [Thu, 7 Sep 2017 18:00:38 +0000 (18:00 +0000)]
baro: updating refs to collectd-ceilometer

Since Ceilometer support was removed from the
collectd-ceilometer-plugin[1], the repo name and ceiloemter are
misleading. A change was submitted to openstack-infra to rename
the repo [2]

This change removes references to collectd-ceilometer from apex.
These changes are independant of the repo rename.

[1] https://review.openstack.org/#/c/490823/
[2] https://review.openstack.org/#/c/500768/

Depends-On: I6cf22c081aa1e40f64995be40b6225855faf4092
Change-Id: Ib3a7766e28fd03a86a995eea4b9abc996498200e
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoCleaning up yamllint warnings 99/41699/2
Dan Radez [Tue, 12 Sep 2017 12:10:53 +0000 (08:10 -0400)]
Cleaning up yamllint warnings

yamllint output:
build/baremetal-environment.yaml
  1:1       warning  missing document start "---"  (document-start)

build/opnfv-environment.yaml
  6:3       warning  comment not indented like content  (comments-indentation)
  14:4      warning  missing starting space in comment  (comments)
  123:1     warning  comment not indented like content  (comments-indentation)
  128:1     warning  comment not indented like content  (comments-indentation)
  156:1     warning  comment not indented like content  (comments-indentation)

config/deploy/os-odl-fdio-dvr-ha.yaml
  1:1       warning  missing document start "---"  (document-start)

config/deploy/os-odl-fdio-dvr-noha.yaml
  1:1       warning  missing document start "---"  (document-start)

config/network/network_settings_v6.yaml
  225:6     warning  missing starting space in comment  (comments)

Change-Id: I3985ce0b6740ce4694b5d75b477cb03c3dc49c28
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoFix broken build dependency 73/41873/2
Tim Rozet [Wed, 13 Sep 2017 21:35:38 +0000 (17:35 -0400)]
Fix broken build dependency

libguestfs-tools is failing to install because libvirt-client is
installed and there is a package conflict.  Removing libvirt-client from
image before installing libguestfs-tools.

NSH build is failing in overcloud because the CentOS repos updated with
newer kernel source and headers, and we are still using older kernel.
This patch adds the old kernel source and headers.  Upgrading to new
kernel causes NSH OVS to fail when compiling.

Change-Id: Ifd500ad138116cfecafb2268ccb580bd44d5efd5
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Migrates clean to python"
Feng Pan [Wed, 13 Sep 2017 18:25:34 +0000 (18:25 +0000)]
Merge "Migrates clean to python"

6 years agoMigrates clean to python 39/41439/10
Tim Rozet [Fri, 8 Sep 2017 20:57:36 +0000 (16:57 -0400)]
Migrates clean to python

ci/clean.sh will be removed in a future patch after releng is updated to
use python.

JIRA: APEX-509
JIRA: APEX-319

Change-Id: If890db2fc5a31833ad28ec6f04589e25457bd380
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Updates SFC to use nitrogen"
Feng Pan [Tue, 12 Sep 2017 15:45:50 +0000 (15:45 +0000)]
Merge "Updates SFC to use nitrogen"

6 years agoShow ansible tasks as they complete 13/41413/11
Dan Radez [Fri, 8 Sep 2017 16:40:05 +0000 (12:40 -0400)]
Show ansible tasks as they complete

Change-Id: I1b68d70fd97076a7f2ca68091a6e94d87b72efa2
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoUpdates SFC to use nitrogen 97/40597/8
Tim Rozet [Tue, 29 Aug 2017 15:23:39 +0000 (11:23 -0400)]
Updates SFC to use nitrogen

Also fixes issue where openvswitch NSH rpm was not getting installed
because we needed to downgrade now that default OVS is 2.7 and NSH OVS
is 2.6.1

Change-Id: I1b639ca80214032e93aacb3332e9588d49e74127
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoDup owner, changing to group 83/41583/1
Dan Radez [Mon, 11 Sep 2017 18:40:16 +0000 (14:40 -0400)]
Dup owner, changing to group

Change-Id: I8ca1501949a0e272e928c6b31b08eba2519951ec
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoRestarts libvirtd after stopping firewalld 11/41411/1
Tim Rozet [Fri, 8 Sep 2017 16:06:44 +0000 (12:06 -0400)]
Restarts libvirtd after stopping firewalld

When stopping firewalld, libvirtd needs to be restarted in order for
libvirt to use/populate iptables with the NAT rules for the default
virsh network.

JIRA: APEX-510

Change-Id: Ia5b4515fd961baa70de58814e9eae4b397db28a7
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Adjustments to tmp dir handling"
Tim Rozet [Fri, 8 Sep 2017 16:00:43 +0000 (16:00 +0000)]
Merge "Adjustments to tmp dir handling"

6 years agoMerge "Adds missing packages for undercloud"
Dan Radez [Fri, 8 Sep 2017 14:48:31 +0000 (14:48 +0000)]
Merge "Adds missing packages for undercloud"

6 years agoAdjustments to tmp dir handling 47/41347/3
Dan Radez [Thu, 7 Sep 2017 20:57:02 +0000 (16:57 -0400)]
Adjustments to tmp dir handling

- prefixing with apex_tmp
- removing overcloud qcow on failure

JIRA: APEX-513

Change-Id: I766df10c294c31622917bbd5b0597e3373716d8b
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoMerge "Conditionalize VM console arg based on arch"
Tim Rozet [Fri, 8 Sep 2017 04:36:43 +0000 (04:36 +0000)]
Merge "Conditionalize VM console arg based on arch"

6 years agoAdds missing packages for undercloud 43/41343/2
Tim Rozet [Thu, 7 Sep 2017 20:18:20 +0000 (16:18 -0400)]
Adds missing packages for undercloud

JIRA: APEX-511

Change-Id: If8ed2b5409e450c39f4fffd5a0b3cb96560c5d26
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "More cleanup for ci directory"
Feng Pan [Thu, 7 Sep 2017 20:09:46 +0000 (20:09 +0000)]
Merge "More cleanup for ci directory"

6 years agoMerge "Output ansible's output to info log"
Tim Rozet [Thu, 7 Sep 2017 19:53:18 +0000 (19:53 +0000)]
Merge "Output ansible's output to info log"

6 years agoMore cleanup for ci directory 35/41235/2
Tim Rozet [Wed, 6 Sep 2017 22:15:08 +0000 (18:15 -0400)]
More cleanup for ci directory

Changes Include:
 - Moves dev_dep_check.sh to contrib dir as it is not used by our CI
 - Removes test.sh as it is not used by CI.  tox can be invoked
   directly for developers.
 - Removes run_smoke_tests.sh which is not used anymore

Change-Id: I59e39be0ce8b23234c70bf066aebf894b6d73388
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Skip introspection for aarch64 BM deployments"
Tim Rozet [Thu, 7 Sep 2017 15:15:02 +0000 (15:15 +0000)]
Merge "Skip introspection for aarch64 BM deployments"

6 years agoOutput ansible's output to info log 25/41225/6
Dan Radez [Thu, 7 Sep 2017 14:41:36 +0000 (10:41 -0400)]
Output ansible's output to info log

Change-Id: I27ad54785716677a885ae954a2af6dbaf8610ff1
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoMerge "Enabling the aarch check for deployment"
Dan Radez [Thu, 7 Sep 2017 14:34:59 +0000 (14:34 +0000)]
Merge "Enabling the aarch check for deployment"

6 years agoMerge "Adds parser tests and cleanup"
Feng Pan [Thu, 7 Sep 2017 04:05:37 +0000 (04:05 +0000)]
Merge "Adds parser tests and cleanup"

6 years agoConditionalize VM console arg based on arch 99/41199/4
Dan Radez [Wed, 6 Sep 2017 17:17:26 +0000 (13:17 -0400)]
Conditionalize VM console arg based on arch

Change-Id: Ide9159e5ba7d5388c7bf62bf865b0015422e9159
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoEnabling the aarch check for deployment 99/40599/7
Dan Radez [Tue, 29 Aug 2017 16:46:45 +0000 (12:46 -0400)]
Enabling the aarch check for deployment

Change-Id: Ic5f1fc8a61f74f7aa6b2fabf67169c601a603367
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoSkip introspection for aarch64 BM deployments 03/41203/3
Dan Radez [Wed, 6 Sep 2017 17:28:46 +0000 (13:28 -0400)]
Skip introspection for aarch64 BM deployments

Change-Id: I630e90065f9cc76ef42ca9b23aea920c2493b53f
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoAdds parser tests and cleanup 07/41207/2
Tim Rozet [Wed, 6 Sep 2017 18:33:18 +0000 (14:33 -0400)]
Adds parser tests and cleanup

Adds unit testing for the common/parsers library and cleans up some of
the test files syntax.

Change-Id: I7ff9d7ba20b028fba410af900a0c3107a5806d8f
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoRemove deploy.sh and references 95/41095/2
Tim Rozet [Tue, 5 Sep 2017 19:23:15 +0000 (15:23 -0400)]
Remove deploy.sh and references

Deploy is now pip/rpm installed as opnfv-deploy in /bin.  Alternatively
the deploy.py script can be invoked via python.  The legacy deploy.sh
was only being used for CI, which has now been updated to remove the
need for the Apex repo containing ci/deploy.sh.

Change-Id: I1fb93bd9de23a97a09bedb8ac014ef81955875f2
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoRemoves build.sh 99/41099/2
Tim Rozet [Tue, 5 Sep 2017 20:04:23 +0000 (16:04 -0400)]
Removes build.sh

We now have build.py which handles all the building and build.sh was
just a wrapper to include ansible playbook.  Now that we have built in
apex libs to run ansible there is no reason to keep build.sh anymore.

Also simplifies the logic to determine apex root by using the git
properties.

Change-Id: I00d2e5c7c198e549d21936bb1e9b562ba93d3010
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Adds Undercloud retry and log fetch"
Feng Pan [Fri, 1 Sep 2017 14:25:50 +0000 (14:25 +0000)]
Merge "Adds Undercloud retry and log fetch"

6 years agoMerge "Fix deployment errors for odl-fdio scenarios"
Tim Rozet [Fri, 1 Sep 2017 04:24:56 +0000 (04:24 +0000)]
Merge "Fix deployment errors for odl-fdio scenarios"

6 years agoAdds Undercloud retry and log fetch 79/40779/4
Tim Rozet [Thu, 31 Aug 2017 17:37:20 +0000 (13:37 -0400)]
Adds Undercloud retry and log fetch

Retry to install the undercloud if it fails due to sometimes failing.
Also copy undercloud log over to host temp dir.

Change-Id: I50f98c4f0d52fa6bb56d9dcd0766bbe745160452
Signed-off-by: Tim Rozet <trozet@redhat.com>