integration/packaging.git
6 years agoUpdate packages at end of configuration 57/61457/1
Daniel Farrell [Wed, 9 Aug 2017 19:59:15 +0000 (15:59 -0400)]
Update packages at end of configuration

We already do a yum/dnf update at the start of the provisioning in the
Kickstart scripts, but by the end of the process there are additional
packages that should be updated.

Change-Id: I48d38aac680805894a9a21850206d57731a6bd38
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUse Fedora 26 default in Packer Vagrant helper 36/61436/1
Daniel Farrell [Wed, 9 Aug 2017 17:12:40 +0000 (13:12 -0400)]
Use Fedora 26 default in Packer Vagrant helper

This Vagrantfile is just for testing built boxes, but as we're now
building F26 for new images should use that as default.

Change-Id: Icc16ab83b36acdee21b70665707cb1fd34ba7f0e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoFix various age-induced Vagrant tutorial errors 71/61171/3
Daniel Farrell [Fri, 4 Aug 2017 13:54:21 +0000 (09:54 -0400)]
Fix various age-induced Vagrant tutorial errors

* Update tutorial Vagrant boxes to Fedora 26
* Remove now-unnecessary SSH config fix.
* Update path of wireshark file
* Update version of ODL installed in L2Switch tutorial
* Remove old doc link

Change-Id: I3d84c5b60714ec62d2d3f5ec5c194d63288bcb5e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUse ODL-managed ansible-odl repo in Packer builds 05/61405/1
Daniel Farrell [Wed, 9 Aug 2017 08:13:28 +0000 (04:13 -0400)]
Use ODL-managed ansible-odl repo in Packer builds

Explicitly telling ansible-galaxy that the SCM for Gerrit is git works
around the problem described in #61159 and the upstream issue.

https://github.com/ansible/galaxy-issues/issues/277

Change-Id: I08eb57a579d06cbad589ef721cb82ec41c31415e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Boron SR4 Packer var file 19/61119/2
Daniel Farrell [Thu, 3 Aug 2017 14:49:19 +0000 (10:49 -0400)]
Add Boron SR4 Packer var file

Change-Id: Ib7881afa82b569d9672b25eb95b7857df7e07c09
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUse new ODL ansible-opendaylight repo in Packer 59/61159/1
Daniel Farrell [Fri, 4 Aug 2017 09:47:00 +0000 (05:47 -0400)]
Use new ODL ansible-opendaylight repo in Packer

Using the GitHub mirror of the ODL-hosted ansible-opendaylight repo
because installing roles with ansible-galaxy from upstream repo fails
with what seems to be an Ansible Galaxy bug (reported upstream).

https://github.com/ansible/galaxy-issues/issues/277

Change-Id: I62a0e37dde21b62e5eb03654a8c98381d7287d1f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Fedora 26 build support 03/61103/3
Sri Sanketh U [Thu, 3 Aug 2017 10:53:21 +0000 (16:23 +0530)]
Add Fedora 26 build support

Change-Id: Ia134a7f65a1a5a8350722ee0c9d6bcc904092322
Signed-off-by: Sri Sanketh U <sanketh.uppalapati@research.iiit.ac.in>
6 years agoAdd Carbon SR1 Packer var file 00/61100/4
Daniel Farrell [Thu, 3 Aug 2017 10:11:20 +0000 (06:11 -0400)]
Add Carbon SR1 Packer var file

Change-Id: I7e93767adbe6a45e1825e3c132a268fe9ef4479b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoRemove deprecated rpm_repo_file ansible-odl param 14/61114/2
Daniel Farrell [Thu, 3 Aug 2017 13:04:30 +0000 (09:04 -0400)]
Remove deprecated rpm_repo_file ansible-odl param

Change 60815 to ansible-opendaylight made this var unnecessary.

Change-Id: Ic6c15e9909babb8d92a780e3bfe7ff3d6e7ca428
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoRemove Packer ssh-"fixing" logic 15/61115/1
Daniel Farrell [Thu, 3 Aug 2017 13:14:19 +0000 (09:14 -0400)]
Remove Packer ssh-"fixing" logic

This logic was adding because of a problem with upstream Fedora boxes
that seems to be fixed now (SSH doesn't hang forever without this). Also
this config now breaks because the file it's editing doesn't exist.

Change-Id: I9adb10f5fea7f47d3b4ee95549839c7fd18a0ff1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd example RPM repo configs for ODL Nexus repos 61/60961/4
Daniel Farrell [Mon, 31 Jul 2017 20:34:13 +0000 (16:34 -0400)]
Add example RPM repo configs for ODL Nexus repos

Add .repo files that will install RPMs from each of the new RPM repos
hosted on ODL's Nexus.

Not adding .repo files for release repos yet as there are no RPMs in
them and trying to install from them errors out.

Not adding 7-devel repo because there are no Nitrogen builds in it yet
and trying to install from it errors out.

Change-Id: Id09048c837d80bf197dde8f2b1fa7ba25c8e93cb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoRemove old instantiations of spec template 59/60959/2
Daniel Farrell [Mon, 31 Jul 2017 20:20:33 +0000 (16:20 -0400)]
Remove old instantiations of spec template

We are mostly using Jenkins jobs to build RPMs now, so we have moved
away from keeping the spec files that end up getting wrapped in RPMs.

Change-Id: Ib8888d0d114e1eeaa72e22ab5d767f05c40db266
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoIgnore spec files built during RPM builds 58/60958/2
Daniel Farrell [Mon, 31 Jul 2017 19:57:12 +0000 (15:57 -0400)]
Ignore spec files built during RPM builds

When building RPMs locally, the spec template is populated and rolled
into the RPM. Ignore the populated templates.

Change-Id: I0c7c9c0ecefb5d47f12a6435b82dadb700d4a0f4
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoRequire Java >=1.8 for RPMs, vs current >=1.7 52/60952/1
Daniel Farrell [Mon, 31 Jul 2017 19:22:46 +0000 (15:22 -0400)]
Require Java >=1.8 for RPMs, vs current >=1.7

All currently supported versions of ODL require Java 1.8, so make it a
hard requirement in the RPM spec file. Currently installs always happen
to pull down 1.8, but we should force it.

Change-Id: I15a765ff3305de5a9ee6db0af548590a6c3bc37f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUpdate service node image for new base 92/60892/2
Matt Welch [Fri, 28 Jul 2017 18:40:19 +0000 (14:40 -0400)]
Update service node image for new base

Moved build collateral into build/ dir. Updates to build files to
reflect new systemd-based container. Added connect_container_to_network
to create veth pairs and bind container to Linux beidges on the host.
Modeled service node files after upstream compute node files.

Change-Id: I3b662a801403f7d25dd134b3281d204d621ab41b
Signed-off-by: Matt Welch <matt.welch@intel.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUpdate compute build & run for new base 19/60619/4
Matt Welch [Thu, 20 Jul 2017 18:11:36 +0000 (14:11 -0400)]
Update compute build & run for new base

Moved build collateral into build/ dir.
Updates to build files to reflect new systemd-based container.
Added connect_container_to_network to create veth pairs and bind
container to Linux beidges on the host.
Updates to local.conf to enable instance VNC console and use ODL by
default.
Added restart script that can usually be used instead of start.sh.
Updates to run script to reflect new systemd-based container.

Change-Id: I6e3f2d184a222cdb5ae74b2c221b0f132ae47c62
Signed-off-by: Matt Welch <matt.welch@intel.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd necessary iso_checksum variable 24/60824/1
Sri Sanketh U [Thu, 27 Jul 2017 17:00:26 +0000 (22:30 +0530)]
Add necessary iso_checksum variable

Change-Id: I19fe8ca357b7a596896e0004f4cff3d3db56c830
Signed-off-by: Sri Sanketh U <sanketh.uppalapati@research.iiit.ac.in>
6 years agoAdd necessary iso_urls variable 71/60771/1
Sri Sanketh U [Wed, 26 Jul 2017 11:15:01 +0000 (16:45 +0530)]
Add necessary iso_urls variable

Change-Id: I78116a45b7c02937fd2db714071adf4f2d88d057
Signed-off-by: Sri Sanketh U <sanketh.uppalapati@research.iiit.ac.in>
6 years agoAdd Carbon SR1 example RPM repo config 38/60738/1
Daniel Farrell [Tue, 25 Jul 2017 16:26:42 +0000 (12:26 -0400)]
Add Carbon SR1 example RPM repo config

Change-Id: I2094df3add1b805b7a948e7c5f756f45f29829a7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoFix typo in 60-release example RPM repo config 92/60692/1
Daniel Farrell [Mon, 24 Jul 2017 15:04:17 +0000 (11:04 -0400)]
Fix typo in 60-release example RPM repo config

Just effected the name of the repo, still worked as expected.

Change-Id: Icca37a75ac4fc7ad6d7cb1c1babdb13c309ee6eb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoenable building of s3p/systemd base container 48/60548/4
Matt Welch [Tue, 18 Jul 2017 19:18:00 +0000 (15:18 -0400)]
enable building of s3p/systemd base container

Build script and Dockerfile to build systemd base container.
Compute and service nodes will be based on this image (FROM).

See https://github.com/matt-welch/docker-devstack/tree/master/systemd
for development history.

Change-Id: I6ff5f8520ae889df81dccac12bf35f3995e5cbd0
Signed-off-by: Matt Welch <matt.welch@intel.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoRemove existing/YAML building logic 08/60308/5
Alok Anand [Thu, 13 Jul 2017 19:54:12 +0000 (01:24 +0530)]
Remove existing/YAML building logic

The building logic is moving towards automated
vars collection and is triggered by Jenkins
jobs.Using old list of builds configs makes it
difficult to refactor a consistent interface for
both rpm and deb piplelines.

Signed-off-by: Alok Anand <alok4nand@gmail.com>
Change-Id: I0cf19c21f2417ce915c850fe4861fe40653f4714
Signed-off-by: Alok Anand <alok4nand@gmail.com>
6 years agoRemove unnecessary docker_repo variable 46/60546/1
Sri Sanketh U [Tue, 18 Jul 2017 16:38:15 +0000 (22:08 +0530)]
Remove unnecessary docker_repo variable

Change-Id: I74dfd7f6a06ba37554d5850810a47657c8dfbcf8
Signed-off-by: Sri Sanketh U <sanketh.uppalapati@research.iiit.ac.in>
6 years agoAdd WriteGoodLintBear support 33/60433/9
Sri Sanketh U [Sun, 16 Jul 2017 14:31:19 +0000 (20:01 +0530)]
Add WriteGoodLintBear support

Fix WriteGood errors where appropriate

Fix readability, inheritance issues in coafile

Change-Id: I7c778e391c05b20326edc04c7a102864dc38ee8a
Signed-off-by: Sri Sanketh U <sanketh.uppalapati@research.iiit.ac.in>
6 years agoAdd Boron SR4 example RPM repo config 84/59484/1
Daniel Farrell [Fri, 23 Jun 2017 19:15:03 +0000 (15:15 -0400)]
Add Boron SR4 example RPM repo config

Change-Id: I0239d02c2192a42b347d170d9843e03a4d06a814
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoVarious minor docs fixes, link additions 70/59470/1
Daniel Farrell [Fri, 23 Jun 2017 14:22:57 +0000 (10:22 -0400)]
Various minor docs fixes, link additions

Change-Id: I8c884c85afbe4113910598e6f01969b23e09ff23
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoMajor docs update 70/58670/4 release/boron-sr4
Daniel Farrell [Sat, 10 Jun 2017 21:30:07 +0000 (17:30 -0400)]
Major docs update

Change-Id: I56396daabbdbe213dee61992533335be38ff70d0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Boron SR3 Packer config 50/58550/4
Daniel Farrell [Thu, 8 Jun 2017 20:02:46 +0000 (16:02 -0400)]
Add Boron SR3 Packer config

Change-Id: Id035a7c23ddbf2b76845c4dde81e1aa30cdffc47
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd Carbon Packer config 51/58551/4
Daniel Farrell [Thu, 8 Jun 2017 20:04:13 +0000 (16:04 -0400)]
Add Carbon Packer config

Change-Id: I79a22f3501e1298398142e4d7a1ede957309316b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoUpdate Packer Vagrantfile for new versions 57/58557/2
Daniel Farrell [Thu, 8 Jun 2017 22:22:33 +0000 (18:22 -0400)]
Update Packer Vagrantfile for new versions

Also refactor with better loops to be more clean.

Also remove F24 and Beryllium entries.

Change-Id: I2d137f68643b2c58c80c2781a95663051fba85a8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoFix new shellcheck errors caught by latest version 56/58556/2
Daniel Farrell [Thu, 8 Jun 2017 22:22:02 +0000 (18:22 -0400)]
Fix new shellcheck errors caught by latest version

Main new shellcheck rule is related to exiting if cd commands fail. Add
or conditions to exit if they do, per recommendations.

Also make a few shellcheck ignores more explicit.

Change-Id: Ic8e290c1a75891b47b7aa874fe9cff0c3e9fd720
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd example 7-testing RPM repo config 82/58282/2
Daniel Farrell [Mon, 5 Jun 2017 21:39:34 +0000 (17:39 -0400)]
Add example 7-testing RPM repo config

Change-Id: If57b93dde2430a205d7a3c1a26b727f41000c5d7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd 6-release example RPM repo 83/58283/1
Daniel Farrell [Mon, 5 Jun 2017 21:41:46 +0000 (17:41 -0400)]
Add 6-release example RPM repo

Change-Id: Ic849ca23a4a658d336f2580857ae4d92635c94a2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoAdd vars for Carbon's .deb build 35/57935/2
Akshita Jha [Sat, 27 May 2017 16:12:25 +0000 (21:42 +0530)]
Add vars for Carbon's .deb build

Change-Id: Ia3fed1e209a780803970c320610511964886413b
Signed-off-by: Akshita Jha <zenith158@gmail.com>
6 years agoPin requests to <2.16 39/57939/1
Daniel Farrell [Sun, 28 May 2017 14:39:06 +0000 (10:39 -0400)]
Pin requests to <2.16

The new requests library pulls in a chardet dependency that is in
conflict with coala packages. Pin the version of requests to ensure
we're pulling in a supported version.

Copied change by Thanh.

Change-Id: I345f37da5b96f40da5dce077635b6e85bb8638ff
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
6 years agoPin coala to 0.11 36/57736/2 release/carbon
Thanh Ha [Wed, 24 May 2017 00:57:40 +0000 (20:57 -0400)]
Pin coala to 0.11

coala-bears 0.11 just released 5 hrs from this patch author date. It
breaks the build because we were pinning coala. It seems coala and
coala-bears versions must match exactly so pin both versions for good
measure.

Change-Id: Ib6c903140895077c0053666cd4203aac88c220a2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoPin coala version to <0.11 97/57697/1
Thanh Ha [Tue, 23 May 2017 13:41:14 +0000 (09:41 -0400)]
Pin coala version to <0.11

I seems the new 0.11 version breaks us due to dependency conflicts.
Let's pin the version and migrate when we have time to troubleshoot.

Change-Id: I9e3b696746fcbc87e11c413f31096623e5ed0c22
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRe-add apt-get update to deb/Dockerfile, per OPNFV 70/55770/1
Daniel Farrell [Thu, 20 Apr 2017 19:32:36 +0000 (15:32 -0400)]
Re-add apt-get update to deb/Dockerfile, per OPNFV

OPNFV Fuel is telling me removing this broke them.

https://build.opnfv.org/ci/view/fuel/job/fuel-build-daily-master/2234/console

Change-Id: I165c272d619b21f683d906a14c6412b6ab9a2c71
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAllow long links in git commit messages 69/55769/1
Daniel Farrell [Thu, 20 Apr 2017 19:32:05 +0000 (15:32 -0400)]
Allow long links in git commit messages

Change-Id: I6f5f6737fdc375dff7d4cb80fdca571fe36dac1d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Boron SR3 example RPM repo config 33/54333/2
Daniel Farrell [Wed, 5 Apr 2017 05:12:12 +0000 (01:12 -0400)]
Add Boron SR3 example RPM repo config

Change-Id: If2f3929fe8876ecbf7c48eafa069d2b15c734a18
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Dockerfile linting, fix errors 72/54072/1 release/boron-sr3
Daniel Farrell [Wed, 29 Mar 2017 21:41:56 +0000 (17:41 -0400)]
Add Dockerfile linting, fix errors

Major refactoring to basic CentOS and Debian Dockerfiles.

Change-Id: Icf5f48b3de5337f9a88ea276570618f9899b3077
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable XML linting 58/54058/1
Daniel Farrell [Wed, 29 Mar 2017 17:40:36 +0000 (13:40 -0400)]
Enable XML linting

Change-Id: I1a90ebcced045741338802e7735705fc63104ce8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable spacing linting, fix problems 55/54055/1
Daniel Farrell [Wed, 29 Mar 2017 17:19:15 +0000 (13:19 -0400)]
Enable spacing linting, fix problems

Change-Id: I711d6ebcebfc053f7919b5a500c09a7ce27e16e6
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable RST linting, fix problems 52/54052/1
Daniel Farrell [Wed, 29 Mar 2017 16:36:23 +0000 (12:36 -0400)]
Enable RST linting, fix problems

Ignore toctree, Sphynx thing not RST so linter can't handle it.

Change-Id: I88e9c5176f7629f9e929f2c8e156dfbc7685a403
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable Markdown linting, fix errors 17/53917/4
Daniel Farrell [Mon, 27 Mar 2017 18:22:54 +0000 (14:22 -0400)]
Enable Markdown linting, fix errors

Also use ApplyPatchAction for all Coala Bears.

Change-Id: I0f1646de0e8676cc227175c4804a9a29944f25ce
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRefactor coalafile, add stubs for future tests 32/53932/3
Daniel Farrell [Mon, 27 Mar 2017 21:13:37 +0000 (17:13 -0400)]
Refactor coalafile, add stubs for future tests

Also do Coala dep installs in one line for better speed and install
additional dep of MarkdownBear.

Change-Id: Iab9ac746378b9ef4516e94edbadc537b1536a4c7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix all Python import ordering 31/53931/1
Daniel Farrell [Mon, 27 Mar 2017 21:11:36 +0000 (17:11 -0400)]
Fix all Python import ordering

Change-Id: If156ee3e0cc753494616e17ca971f54e56df5ab1
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable JSON linting via Coala, fix JSON errors 15/53915/1
Daniel Farrell [Mon, 27 Mar 2017 17:25:45 +0000 (13:25 -0400)]
Enable JSON linting via Coala, fix JSON errors

Change-Id: Ic685c192c1f00b85cac1ea844d1b9538dd8929df
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable shellcheck linting, fix problems 14/53814/2
Daniel Farrell [Fri, 24 Mar 2017 20:07:01 +0000 (16:07 -0400)]
Enable shellcheck linting, fix problems

Change-Id: I5043e5b2c700dab5de82ff37c698dc5dcf17e2cf
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix node dependencies to work inside tox 34/53834/1
Thanh Ha [Fri, 24 Mar 2017 23:52:58 +0000 (19:52 -0400)]
Fix node dependencies to work inside tox

Change-Id: I7eb0641d39db8eaaa5488a1046cbf4d6493fa891
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd back ApplyPatchAction 32/53832/1
Thanh Ha [Fri, 24 Mar 2017 23:33:05 +0000 (19:33 -0400)]
Add back ApplyPatchAction

Accidently removed by https://git.opendaylight.org/gerrit/53816

Change-Id: I08891b7c9dd7e75e2ed9d7f4501c7baa7ce4a782
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoEnable Coala PEP8 linting 16/53816/2
Daniel Farrell [Fri, 24 Mar 2017 20:33:44 +0000 (16:33 -0400)]
Enable Coala PEP8 linting

Change-Id: I46b343d205ad2f39ede250fba14f871fbcf9afbb
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix RPM extract_version unittests 03/53803/4
Daniel Farrell [Fri, 24 Mar 2017 17:13:09 +0000 (13:13 -0400)]
Fix RPM extract_version unittests

Update to use current autorelease examples, fix PEP8 violation.

Change-Id: Iec782dddd9f86e1a3b672cf46c8d07709ea49fc7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable YAML Coala linting, fix problems 17/53817/1
Daniel Farrell [Fri, 24 Mar 2017 20:55:11 +0000 (16:55 -0400)]
Enable YAML Coala linting, fix problems

Change-Id: I7bc73817311879dfc2bf83f0bb8915094cadc7d0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse latest Int/Pack repo commit hash as sysd_commit var 71/53671/5
Akshita Jha [Fri, 24 Mar 2017 20:09:52 +0000 (01:39 +0530)]
Use latest Int/Pack repo commit hash as sysd_commit var

This adds logic to use the latest Int/Pack repo commit hash as sysd_commit
var unless passed by param.

Change-Id: I7b1e703648fb2eee6b8ed962532126276f7a12d9
Signed-off-by: Akshita Jha <zenith158@gmail.com>
7 years agoAdd coala linting to tox 13/49313/7
srisankethu [Tue, 13 Dec 2016 17:58:44 +0000 (23:28 +0530)]
Add coala linting to tox

Ignore most checks for now. Will enable as things are fixed.

Change-Id: I2b9bd627277ef04e6d2f72d07072c5448f1d3271
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIgnore tmp dir created by coala 06/53806/1
Daniel Farrell [Fri, 24 Mar 2017 17:56:38 +0000 (13:56 -0400)]
Ignore tmp dir created by coala

Change-Id: I838a74c9b033016fd8ffcff035f27a4b76de9c7c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse current datetime as default for RPM changelog date 60/53660/4
Akshita Jha [Wed, 22 Mar 2017 09:44:38 +0000 (15:14 +0530)]
Use current datetime as default for RPM changelog date

The current datetime should be the default date for RPM changelog dates
but can still accept optional `changelog_date` param.

Change-Id: I8bcc579d27d63ca091fff536254d3f17752ae306
Signed-off-by: Akshita Jha <zenith158@gmail.com>
7 years agoAdd .rst files for readthedocs for Int/Pack 20/49720/11
Umesh Singla [Wed, 21 Dec 2016 23:07:09 +0000 (04:37 +0530)]
Add .rst files for readthedocs for Int/Pack

Change-Id: I37fa9706c36b57b8cb0118e2abed0b4c2369d073
Signed-off-by: Umesh Singla <umeshksingla@gmail.com>
7 years agoAdd example RPM repo config for latest-Carbon 81/52181/2
Daniel Farrell [Wed, 22 Feb 2017 17:37:49 +0000 (12:37 -0500)]
Add example RPM repo config for latest-Carbon

Change-Id: Ic70d17ca59786af257e284b62e86ed301988fdd0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd RPM repo config for Carbon 82/52182/1
Daniel Farrell [Wed, 22 Feb 2017 17:41:21 +0000 (12:41 -0500)]
Add RPM repo config for Carbon

Note: Will not work until Carbon is released/built/pushed.

Change-Id: I9c45d7272a6658dc925f97fb79d704a770e053aa
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoEnable scripted start/stop of key-value server 08/51208/2
Matt Welch [Mon, 30 Jan 2017 20:26:15 +0000 (12:26 -0800)]
Enable scripted start/stop of key-value server

Add scripts to repeatably start and stop key-value server in
docker-devstack cluster.

For related work, see:
https://github.com/mgkwill/docker-devstack
https://github.com/matt-welch/docker-devstack

Change-Id: I4cb5115d43f576fa95c4d3ca9897aedea3abe3f2
Signed-off-by: Matt Welch <matt.welch@intel.com>
7 years agoAdd OpenStack Containers 70/50570/8
Marcus G K Williams [Tue, 17 Jan 2017 17:57:04 +0000 (09:57 -0800)]
Add OpenStack Containers

Add OpenStack compute containers
for the purposes of
testing and developement.

Change-Id: I1b5717c2ed3665dae887b9ba15cf39d97aebeea0
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Co-Authored-By: Matt Welch <matt.welch@intel.com>
7 years agoCluster setup in one click - Docker & Vagrant 28/51528/2
Alexis de Talhouët [Tue, 7 Feb 2017 18:12:09 +0000 (13:12 -0500)]
Cluster setup in one click - Docker & Vagrant

TODO:
- add the ability to customize the IPs of the spwan containers through
the config.properties file

Change-Id: I450a596a5201c8a379080a82effe5c1d58f063d6
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd ODL 5.1 and 5.2 Packer builds 85/50385/5
Daniel Farrell [Fri, 13 Jan 2017 02:16:56 +0000 (21:16 -0500)]
Add ODL 5.1 and 5.2 Packer builds

Change-Id: I8bbb67225349f0d46a8b053f19700362c63d805f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Fedora 25 Packer builds 84/50384/5
Daniel Farrell [Fri, 13 Jan 2017 02:15:49 +0000 (21:15 -0500)]
Add Fedora 25 Packer builds

Change-Id: Id9fb604c5d73479abbb14deb11187fc2329bd671
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate Packer test Vagrantfile for F25, ODL 5.2 83/50383/5
Daniel Farrell [Fri, 13 Jan 2017 02:10:04 +0000 (21:10 -0500)]
Update Packer test Vagrantfile for F25, ODL 5.2

Change-Id: I519bbd3a977d9e72cef0df03f9ad229e8870b292
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFixs in Packer cleanup/minimize scripts 82/50382/4
Daniel Farrell [Fri, 13 Jan 2017 00:23:06 +0000 (19:23 -0500)]
Fixs in Packer cleanup/minimize scripts

* Need root, use sudo.
* Don't do yum remove of packages that aren't installed
* Fix shebang

Change-Id: I883d32898e60333530e2e976710dbd73399aba4b
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Packer vars for CentOS 7.3.1611 29/50529/1
Daniel Farrell [Tue, 17 Jan 2017 00:31:10 +0000 (19:31 -0500)]
Add Packer vars for CentOS 7.3.1611

Change-Id: I99aded4dae03590b7b439ca9922413a146f4285e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate Ansible and Puppet submodule versions 86/50386/1
Daniel Farrell [Fri, 13 Jan 2017 02:19:41 +0000 (21:19 -0500)]
Update Ansible and Puppet submodule versions

Change-Id: I380fdf105116c3d00430e9e74f2700e68d13130c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd example repo file for installing Boron SR2 RPM 80/50380/1
Daniel Farrell [Thu, 12 Jan 2017 23:26:25 +0000 (18:26 -0500)]
Add example repo file for installing Boron SR2 RPM

Change-Id: Iad4cf81d311ca687b5c5f946c5d34a47abf0986a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Boron-SR2 definitions 77/49777/2
Romanos Skiadas [Fri, 23 Dec 2016 10:04:44 +0000 (12:04 +0200)]
Add Boron-SR2 definitions

Change-Id: I208071b007b875002ed389e0a5ab4520c8af7cb7
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoUse `extract_version()` to get version info in rpm build scripts 37/49837/4
Alok Anand [Tue, 27 Dec 2016 19:32:12 +0000 (01:02 +0530)]
Use `extract_version()` to get version info in rpm build scripts

Since version info can be extracted from download_url, this patch
removes unnecessary params from new/existing/snapshot builds. It
also removes version info from build_vars.yaml.

Adds license header to build_vars.yaml file.

Change-Id: I83c8aba231e8510013134cee8f252d2c05ec859e
Signed-off-by: Alok Anand <alok4nand@gmail.com>
7 years agostart using dnf instead of yum for fedora 88/49988/1
Jamo Luhrsen [Tue, 3 Jan 2017 22:04:49 +0000 (14:04 -0800)]
start using dnf instead of yum for fedora

Change-Id: Ie62ddf4b3e0038ccb81a6cd897c72d406ce5a776
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMinimize docker image and vagrant box sizes 80/49880/2
srisankethu [Fri, 30 Dec 2016 00:52:48 +0000 (06:22 +0530)]
Minimize docker image and vagrant box sizes

Change-Id: I67bf3ab27774a294bdead989ad9f0d92697bc057
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
7 years agoExtract version logic from URL in RPM Build Script 06/48106/30
Girish Sukhatankar [Tue, 8 Nov 2016 06:38:28 +0000 (23:38 -0700)]
Extract version logic from URL in RPM Build Script

Add extract_url() function to return ODL version parameters.

Add unit tests for version extraction logic, doc.

Add license headers.

Change-Id: Id765c2cca9ad10c88efb08c6ac2bb98b1b0ef4c8
Signed-off-by: Girish Sukhatankar <girish.sukhatankar@colorado.edu>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Signed-off-by: Alok Anand <alok4nand@gmail.com>
7 years agoFix YAML files, using coala 19/49319/3 release/boron-sr2
Umesh Singla [Tue, 13 Dec 2016 19:10:34 +0000 (00:40 +0530)]
Fix YAML files, using coala

Add .yamllint for linting YAML files, overriding default
rules of YAMLLintBear for line-length and truthy values

Change-Id: Ia37f5dc6b5394c15285de7e038d66c7bf9058576
Signed-off-by: Umesh Singla <umeshksingla@gmail.com>
7 years agoAdd function to build latest snapshot RPM 62/49262/3
Alok Anand [Wed, 14 Dec 2016 07:17:19 +0000 (12:47 +0530)]
Add function to build latest snapshot RPM

For a given major version find the latest
snapshot using url and build its .rpm.
Pass `--build-latest-snap` along with
required params to build.py.
For example:
./build.py --build-latest-snap --major 5

Change-Id: If8e86ff3d97e4551f8884a5b9583e4fe48793f5a
Signed-off-by: Alok Anand <alok4nand@gmail.com>
7 years agoFix .py files 18/49318/1
Umesh Singla [Tue, 13 Dec 2016 19:07:58 +0000 (00:37 +0530)]
Fix .py files

Fix/lint .py files according to PEP8, using coala

Change-Id: I63e6e3b3c62cd3737e1978d8be11b7f9e5dbbc9b
Signed-off-by: Umesh Singla <umeshksingla@gmail.com>
7 years agoFix json files 10/49310/1
Umesh Singla [Tue, 13 Dec 2016 16:31:01 +0000 (22:01 +0530)]
Fix json files

Clean up json indentation warnings generated by coala

Change-Id: Iaa806d2fb7d8662c1ad089953f9e4208036b40fa
Signed-off-by: Umesh Singla <umeshksingla@gmail.com>
7 years agoAdd .coafile 64/49164/4
srisankethu [Thu, 8 Dec 2016 13:23:59 +0000 (18:53 +0530)]
Add .coafile

It is a config file for coala.

To test, install coala and coala-bears.

Install dependencies as asked after running 'coala'.

For example:

sudo npm install -g remark-cli dockerfile_lint

Change-Id: Ia883b48d4d5b27768bd65dcb2cd5a5aa89a6b4ce
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIncrease limit of open files for ODL service 41/48541/1
Michal Skalski [Mon, 21 Nov 2016 15:23:45 +0000 (16:23 +0100)]
Increase limit of open files for ODL service

On Ubuntu 16.04 with default limit of 4096 open files karaf.log included
error messages:

  java.io.IOException: Too many open files

New limit was taken from this change
https://gerrit.opnfv.org/gerrit/#/c/14171/

Change-Id: I247e58891294765f4c77a1258c87637a3edd3d62
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoRemove old RPM version docs 27/48427/1
Daniel Farrell [Wed, 16 Nov 2016 20:14:05 +0000 (15:14 -0500)]
Remove old RPM version docs

Change-Id: I2217bb4093d7e56e5d0af0075b58156f17a0665c
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd possibility to build packages inside docker 82/48382/9
Michal Skalski [Wed, 16 Nov 2016 00:34:27 +0000 (01:34 +0100)]
Add possibility to build packages inside docker

Also add recent RPM/.deb build_vars.yaml sections.

Change-Id: I7dc501d552d8e345c70612b88ab534e54dd81dc2
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoadd newline so tox will pass 84/48384/1
Jamo Luhrsen [Wed, 16 Nov 2016 04:40:06 +0000 (20:40 -0800)]
add newline so tox will pass

Change-Id: Ib8cbc0f1d334b9ad7227857c6df3b73af5cd6a52
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix Packer Vagrantfile libvirt box names, add 5.1 67/47967/1
Daniel Farrell [Fri, 4 Nov 2016 04:55:20 +0000 (00:55 -0400)]
Fix Packer Vagrantfile libvirt box names, add 5.1

Change-Id: I2e2032cc117716a18523e831ae7200a403771c7d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd example RPM repo config for ODL 5.1 09/47909/1
Daniel Farrell [Thu, 3 Nov 2016 23:48:54 +0000 (19:48 -0400)]
Add example RPM repo config for ODL 5.1

Change-Id: I602519a8dcb9fb94c1701826e5b5e72dc2109124
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAvoid hitting Docker-breaking-Packer bug 04/47904/1 release/boron-sr1
Daniel Farrell [Thu, 3 Nov 2016 20:03:30 +0000 (16:03 -0400)]
Avoid hitting Docker-breaking-Packer bug

Docker removed a flag that broke Packer. Docker versions >1.12 fail with
force set to true.

Packer issue tracking it:

https://github.com/mitchellh/packer/issues/3771

PR that broke us:

https://github.com/docker/docker/pull/23090

Change-Id: I6f544e5d8353e997d2560fe96e7ae545761c2173
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Packer config make ssh auth work by default 12/47712/2
Daniel Farrell [Fri, 28 Oct 2016 01:18:15 +0000 (21:18 -0400)]
Add Packer config make ssh auth work by default

Recent versions of Fedora don't use ssh-dss, which old versions of ODL
seem to offer by default. Can fix with a system config change like this
or by manually passing as option to ssh command. The csit and l2switch
tutorials do it by changing this configuration. vagrant-opendaylight's
connect.sh helper script is an example of passing the param to ssh CLI.

There might be a better way/place to fix this. Ideas encouraged.

Change-Id: Id143fa6bc864469926596dfaddb77902f6d8c68f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate Packer Vagrantfile for ODL 4.3/4.4/5, F24 11/47711/3
Daniel Farrell [Fri, 28 Oct 2016 00:21:05 +0000 (20:21 -0400)]
Update Packer Vagrantfile for ODL 4.3/4.4/5, F24

Change-Id: I6966a261c21beee30ac0f432c3f4f91530c727de
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd ODL Be SR4 4.4 RPM build definition 10/47710/1
Daniel Farrell [Thu, 27 Oct 2016 23:26:30 +0000 (19:26 -0400)]
Add ODL Be SR4 4.4 RPM build definition

Note that a 4.4 RPM was built using Jenkins and pushed to the CentOS CBS
for consumption a while ago.

Change-Id: I5eb060df75c5798e03cbe33eab06b4d28304c631
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Packer (Docker/Vagrant) build def for ODL 5.0 05/47705/2
Daniel Farrell [Thu, 27 Oct 2016 22:00:08 +0000 (18:00 -0400)]
Add Packer (Docker/Vagrant) build def for ODL 5.0

Change-Id: Ic6d9b8f715eb224a104936c65650bcb7aba7e66f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Packer (Docker/Vagrant) build def for ODL 4.4 04/47704/2
Daniel Farrell [Thu, 27 Oct 2016 21:59:42 +0000 (17:59 -0400)]
Add Packer (Docker/Vagrant) build def for ODL 4.4

Change-Id: I7dde61ad3e91f024719c0856a77b158e448e8abd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIgnore file generated when Ansible fails 02/47702/2
Daniel Farrell [Thu, 27 Oct 2016 21:52:58 +0000 (17:52 -0400)]
Ignore file generated when Ansible fails

Change-Id: Ic1df372f7d46af20b6f806addb536a4d557bb596
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Packer (Docker/Vagrant) build def for ODL 4.3 01/47701/2
Daniel Farrell [Thu, 27 Oct 2016 21:51:47 +0000 (17:51 -0400)]
Add Packer (Docker/Vagrant) build def for ODL 4.3

Change-Id: Ia0e82d386e265e92443e5ede9b583f83ff8a90ff
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUpdate Packer (Docker/Vagrant) builds F23->F24 03/47703/2
Daniel Farrell [Thu, 27 Oct 2016 21:55:03 +0000 (17:55 -0400)]
Update Packer (Docker/Vagrant) builds F23->F24

Change-Id: I4f35a3d764bc282dde51ee3a95efe110bd442bd2
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Vagrantfile for quickly testing Packer builds 70/43670/3
Daniel Farrell [Thu, 11 Aug 2016 02:06:16 +0000 (22:06 -0400)]
Add Vagrantfile for quickly testing Packer builds

Allows testing box with `vagrant up <name>` after a build, without
having to do a manual `vagrant box add` and defining a Vagrantfile
that boots the newly added box.

Change-Id: Ib9b232daf55901169535823f6f71cd0d7b30e524
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoFix opendaylight 4.2 var file 01/43201/2
Patrick Laurin [Fri, 5 Aug 2016 00:27:35 +0000 (20:27 -0400)]
Fix opendaylight 4.2 var file

Change-Id: Idaea06385ec758c5203a4c81c5d17c271e05cace
Signed-off-by: Patrick Laurin <plaurin@inocybe.ca>
7 years agoAdd Beryllium SR3 example RPM repo config 65/47365/2
Daniel Farrell [Fri, 21 Oct 2016 21:06:54 +0000 (17:06 -0400)]
Add Beryllium SR3 example RPM repo config

Change-Id: I4b45509b490fe1d7ef0f82d436ecf6714d2ff2dd
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoAdd Beryllium SR4 example RPM repo config 66/47366/1
Daniel Farrell [Fri, 21 Oct 2016 21:08:07 +0000 (17:08 -0400)]
Add Beryllium SR4 example RPM repo config

Change-Id: Ie93a749a6c2885cbc7e114dca702689fa9eae30a
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>