apex.git
8 years agoFixes ONOS external network 27/7927/1
Tim Rozet [Mon, 25 Jan 2016 18:27:46 +0000 (13:27 -0500)]
Fixes ONOS external network

ONOS public network needs to not have IPs on the compute nodes' public
interface.

JIRA: APEX-64

Change-Id: I0d4d97b1b7dcaa39395940da03ae6b19f1dd9eb0
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "fixes to initial sfc code" brahmaputra.1.rc1
Tim Rozet [Sat, 23 Jan 2016 03:53:50 +0000 (03:53 +0000)]
Merge "fixes to initial sfc code"

8 years agoMerge "Adds licenses and fixes ODL L3"
Dan Radez [Sat, 23 Jan 2016 03:37:43 +0000 (03:37 +0000)]
Merge "Adds licenses and fixes ODL L3"

8 years agofixes to initial sfc code 07/7807/1
Dan Radez [Sat, 23 Jan 2016 00:05:19 +0000 (19:05 -0500)]
fixes to initial sfc code

- xfs grow bug workaround
- using 3.0.0 tag of puppet-opendaylight
- update installation procedure for OVS-NSH

    JIRA: APEX-46
    JIRA: APEX-48

Change-Id: I2a8cf5430a325c03a75b27fd05a011aa82f6c755

8 years agoAdds licenses and fixes ODL L3 83/7783/1
Tim Rozet [Fri, 22 Jan 2016 21:21:08 +0000 (16:21 -0500)]
Adds licenses and fixes ODL L3

JIRA: APEX-62

Change-Id: Ide34d9971cd6ac987b5994f5e23b4cfa58f92b29
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoadding nf_conntrack_proto_sctp to modules-load 35/7735/1
Dan Radez [Fri, 22 Jan 2016 00:42:29 +0000 (19:42 -0500)]
adding nf_conntrack_proto_sctp to modules-load

JIRA: APEX-63

Change-Id: I4155111eb2c19d74e0f265ccac25756f35bb41a0

8 years agoMerge "adding SFC overcloud image"
Tim Rozet [Fri, 22 Jan 2016 08:25:33 +0000 (08:25 +0000)]
Merge "adding SFC overcloud image"

8 years agoadding SFC overcloud image 97/7497/5
Dan Radez [Wed, 20 Jan 2016 19:43:15 +0000 (14:43 -0500)]
adding SFC overcloud image

JIRA: APEX-46
JIRA: APEX-48

Change-Id: Ic2a0d9035429c5887d10f60febacff63dd2eeb5e

8 years agoFixes enabling L3 ODL incorrectly 71/7671/1
Tim Rozet [Thu, 21 Jan 2016 21:30:50 +0000 (16:30 -0500)]
Fixes enabling L3 ODL incorrectly

Param was set to true when it should have been 'yes'

JIRA: APEX-62

Change-Id: I9f9ca3461f3730e5fcf470249e872f71ae3ba938
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAodh 55/7455/7
Michael Chapman [Wed, 20 Jan 2016 05:54:52 +0000 (00:54 -0500)]
Aodh

Add support for Aodh. Current packaged module is out of date
and the module is very young, so it is pulled from git on liberty branch.

Change-Id: Iff72c8b63970021e212bb9d78f9a805d108f0bcf

8 years agoFixes cinder quota failures by using correct keystone auth 95/7495/1
Tim Rozet [Wed, 20 Jan 2016 19:10:33 +0000 (14:10 -0500)]
Fixes cinder quota failures by using correct keystone auth

JIRA: APEX-59

Change-Id: I0eca415c30cc3fa2377bed3dfc640cc71da3dae7
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Restructured the installation-instruction file into indexed sub files"
Tim Rozet [Wed, 20 Jan 2016 16:46:18 +0000 (16:46 +0000)]
Merge "Restructured the installation-instruction file into indexed sub files"

8 years agoRestructured the installation-instruction file into indexed sub files 73/7473/1
ChristopherPrice [Tue, 12 Jan 2016 02:01:18 +0000 (03:01 +0100)]
Restructured the installation-instruction file into indexed sub files

Take-two of this patch,
originally merged: f479b77c4f7c0d11196e3902bb7e60ff8e34a1fe
reverted: bffb8e0e27f21934a4bbb1138427f2adda6c583d

Created a section based structure for the installation-instruction.
It should show on the html artifact as a structured web page.  We may want to move
some sections to other directories to incorporate them into the release configguide.
Left that for step 2...

Now includes updates to the rpm spec so as not to break the build.

Change-Id: I7c0d46467de668883fcd29ae7deaa20151bacdb2
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoFixes external br-ex mapping for L3 agent 51/7351/3
Tim Rozet [Tue, 19 Jan 2016 23:10:24 +0000 (18:10 -0500)]
Fixes external br-ex mapping for L3 agent

We were accidentally setting the external default bridge to "" in
l3_agent.ini.  This was causing external router interfaces to be placed
on br-int instead of br-ex.  Note: this behavior changes in Mitaka

JIRA: APEX-61

Change-Id: Icbb2ba433a012d0e8771b7d82dec64464e526c7a
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Revert "Restructured the installation-instruction file into indexed sub files""
Tim Rozet [Wed, 20 Jan 2016 01:11:43 +0000 (01:11 +0000)]
Merge "Revert "Restructured the installation-instruction file into indexed sub files""

8 years agoRevert "Restructured the installation-instruction file into indexed sub files" 59/7359/1
Tim Rozet [Wed, 20 Jan 2016 01:09:31 +0000 (01:09 +0000)]
Revert "Restructured the installation-instruction file into indexed sub files"

This reverts commit f479b77c4f7c0d11196e3902bb7e60ff8e34a1fe.

Change-Id: I02b0d6e9f802765fe5a773547b8c43a10b260755

8 years agoMerge "Fixes ODL L3 so that it now deploys correctly"
Dan Radez [Tue, 19 Jan 2016 14:38:20 +0000 (14:38 +0000)]
Merge "Fixes ODL L3 so that it now deploys correctly"

8 years agoMerge "Restructured the installation-instruction file into indexed sub files"
Dan Radez [Tue, 19 Jan 2016 14:36:31 +0000 (14:36 +0000)]
Merge "Restructured the installation-instruction file into indexed sub files"

8 years agoFixes ODL L3 so that it now deploys correctly 09/7209/1
Tim Rozet [Tue, 19 Jan 2016 05:20:34 +0000 (00:20 -0500)]
Fixes ODL L3 so that it now deploys correctly

Fixes:
 - opendaylight was not being installed on controllers due to missing
   param
 - controller nics were not being found due to using computes extension
   of br-ex for ODL L3 (controllers have br-ex by default)

Change-Id: Ic1b6d57fe162194030607856120a742dbed1e9e2
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdds ODL L3 and external network support on compute nodes 95/6995/6
Tim Rozet [Sun, 17 Jan 2016 03:50:36 +0000 (22:50 -0500)]
Adds ODL L3 and external network support on compute nodes

Adds support for ODL L3 which uses DVR (distributed virtual routing).
Due to DVR compute nodes must have br-ex.  In addition, neutron must
force metadata via dhcp agent, since there is no neutron L3 agent
running.  ODL L3 runs as custom plugin to neutron.

Also adds support for configuring IP on public NIC now by default.  This
is needed for ONOS deployment, and access via public interface.

Change-Id: I5df0e49bd903efacf8c87486da27576b01ce5779
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoadd step to execute gw_mac_update.sh after apex deployed 57/6657/6
bob [Thu, 14 Jan 2016 09:42:49 +0000 (17:42 +0800)]
add step to execute gw_mac_update.sh after apex deployed

Change-Id: I47c316e26ff8e597c781562645397335e8c5bd70
Signed-off-by: bob zhou <bob.zh@huawei.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agobug fix of onos deployment failed 53/6953/1
bob_zhou [Sat, 16 Jan 2016 08:31:01 +0000 (16:31 +0800)]
bug fix of onos deployment failed
change folder name of onos puppet to fix file not found error.

Change-Id: I6cdee189e43c66ec8a49bbf736a6c28763638880
Signed-off-by: bob_zhou <bob.zh@huawei.com>
8 years agoRestructured the installation-instruction file into indexed sub files 43/6243/2
ChristopherPrice [Tue, 12 Jan 2016 02:01:18 +0000 (03:01 +0100)]
Restructured the installation-instruction file into indexed sub files

Created a section based structure for the installation-instruction.
It should show on the html artifact as a structured web page.  We may want to move
some sections to other directories to incorporate them into the release configguide.
Left that for step 2...

Change-Id: I4e2b4f398cbb0f4203166af68520ce4ecd82a328
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoMerge "Adds scenario deploy settings files"
Dan Radez [Fri, 15 Jan 2016 18:58:36 +0000 (18:58 +0000)]
Merge "Adds scenario deploy settings files"

8 years agoAdds scenario deploy settings files 87/6887/1
Tim Rozet [Fri, 15 Jan 2016 15:55:47 +0000 (10:55 -0500)]
Adds scenario deploy settings files

Changes include:
 - Scenarios for opencontrail, onos, sfc, odl l2/l3
 - Minor fix to error print statement
 - Post Config is now disabled when using --flat

Change-Id: I5f3686dda4c4a573b1777916669053593852676a
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agofix onos package bug 95/6095/2
bob [Mon, 11 Jan 2016 08:15:02 +0000 (16:15 +0800)]
fix onos package bug

Change-Id: I5994159ec3c48ed1bf66a5d90efd1d3c0800cc0e
Signed-off-by: bob zhou <bob.zh@huawei.com>
8 years agosplitting rpm into multiple rpms 27/6227/6
Dan Radez [Mon, 11 Jan 2016 20:07:04 +0000 (15:07 -0500)]
splitting rpm into multiple rpms

- code in the common rpm
- instack in the instack rpm
- undercloud in an rpm that will be named per sdn in the future

Change-Id: I969277daf87f67da6934cad7268c96efda6960c7

8 years agoversion cleanup and increment for Bramaputra Release 91/6591/3
Dan Radez [Wed, 13 Jan 2016 19:30:35 +0000 (14:30 -0500)]
version cleanup and increment for Bramaputra Release

Change-Id: I2df7f498aad507e155ce6a4ba1cf20b75d0e67b9

8 years agoMerge "Deploy failed due to .ssh already existing" brahmaputra.1.rc0
Dan Radez [Thu, 14 Jan 2016 15:43:11 +0000 (15:43 +0000)]
Merge "Deploy failed due to .ssh already existing"

8 years agoDeploy failed due to .ssh already existing 29/6629/1
Michael Chapman [Thu, 14 Jan 2016 05:52:15 +0000 (16:52 +1100)]
Deploy failed due to .ssh already existing

In a local test, I observed virt-customize failing during ssh
key injection

Injecting ssh key to instack VM
[   0.0] Examining the guest ...
[  48.0] Setting a random seed
[  48.0] Running: mkdir /root/.ssh/
mkdir: cannot create directory '/root/.ssh/': File exists
virt-customize: mkdir /root/.ssh/: command exited with an error

Adding -p should prevent this from happening.

Change-Id: If8f085cba3083ccf3d5e8f648a9830f142ea53d9

8 years agoFixes attaching networks for baremetal only to admin/public 09/6609/2
Tim Rozet [Wed, 13 Jan 2016 21:40:03 +0000 (16:40 -0500)]
Fixes attaching networks for baremetal only to admin/public

We should only bridge to admin/public for baremetal deployments.  There
is no reason for us to bridge to the private or storage networks on
instack for deployment.

Also fixes OpenDaylight to Lithium 3.3

Change-Id: I2eb8f83ddbcb69d3219e7927025b46dcb9550ba9
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoquick fixes to deploy and clean 67/6567/3
Dan Radez [Wed, 13 Jan 2016 16:43:52 +0000 (11:43 -0500)]
quick fixes to deploy and clean

- adding a missing exit 1 in the deploy script
- setting link up on hypervisor bridges
- redirecting error from cleanup commands so they're not so chatty

Change-Id: I844c35effb2817948ea096b07a34d83678803e00

8 years agoMerge "Enables private and storage networks"
Dan Radez [Wed, 13 Jan 2016 12:59:55 +0000 (12:59 +0000)]
Merge "Enables private and storage networks"

8 years agoEnables private and storage networks 37/6237/6
Tim Rozet [Mon, 11 Jan 2016 20:52:48 +0000 (15:52 -0500)]
Enables private and storage networks

Fixes issues with common-functions:
 - ipcalc in epel is old and does not support HOSTMIN,HOSTMAX.  Now
   BROADCAST and NETWORK values used to find first and last IP in
   subnet.
 - fixes to auto-generation where values conflicted for IP ranges
 - provisioner_ip now generated correctly

Change-Id: I03c7f841d2e1edb1a50041f53970318b6a718cd9
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoFixes neutron net creation for post config 33/6433/1
Tim Rozet [Tue, 12 Jan 2016 20:56:53 +0000 (15:56 -0500)]
Fixes neutron net creation for post config

Neutron external net should be creatd on overcloud

Change-Id: I2c845e9af40d5dbe0106e542e24b9ef1b6169e31
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "adding doc for new settings files"
Tim Rozet [Tue, 12 Jan 2016 20:51:20 +0000 (20:51 +0000)]
Merge "adding doc for new settings files"

8 years agoadding doc for new settings files 17/6217/5
Dan Radez [Mon, 11 Jan 2016 17:37:29 +0000 (12:37 -0500)]
adding doc for new settings files

Change-Id: I309ef5be4bff48ed1960512daba025d9872c9a49

8 years agoAdds post install configuration 15/6415/1
Tim Rozet [Tue, 12 Jan 2016 17:40:44 +0000 (12:40 -0500)]
Adds post install configuration

Changes include:
 - Neutron external network now configured post deployment
 - IP addresses assigned to admin and public OVS bridges if missing

Change-Id: I7a3e8822b43640578db809c3f4d55f399383c1f1
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "dumping deploy command into a file to save it for redeployment"
Tim Rozet [Tue, 12 Jan 2016 16:32:46 +0000 (16:32 +0000)]
Merge "dumping deploy command into a file to save it for redeployment"

8 years agoenabling ceph 21/5521/11
Dan Radez [Mon, 14 Dec 2015 19:42:51 +0000 (14:42 -0500)]
enabling ceph

Change-Id: I2dc1bf7ffebb6a83face87a62a81cfb15f9a0689

8 years agodumping deploy command into a file to save it for redeployment 09/5509/2
Dan Radez [Tue, 15 Dec 2015 18:38:48 +0000 (13:38 -0500)]
dumping deploy command into a file to save it for redeployment

Change-Id: I482e84bbe3f21f425e6bce74fdfa16f71bf12654

8 years agoFixes attach/detach functions and minor netenv fix 27/6027/2
Tim Rozet [Sun, 10 Jan 2016 02:12:22 +0000 (21:12 -0500)]
Fixes attach/detach functions and minor netenv fix

Tested manually and verified on LF pod1

Change-Id: I882ad9beef003a795585ffb8542aa11aecb67949
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Fixes attaching instack interfaces to host"
Tim Rozet [Sat, 9 Jan 2016 18:26:50 +0000 (18:26 +0000)]
Merge "Fixes attaching instack interfaces to host"

8 years agoFixes attaching instack interfaces to host 71/5971/2
Tim Rozet [Fri, 8 Jan 2016 22:06:02 +0000 (17:06 -0500)]
Fixes attaching instack interfaces to host

This applies only to baremetal deployments.  Interfaces from admin and
public networks are attached from the host to the OVS bridges brbm and
brbm2 for external connectivity.

Change-Id: If3f5b33eab267e05ee9094396daa40f37e69319a
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoAdds onos support 37/5337/9
bobzh [Mon, 28 Dec 2015 12:17:55 +0000 (20:17 +0800)]
Adds onos support

Changes include:
 - ONOS artifacts are cached on build server until moved to OPNFV artifacts
 - tht patch is now unified to single opnfv patch, based on upstream
   commit 0f41e0d0309c7bc061dbaed6a8c1e38cb4bdfe19

Change-Id: Iea3d14773dded6c9709c08ef1beb47b254582860
Signed-off-by: bob zhou <bob.zh@huawei.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "add 'sudo' for 'opnfv-deploy' command lines"
Tim Rozet [Fri, 8 Jan 2016 15:19:52 +0000 (15:19 +0000)]
Merge "add 'sudo' for 'opnfv-deploy' command lines"

8 years agoMerge "editorial fixes in apex docs"
Tim Rozet [Fri, 8 Jan 2016 15:19:20 +0000 (15:19 +0000)]
Merge "editorial fixes in apex docs"

8 years agoMoves builds to use local images, minor fix to clean 39/5839/2
Tim Rozet [Fri, 8 Jan 2016 02:21:28 +0000 (21:21 -0500)]
Moves builds to use local images, minor fix to clean

Change-Id: Ib8a3baa645c4e2a2b7b5c39e8642bae367981f37
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoadd 'sudo' for 'opnfv-deploy' command lines 77/5177/3
Ryota MIBU [Thu, 24 Dec 2015 01:49:59 +0000 (10:49 +0900)]
add 'sudo' for 'opnfv-deploy' command lines

Change-Id: I03576a041c6bfdbb288c579379b4307fa52a0283
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoeditorial fixes in apex docs 75/5175/4
Ryota MIBU [Fri, 11 Dec 2015 06:30:46 +0000 (15:30 +0900)]
editorial fixes in apex docs

- add gitignore entries
- drop common files under docs/etc
- fix documentation titles
- fix doc8 violation (length of lines)
- removal of '_sha1_' for doc tracking
- removal of opnfv logo insertion

Change-Id: Ib0b39704c115f896f62a8ed8ec52257fcf84d544
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoMoves rdo images URL to a new location for opnfv 05/5805/2
Tim Rozet [Thu, 7 Jan 2016 16:08:46 +0000 (11:08 -0500)]
Moves rdo images URL to a new location for opnfv

Change-Id: I4e16b4a4432c935715f0522956614c891a695f70
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoupdating the odl patch so that OpenDaylightCount works properly 97/5497/4
Dan Radez [Mon, 4 Jan 2016 15:04:04 +0000 (10:04 -0500)]
updating the odl patch so that OpenDaylightCount works properly

Change-Id: Icc453e3d5dc502ecedd696bad51399c55ed32996

8 years agoAdds some network parsing for baremetal deployments and other fixes 11/4811/32
Tim Rozet [Thu, 17 Dec 2015 21:59:05 +0000 (16:59 -0500)]
Adds some network parsing for baremetal deployments and other fixes

Changes include:
 - Fixes Intel Pod 2 inventory file
 - Check for DHCP server on the host and disable
 - Adds realistic+common network-settings file
 - Modifies baremetal deployments to bridge to correct interface
 - Adds private/storage network OVS bridges
 - Parses network-settings into valid network-environment variables
 - If certain network-settings are missing they will be auto-detected

Note: The actual settings set forth for deployment only include
admin/external networks at the moment.  Private/storage networks will be
handled in an upcoming patch.

JIRA: APEX-50

Change-Id: I0a1a86f37c08702a93fe167688c3149ba5573db4
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Image fix to force flavor to be 39GB"
Tim Rozet [Tue, 5 Jan 2016 23:40:00 +0000 (23:40 +0000)]
Merge "Image fix to force flavor to be 39GB"

8 years agoImage fix to force flavor to be 39GB 11/5411/9
Tim Rozet [Thu, 31 Dec 2015 14:56:24 +0000 (09:56 -0500)]
Image fix to force flavor to be 39GB

Testing if this fixes current CI breakage

Change-Id: Ib4f75a9a1772c5363afab6d24b7a254f8cf6f6f8
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "cleaning out some tarball manipulations from Makefile that are unnessesary"
Tim Rozet [Mon, 4 Jan 2016 15:54:15 +0000 (15:54 +0000)]
Merge "cleaning out some tarball manipulations from Makefile that are unnessesary"

8 years agoMerge "adding openvswitch dependency to installation instructions"
Tim Rozet [Mon, 4 Jan 2016 15:52:17 +0000 (15:52 +0000)]
Merge "adding openvswitch dependency to installation instructions"

8 years agoAdded node role configuration 65/4765/4
Viktor Tikkanen [Thu, 17 Dec 2015 08:50:06 +0000 (10:50 +0200)]
Added node role configuration

If there are dedicated HW nodes for controller and compute nodes,
it should be possible to define node roles in configuration files.

This patch introduces "capabilities" property into
pod_example_settings.yaml so as adds needed flavor definitions
and overcloud deploy parameters into opnfv-deploy script.

Change-Id: Ie62d3fa215aa168390d074c73fdb2fa03ecc67f5
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoadding openvswitch dependency to installation instructions 21/4921/3
Dan Radez [Mon, 21 Dec 2015 06:09:12 +0000 (01:09 -0500)]
adding openvswitch dependency to installation instructions

Change-Id: Ie79385905a73963ebac34ebda36a0d65539eeee7

8 years agoMerge "adding build deps"
Tim Rozet [Mon, 21 Dec 2015 03:09:43 +0000 (03:09 +0000)]
Merge "adding build deps"

8 years agocleaning out some tarball manipulations from Makefile that are unnessesary 99/4899/1
Dan Radez [Tue, 15 Dec 2015 20:47:55 +0000 (15:47 -0500)]
cleaning out some tarball manipulations from Makefile that are unnessesary

Change-Id: I4a585a5e72872fa1887aa4487ebd7b17d07feacc

8 years agoadding build deps 09/4809/3
Dan Radez [Thu, 17 Dec 2015 19:15:24 +0000 (14:15 -0500)]
adding build deps

- adding rpmbuild and createrepo as build deps
- adding more packages to overcloud image

Change-Id: I1cac2f62c7a52ee8bf2b0dc936df1066eb3599e8

8 years agoAdding network configuration options 61/4661/8
Dan Radez [Tue, 15 Dec 2015 20:44:01 +0000 (15:44 -0500)]
Adding network configuration options

- enabling subnet configuration for undercloud
- enabling external network configuration

Change-Id: Id1951d31faa1a68f850a75e2466d30b8abcea8ac

8 years agobuild_updates 95/4895/1
Dan Radez [Wed, 16 Dec 2015 18:29:42 +0000 (13:29 -0500)]
build_updates

- forcing wget for centos artifacts
- extra checking for undercloud ip

Change-Id: I79d1919f86d83fbf6a5d284bd3257fd40f9c7018

8 years agoremove openstack-neutron-openvswitch, odl manages ovs 35/4735/1
Dan Radez [Wed, 16 Dec 2015 20:17:19 +0000 (15:17 -0500)]
remove openstack-neutron-openvswitch, odl manages ovs

Change-Id: I799eee7713f5dae213f97f3d9f59dc2defaf3159

8 years agoMerge "Fixes various corner cases with clean and deploy"
Dan Radez [Wed, 16 Dec 2015 01:22:52 +0000 (01:22 +0000)]
Merge "Fixes various corner cases with clean and deploy"

8 years agoFixes various corner cases with clean and deploy 19/4619/1
Tim Rozet [Tue, 15 Dec 2015 22:35:30 +0000 (17:35 -0500)]
Fixes various corner cases with clean and deploy

Fixes Include:
 - Fixed info print statement when using flat network
 - deploy now looks at arp table as well to determine instack IP address
   as default leases file may not exist
 - clean now uses --pool with vol-delete command

JIRA: APEX-50

Change-Id: I664fd06e92e0890e0b65191851dfa81f8d8ac492
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agofixing disabling l3 HA neutron option and removing duplicate ntp option 01/4601/1
Dan Radez [Tue, 15 Dec 2015 15:52:27 +0000 (10:52 -0500)]
fixing disabling l3 HA neutron option and removing duplicate ntp option

Change-Id: I6e3a4266be28b0f661e4b8e818c616000060905b

8 years agoupdating the repos so that master points to Mitaka 91/4591/1
Dan Radez [Mon, 14 Dec 2015 17:08:20 +0000 (12:08 -0500)]
updating the repos so that master points to Mitaka

Change-Id: I7331dd91e6da3f82ba60689fffea8b2f46ff29db

8 years agoupdating the OpenDaylight patch 33/4233/8
Dan Radez [Wed, 9 Dec 2015 20:52:38 +0000 (15:52 -0500)]
updating the OpenDaylight patch

- using the proposed patched for upstream
- ensuring l3_ha is disabled
- exposing support for an ODL only node

Change-Id: I6f4a50300ea08322eea4ba466fc1a3b0fbcb5743
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agosyntax fixes for if statements 77/4077/3
Dan Radez [Tue, 8 Dec 2015 15:12:05 +0000 (10:12 -0500)]
syntax fixes for if statements

Change-Id: I3ff4b0e9aecff8fc193017d0dc4cd3c4c1a6339c
Signed-off-by: Dan Radez <dradez@redhat.com>
8 years agoswitching to RDO build undercloud instead of building it ourselves 29/4029/1
Dan Radez [Wed, 2 Dec 2015 22:03:20 +0000 (17:03 -0500)]
switching to RDO build undercloud instead of building it ourselves

Change-Id: I9f09c195352d2d88a3da4f42e09424d96d39722b

8 years agoMerge "Parses yaml files into deploy + other fixes"
Dan Radez [Mon, 7 Dec 2015 23:18:05 +0000 (23:18 +0000)]
Merge "Parses yaml files into deploy + other fixes"

8 years agoParses yaml files into deploy + other fixes 81/3981/4
Tim Rozet [Fri, 4 Dec 2015 22:54:52 +0000 (17:54 -0500)]
Parses yaml files into deploy + other fixes

This patch allows deploy_settings.yaml and inventory settings to be
passed in via cmdline.  The deploy settings are overridden by cmdline
arguments.  For example, if a user specifies no_ha in cmdline it will
override what is in deploy_settings.yaml.  The inventory file provides
yaml input for the baremetal topology.

Fixes include:
 - New arguments for passing inventory and deploy_settings
 - "global_params" in deploy_settings are set as globals in script
(unless already set via cmdline)
 - "deploy_options" are loaded into an array, and checked for deployment
options (such as which SDN controller to use)
 - inventory file is parsed (for baremetal) into correct instack json
output.  The output is then written to a temp instackjson file and used
for deployment.
 - renaming of copy_materials to copy_materials_to_instack
 - spelling fixes
 - cmdline argument checking with errors and warnings

Note this patch does not yet tamper with setting network-environment
settings.

JIRA: APEX-53

Change-Id: I9dce197e23563480c584650ba967898312eab4e7
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoadding quotes to a string check in deploy 17/4017/1
Dan Radez [Mon, 7 Dec 2015 14:31:02 +0000 (09:31 -0500)]
adding quotes to a string check in deploy

Change-Id: I41881c914494e329570c76fba9f4e0f1dce50e50

8 years agoMerge "adding build deps that have had to be installed manually"
Tim Rozet [Fri, 4 Dec 2015 16:28:06 +0000 (16:28 +0000)]
Merge "adding build deps that have had to be installed manually"

8 years agoMerge "adding flag to use flat underlay network"
Tim Rozet [Fri, 4 Dec 2015 16:26:06 +0000 (16:26 +0000)]
Merge "adding flag to use flat underlay network"

8 years agoMerge "Adds yaml files to use as input to Apex build/deploy"
Dan Radez [Fri, 4 Dec 2015 05:06:22 +0000 (05:06 +0000)]
Merge "Adds yaml files to use as input to Apex build/deploy"

8 years agoadding build deps that have had to be installed manually 55/3955/1
Dan Radez [Fri, 4 Dec 2015 04:56:55 +0000 (23:56 -0500)]
adding build deps that have had to be installed manually

Change-Id: I1af7ffdb1d1e4b96b31b44f2750de23b55d9d540

8 years agoadding flag to use flat underlay network 41/3941/1
Dan Radez [Mon, 30 Nov 2015 16:59:25 +0000 (11:59 -0500)]
adding flag to use flat underlay network

Change-Id: I12cbb68df993e27f9ff3c41185c4682a64349736

8 years agoupdating prebuilt images 35/3835/5
Dan Radez [Tue, 1 Dec 2015 15:54:32 +0000 (10:54 -0500)]
updating prebuilt images

- switching to updated source from RDO project
- adding md5sum check

Change-Id: Ib7b7172596ae38522694090529e81db3cc7ff03d

8 years agoAdds yaml files to use as input to Apex build/deploy 97/3897/1
Tim Rozet [Wed, 2 Dec 2015 22:32:52 +0000 (17:32 -0500)]
Adds yaml files to use as input to Apex build/deploy

yaml inputs are broken up into:
-build settings
-deploy options
-network definition
-pod baremetal information

JIRA: APEX-53

Change-Id: Iee85b17beb37ce82bf9312dcce61e09ae924dfc5
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoadding some error handling 75/3775/3
Dan Radez [Fri, 13 Nov 2015 21:58:09 +0000 (16:58 -0500)]
adding some error handling

- make sure we connect to Instack
- enable the ping site to be configurable
- put ntp server in a variable so it can be made configurable later

Change-Id: I2ec30f6bab0b48ec878bd25790145f7fff00964a

8 years agoadding installation instructions 55/3455/10
Dan Radez [Fri, 13 Nov 2015 16:47:05 +0000 (11:47 -0500)]
adding installation instructions

JIRA: APEX-35

Change-Id: Iebbf85bd59844716961c27bb81ff7bbda2d1a1bf

9 years agoMerge "Example as code, documentation template for sphinx build"
Dan Radez [Sat, 21 Nov 2015 03:28:47 +0000 (03:28 +0000)]
Merge "Example as code, documentation template for sphinx build"

9 years agoEnabling options for passing configuration files 45/3445/1
Dan Radez [Fri, 13 Nov 2015 21:38:34 +0000 (16:38 -0500)]
Enabling options for passing configuration files

- virtual deploys still expect to pull pre-canned files
  from $CONFIG dir
- non-virtual deploys now expect an instackenv.json
  and network-environment.yaml file in pwd on deploy

JIRA: APEX-41
JIRA: APEX-49

Change-Id: Ib61ac7448917ec1ea728c23cb3406feab9058f77

9 years agoenable network-isoaltion and opendaylight 03/3403/3
Dan Radez [Wed, 18 Nov 2015 19:07:05 +0000 (14:07 -0500)]
enable network-isoaltion and opendaylight

Change-Id: I2a506f95036b897309dbaf9120426bdf3f4a6337

9 years agoupdates and fixes to the iso build 11/3411/1
Dan Radez [Tue, 17 Nov 2015 19:22:42 +0000 (14:22 -0500)]
updates and fixes to the iso build

- adding isohybrid so isos can be written to a USB
- adding base group to yum comps file for iso install

Change-Id: I3a8bda84b1a704f01e433f43533e63452f1a6e83

9 years agoadding cleanup for build 09/3409/3
Dan Radez [Wed, 18 Nov 2015 00:13:37 +0000 (19:13 -0500)]
adding cleanup for build

Change-Id: If748e8fade74d3764c624f2b3a790421be4667e2

9 years agoupdates to cleanup.sh 73/3373/3
Dan Radez [Wed, 18 Nov 2015 00:13:37 +0000 (19:13 -0500)]
updates to cleanup.sh

- adding vol-delete to help ensure volumes are cleaned up
- adding brbm clean up

Change-Id: I3cbb79b09c6ac77dbc3c452938dbd6a6d03c815b

9 years agoadding basic network isolation 73/3273/7
Dan Radez [Wed, 4 Nov 2015 21:13:02 +0000 (16:13 -0500)]
adding basic network isolation

- separating external traffic from internal traffic

JIRA: APEX-41

Change-Id: Idcd01a514083c53a3133a75d3bcabf824a7a4377

9 years agoMerge "changing copying to linking to save time and space on the build"
Tim Rozet [Mon, 16 Nov 2015 20:49:34 +0000 (20:49 +0000)]
Merge "changing copying to linking to save time and space on the build"

9 years agochanging copying to linking to save time and space on the build 75/3275/1
Dan Radez [Thu, 12 Nov 2015 23:44:41 +0000 (18:44 -0500)]
changing copying to linking to save time and space on the build

Change-Id: I6a0a63f04c0693b9dd2f4a137475ef00c2377455

9 years agofixing non-ha deploy 05/3205/3
Dan Radez [Mon, 9 Nov 2015 22:06:24 +0000 (17:06 -0500)]
fixing non-ha deploy

The instackenv has 5 nodes in it but we were only putting two
back into the pool. This patch puts all 5 back in the pool
but doesn't throw the ha flags

JIRA: APEX-45

Change-Id: I1c539eafca9ed2f674a1a954f75c175fe9efc5bb

9 years agoMerge "adding the opendaylight integration"
Tim Rozet [Wed, 11 Nov 2015 15:32:55 +0000 (15:32 +0000)]
Merge "adding the opendaylight integration"

9 years agoadding variable fix for clean up 59/3159/1
Dan Radez [Mon, 9 Nov 2015 19:18:38 +0000 (14:18 -0500)]
adding variable fix for clean up

Change-Id: I4e18bc0ddfb39a11c75070012743e6a68ecb70f6

9 years agoarg parse updates 31/3131/1
Dan Radez [Sun, 8 Nov 2015 17:55:16 +0000 (12:55 -0500)]
arg parse updates

- replacing the echo | cut with bash string slicing
- replacing underscores with dashes in long args
- adding no-ha to the usage display

Change-Id: Ie87709c60a485bbcd97f168207e03d43bd85f24a

9 years agoadding the opendaylight integration 53/3053/6
Dan Radez [Tue, 27 Oct 2015 05:55:20 +0000 (01:55 -0400)]
adding the opendaylight integration

Change-Id: Iaaf5cbc790abd3b7af6f94b4e6d7e8ecfbbc6534

9 years agoMerge "adding --atime-preseve to try and fix caching"
Tim Rozet [Wed, 4 Nov 2015 19:13:49 +0000 (19:13 +0000)]
Merge "adding --atime-preseve to try and fix caching"

9 years agoadding --atime-preseve to try and fix caching 33/3033/1
Dan Radez [Wed, 4 Nov 2015 14:54:44 +0000 (09:54 -0500)]
adding --atime-preseve to try and fix caching

Change-Id: I6446058a5ab1dd37659e553ad41d9fd9b0f9bd25