summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-16Fix broken jumphost detach method when orig file existsTim Rozet2-4/+26
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>
2017-09-15Fixes wrong argument for inventory with cleanTim Rozet1-1/+1
Change-Id: I3ff145fa0f500182744fd310bb844e4bc5854663 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-15Merge "Cleaning up yamllint warnings"Dan Radez5-7/+10
2017-09-15Merge "Removes clean.sh"Feng Pan2-21/+1
2017-09-14Removes clean.shTim Rozet2-21/+1
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>
2017-09-14baro: updating refs to collectd-ceilometerEmma Foley1-13/+13
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>
2017-09-14Cleaning up yamllint warningsDan Radez5-7/+10
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>
2017-09-14Fix broken build dependencyTim Rozet4-2/+15
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>
2017-09-13Merge "Migrates clean to python"Feng Pan15-278/+716
2017-09-13Migrates clean to pythonTim Rozet15-278/+716
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>
2017-09-12Merge "Updates SFC to use nitrogen"Feng Pan5-5/+11
2017-09-11Show ansible tasks as they completeDan Radez3-11/+45
Change-Id: I1b68d70fd97076a7f2ca68091a6e94d87b72efa2 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-11Updates SFC to use nitrogenTim Rozet5-5/+11
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>
2017-09-11Dup owner, changing to groupDan Radez1-1/+1
Change-Id: I8ca1501949a0e272e928c6b31b08eba2519951ec Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-08Restarts libvirtd after stopping firewalldTim Rozet1-2/+5
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>
2017-09-08Merge "Adjustments to tmp dir handling"Tim Rozet1-2/+3
2017-09-08Merge "Adds missing packages for undercloud"Dan Radez1-0/+1
2017-09-08Adjustments to tmp dir handlingDan Radez1-2/+3
- prefixing with apex_tmp - removing overcloud qcow on failure JIRA: APEX-513 Change-Id: I766df10c294c31622917bbd5b0597e3373716d8b Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-08Merge "Conditionalize VM console arg based on arch"Tim Rozet1-1/+3
2017-09-07Adds missing packages for undercloudTim Rozet1-0/+1
JIRA: APEX-511 Change-Id: If8ed2b5409e450c39f4fffd5a0b3cb96560c5d26 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-07Merge "More cleanup for ci directory"Feng Pan7-70/+0
2017-09-07Merge "Output ansible's output to info log"Tim Rozet1-3/+3
2017-09-07More cleanup for ci directoryTim Rozet7-70/+0
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>
2017-09-07Merge "Skip introspection for aarch64 BM deployments"Tim Rozet1-4/+6
2017-09-07Output ansible's output to info logDan Radez1-3/+3
Change-Id: I27ad54785716677a885ae954a2af6dbaf8610ff1 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-07Merge "Enabling the aarch check for deployment"Dan Radez4-5/+8
2017-09-07Merge "Adds parser tests and cleanup"Feng Pan11-68/+167
2017-09-06Conditionalize VM console arg based on archDan Radez1-1/+4
Change-Id: Ide9159e5ba7d5388c7bf62bf865b0015422e9159 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-06Enabling the aarch check for deploymentDan Radez4-5/+8
Change-Id: Ic5f1fc8a61f74f7aa6b2fabf67169c601a603367 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-06Skip introspection for aarch64 BM deploymentsDan Radez1-4/+6
Change-Id: I630e90065f9cc76ef42ca9b23aea920c2493b53f Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-06Adds parser tests and cleanupTim Rozet11-68/+167
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>
2017-09-06Remove deploy.sh and referencesTim Rozet6-46/+8
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>
2017-09-06Removes build.shTim Rozet3-24/+19
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>
2017-09-01Merge "Adds Undercloud retry and log fetch"Feng Pan2-7/+31
2017-09-01Merge "Fix deployment errors for odl-fdio scenarios"Tim Rozet2-3/+3
2017-08-31Adds Undercloud retry and log fetchTim Rozet2-7/+31
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>
2017-08-31Fix deployment errors for odl-fdio scenariosFeng Pan2-3/+3
- 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>
2017-08-31Adds showing overcloud failuresTim Rozet1-2/+6
Change-Id: Ic09a9b6d57d2ab05562f64a75f9732f76ac61bb7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-30Merge "Fix nosdn-fdio deployment errors"Tim Rozet1-46/+41
2017-08-30Merge "Change qemu-img resize unit"Tim Rozet1-1/+1
2017-08-30Fix nosdn-fdio deployment errorsFeng Pan1-46/+41
Also fixes kernel parameter configuration issue for fdio and ovs-dpdk scenarios Change-Id: I84162eb07d1427f62ac3c84fd32e78af0e3b8456 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-30Merge "Fixes missing iso packages and idempotency of virt resources"Feng Pan2-6/+19
2017-08-30Merge "Removes ignoring errors on congress config"Tim Rozet2-2/+1
2017-08-29Fixes missing iso packages and idempotency of virt resourcesTim Rozet2-6/+19
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>
2017-08-29Removes ignoring errors on congress configTim Rozet2-2/+1
Now that congress has been fixed this should always work. Change-Id: I701707b8b91b340289613bdb31fa91456743d233 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-29Merge "Updates preliminary docs for Euphrates"Dan Radez11-61/+63
2017-08-29Updates preliminary docs for EuphratesTim Rozet11-61/+63
Change-Id: I4e3e78e60756824c1294ab067a325311bc2ac8f2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-29Change qemu-img resize unitDan Radez1-1/+1
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>
2017-08-29Merge "Updates to create_vm for aarch64"Dan Radez1-12/+15
2017-08-29Merge "Fixes baremetal noha deployments"Feng Pan1-0/+2