apex.git
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>
7 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>
7 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>
7 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>
7 years agoMerge "Migrates clean to python"
Feng Pan [Wed, 13 Sep 2017 18:25:34 +0000 (18:25 +0000)]
Merge "Migrates clean to python"

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

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

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

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

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

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

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

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

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

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

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

7 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>
7 years agoFix deployment errors for odl-fdio scenarios 81/40781/1
Feng Pan [Thu, 31 Aug 2017 17:59:04 +0000 (13:59 -0400)]
Fix deployment errors for odl-fdio scenarios

- Changed NIC template generation to only configure VPP interface for
  external network on compute nodes
- Fixed overcloud deploy environment file error when deploying odl-fdio

Change-Id: I4fb07073b0dffc35ef09a5e32deb8470f5ee8347
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agoAdds showing overcloud failures 75/40775/1
Tim Rozet [Thu, 31 Aug 2017 17:17:01 +0000 (13:17 -0400)]
Adds showing overcloud failures

Change-Id: Ic09a9b6d57d2ab05562f64a75f9732f76ac61bb7
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Fix nosdn-fdio deployment errors"
Tim Rozet [Wed, 30 Aug 2017 23:47:44 +0000 (23:47 +0000)]
Merge "Fix nosdn-fdio deployment errors"

7 years agoMerge "Change qemu-img resize unit"
Tim Rozet [Wed, 30 Aug 2017 19:28:39 +0000 (19:28 +0000)]
Merge "Change qemu-img resize unit"

7 years agoFix nosdn-fdio deployment errors 47/40647/3
Feng Pan [Wed, 30 Aug 2017 00:37:27 +0000 (20:37 -0400)]
Fix nosdn-fdio deployment errors

Also fixes kernel parameter configuration issue for fdio and ovs-dpdk
scenarios

Change-Id: I84162eb07d1427f62ac3c84fd32e78af0e3b8456
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agoMerge "Fixes missing iso packages and idempotency of virt resources"
Feng Pan [Wed, 30 Aug 2017 16:12:31 +0000 (16:12 +0000)]
Merge "Fixes missing iso packages and idempotency of virt resources"

7 years agoMerge "Removes ignoring errors on congress config"
Tim Rozet [Wed, 30 Aug 2017 13:24:29 +0000 (13:24 +0000)]
Merge "Removes ignoring errors on congress config"

7 years agoFixes missing iso packages and idempotency of virt resources 51/40651/2
Tim Rozet [Wed, 30 Aug 2017 02:25:10 +0000 (22:25 -0400)]
Fixes missing iso packages and idempotency of virt resources

Python packages for ansible (py2.x) were missing causing ansible to
fail.  This patch adds those packages to the ISO and deploy
dependencies playbook.  Also includes fixes for deploy_dependencies
playbook for virt resources to make them idempotent by removing
using 'command' and instead just declaring 'state'.

Change-Id: I9311184a6f3c40ead0a8ba16fa0b61667876cf12
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoRemoves ignoring errors on congress config 93/40593/2
Tim Rozet [Tue, 29 Aug 2017 14:30:43 +0000 (10:30 -0400)]
Removes ignoring errors on congress config

Now that congress has been fixed this should always work.

Change-Id: I701707b8b91b340289613bdb31fa91456743d233
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Updates preliminary docs for Euphrates"
Dan Radez [Tue, 29 Aug 2017 16:18:21 +0000 (16:18 +0000)]
Merge "Updates preliminary docs for Euphrates"

7 years agoUpdates preliminary docs for Euphrates 35/40435/2
Tim Rozet [Mon, 28 Aug 2017 16:56:19 +0000 (12:56 -0400)]
Updates preliminary docs for Euphrates

Change-Id: I4e3e78e60756824c1294ab067a325311bc2ac8f2
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoChange qemu-img resize unit 37/40437/2
Dan Radez [Mon, 28 Aug 2017 17:03:58 +0000 (13:03 -0400)]
Change qemu-img resize unit

Docs read:
size
    is the disk image size in bytes. Optional suffixes "k" or "K"
    (kilobyte, 1024) "M" (megabyte, 1024k) and "G" (gigabyte, 1024M)
     and T (terabyte, 1024G) are supported.  "b" is ignored.

MB is technically invalid and for somereason only aarch has complained
thus far

Change-Id: Ic152a0edab17ac1cdb5afc0791bb0353b95f94b8
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoMerge "Updates to create_vm for aarch64"
Dan Radez [Tue, 29 Aug 2017 12:37:44 +0000 (12:37 +0000)]
Merge "Updates to create_vm for aarch64"

7 years agoMerge "Fixes baremetal noha deployments"
Feng Pan [Tue, 29 Aug 2017 00:54:38 +0000 (00:54 +0000)]
Merge "Fixes baremetal noha deployments"

7 years agoMerge "Add argument types for deploy.py"
Tim Rozet [Mon, 28 Aug 2017 19:33:55 +0000 (19:33 +0000)]
Merge "Add argument types for deploy.py"

7 years agoFixes jumphost pubkey error in undercloud playbook 33/40433/1
Tim Rozet [Mon, 28 Aug 2017 16:39:18 +0000 (12:39 -0400)]
Fixes jumphost pubkey error in undercloud playbook

Change-Id: I71eca92e305b3bddc35691db8b8b9ebd3bc1b9fb
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoUpdates to create_vm for aarch64 55/40155/3
Dan Radez [Thu, 24 Aug 2017 18:47:30 +0000 (14:47 -0400)]
Updates to create_vm for aarch64

- serial console was being duplicated in libvirt xml template
- force undercloud VM arch to jumphost arch
- assign diskbus to scsi for aarch64

Change-Id: I5208883c2001497fc7e958f9ffcdf14f0be5f600
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoFixes baremetal noha deployments 15/40415/1
Tim Rozet [Mon, 28 Aug 2017 13:53:55 +0000 (09:53 -0400)]
Fixes baremetal noha deployments

There is a bug where when we have 3 nodes tagged as control in inventory
we are automatically using all 3, even for a noha deployment.

JIRA: APEX-507

Change-Id: Id2a9be2c52d0c7c81b9c5dcbc93006a476abb537
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoPassing deploy_dir through to create_vm 41/40141/3
Dan Radez [Thu, 24 Aug 2017 18:03:43 +0000 (14:03 -0400)]
Passing deploy_dir through to create_vm

Change-Id: I07a1c899d43c5edf1054fc819fff4336d9b3ed16
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoAdd argument types for deploy.py 03/40403/1
Feng Pan [Mon, 28 Aug 2017 13:20:25 +0000 (09:20 -0400)]
Add argument types for deploy.py

Add data type for integer arguments to avoid str to int comparison exceptions.

Change-Id: Ifa40e1cc8588df6d618185882bba71f7ce7b9a1d
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agoFixes bridge checking on jumphost for bm 33/40333/1
Tim Rozet [Sun, 27 Aug 2017 23:37:43 +0000 (19:37 -0400)]
Fixes bridge checking on jumphost for bm

Change-Id: I5e90dd84383c7348d2cbe58a18370ca10d915598
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoFixes external network with baremetal interface 31/40331/1
Tim Rozet [Sun, 27 Aug 2017 23:21:43 +0000 (19:21 -0400)]
Fixes external network with baremetal interface

Change-Id: Icd65ffbd14dee603e5b2a0a42e9d0cdfd98c694c
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoFixes baremetal interface attach 25/40325/1
Tim Rozet [Sun, 27 Aug 2017 19:15:14 +0000 (15:15 -0400)]
Fixes baremetal interface attach

Change-Id: If0e501c218b1ea981caa255b5e217b5118b772b0
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Add missing iso build dependencies"
Tim Rozet [Sat, 26 Aug 2017 12:04:27 +0000 (12:04 +0000)]
Merge "Add missing iso build dependencies"

7 years agoAdd missing iso build dependencies 99/40299/1
Feng Pan [Sat, 26 Aug 2017 04:09:49 +0000 (00:09 -0400)]
Add missing iso build dependencies

Change-Id: Ie7c07d34819ea29575f94ecac3da046758415da6
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agoSkip the python3 vbmc patch 45/40145/3
Dan Radez [Thu, 24 Aug 2017 18:12:00 +0000 (14:12 -0400)]
Skip the python3 vbmc patch

- vbmc has already been imported so we know it's there
  if vbmc is located in a different spot than the
  hardcoded location just skip the patch

Change-Id: I765fb94c09e0775084ecd37659f4900411eb0e3e
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoMerge "Updates and additions to handle aarch64"
Dan Radez [Fri, 25 Aug 2017 18:24:50 +0000 (18:24 +0000)]
Merge "Updates and additions to handle aarch64"

7 years agoFixes issues with baremetal 05/40205/1
Tim Rozet [Fri, 25 Aug 2017 05:21:16 +0000 (01:21 -0400)]
Fixes issues with baremetal

Change-Id: I60470611a70261d57ccbfd0e499f4336c7a12fe1
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Updates RPM specs and building"
Tim Rozet [Thu, 24 Aug 2017 23:23:09 +0000 (23:23 +0000)]
Merge "Updates RPM specs and building"

7 years agoUpdates and additions to handle aarch64 97/39597/9
Dan Radez [Fri, 18 Aug 2017 14:53:45 +0000 (10:53 -0400)]
Updates and additions to handle aarch64

- move patches from x86 only to common virt-customize
- updates to undercloud to configure pxe and external network
- initial updates to overcloud deploy functions

JIRA: APEX-381

Change-Id: I496e196535e63bfd31654d0f501fe3f00fa5ca3f
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoUpdates RPM specs and building 23/40023/4
Tim Rozet [Wed, 23 Aug 2017 18:08:07 +0000 (14:08 -0400)]
Updates RPM specs and building

Changes Include:
 - Disables ONOS from rpm and image building
 - Fixes opnfv-apex package dependency for python34-opnfv-apex
 - Updates requirements for python34-opnfv-apex
 - Updates docs
 - Removes temporary build qcow2 for odl which was being bundled
   into our dev tars unnecessarily

Change-Id: Ief668067181fc35a54553ae118b7950bddce1940
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Change destination of snmp mibs files from /usr/share/mibs/ietf to /usr/share...
Tim Rozet [Thu, 24 Aug 2017 02:04:46 +0000 (02:04 +0000)]
Merge "Change destination of snmp mibs files from /usr/share/mibs/ietf to /usr/share/snmp/mibs, and create symbolic link from ietf to snmp/mibs."

7 years agoMerge "Migrates Apex to Python"
Feng Pan [Wed, 23 Aug 2017 17:26:53 +0000 (17:26 +0000)]
Merge "Migrates Apex to Python"

7 years agoMigrates Apex to Python 23/36723/71
Tim Rozet [Mon, 26 Jun 2017 01:25:36 +0000 (21:25 -0400)]
Migrates Apex to Python

Removes all bash libraries and converts almost all of the code to a
mixture of Python and Ansible.  utils.sh and clean.sh still exist.
clean.sh will be migrated fully to clean.py in another patch.

The Apex Python package is now built into the opnfv-apex-common RPM.  To
install locally do 'pip3 install .'.  To deploy:

opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build  -v --debug

Non-python files (THT yaml, settings files, ansible playbooks) are all
installed into /usr/share/opnfv-apex/.  The RPM will copy settings files
into /etc/opnfv-apex/.

JIRA: APEX-317

Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoChange destination of snmp mibs files from 13/39913/1
jhinman1 [Tue, 22 Aug 2017 20:27:05 +0000 (16:27 -0400)]
Change destination of snmp mibs files from
/usr/share/mibs/ietf to /usr/share/snmp/mibs,
and create symbolic link from ietf to snmp/mibs.

Change-Id: Icf3ff3659f63222cc3a5e8f1f93fe183a2b86f45
Signed-off-by: jhinman1 <john.hinman@intel.com>
7 years agoNo change to apex, change is to apex-puppet-tripleo 23/39623/2
jhinman1 [Fri, 18 Aug 2017 19:33:22 +0000 (15:33 -0400)]
No change to apex, change is to apex-puppet-tripleo
Bumps the step for barometer from 4 to 5.
apex-puppet-tripleo: I486c4045e29c7032526be6e19d11e7979070c2d9

Change-Id: I263d687e90e747e3fdfb9690ca9209553a1a2890
Signed-off-by: jhinman1 <john.hinman@intel.com>
7 years agoBumps OVS version to 2.8 for OVN 13/39813/1
Tim Rozet [Mon, 21 Aug 2017 19:00:07 +0000 (15:00 -0400)]
Bumps OVS version to 2.8 for OVN

OVS 2.7 does not seem to be available anymore in the copr repo and has
been replaced by 2.8.

Change-Id: I7ba98f14e9c9c34f6802f8a890876363c839ab9b
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoSmall correction in docs. 75/39475/1
Taseer Ahmed [Thu, 17 Aug 2017 06:44:20 +0000 (11:44 +0500)]
Small correction in docs.

Change-Id: Iec9a401759de5953d4a8ca05c4f1c32b163343ba
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
7 years agoMerge "Fixes OpenDaylight version"
Tim Rozet [Tue, 15 Aug 2017 03:30:58 +0000 (03:30 +0000)]
Merge "Fixes OpenDaylight version"

7 years agoMerge "Adds Doctor DS driver to Congress"
Tim Rozet [Mon, 14 Aug 2017 21:56:46 +0000 (21:56 +0000)]
Merge "Adds Doctor DS driver to Congress"

7 years agoFixes OpenDaylight version 31/38931/3
Tim Rozet [Tue, 8 Aug 2017 18:29:56 +0000 (14:29 -0400)]
Fixes OpenDaylight version

The default version is now Carbon with the option of using
nitrogen (master) for puppet-odl and opendaylight.

JIRA: APEX-500

Change-Id: I44d02ec0db5fb8e6342e5ab6802a5a3f302b8511
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Change install directory for collectd-ceilometer from /opt to /opt/stack."
Feng Pan [Mon, 14 Aug 2017 13:58:00 +0000 (13:58 +0000)]
Merge "Change install directory for collectd-ceilometer from /opt to /opt/stack."

7 years agoMerge "Backport of Congress parallel execution"
Tim Rozet [Mon, 14 Aug 2017 13:54:56 +0000 (13:54 +0000)]
Merge "Backport of Congress parallel execution"

7 years agoBackport of Congress parallel execution 43/36643/6
Carlos Goncalves [Wed, 28 Jun 2017 10:02:51 +0000 (12:02 +0200)]
Backport of Congress parallel execution

JIRA: APEX-480
JIRA: DOCTOR-78

Change-Id: I6b5b3e7f2daaec7e2ead76d74f8d3713378a5200
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>