apex.git
8 years agoMerge "Add library sourcing error check"
Tim Rozet [Fri, 3 Jun 2016 17:24:02 +0000 (17:24 +0000)]
Merge "Add library sourcing error check"

8 years agoMerge "Migrates network environment parsing to python"
Tim Rozet [Fri, 3 Jun 2016 04:04:56 +0000 (04:04 +0000)]
Merge "Migrates network environment parsing to python"

8 years agoMigrates network environment parsing to python 17/14917/7
Tim Rozet [Tue, 31 May 2016 21:40:11 +0000 (17:40 -0400)]
Migrates network environment parsing to python

Change-Id: Ibaf20a2960a9f4b5e3f256fbed12a61d7606a967
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdd library sourcing error check 55/14755/6
Feng Pan [Fri, 27 May 2016 00:23:24 +0000 (20:23 -0400)]
Add library sourcing error check

Change-Id: Ief7fd339fa2ca8661c8e157270aa9b0339d3b637
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoAttempts to fix sql race condition 95/15095/1
Tim Rozet [Thu, 2 Jun 2016 14:47:59 +0000 (10:47 -0400)]
Attempts to fix sql race condition

opnfv-tht-pr: 18

Change-Id: Ib00bc8f2167a4ecb03d7411b8c7b68f2a2cc3276
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Fixes interface cleanup issue between virtual and baremetal"
Tim Rozet [Wed, 1 Jun 2016 12:27:19 +0000 (12:27 +0000)]
Merge "Fixes interface cleanup issue between virtual and baremetal"

8 years agoMerge "Fixing some deploy options boolean case"
Dan Radez [Wed, 1 Jun 2016 12:11:11 +0000 (12:11 +0000)]
Merge "Fixing some deploy options boolean case"

8 years agoFixing some deploy options boolean case 03/14903/1
Dan Radez [Tue, 31 May 2016 19:29:20 +0000 (15:29 -0400)]
Fixing some deploy options boolean case

Change-Id: I98e4529b6631ed89912dc55c397993df3da10291
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "Fixing conditional for setting compute count"
Tim Rozet [Tue, 31 May 2016 18:15:08 +0000 (18:15 +0000)]
Merge "Fixing conditional for setting compute count"

8 years agoFixes interface cleanup issue between virtual and baremetal 83/14883/1
Tim Rozet [Tue, 31 May 2016 14:38:39 +0000 (10:38 -0400)]
Fixes interface cleanup issue between virtual and baremetal

JIRA: APEX-164

Change-Id: I41bf3869d068812005e2e01c03229b6b4d2628dc
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixing conditional for setting compute count 79/14879/2
Dan Radez [Tue, 31 May 2016 14:26:36 +0000 (10:26 -0400)]
Fixing conditional for setting compute count

- also removing no-ha option, python update
  to deploy settings do longer honor this param

Change-Id: I52b84c946b3d5d774a001a18230c591060041eb2
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoAdding release notes message for APEX-86 71/14871/1
Dan Radez [Tue, 31 May 2016 12:38:06 +0000 (08:38 -0400)]
Adding release notes message for APEX-86

Change-Id: I3815232db1337e2250f1699b5be8865093d4993d
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "adding control of number of virtual compute nodes"
Dan Radez [Tue, 31 May 2016 12:21:17 +0000 (12:21 +0000)]
Merge "adding control of number of virtual compute nodes"

8 years agoMerge "Adding python tests and updating for conventions"
Dan Radez [Tue, 31 May 2016 12:21:09 +0000 (12:21 +0000)]
Merge "Adding python tests and updating for conventions"

8 years agoMerge "Updates to CONFIG, RESOURCES and LIB"
Dan Radez [Tue, 31 May 2016 12:20:57 +0000 (12:20 +0000)]
Merge "Updates to CONFIG, RESOURCES and LIB"

8 years agoAdding python tests and updating for conventions 45/14445/19
Dan Radez [Fri, 20 May 2016 16:29:55 +0000 (12:29 -0400)]
Adding python tests and updating for conventions

- adding tests dir with a script to run python coverage
- adding main funtion to python per convention
- replacing underscores with dashes in CLI params per convention

Change-Id: I6f64174278e2a2e93eacdb7bee09aac49ce15d29
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoUpdates to CONFIG, RESOURCES and LIB 45/14745/5
Dan Radez [Thu, 26 May 2016 18:34:31 +0000 (14:34 -0400)]
Updates to CONFIG, RESOURCES and LIB

- removing the -r and -c parameters
- relying on ENV vars for non-system locations
- abstracting the apex-python-utils to a var

Change-Id: I7ff1ca8b741c890647aee029c57e8342f0b5cb07
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoFix PREFIX parsing of ifcfg file 95/14795/1
Feng Pan [Sat, 28 May 2016 00:53:01 +0000 (20:53 -0400)]
Fix PREFIX parsing of ifcfg file

Make sure we only get number portion of PREFIX in ifcfg file, this
avoids getting potentially the double quotes around the prefix.

JIRA: APEX-163

Change-Id: Ic251a3a92bf4d318bb41114e15911f5e51dd2cde
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoadding control of number of virtual compute nodes 33/14633/7
Dan Radez [Wed, 25 May 2016 00:26:03 +0000 (20:26 -0400)]
adding control of number of virtual compute nodes

JIRA: APEX-86

Change-Id: Iae2f34337479ad0a399eecc46459f5afea938d57
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "adding deploy dep check script"
Tim Rozet [Fri, 27 May 2016 15:08:57 +0000 (15:08 +0000)]
Merge "adding deploy dep check script"

8 years agoMerge "Fix deploy settings bash output"
Tim Rozet [Fri, 27 May 2016 14:53:10 +0000 (14:53 +0000)]
Merge "Fix deploy settings bash output"

8 years agoFix deploy settings bash output 61/14761/3
Feng Pan [Fri, 27 May 2016 02:39:30 +0000 (22:39 -0400)]
Fix deploy settings bash output

Change-Id: I61efdac14066d2a3d7c3e3ff7f93f0fa2af3a857
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoadding deploy dep check script 17/14317/9
Dan Radez [Wed, 18 May 2016 18:03:19 +0000 (14:03 -0400)]
adding deploy dep check script

the Apex RPMs don't get installed in our verify
so we need something to check that the deploy deps
are there when it's a fresh host

Change-Id: I917f557a3b181e0ef109771af67f5ef49263723b
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoFixes broken spec with nic templates 53/14753/2
Tim Rozet [Thu, 26 May 2016 22:33:21 +0000 (18:33 -0400)]
Fixes broken spec with nic templates

Change-Id: I764dced4aa8d0f2bb7ed992ae6b75a2b66b6efde
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Add sleep and retry to galera and mongodb service start"
Tim Rozet [Thu, 26 May 2016 19:51:42 +0000 (19:51 +0000)]
Merge "Add sleep and retry to galera and mongodb service start"

8 years agoMerge "Use linux bridge for virtual deployment"
Tim Rozet [Thu, 26 May 2016 19:45:50 +0000 (19:45 +0000)]
Merge "Use linux bridge for virtual deployment"

8 years agoFixes deploy lib in spec and bug with return codes 35/14735/1
Tim Rozet [Thu, 26 May 2016 15:44:52 +0000 (11:44 -0400)]
Fixes deploy lib in spec and bug with return codes

Change-Id: If646ce606f96d0bcd6681ada193d60e6b59f93ff
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Fixes nic template missing in spec and error catching"
Tim Rozet [Wed, 25 May 2016 21:06:36 +0000 (21:06 +0000)]
Merge "Fixes nic template missing in spec and error catching"

8 years agoFixes nic template missing in spec and error catching 17/14617/6
Tim Rozet [Tue, 24 May 2016 21:14:36 +0000 (17:14 -0400)]
Fixes nic template missing in spec and error catching

Issue where jinja 2 templates were missing from spec file.  Also adds
error checking to make sure the nic templates were correctly generated.
There was an error with dependencies missing on the build server - this
patch includes a fix to make sure it is installed before trying to make.

Change-Id: I7989ccf297a4e0d81326cccc06b2132018e7d8ae
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoUse linux bridge for virtual deployment 95/14495/3
Feng Pan [Mon, 23 May 2016 03:42:34 +0000 (23:42 -0400)]
Use linux bridge for virtual deployment

Changes virtual deployment to use linux bridge rather than OVS
bridge on jumphost. Also fixed an issue with network deletion
in cleaning code.

Change-Id: Ibcfa283c6bf32aafa2ee91b2ffd55355d7d6746e
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoAdds support for DNS and METRIC when bridging interfaces 15/14615/1
Tim Rozet [Tue, 24 May 2016 19:48:12 +0000 (15:48 -0400)]
Adds support for DNS and METRIC when bridging interfaces

JIRA: APEX-100
JIRA: APEX-155

Change-Id: I35f1831d59f08c26666a179db2854f9b7ea5d958
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Add pinning support"
Tim Rozet [Tue, 24 May 2016 15:41:51 +0000 (15:41 +0000)]
Merge "Add pinning support"

8 years agoMerge "Fixes spec file for contrail and nosdn-noha"
Tim Rozet [Tue, 24 May 2016 15:31:43 +0000 (15:31 +0000)]
Merge "Fixes spec file for contrail and nosdn-noha"

8 years agoMerge "brbm bridge creation failed during deployment"
Tim Rozet [Tue, 24 May 2016 14:24:23 +0000 (14:24 +0000)]
Merge "brbm bridge creation failed during deployment"

8 years agoAdd sleep and retry to galera and mongodb service start 57/14457/4
Feng Pan [Sun, 22 May 2016 15:29:15 +0000 (11:29 -0400)]
Add sleep and retry to galera and mongodb service start

opnfv-tht-pr: 15

Change-Id: I827f36941b240a2ce3f402584fa6e570e5b26474
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoFixes spec file for contrail and nosdn-noha 59/14459/4
Tim Rozet [Sun, 22 May 2016 18:36:46 +0000 (14:36 -0400)]
Fixes spec file for contrail and nosdn-noha

Change-Id: I985a0af9ed678f1fe4d7741af25a27df65d8c479
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdd pinning support 89/12589/15
Michael Chapman [Mon, 9 May 2016 07:38:54 +0000 (17:38 +1000)]
Add pinning support

Add support for CPU pinning of libvirt guests and also
restricting host processes to selected CPUs via isolcpus.

Hugepage support is added using the same mechanism as
isolcpus, along with a perf scenario where all 3 performance
options are enabled.

Deploy options are now parsed in python

JIRA: APEX-127
JIRA: APEX-105
JIRA: APEX-106

Change-Id: I438e80fb88e596cc017595d43bc1efda1001325c
opnfv-tht-pr: 8
Signed-off-by: Michael Chapman <woppin@gmail.com>
8 years agobrbm bridge creation failed during deployment 39/14439/3
Juha Haapavirta [Fri, 20 May 2016 13:52:43 +0000 (16:52 +0300)]
brbm bridge creation failed during deployment

brbm bridge is not created during deployment because of existing random
bridge containg text brbm in it.

JIRA: APEX-153

Change-Id: I48520c2865a4de0de849c5147337dafeeb5fb51f
Signed-off-by: Juha Haapavirta <juha.haapavirta@nokia.com>
8 years agoLimits engine workers for virtual deployments 23/14523/2
Tim Rozet [Mon, 23 May 2016 14:45:13 +0000 (10:45 -0400)]
Limits engine workers for virtual deployments

Heat uses sub-process forking for increasing number of workers to handle
tasks.  This patch limits number of workers in undercloud and overcloud
for virtual deployments to help battle resource contention.

Change-Id: I70edff708b7dcaf114b285046af3138a67167150
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Adds ODL DLUX GUI to L2/L3 deployments"
Dan Radez [Mon, 23 May 2016 13:50:24 +0000 (13:50 +0000)]
Merge "Adds ODL DLUX GUI to L2/L3 deployments"

8 years agoChange ONOS binary download to dropbox 71/14471/1
Feng Pan [Sun, 22 May 2016 19:30:19 +0000 (15:30 -0400)]
Change ONOS binary download to dropbox

Change-Id: Iaa246533b908327d0bac05f90aa6a1fc7a60c435
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoAdds ODL DLUX GUI to L2/L3 deployments 47/14447/2
Tim Rozet [Fri, 20 May 2016 20:04:07 +0000 (16:04 -0400)]
Adds ODL DLUX GUI to L2/L3 deployments

JIRA: APEX-114

opnfv-tht-pr: 14

Change-Id: I328058b9f4503ccf7ec0a8d587292504b93cd17f
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFix python3 dependency in spec file 99/14199/4
Feng Pan [Sun, 15 May 2016 03:32:16 +0000 (23:32 -0400)]
Fix python3 dependency in spec file

Change python compiler from system default (python 2) to explicit
python3 during RPM build for apex common rpm.

Change-Id: Ib979909c0987bceade9b65baabf2de0482aede46
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoMerge "Adds nosdn-noha scenario and fixes opencontrail scenario naming"
Dan Radez [Fri, 20 May 2016 20:25:18 +0000 (20:25 +0000)]
Merge "Adds nosdn-noha scenario and fixes opencontrail scenario naming"

8 years agoMerge "Fixes tenant network templates"
Dan Radez [Fri, 20 May 2016 19:05:36 +0000 (19:05 +0000)]
Merge "Fixes tenant network templates"

8 years agoAdds nosdn-noha scenario and fixes opencontrail scenario naming 89/14389/3
Tim Rozet [Thu, 19 May 2016 16:21:30 +0000 (12:21 -0400)]
Adds nosdn-noha scenario and fixes opencontrail scenario naming

Change-Id: I9a151a251811fa3460616fc93beee6b9b342b8b8
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Bumps Undercloud to 12GB"
Tim Rozet [Fri, 20 May 2016 18:19:08 +0000 (18:19 +0000)]
Merge "Bumps Undercloud to 12GB"

8 years agoFixes tenant network templates 43/14443/1
Tim Rozet [Fri, 20 May 2016 16:04:07 +0000 (12:04 -0400)]
Fixes tenant network templates

We only support vxlan tenant network types in OPNFV.  There is no need
to create a br-tenant.

Change-Id: Ib84cde7207375ea033518dce99309620f575cb69
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoBumps Undercloud to 12GB 97/14397/1
Tim Rozet [Thu, 19 May 2016 20:18:29 +0000 (16:18 -0400)]
Bumps Undercloud to 12GB

Testing this to see if it improves stability of deploys

Change-Id: I1bd2539e87230c080e2e652a1d74681d95a293fe
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoDisables OpenStack services not used in OPNFV 67/14267/2
Tim Rozet [Tue, 17 May 2016 20:00:07 +0000 (16:00 -0400)]
Disables OpenStack services not used in OPNFV

Disables:
 - swift
 - tripleO ring builder
 - Sahara

opnfv-tht-pr: 13

Change-Id: I50c3338f0b071787c277390b39d86a4e42d30a46
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Allows for specifying CPUs and RAM for VMs in virtual deployments"
Tim Rozet [Thu, 19 May 2016 18:36:00 +0000 (18:36 +0000)]
Merge "Allows for specifying CPUs and RAM for VMs in virtual deployments"

8 years agoAllows for specifying CPUs and RAM for VMs in virtual deployments 89/13689/5
Tim Rozet [Thu, 5 May 2016 19:18:04 +0000 (15:18 -0400)]
Allows for specifying CPUs and RAM for VMs in virtual deployments

Changes Include:
 - All VMs (undercloud and overcloud) now default to 4 vCPUs
 - Allow specifying number of vCPUs per overcloud VM with --virtual-cpus <number>
 - Allow specifying amount of RAM per overcloud VM with --virtual-ram <size in GB>
 - Undercloud now uses 10GiB of RAM to avoid OOM

JIRA: APEX-111

Change-Id: I541c669b869a90134bc8af25786fe3b1a557376b
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes path for utility library 51/14251/1
Tim Rozet [Tue, 17 May 2016 14:47:54 +0000 (10:47 -0400)]
Fixes path for utility library

Change-Id: I561c636ac8f0cde9a23a3a74906bd88662f6dd59
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoChange NIC template format 53/13753/1
Feng Pan [Sat, 7 May 2016 20:04:00 +0000 (16:04 -0400)]
Change NIC template format

Convert compute and controller NIC templates to jinja2 format.
Added support for IPv6 for those NIC templates. Existing IPv4
template generation behavior does not change.

The .template files are kept in tree for now, they will be
removed after VLAN changes are made.

Change-Id: I2ffc7c403af3659db780ece2bd9195cd62748f0c
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoMerge "Rebasing opnfv-tht Colorado with ODL patches"
Dan Radez [Fri, 6 May 2016 12:45:47 +0000 (12:45 +0000)]
Merge "Rebasing opnfv-tht Colorado with ODL patches"

8 years agoAdd python parsing library for network settings file. 89/12689/2
Feng Pan [Fri, 22 Apr 2016 22:49:07 +0000 (18:49 -0400)]
Add python parsing library for network settings file.

Changes:
   - Implements network_settings.yaml file parsing in python.
   - Adds support for both IPv4 and IPv6 in network_settings.yaml
   - Adds support for api_network in network_settings.yaml
   - Removes bash library functions for network related functions.
   - Adds dependency to python34-yaml for apex-common package.

Note that support for ipv6 and api_network is not complete yet.
Proper configuriration of network environment and nic template
files will be added later.

Change-Id: I087f725dabedfef109c9de1f58ce2611da647e87
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoRebasing opnfv-tht Colorado with ODL patches 73/13473/1
Tim Rozet [Fri, 29 Apr 2016 21:16:39 +0000 (17:16 -0400)]
Rebasing opnfv-tht Colorado with ODL patches

Purpose of this commit is to test opnfv-tht changes are not breaking
nosdn deployment.

opnfv-tht-pr: 10

Change-Id: I85da61a9591999d1249d55700241d71256019a81
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoStandarizing CONFIG and RESOURCES 09/13409/1
Dan Radez [Thu, 28 Apr 2016 22:24:42 +0000 (18:24 -0400)]
Standarizing CONFIG and RESOURCES

- first stage in standarizing how custom config
  values are passed in by moving
  to using ENV vars to pass in custom params

- next stage is to remove the -r and -c
  options in deploy.sh

Moving this direction will reduce managment of
custom parameters and rely on ENV vars to make
the customizations for development

Change-Id: Ibbc171d5e6801b27c1b62ca65c2a9f7830483b97
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "Added nokia-pod1 inventory file"
Dan Radez [Fri, 22 Apr 2016 16:21:37 +0000 (16:21 +0000)]
Merge "Added nokia-pod1 inventory file"

8 years agoChange storage refresh to pool-refresh 73/12373/3
Feng Pan [Fri, 15 Apr 2016 22:50:21 +0000 (18:50 -0400)]
Change storage refresh to pool-refresh

Using pool-refresh should be sufficient to clean up storage pool.

Change-Id: I10a58340c4c24b429a2d46d8c9f5a469fd4e18f2
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoMerge "updating ONOS build"
Tim Rozet [Fri, 22 Apr 2016 01:16:27 +0000 (01:16 +0000)]
Merge "updating ONOS build"

8 years agoAdds python IP utility library 69/12369/7
Feng Pan [Fri, 15 Apr 2016 15:43:34 +0000 (11:43 -0400)]
Adds python IP utility library

Changes include:
 - IP utility library in python 3 that supports both IPv4 and IPv6
   address generation. This library currently includes a single
   function of generating IP ranges or single IP for a given CIDR.
   More functionality will be added at a later time to support
   features such as IP address calculation.
 - Updated common-function.sh to use python library to generate IP
   ranges. All existing bash functions are preserved, so any
   callers will get identical IP ranges as before.
 - Add dependency to python3 for opnfv-apex-common package.
 - Add python dependency to build.sh

No change is made to interface related functions.

Change-Id: Idc6998754f9f3c7a3868ec5b5768f3bb5f78cd90
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoAdded nokia-pod1 inventory file 23/12523/1
vitikkan [Thu, 21 Apr 2016 04:59:12 +0000 (07:59 +0300)]
Added nokia-pod1 inventory file

Change-Id: I724023f9d45b306dd6bf9768a9546481358fdeb9
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoupdating ONOS build 61/12361/3
Dan Radez [Fri, 15 Apr 2016 16:11:43 +0000 (12:11 -0400)]
updating ONOS build

- the ONOS build required the stable-images dir
- also removing other stable-images references

Change-Id: Ib51e4278ac80d7900064469f6d3c3a3532296270
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoAdding missing RPM change log for utility content 49/12449/2
Dan Radez [Tue, 19 Apr 2016 17:15:47 +0000 (13:15 -0400)]
Adding missing RPM change log for utility content

Change-Id: Icf076eced87e24df5ac91d1a0a4ddd466ae66697
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoDeploy ceph OSDs on the compute nodes too 51/10951/8
Dan Radez [Thu, 3 Mar 2016 23:06:16 +0000 (18:06 -0500)]
Deploy ceph OSDs on the compute nodes too

 - Also fixing the github PR json parsing

opnfv-tht-pr: 7

JIRA: APEX-89

Change-Id: I5c27209ed006309285bd24d77cc2392513325116
Signed-off-by: Dan Radez <dradez@redhat.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Deploy was missing sourcing the utility lib"
Tim Rozet [Wed, 20 Apr 2016 12:17:57 +0000 (12:17 +0000)]
Merge "Deploy was missing sourcing the utility lib"

8 years agoFixes inventory file reference 05/12305/1
Tim Rozet [Thu, 14 Apr 2016 20:37:02 +0000 (16:37 -0400)]
Fixes inventory file reference

Change-Id: I2cd5a739a48d2f0e0fdc3b2103d3ea5e4987d6da
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoDeploy was missing sourcing the utility lib 01/12301/1
Tim Rozet [Thu, 14 Apr 2016 17:22:27 +0000 (13:22 -0400)]
Deploy was missing sourcing the utility lib

JIRA: APEX-75

Change-Id: Iec4abc319db98c32b94a0603811401fd7f9a59db
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoForcing a libvirtd restart on clean 05/12205/1
Dan Radez [Tue, 12 Apr 2016 20:27:23 +0000 (16:27 -0400)]
Forcing a libvirtd restart on clean

- ensures the storage vols are cleaned up properly

Change-Id: I55c0dbcbbc884658b9e37e34aa85d00e29e99b57
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoAdds Utility functions and failure logging 63/12163/2
Tim Rozet [Mon, 11 Apr 2016 18:22:27 +0000 (14:22 -0400)]
Adds Utility functions and failure logging

Patch adds helpful utility functions and automatic parsing of heat
output into a readable format indicating where a failure is in a
deployment.  Example: http://fpaste.org/354210/

New opnfv-util function allows a user to interact with a deployment
easily:
 - opnfv-util undercloud <user> connects user to undercloud VM
 - opnfv-util debug-stack parses the heat failure output

Above arguments also accept partial matches.

JIRA: APEX-75

Change-Id: I5ccfee64ee2958de0d00a3b25cd9b29de60c9e20
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdding dependencies to apex-common.spec 85/12185/3
Dan Radez [Tue, 12 Apr 2016 12:36:31 +0000 (08:36 -0400)]
Adding dependencies to apex-common.spec

- initscripts net-tools iputils iproute iptables
  these are the packages that include the networking
  tools we use to configure the jump host

JIRA: APEX-137

Change-Id: Icf2d2c2a80a4abb8642cb3e38d18a054a9f01a96
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agofixing PR_NUMBER evaluation when there is no opnfv-tht-pr in the commit message 91/12191/1
Dan Radez [Tue, 12 Apr 2016 14:51:52 +0000 (10:51 -0400)]
fixing PR_NUMBER evaluation when there is no opnfv-tht-pr in the commit message

Change-Id: I5abd9efe48a665f7a65201ec20805cd1a4001763
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoGet tht from github instead of rpm 23/11923/8
Michael Chapman [Tue, 5 Apr 2016 19:40:15 +0000 (05:40 +1000)]
Get tht from github instead of rpm

Use apex fork of tht instead of relying on rpms. Can get specific
pull requests instead of default branch if specified in the commit
message using the syntax:

opnfv-tht-pr: [pull-request-number]

Change-Id: Ib4c8edd1a94258406d06dd7e80b4ae4ec8ca6c53
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Updates to the iso build"
Tim Rozet [Fri, 8 Apr 2016 18:59:30 +0000 (18:59 +0000)]
Merge "Updates to the iso build"

8 years agoMerge "Documentation updates for Colorado"
Tim Rozet [Fri, 8 Apr 2016 18:56:27 +0000 (18:56 +0000)]
Merge "Documentation updates for Colorado"

8 years agoDocumentation updates for Colorado 63/11963/4
Dan Radez [Wed, 6 Apr 2016 19:53:12 +0000 (15:53 -0400)]
Documentation updates for Colorado

Change-Id: I21ada65b9da5da2c78750b018344cae834bd7ce4
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoUpdates to the iso build 61/11961/4
Dan Radez [Wed, 6 Apr 2016 18:48:18 +0000 (14:48 -0400)]
Updates to the iso build

- refreshing to the Cent 7 1511 version of comps.xml
- adding a graphical desktop install option
- refreshing to the Cent 7 1511 version of isolinux.cfg
- adding package depedencies for Mitaka ISO install

JIRA: APEX-104

Change-Id: I73413270d2da656a4421f78a93504b611d300206
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "Fixes controller Image to be overcloud-full"
Dan Radez [Fri, 8 Apr 2016 00:44:18 +0000 (00:44 +0000)]
Merge "Fixes controller Image to be overcloud-full"

8 years agoFixes controller Image to be overcloud-full 07/12007/4
Tim Rozet [Thu, 7 Apr 2016 15:52:01 +0000 (11:52 -0400)]
Fixes controller Image to be overcloud-full

New param introduced into THT that exposes the image to use for the
Controller.  The new var is defaulted to use overcloud-control and is
causing master to fail.

Changes Include:
 - Adds opnfv-environment yaml file to use for common parameters
   required in all deployments
 - Defaults controllerImage to be overcloud-full

Change-Id: I5da8921d9c9efd167748a3d6f42866d18f46d2b7
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixing how we get the RPM version from the spec file 03/12003/1
Dan Radez [Thu, 7 Apr 2016 14:32:36 +0000 (10:32 -0400)]
Fixing how we get the RPM version from the spec file

Change-Id: Ib7c1ccc1d82f6f6ef11f553d3f56cd3da35dc3b1
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "Makefile & build.sh updates for RPM Building"
Tim Rozet [Wed, 6 Apr 2016 15:26:42 +0000 (15:26 +0000)]
Merge "Makefile & build.sh updates for RPM Building"

8 years agoMakefile & build.sh updates for RPM Building 19/11919/6
Dan Radez [Tue, 5 Apr 2016 18:22:05 +0000 (14:22 -0400)]
Makefile & build.sh updates for RPM Building

- fix the undercloud dependancy chain so the tarball gets rolled now
- adding rpm-check jobs for each of the rpms, this runs the build but doesn't spit out the rpm file
- added conditionals for rpm-check commands, only take the time to run them if the Makefile or specs have changed

Change-Id: I9731b278d06d92deb3f69066ba4468e64647582d
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoUpdating versioning for Colorado 69/11869/1
Dan Radez [Mon, 4 Apr 2016 18:49:59 +0000 (14:49 -0400)]
Updating versioning for Colorado

Change-Id: I67416076f91e18d651e4da2fa5a7883d8ed058b3
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMigrating to Mitaka 07/11707/16
Dan Radez [Tue, 8 Mar 2016 21:19:04 +0000 (16:19 -0500)]
Migrating to Mitaka

- Only support for NOSDN for this patch
- Other SDN controllers will not be tested for this patch
- AODH is now upstream and not needed to be carried in Apex
- puppet-cinder-quota-fix.patch is now upstream and not needed to be carried in Apex
- puppet-neutron-force-metadata.patch is now upstream and not needed to be carried in Apex
- removing the catalog of nic files and creating a templatization for them

JIRA: APEX-108
JIRA: APEX-93
JIRA: APEX-92

Change-Id: Ic1a24baec7ef295e9dc1b8b72ac36ca5b05578ea
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoSyntax updates to OOO network isolation file 81/11681/1
Dan Radez [Tue, 29 Mar 2016 19:15:44 +0000 (15:15 -0400)]
Syntax updates to OOO network isolation file

- storage mgmt and storage were being update by the storage sed commands
- ext net had a double Ports:: in the line

Change-Id: I95cfdbced1e817e6e69805708b6b4e504abd8c43
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoMerge "Renaming Instack to Undercloud"
Tim Rozet [Mon, 28 Mar 2016 14:51:30 +0000 (14:51 +0000)]
Merge "Renaming Instack to Undercloud"

8 years agoMerge "Fixes occasional VM stoage deleltion failure"
Dan Radez [Fri, 25 Mar 2016 01:47:56 +0000 (01:47 +0000)]
Merge "Fixes occasional VM stoage deleltion failure"

8 years agoRenaming Instack to Undercloud 55/11555/4
Dan Radez [Wed, 23 Mar 2016 18:31:09 +0000 (14:31 -0400)]
Renaming Instack to Undercloud

This commit is not backwards compatible with cleaning.
VMs named Instack will need to be manually removed.

Change-Id: I6829119e43a0a572da07e6d9757c5208c7fe91d4

8 years agoMerge "Adds L3 agent for no-sdn no-ha scenario"
Tim Rozet [Thu, 24 Mar 2016 20:01:49 +0000 (20:01 +0000)]
Merge "Adds L3 agent for no-sdn no-ha scenario"

8 years agoFixes occasional VM stoage deleltion failure 97/11597/1
Feng Pan [Thu, 24 Mar 2016 19:41:12 +0000 (15:41 -0400)]
Fixes occasional VM stoage deleltion failure

Removes --remove-all-storage option in ci/clean.sh

JIRA: APEX-121

Change-Id: Ia8063112333d12d09cfb16dd1a02e14551dae7d7
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoupdating to OpenDaylight Beryllium SR1 79/11579/2
Dan Radez [Thu, 24 Mar 2016 13:27:05 +0000 (09:27 -0400)]
updating to OpenDaylight Beryllium SR1

Change-Id: Idaf267854b6629a38c458b3c4c1c14af37b7d57c

8 years agoAdds L3 agent for no-sdn no-ha scenario 13/11513/2
Feng Pan [Tue, 22 Mar 2016 16:34:43 +0000 (12:34 -0400)]
Adds L3 agent for no-sdn no-ha scenario

JIRA: APEX-110

Change-Id: Ifbca9328f7ee502232b51b8641eb0c5dc90a487b
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoMerge topics 'compute_count_fix', 'build_rewrite'
Michael Chapman [Thu, 24 Mar 2016 01:09:02 +0000 (01:09 +0000)]
Merge topics 'compute_count_fix', 'build_rewrite'

* changes:
  Allow 2+ compute node for none HA installs APEX-117
  updating vm creation for virt deployment

8 years agoAllow 2+ compute node for none HA installs APEX-117 23/11523/3
randyl [Tue, 22 Mar 2016 22:02:04 +0000 (16:02 -0600)]
Allow 2+ compute node for none HA installs APEX-117

Changed the number of compute nodes to no longer be
hard coded to 1 and now calculate to be total_nodes -1
for non-HA deployments.

Rebased to new build.

Change-Id: I8dc135876a8b436714806b79d4193d225761534d
Signed-off-by: randyl <r.levensalor@cablelabs.com>
8 years agoupdating vm creation for virt deployment 49/10549/38
Dan Radez [Mon, 4 Jan 2016 20:49:26 +0000 (15:49 -0500)]
updating vm creation for virt deployment

- replacing brbm with logical names br-netname
- replacing instack-virt-setup with tripleo scripts

JIRA: APEX-90, APEX-80

Change-Id: I58a15dee8de882e034c8af8a3368ca0647741b13
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoFixed minor warnings in .rst files 07/11507/1
randyl [Tue, 22 Mar 2016 17:53:17 +0000 (11:53 -0600)]
Fixed minor warnings in .rst files

Some of the titles in LICENSE.rst and baremetal.rst
had extra underline characters.  These should match
the length of the line above.

Very minor and low priorty changes, but we should fix
any of the warnings that we can.

Change-Id: Idaa7c8272ef034b5000360c7720d99a89357d0b6
Signed-off-by: randyl <r.levensalor@cablelabs.com>
8 years agoCorrected a couple of errors in the installation instructions 53/11053/1
Viktor Tikkanen [Wed, 9 Mar 2016 11:29:47 +0000 (13:29 +0200)]
Corrected a couple of errors in the installation instructions

Change-Id: I52889fd3a29b03e46fcb84c60feb7d3b67fe44c7
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoAdds OpenDaylight HA (OVSDB Clustering) 43/10943/9
Tim Rozet [Wed, 2 Mar 2016 18:05:17 +0000 (13:05 -0500)]
Adds OpenDaylight HA (OVSDB Clustering)

OVSDB Clustering changes include:
 - Modifications to create an OpenDaylight
   VIP for communication between Neutron SB <-> ODL NB.
 - OpenDaylight configured in HA mode in THT via puppet-opendaylight
 - OVS instances configured with managers pointing to all 3 ODL
   instances for HA mode
 - Build now points to latest Beryllium release
 - Modified puppet-neutron in build to pull latest stable/liberty

JIRA: APEX-107

Change-Id: Iab510db922dfcd2fbd4962b9751cd2f7e5724f44
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAMT Power Management fixes 05/10905/1
Dan Radez [Mon, 29 Feb 2016 20:42:31 +0000 (15:42 -0500)]
AMT Power Management fixes

- Teal Box uses AMT power management, this fixes the support for the AMT power Management so the Ironic AMT driver can
be used.

Change-Id: If7c3c89cf6063c18a97524ade387e4ae841f6c80
Signed-off-by: Dan Radez <dradez@redhat.com>