summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2017-08-28Merge "Add argument types for deploy.py"Tim Rozet1-0/+4
2017-08-28Fixes jumphost pubkey error in undercloud playbookTim Rozet1-1/+1
Change-Id: I71eca92e305b3bddc35691db8b8b9ebd3bc1b9fb Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-28Updates to create_vm for aarch64Dan Radez1-12/+15
- 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>
2017-08-28Fixes baremetal noha deploymentsTim Rozet1-0/+2
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>
2017-08-28Passing deploy_dir through to create_vmDan Radez2-5/+11
Change-Id: I07a1c899d43c5edf1054fc819fff4336d9b3ed16 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-28Add argument types for deploy.pyFeng Pan1-0/+4
Add data type for integer arguments to avoid str to int comparison exceptions. Change-Id: Ifa40e1cc8588df6d618185882bba71f7ce7b9a1d Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-27Fixes bridge checking on jumphost for bmTim Rozet1-0/+11
Change-Id: I5e90dd84383c7348d2cbe58a18370ca10d915598 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-27Fixes external network with baremetal interfaceTim Rozet1-2/+7
Change-Id: Icd65ffbd14dee603e5b2a0a42e9d0cdfd98c694c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-27Fixes baremetal interface attachTim Rozet1-1/+1
Change-Id: If0e501c218b1ea981caa255b5e217b5118b772b0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-26Merge "Add missing iso build dependencies"Tim Rozet1-1/+1
2017-08-26Add missing iso build dependenciesFeng Pan1-1/+1
Change-Id: Ie7c07d34819ea29575f94ecac3da046758415da6 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-25Skip the python3 vbmc patchDan Radez1-0/+5
- 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>
2017-08-25Merge "Updates and additions to handle aarch64"Dan Radez4-11/+28
2017-08-25Fixes issues with baremetalTim Rozet2-3/+3
Change-Id: I60470611a70261d57ccbfd0e499f4336c7a12fe1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-24Merge "Updates RPM specs and building"Tim Rozet7-28/+43
2017-08-24Updates and additions to handle aarch64Dan Radez4-11/+28
- 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>
2017-08-24Updates RPM specs and buildingTim Rozet7-28/+43
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>
2017-08-24Merge "Change destination of snmp mibs files from /usr/share/mibs/ietf to ↵Tim Rozet1-3/+3
/usr/share/snmp/mibs, and create symbolic link from ietf to snmp/mibs."
2017-08-23Merge "Migrates Apex to Python"Feng Pan81-3030/+3038
2017-08-23Migrates Apex to PythonTim Rozet81-3030/+3038
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>
2017-08-22Change destination of snmp mibs files fromjhinman11-3/+3
/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>
2017-08-22No change to apex, change is to apex-puppet-tripleojhinman11-0/+2
Bumps the step for barometer from 4 to 5. apex-puppet-tripleo: I486c4045e29c7032526be6e19d11e7979070c2d9 Change-Id: I263d687e90e747e3fdfb9690ca9209553a1a2890 Signed-off-by: jhinman1 <john.hinman@intel.com>
2017-08-21Bumps OVS version to 2.8 for OVNTim Rozet2-4/+4
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>
2017-08-17Small correction in docs.Taseer Ahmed1-1/+1
Change-Id: Iec9a401759de5953d4a8ca05c4f1c32b163343ba Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-08-15Merge "Fixes OpenDaylight version"Tim Rozet3-16/+22
2017-08-14Merge "Adds Doctor DS driver to Congress"Tim Rozet1-1/+2