apex.git
6 years agoMigrate default ODL from Carbon -> Nitrogen 79/47879/1
Tim Rozet [Mon, 27 Nov 2017 20:36:22 +0000 (15:36 -0500)]
Migrate default ODL from Carbon -> Nitrogen

Change-Id: If64212b33bf9ad3b9900ca18b39c90839f745843
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoRemoves using https with rdo-release 83/40883/2
Tim Rozet [Fri, 1 Sep 2017 19:08:01 +0000 (15:08 -0400)]
Removes using https with rdo-release

We dont need to use https with rdo-release and it can
cause issues for ansible.

Change-Id: I081228a05d68f987fa02480bcd1bf216573550f1
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes apex ISO missing python2-jmespath 73/47373/2
Tim Rozet [Thu, 16 Nov 2017 19:56:27 +0000 (14:56 -0500)]
Fixes apex ISO missing python2-jmespath

Installing ansible depends on python2-jmespath which was missing in the
ISO.  This patch adds it to the ISO build.

Change-Id: I18e76168273537a1682fb7187e5a2c72aacab296
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMigrates Apex to Pike 45/47145/8
Tim Rozet [Mon, 13 Nov 2017 21:10:36 +0000 (16:10 -0500)]
Migrates Apex to Pike

JIRA: APEX-544

Change-Id: Ibee2068e782da75268ed76beb36ccb5dcd1847d6
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFix install failures for python-etcd and puppet-etc 35/47135/1
Tim Rozet [Mon, 13 Nov 2017 18:01:55 +0000 (13:01 -0500)]
Fix install failures for python-etcd and puppet-etc

Delorean repo used in frozen images has expired, so need to
pull from latest Ocata repo.

JIRA: APEX-542

Change-Id: I2e3e16687b9ca389ecaf83ca48dddf4d4a161357
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes dependency install of env group Virtualization Host 69/46769/1
Tim Rozet [Tue, 7 Nov 2017 05:20:46 +0000 (16:20 +1100)]
Fixes dependency install of env group Virtualization Host

Virtualization Host env group started failing for users with centos 7.4
and according to Ansible guide the correct format for env groups should
be "@^" prefix:

http://docs.ansible.com/ansible/latest/yum_module.html

JIRA: APEX-539

Change-Id: I3f71ce4462b33ad0772963869db4ea3c0f6e9e51
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdds ability to deploy from upstream openstack 95/41795/25
Tim Rozet [Tue, 12 Sep 2017 21:32:56 +0000 (17:32 -0400)]
Adds ability to deploy from upstream openstack

To deploy with upstream openstack branch, use new deploy setting 'os_version'.
A default scenario file for nosdn with pike has been included in this patch.
If 'os_version' is a version other than the default version for this OPNFV
release, then upstream is used.

In order to use upstream with the current OS version use '--upstream'
argument to the deploy command, to force an upstream deployment.

Also include '-e upstream-environment.yaml' to use default upstream
deployment settings.

Supports nosdn and odl-nofeature deployments.

Change-Id: Ic07e308827b449637b4e86cdd086434e4de2fb69
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes missing openstack-nova-compute on undercloud 37/46737/1
Tim Rozet [Mon, 6 Nov 2017 04:32:06 +0000 (15:32 +1100)]
Fixes missing openstack-nova-compute on undercloud

openstack-nova-compute was missing on the undercloud image and it is
also missing in the delorean repo from which we froze artifacts for
OPNFV release.  This is likely due to the age of the repo and to fix it
we need to update the delorean repo on undercloud and install the
missing package during build time.

JIRA: APEX-538

Change-Id: I0f7cd26d5c8e4ad538b3ba3725ab5e7684a50b6a
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoFix zrpcd start in the controller node 33/46033/2
tomsou [Fri, 20 Oct 2017 14:44:41 +0000 (17:44 +0300)]
Fix zrpcd start in the controller node

Add sudo into zrpcd process start command
Add starting script into /etc/rc.d/rc.local too

Change-Id: I3c724ff60d4c3feb7379b1a8bbeca8a928cfe81b
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoFix releasenotes label and include paths for docs 77/45877/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>
7 years agoMerge "Adapt zrpcd to work for Carbon/Nitrogen"
Tim Rozet [Thu, 19 Oct 2017 13:28:16 +0000 (13:28 +0000)]
Merge "Adapt zrpcd to work for Carbon/Nitrogen"

7 years agoMerge "Fix interface role mapping config for odl-fdio scenarios"
Tim Rozet [Thu, 19 Oct 2017 13:27:43 +0000 (13:27 +0000)]
Merge "Fix interface role mapping config for odl-fdio scenarios"

7 years agoFix interface role mapping config for odl-fdio scenarios 55/45255/4
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>
7 years agoMore updates to docs for Euphrates 07/45607/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>
7 years agoAdapt zrpcd to work for Carbon/Nitrogen 75/44575/6
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>
7 years agoUpdates docs and scenarios for Euphrates 85/45385/2
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>
7 years agoAdding unittests for apex/deploy.py 53/43653/8
Dan Radez [Thu, 28 Sep 2017 21:49:55 +0000 (17:49 -0400)]
Adding unittests for apex/deploy.py

Change-Id: Id108039dcf5d846affe2900706097049b3308e81
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoAdding apex/overcloud/* unittests 77/44177/6
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>
7 years agoUpdates to Inventory object 97/44397/7
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>
7 years agoIncrease ssh timeout and add retry for Ansible 89/44789/2
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>
7 years agoMerge "Cleaning up yamllint warnings"
Dan Radez [Tue, 10 Oct 2017 19:47:30 +0000 (19:47 +0000)]
Merge "Cleaning up yamllint warnings"

7 years agoMerge "Increasing clean.py unittest coverage"
Tim Rozet [Tue, 10 Oct 2017 15:44:48 +0000 (15:44 +0000)]
Merge "Increasing clean.py unittest coverage"

7 years agoCleaning up yamllint warnings 87/44687/1
Dan Radez [Tue, 10 Oct 2017 14:10:43 +0000 (10:10 -0400)]
Cleaning up yamllint warnings

apex/tests/config/inventory-virt-1-node.yaml
  1:1       warning  missing document start "---"  (document-start)

apex/tests/config/inventory-virt.yaml
  1:1       warning  missing document start "---"  (document-start)

build/opnfv-environment.yaml
  6:3       warning  comment not indented like content  (comments-indentation)

Change-Id: Ice888464d09831066bb6cd0ac94fbd290b142088
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoIncreasing clean.py unittest coverage 43/44243/3
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>
7 years agoMerge "Removing the downloaded libvirt-client for the iso build"
Dan Radez [Mon, 9 Oct 2017 21:07:47 +0000 (21:07 +0000)]
Merge "Removing the downloaded libvirt-client for the iso build"

7 years agoRemoving the downloaded libvirt-client for the iso build 87/44587/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>
7 years agoFix licenses to be Apache 2.0 77/44577/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>
7 years agoMerge "Use stable/17.10 branch for VPP"
Tim Rozet [Fri, 6 Oct 2017 20:05:36 +0000 (20:05 +0000)]
Merge "Use stable/17.10 branch for VPP"

7 years agoMerge "Increase memory size for virt-customize"
Tim Rozet [Thu, 5 Oct 2017 19:13:23 +0000 (19:13 +0000)]
Merge "Increase memory size for virt-customize"

7 years agoMerge "This config is no longer needed"
Dan Radez [Thu, 5 Oct 2017 13:24:52 +0000 (13:24 +0000)]
Merge "This config is no longer needed"

7 years agoIncrease memory size for virt-customize 53/43553/5
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>
7 years agoMerge "Pass flags to allow domain undefine with NVRAM"
Tim Rozet [Wed, 4 Oct 2017 18:06:35 +0000 (18:06 +0000)]
Merge "Pass flags to allow domain undefine with NVRAM"

7 years agoMerge "baro: update collectd-openstack branch"
Tim Rozet [Wed, 4 Oct 2017 15:36:34 +0000 (15:36 +0000)]
Merge "baro: update collectd-openstack branch"

7 years agoUse stable/17.10 branch for VPP 59/44259/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>
7 years agoThis config is no longer needed 79/44179/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>
7 years agoMerge "Install honeycomb and vpp in a single step"
Feng Pan [Wed, 4 Oct 2017 02:42:56 +0000 (02:42 +0000)]
Merge "Install honeycomb and vpp in a single step"

7 years agobaro: update collectd-openstack branch 23/43923/2
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>
7 years agoPass flags to allow domain undefine with NVRAM 31/44131/1
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>
7 years agoMerge "Updating the iso build to CentOS 7.4"
Tim Rozet [Tue, 3 Oct 2017 15:39:10 +0000 (15:39 +0000)]
Merge "Updating the iso build to CentOS 7.4"

7 years agoInstall honeycomb and vpp in a single step 91/44091/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>
7 years agoMerge "Fixes python-networking-sfc install"
Feng Pan [Mon, 2 Oct 2017 18:23:56 +0000 (18:23 +0000)]
Merge "Fixes python-networking-sfc install"

7 years agoAdding unittests for undercloud.py 05/42705/6
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>
7 years agoFixes python-networking-sfc install 67/43867/2
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>
7 years agoMerge "nosdn-fdio scenarios fixes"
Tim Rozet [Mon, 2 Oct 2017 13:08:22 +0000 (13:08 +0000)]
Merge "nosdn-fdio scenarios fixes"

7 years agonosdn-fdio scenarios fixes 87/43787/1
Feng Pan [Sat, 30 Sep 2017 05:15:31 +0000 (01:15 -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>
7 years agoMerge "Adds Calipso scenario"
Feng Pan [Sat, 30 Sep 2017 15:08:38 +0000 (15:08 +0000)]
Merge "Adds Calipso scenario"

7 years agoAdds Calipso scenario 89/42689/3
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>
7 years agoFixes nova migration 03/43503/4
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>
7 years agoMerge "Increase overcloud qcow2 size by 1500mb"
Tim Rozet [Fri, 29 Sep 2017 19:11:13 +0000 (19:11 +0000)]
Merge "Increase overcloud qcow2 size by 1500mb"

7 years agoIncrease overcloud qcow2 size by 1500mb 41/43641/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>
7 years agoUpdate zrpcd version for Carbon/ Nitrogen 63/43563/1
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>
7 years agoMerge "re-enable support for fdio dvr scenario"
Tim Rozet [Fri, 29 Sep 2017 05:07:09 +0000 (05:07 +0000)]
Merge "re-enable support for fdio dvr scenario"

7 years agore-enable support for fdio dvr scenario 29/41829/15
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>
7 years agoMerge "Adding python unittests for apex/virtual/*"
Tim Rozet [Thu, 28 Sep 2017 17:33:23 +0000 (17:33 +0000)]
Merge "Adding python unittests for apex/virtual/*"

7 years agoAdding python unittests for apex/virtual/* 51/42451/13
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>
7 years agoFix RT KVM scenario 49/43249/3
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>
7 years agoMerge "Fixes BgpVpn service name and tht fixes"
Feng Pan [Wed, 27 Sep 2017 12:33:11 +0000 (12:33 +0000)]
Merge "Fixes BgpVpn service name and tht fixes"

7 years agoMerge "Fix Neutron data_plane_status extension path"
Tim Rozet [Tue, 26 Sep 2017 20:47:54 +0000 (20:47 +0000)]
Merge "Fix Neutron data_plane_status extension path"

7 years agoFix Neutron data_plane_status extension path 83/43183/3
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>
7 years agoFixes BgpVpn service name and tht fixes 91/43191/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>
7 years agoUpdating the iso build to CentOS 7.4 81/43181/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>
7 years agoFix ovs-dpdk failures 77/43177/2
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>
7 years agoApplies Tacker upstream patches and fixes fernet dir perms 27/43027/3
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>
7 years agoMerge "Adding unittests for build"
Tim Rozet [Mon, 25 Sep 2017 13:41:31 +0000 (13:41 +0000)]
Merge "Adding unittests for build"

7 years agoAdd python-passlib in iso build 77/42877/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>
7 years agoAdding unittests for build 69/41969/23
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>
7 years agoFixes clone fork change URL 47/42847/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>
7 years agoMerge "Fixes Tacker auth and fernet keys dir"
Tim Rozet [Sat, 23 Sep 2017 04:37:48 +0000 (04:37 +0000)]
Merge "Fixes Tacker auth and fernet keys dir"

7 years agoMerge "Fixes missing bgpvpn service on controller"
Tim Rozet [Sat, 23 Sep 2017 02:52:53 +0000 (02:52 +0000)]
Merge "Fixes missing bgpvpn service on controller"

7 years agoMerge "Removing duplicate lib path in ansible_path"
Tim Rozet [Fri, 22 Sep 2017 20:52:33 +0000 (20:52 +0000)]
Merge "Removing duplicate lib path in ansible_path"

7 years agoMerge "Adds detection for virsh default network IP"
Dan Radez [Fri, 22 Sep 2017 20:20:23 +0000 (20:20 +0000)]
Merge "Adds detection for virsh default network IP"

7 years agoMerge "Add kubernetes repo and install RPMS into overcloud images"
Tim Rozet [Fri, 22 Sep 2017 20:18:53 +0000 (20:18 +0000)]
Merge "Add kubernetes repo and install RPMS into overcloud images"

7 years agoFixes missing bgpvpn service on controller 07/42707/2
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>
7 years agoFixes Tacker auth and fernet keys dir 17/42817/1
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>
7 years agoMerge "Fixes removing inventory keys"
Feng Pan [Fri, 22 Sep 2017 14:54:02 +0000 (14:54 +0000)]
Merge "Fixes removing inventory keys"

7 years agoAdds detection for virsh default network IP 65/42765/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>
7 years agoAdd kubernetes repo and install RPMS into overcloud images 47/42747/1
Tomofumi Hayashi [Fri, 22 Sep 2017 09:09:42 +0000 (18:09 +0900)]
Add kubernetes repo and install RPMS into overcloud images

This change introduces k8s into overcloud images. It just installs
kubernetes rpms only, so further configuration is required to
activate k8s at overcloud nodes and it will be taken care of other
diffs.

Change-Id: I606d176812705802790243ae4e95988a591c5fe6
Signed-off-by: Tomofumi Hayashi <s1061123@gmail.com>
7 years agoMerge "Revert "Adds Calipso scenario""
Tim Rozet [Thu, 21 Sep 2017 19:05:03 +0000 (19:05 +0000)]
Merge "Revert "Adds Calipso scenario""

7 years agoFixes removing inventory keys 73/42673/4
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>
7 years agoRevert "Adds Calipso scenario" 71/42671/1
Tim Rozet [Thu, 21 Sep 2017 15:35:55 +0000 (15:35 +0000)]
Revert "Adds Calipso scenario"

This reverts commit 433961f8c0b816f19aa858654261fa87d2f02a19.

Change-Id: Ic8a14d2e0ad8d1006625af401fde2f365890650b
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Adds Calipso scenario"
Dan Radez [Thu, 21 Sep 2017 13:40:46 +0000 (13:40 +0000)]
Merge "Adds Calipso scenario"

7 years agoMerge "Improves clean to cleanup virsh nets and and other bridges"
Feng Pan [Thu, 21 Sep 2017 13:34:16 +0000 (13:34 +0000)]
Merge "Improves clean to cleanup virsh nets and and other bridges"

7 years agoRemoving duplicate lib path in ansible_path 49/42649/3
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>
7 years agoMerge "Set aarch64 deploys to UEFI"
Tim Rozet [Thu, 21 Sep 2017 00:03:11 +0000 (00:03 +0000)]
Merge "Set aarch64 deploys to UEFI"

7 years agoImproves clean to cleanup virsh nets and and other bridges 59/42359/3
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>
7 years agoAdds Calipso scenario 27/40727/4
Tim Rozet [Thu, 31 Aug 2017 02:00:15 +0000 (22:00 -0400)]
Adds Calipso scenario

Calipso uses docker containers and is post deployment feature that can
be used to monitor pieces of the stack.  This patch installs it to the
undercloud rather than the jumphost as it is easier to manage for
cleanup and dependencies.

Change-Id: Ie2dacc4f14b391a864fafb2e75ebcd15facb19f1
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Fixes missing libvirt-client in ISO"
Feng Pan [Wed, 20 Sep 2017 02:27:16 +0000 (02:27 +0000)]
Merge "Fixes missing libvirt-client in ISO"

7 years agoMerge "Removes building OVS 2.6.1 with NSH"
Feng Pan [Wed, 20 Sep 2017 02:27:11 +0000 (02:27 +0000)]
Merge "Removes building OVS 2.6.1 with NSH"

7 years agoMerge "Freezes RDO images for Euphrates"
Feng Pan [Wed, 20 Sep 2017 02:26:50 +0000 (02:26 +0000)]
Merge "Freezes RDO images for Euphrates"

7 years agoSet aarch64 deploys to UEFI 29/41429/3
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>
7 years agoRemoves building OVS 2.6.1 with NSH 35/42435/2
Tim Rozet [Tue, 19 Sep 2017 15:18:37 +0000 (11:18 -0400)]
Removes building OVS 2.6.1 with NSH

For master(Pike) we wont need this anymore since OVS 2.8 will have built
in support for NSH.

Change-Id: I51e2f4abf282ddb83d3edef9e5b827363a4d68be
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoFixes missing libvirt-client in ISO 49/42449/2
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>
7 years agoFreezes RDO images for Euphrates 39/42439/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>
7 years agoMerge "Fixes jumphost pubkey error in undercloud playbook"
Feng Pan [Tue, 19 Sep 2017 18:32:21 +0000 (18:32 +0000)]
Merge "Fixes jumphost pubkey error in undercloud playbook"

7 years agoMinor fixes to clean 23/42323/3
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>
7 years agoFix broken jumphost detach method when orig file exists 39/42139/1
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>
7 years agoFixes wrong argument for inventory with clean 99/42099/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>
7 years agoMerge "Cleaning up yamllint warnings"
Dan Radez [Fri, 15 Sep 2017 12:18:24 +0000 (12:18 +0000)]
Merge "Cleaning up yamllint warnings"

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

7 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>