osm/devops.git
6 years agoAdds KAFKA_TAG env var and sets default as 2.11-1.0.2 29/6629/1
Benjamin Diaz [Thu, 4 Oct 2018 17:02:34 +0000 (14:02 -0300)]
Adds KAFKA_TAG env var and sets default as 2.11-1.0.2

Kafka image was being pulled from latest, which generated
incompatibilities with kafka clients used in modules.
It has been modified to pull from the latest supported version,
which is 1.0.2. In case there is a need to use another image tag,
it can be done through KAFKA_TAG env var.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
6 years agoMerge "Setup sudo nopassword for initial packer build"
Mike Marchetti [Wed, 3 Oct 2018 20:20:53 +0000 (22:20 +0200)]
Merge "Setup sudo nopassword for initial packer build"

6 years agoSetup sudo nopassword for initial packer build 22/6622/1
Mike Marchetti [Wed, 3 Oct 2018 20:12:08 +0000 (16:12 -0400)]
Setup sudo nopassword for initial packer build

Change-Id: I662c8f3fdc26be5c0117e663346ff1d29d60ac0b
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Remove sudo from installing packages"
Mike Marchetti [Wed, 3 Oct 2018 19:50:57 +0000 (21:50 +0200)]
Merge "Remove sudo from installing packages"

6 years agoRemove sudo from installing packages 21/6621/1
Mike Marchetti [Wed, 3 Oct 2018 19:37:21 +0000 (15:37 -0400)]
Remove sudo from installing packages

Change-Id: Iee63f6494a989ec895be74cd2df8276bab1f78e0
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Update docker installation"
Mike Marchetti [Wed, 3 Oct 2018 17:05:38 +0000 (19:05 +0200)]
Merge "Update docker installation"

6 years agoUpdate docker installation 17/6617/1
Mike Marchetti [Wed, 3 Oct 2018 16:58:53 +0000 (12:58 -0400)]
Update docker installation

Change-Id: I3a6fbabe94b847f3c4ce5124e403455f457e317e
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Add releasefive build"
Mike Marchetti [Tue, 2 Oct 2018 18:34:36 +0000 (20:34 +0200)]
Merge "Add releasefive build"

6 years agoAdd releasefive build 07/6607/1
Mike Marchetti [Tue, 2 Oct 2018 18:24:47 +0000 (14:24 -0400)]
Add releasefive build

Change-Id: Ie08e2b0bd89cc4a6623475583b003f3b79a2ab07
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoextract IM docs into osm-download 06/6606/1
Mike Marchetti [Tue, 2 Oct 2018 13:19:36 +0000 (09:19 -0400)]
extract IM docs into osm-download

Change-Id: I96f6b0ebadcc660100de58f0777b4a519f57a6e9
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd install via dockerhub images 00/6600/2
Mike Marchetti [Mon, 1 Oct 2018 19:25:15 +0000 (15:25 -0400)]
Add install via dockerhub images

Change-Id: I099e07ecd796e708a2fa6ce4edc0d9a3894dbe62
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate policy module dependency checking 99/6599/1
Mike Marchetti [Mon, 1 Oct 2018 16:37:59 +0000 (12:37 -0400)]
Update policy module dependency checking

- dependency checking needs to be full package name
- POL uses different naming scheme for package
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id: I87c8c6c4291803562225e45b8af86df358dabfb6

6 years agoMerge "Disable parallel make for easier debugging"
Mike Marchetti [Fri, 28 Sep 2018 21:36:35 +0000 (23:36 +0200)]
Merge "Disable parallel make for easier debugging"

6 years agoDisable parallel make for easier debugging 86/6586/1
Mike Marchetti [Fri, 28 Sep 2018 18:43:51 +0000 (14:43 -0400)]
Disable parallel make for easier debugging

make -j4 was used for speedup, however it is difficult to trace
failures.
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id: I06a1dbb3bf295030d05cc22b4f84c4a6e9796a7a

6 years agoMerge "Change default of network name to netosm"
Mike Marchetti [Wed, 26 Sep 2018 20:38:09 +0000 (22:38 +0200)]
Merge "Change default of network name to netosm"

6 years agoChange default of network name to netosm 64/6564/1
Mike Marchetti [Wed, 26 Sep 2018 20:26:14 +0000 (16:26 -0400)]
Change default of network name to netosm

Change-Id: I25b1af5b07a524918b46d39c2cdce237fa06a747
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Adding Keystone environment variables to NBI"
marchettim [Wed, 26 Sep 2018 18:42:25 +0000 (20:42 +0200)]
Merge "Adding Keystone environment variables to NBI"

6 years agoUse LWUI version to allow caching 63/6563/2
Mike Marchetti [Wed, 26 Sep 2018 13:58:55 +0000 (09:58 -0400)]
Use LWUI version to allow caching

- use time/seconds to break cache until lwui packaging is supported
- avoids usings --no-cache due to upstream npm install delays
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id: I5f037a955b2091e0477c7fe22674f43458436145

6 years agoAdding Keystone environment variables to NBI 34/6534/5
Eduardo Sousa [Fri, 21 Sep 2018 10:37:49 +0000 (11:37 +0100)]
Adding Keystone environment variables to NBI

Adding the necessary environment variables to the
NBI MDG Dockerfile in order for the Keystone authentication
to work.

Completing the docker-compose yaml, fixing renaming typo
in keystone dockerfile and updating environment file
creation.

Change-Id: I4eb15119f4dba304494ef16fc90eea8d8c230927
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
6 years agoIncrease osm health check default timeout 59/6559/1
Mike Marchetti [Tue, 25 Sep 2018 16:09:51 +0000 (12:09 -0400)]
Increase osm health check default timeout

Change-Id: I1e3cdec3fb4d3611f1d912b4ec7a020ac1013a0b
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoArchive when not unstable 56/6556/1
Mike Marchetti [Mon, 24 Sep 2018 19:20:51 +0000 (15:20 -0400)]
Archive when not unstable

Change-Id: Ie75222afea5a5776515a8cd5743e22662ed22376
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoarchive only on smoke success 54/6554/1
Mike Marchetti [Mon, 24 Sep 2018 18:44:55 +0000 (14:44 -0400)]
archive only on smoke success

Change-Id: I03ddd769d387af7d8085ca21e946aef7d63ef58c
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd additional logging of osm health 51/6551/1
Mike Marchetti [Mon, 24 Sep 2018 14:27:00 +0000 (10:27 -0400)]
Add additional logging of osm health

Change-Id: I4258228a0e7cd46fd1b9e771313c2c8f8650ea38
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate osmclient docker to use versioned osm-devops 50/6550/1
Mike Marchetti [Fri, 21 Sep 2018 20:56:54 +0000 (16:56 -0400)]
Update osmclient docker to use versioned osm-devops

Change-Id: If07d3f29b94b925fb41aaf0d0321b2c8c7c9f007
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoOn upstream build, remove old artifacts 49/6549/1
Mike Marchetti [Fri, 21 Sep 2018 20:55:43 +0000 (16:55 -0400)]
On upstream build, remove old artifacts

Change-Id: I4f7820f5aab3d0f3e28c62a65eca2acc6fcd4451
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUse release dir for artifact upload 47/6547/1
Mike Marchetti [Fri, 21 Sep 2018 20:01:11 +0000 (16:01 -0400)]
Use release dir for artifact upload

Change-Id: I1ba89d80e65f4d7aec58c825004f89cda632067f
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUse osm-devops package for stage_3 46/6546/1
Mike Marchetti [Fri, 21 Sep 2018 19:46:43 +0000 (15:46 -0400)]
Use osm-devops package for stage_3

Change-Id: Ie3d19c1886e48be14c484c32f75a48e35907f71e
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate junit test results 45/6545/1
Mike Marchetti [Fri, 21 Sep 2018 19:00:23 +0000 (15:00 -0400)]
Update junit test results

Change-Id: Idfddb862e035046b42f427f8b1ec86b1641e4c59
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAllow artifact saving on smoke success 44/6544/1
Mike Marchetti [Fri, 21 Sep 2018 18:05:28 +0000 (14:05 -0400)]
Allow artifact saving on smoke success

Change-Id: I07e8e253fe5223d33dbb2af518ffbac4c596b844
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate copy of junit test results 43/6543/1
Mike Marchetti [Fri, 21 Sep 2018 17:56:56 +0000 (13:56 -0400)]
Update copy of junit test results

Change-Id: I306e84820c3a6dd0b7ca65ce047c6a922a50d091
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoremove interative mode for running systest 42/6542/1
Mike Marchetti [Fri, 21 Sep 2018 17:38:25 +0000 (13:38 -0400)]
remove interative mode for running systest

Change-Id: Ibc9e42ddab08f2581648364e48ad7c865662690b
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoRenaming PM to POL 36/6536/2
Eduardo Sousa [Fri, 21 Sep 2018 15:34:29 +0000 (16:34 +0100)]
Renaming PM to POL

Updated all the references from PM to POL.

Change-Id: I5d8c228bfa5498d810eb98d55d9f30a681a2730d
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
6 years agoAdd osm_health.sh check 39/6539/1
Mike Marchetti [Fri, 21 Sep 2018 16:03:05 +0000 (12:03 -0400)]
Add osm_health.sh check

Change-Id: I2b9a962d0bb179eb250ea1c2097ec37f52c97144
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agosetup policy container to use policy packages 37/6537/1
Mike Marchetti [Fri, 21 Sep 2018 15:36:05 +0000 (11:36 -0400)]
setup policy container to use policy packages

Change-Id: I21e4b8261b547bf76d8e1649aefc404902c51948
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Adding Keystone to MDG Dockerfiles"
marchettim [Fri, 21 Sep 2018 14:50:26 +0000 (16:50 +0200)]
Merge "Adding Keystone to MDG Dockerfiles"

6 years agoAdding Keystone to MDG Dockerfiles 33/6533/3
Eduardo Sousa [Fri, 21 Sep 2018 10:06:32 +0000 (11:06 +0100)]
Adding Keystone to MDG Dockerfiles

Included environment files.
Admin password selection and storage needs to be discussed.

Change-Id: Ibcaa818bcc3ae6fd013507b0b114b15b70e60150
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
6 years agoFixup tempdir creation 35/6535/1
Mike Marchetti [Fri, 21 Sep 2018 14:48:15 +0000 (10:48 -0400)]
Fixup tempdir creation

Change-Id: I6743c08d9423ab8cdbb88335bbf30811aa484168
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Add smoke/health tests to OSM stage_3"
Mike Marchetti [Fri, 21 Sep 2018 14:35:05 +0000 (16:35 +0200)]
Merge "Add smoke/health tests to OSM stage_3"

6 years agoAdd POL repository 31/6531/1
Mike Marchetti [Thu, 20 Sep 2018 18:36:31 +0000 (14:36 -0400)]
Add POL repository

- added to stage_3
- added to newtag script

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd smoke/health tests to OSM stage_3 28/6528/2
Mike Marchetti [Thu, 20 Sep 2018 14:18:01 +0000 (10:18 -0400)]
Add smoke/health tests to OSM stage_3

Change-Id: I11b5aab4d4fcd496e47ff8d483ebd4ad771cd780
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMissing backslash on installer invocation 18/6518/1
Mike Marchetti [Wed, 19 Sep 2018 21:57:43 +0000 (17:57 -0400)]
Missing backslash on installer invocation

Change-Id: I99384e71087ce768e997efe87fed4bbcf0a7e2a2
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate workdir to use /tmp 17/6517/1
Mike Marchetti [Wed, 19 Sep 2018 21:44:43 +0000 (17:44 -0400)]
Update workdir to use /tmp

Change-Id: Ie30e86a11ac143cd3fb995c921ea3dbb7a0357a5
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agouse correct location for make invocation 16/6516/1
Mike Marchetti [Wed, 19 Sep 2018 21:27:35 +0000 (17:27 -0400)]
use correct location for make invocation

Change-Id: I6e26db36eb8719b8698ad6724ca22f140634069b
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoclean build prior to building docker images 15/6515/1
Mike Marchetti [Wed, 19 Sep 2018 21:17:47 +0000 (17:17 -0400)]
clean build prior to building docker images

Change-Id: Icadc128234d9d28693404a7044f0f11722e1e140
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoFix repo base url to return only url 14/6514/1
Mike Marchetti [Wed, 19 Sep 2018 21:09:05 +0000 (17:09 -0400)]
Fix repo base url to return only url

Change-Id: Ic7e3faf53fd193a3075352430fa43f74c7aa3e85
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate docker builds to use local ci repo server 13/6513/1
Mike Marchetti [Wed, 19 Sep 2018 21:04:53 +0000 (17:04 -0400)]
Update docker builds to use local ci repo server

Change-Id: I86e03995ee56a62fa1e2d8063d5389dee57d57e1
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoEnable docker builds in stage_3 12/6512/1
Mike Marchetti [Wed, 19 Sep 2018 20:31:09 +0000 (16:31 -0400)]
Enable docker builds in stage_3

Change-Id: I0507dae0819c61d697b70430e38d50f8d513d4a6
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd dockerfile for MDG's 10/6510/2
Mike Marchetti [Wed, 19 Sep 2018 19:00:36 +0000 (15:00 -0400)]
Add dockerfile for MDG's

- Added option to installer to use specfic docker build tag

Change-Id: Ia6cf6316c6fb84a18ecdbaf98747a95c20ce2f0b
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate stage_3 to use multi-stack install 00/6500/2
Mike Marchetti [Thu, 13 Sep 2018 17:45:06 +0000 (13:45 -0400)]
Update stage_3 to use multi-stack install

Add support for multi-stack installation

Cleanup use of sudo for copying files. Apply docker specific
configuration inside user directory.

Utilize multiple juju controllers utilizing the stack name.

Create stack with no exposed host ports via '-nohostports' for creating
multiple instances of osm (useful in CI)

Add osmclient container for stack: This allows user to run osmclient
inside a container, that matches the release of osm, that has internal
access to all services.

Added options:
    --nolxd for CI osm installation
    --nojuju for CI osm installation
    --nodockerbuild
    --nohostports
    --nohostclient
    -s <stack name>

Change-Id: I4a2c1b09854e61ebb52d83f9f1ecebed8a17674d
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoInitial seed file for MDG dockerfiles 57/6457/3
Mike Marchetti [Wed, 5 Sep 2018 13:52:42 +0000 (09:52 -0400)]
Initial seed file for MDG dockerfiles

Change-Id: I7426a709e1b531dd28c440e088b6f508e7cdefa0
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoDisable automatically running vim-emu startup script 52/6452/1
Mike Marchetti [Fri, 31 Aug 2018 14:18:44 +0000 (10:18 -0400)]
Disable automatically running vim-emu startup script

Change-Id: I9e5bd2fff7cf5eec7f8f084f8595c7c94c33856e
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAvoid deleting of lxc container when not installing 24/6424/1
Mike Marchetti [Fri, 17 Aug 2018 18:43:50 +0000 (14:43 -0400)]
Avoid deleting of lxc container when not installing

Change-Id: Icea51817f0c0815ada1abd4ff8690ec0b4b03b5a
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd ability for stage_3 without install/smoke 23/6423/1
Mike Marchetti [Fri, 17 Aug 2018 18:37:32 +0000 (14:37 -0400)]
Add ability for stage_3 without install/smoke

Change-Id: I9f541a4684717aaa830f22a67bd647eb8436e0ab
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd smoke tests support for REL4 (lightweight) 22/6422/1
Mike Marchetti [Fri, 17 Aug 2018 17:54:21 +0000 (13:54 -0400)]
Add smoke tests support for REL4 (lightweight)

Change-Id: I5b0d9b3c8578510e8e3fb7002b0a9c573479bed6
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdding validations to upgrade and validate scripts(VDU-ID and OM-MGT) 20/6420/1
gcalvino [Wed, 27 Jun 2018 09:02:43 +0000 (11:02 +0200)]
Adding validations to upgrade and validate scripts(VDU-ID and OM-MGT)

Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agoAdding checks to upgrade and validation tools 99/6299/3
gcalvino [Fri, 15 Jun 2018 07:51:34 +0000 (09:51 +0200)]
Adding checks to upgrade and validation tools

Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agosystest fixes to suport sol005 15/6415/1
Mike Marchetti [Tue, 14 Aug 2018 16:13:48 +0000 (12:13 -0400)]
systest fixes to suport sol005

Change-Id: I13fb63491b2ca341313c958b8460b96f62625a0c
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoFixup passing arguments from packer script 11/6411/1
Michael Marchetti [Mon, 13 Aug 2018 20:52:44 +0000 (22:52 +0200)]
Fixup passing arguments from packer script

Change-Id: Ic69fceb6f98a9ea2abb133aaf24b54242d86fb1e
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agoAllow lightweight to be built from tag/commit 97/6397/1 BUILD_v4.0.1_2
Michael Marchetti [Thu, 2 Aug 2018 20:47:16 +0000 (22:47 +0200)]
Allow lightweight to be built from tag/commit

The installer did not allow for a commit (with -b <commit_id> option).

Change-Id: I6aa0adf45c2ae27a552d16b2d0184f82115ae87b
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agoUpdate base ubuntu image to 16.04.5 93/6393/1 BUILD_v4.0.1_1
Michael Marchetti [Thu, 2 Aug 2018 15:33:02 +0000 (17:33 +0200)]
Update base ubuntu image to 16.04.5

Change-Id: Ie60dd5fc057ac5174a89933c9fafd1a8996e85e5
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agoAdd packer script for devops pipelines 92/6392/1
Michael Marchetti [Thu, 2 Aug 2018 15:15:48 +0000 (17:15 +0200)]
Add packer script for devops pipelines

Change-Id: Ib72d108f5fa9cf60d2f50575b38fbf2ab8506017
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agofull_install_osm: include uninstall of ELK and PM stack 32/6332/4
garciadeblas [Tue, 10 Jul 2018 07:16:30 +0000 (09:16 +0200)]
full_install_osm: include uninstall of ELK and PM stack

Change-Id: I0ccd70620a650caf41cf5410fd634e7a5658f871
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoImproved ELK and PM stack installation to pull images before deployment 17/6317/5
garciadeblas [Fri, 6 Jul 2018 12:11:20 +0000 (14:11 +0200)]
Improved ELK and PM stack installation to pull images before deployment

Change-Id: I935b431cff56c2527e96e686e78ab7ceef6292e7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoUpdated generate_descriptor_pkg to work with Rel FOUR 16/6316/5
garciadeblas [Mon, 25 Jun 2018 20:59:36 +0000 (22:59 +0200)]
Updated generate_descriptor_pkg to work with Rel FOUR

Change-Id: I8a3f7dc34bdb534671862c192fc4e255a62e6b57
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoHackfest descriptors addition 32/6232/3
gcalvino [Tue, 29 May 2018 09:49:57 +0000 (11:49 +0200)]
Hackfest descriptors addition

Change-Id: I1ff106ce9ef3cff39e743d29e9df7b517ddd7fe0
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agoMerge "Fix typo in vm_name"
Michael Marchetti [Wed, 11 Jul 2018 20:00:43 +0000 (22:00 +0200)]
Merge "Fix typo in vm_name"

6 years agoFix typo in vm_name 31/6331/1
Michael Marchetti [Wed, 11 Jul 2018 19:59:51 +0000 (21:59 +0200)]
Fix typo in vm_name

Change-Id: I5c3f28659b2a1eeedcc8b0450421047c1ee806cf
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Add build_dir variable for build"
Michael Marchetti [Wed, 11 Jul 2018 18:30:34 +0000 (20:30 +0200)]
Merge "Add build_dir variable for build"

6 years agoAdd build_dir variable for build 30/6330/1
Michael Marchetti [Wed, 11 Jul 2018 18:28:44 +0000 (20:28 +0200)]
Add build_dir variable for build

Change-Id: Ia65ade3e0336e7eddfd250b4c4d74a3a7d1d3c41
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agoMerge "Add support for vim emu installation"
Michael Marchetti [Tue, 10 Jul 2018 16:12:16 +0000 (18:12 +0200)]
Merge "Add support for vim emu installation"

6 years agoAdd support for vim emu installation 28/6328/1
Michael Marchetti [Tue, 10 Jul 2018 16:07:12 +0000 (18:07 +0200)]
Add support for vim emu installation

* add auto push to vagrant cloud

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agotracking install proceed and prereqok (pre-requirements ok) 65/6265/3
garciadeblas [Tue, 12 Jun 2018 16:27:11 +0000 (18:27 +0200)]
tracking install proceed and prereqok (pre-requirements ok)

Change-Id: Id4f385dc340fd0256f8f3c9f27fa79bc1e2dde5e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: exit if no default iface or IP can be determined 45/6245/3
garciadeblas [Sat, 2 Jun 2018 06:38:17 +0000 (08:38 +0200)]
installer: exit if no default iface or IP can be determined

Change-Id: Iddaefc40007c6a6a739b42f32f0a698c1682b448
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoUpdate deprecated methods 94/6294/1
Adam Israel [Thu, 21 Jun 2018 19:57:00 +0000 (15:57 -0400)]
Update deprecated methods

The `set_state` and `remove_state` methods have been deprecated in
favour of `set_flag` and `clear_flag`. This updates the references to
those methods.

6 years agoAdd restart always options to vim-emu container 75/6275/1
Mike Marchetti [Thu, 14 Jun 2018 19:06:21 +0000 (15:06 -0400)]
Add restart always options to vim-emu container

Change-Id: I9e96bc1ff537143eb3b0cf87810dc0923efe1b40
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd packer scripts for vagrant image generation 67/6267/1
Mike Marchetti [Wed, 13 Jun 2018 13:21:40 +0000 (09:21 -0400)]
Add packer scripts for vagrant image generation

Change-Id: If163c456b756f6c7c8a7a197dabc8eb3b1fc7907
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoPrompt message to let the user know what will be installed 42/6242/2 v4.0.1
garciadeblas [Wed, 30 May 2018 16:36:29 +0000 (18:36 +0200)]
Prompt message to let the user know what will be installed

Change-Id: If9e0bc0a976c7a7ad035c5b0211efffd94e46b16
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: --nodocker option for unattended installations 41/6241/1
garciadeblas [Wed, 30 May 2018 15:58:55 +0000 (17:58 +0200)]
installer: --nodocker option for unattended installations

Change-Id: I2e704bd0868783c70e99f028a43a5ae482fd41ab
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoMoving vmware ovf converter tool from RO to Devops 38/6238/2
kasar [Wed, 30 May 2018 11:19:00 +0000 (04:19 -0700)]
Moving vmware ovf converter tool from RO to Devops

Signed-off-by: kasar <pkasar@vmware.com>
6 years agoUpdated Makefile to call validate_descriptor.py during tests 37/6237/1
garciadeblas [Wed, 30 May 2018 09:35:02 +0000 (11:35 +0200)]
Updated Makefile to call validate_descriptor.py during tests

Change-Id: I7a64f4a9a9b80c1740e5fd95d3e9d2d855d89fe5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: option -m to restrict docker image build to the specified module 27/6227/2
garciadeblas [Mon, 28 May 2018 14:04:42 +0000 (16:04 +0200)]
installer: option -m to restrict docker image build to the specified module

Change-Id: Ib4d0cb880ec903377ccd69866e893f601e584cb7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: missing call to generate_config_log_folders 25/6225/3
garciadeblas [Mon, 28 May 2018 07:25:36 +0000 (09:25 +0200)]
installer: missing call to generate_config_log_folders

Change-Id: Ib226f1befb350d60c0b8edcc63c5b9d22089c1e2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstall: missing idempotent aspects in install and uninstall 15/6215/1
garciadeblas [Fri, 25 May 2018 10:15:12 +0000 (12:15 +0200)]
install: missing idempotent aspects in install and uninstall

Backup all config files
Removing config and log files when uninstalling
Check OSMLCM_VCA_HOST and OSMLCM_VCA_SECRET are not empty

Change-Id: I375308e6dfca1463a06426557f7a7c4b4499b8d6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofull_install: default RELEASE is ReleaseFOUR 14/6214/1
garciadeblas [Fri, 25 May 2018 08:33:36 +0000 (10:33 +0200)]
full_install: default RELEASE is ReleaseFOUR

Change-Id: I66551a34aa3cfbe5ad64d6b6dc1a12884a196938
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: --nolxd option for unattended installations 13/6213/1
garciadeblas [Fri, 25 May 2018 08:25:06 +0000 (10:25 +0200)]
installer: --nolxd option for unattended installations

Change-Id: I9ba44a3b46ddc7d1486a48de2cbf72d8ecb97242
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: adding checks when building docker images 12/6212/1
garciadeblas [Fri, 25 May 2018 07:13:30 +0000 (09:13 +0200)]
installer: adding checks when building docker images

Change-Id: Ie33d967711ee31cc9df6dbe8c865e37671c4acbb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: missing elk and perfmon files copied to /etc/osm 11/6211/1
garciadeblas [Fri, 25 May 2018 07:06:08 +0000 (09:06 +0200)]
installer: missing elk and perfmon files copied to /etc/osm

Change-Id: If09a1359fd13bcbb7b8c42cf6a0dd494cbe158c0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agonewtag: updated modules, new param RELEASE_NAME 10/6210/1
garciadeblas [Thu, 24 May 2018 19:19:40 +0000 (21:19 +0200)]
newtag: updated modules, new param RELEASE_NAME

Change-Id: I5bad48e48dcab1d9d79139eb19f75d9c275687b5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoFix installer to make it idempotent 09/6209/1
garciadeblas [Thu, 24 May 2018 16:37:58 +0000 (18:37 +0200)]
Fix installer to make it idempotent

Change-Id: Ia928072635ae91872401abe25c4be3e311588471
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofix in juju commands to run as part of lxd group 08/6208/1
garciadeblas [Thu, 24 May 2018 08:48:59 +0000 (10:48 +0200)]
fix in juju commands to run as part of lxd group

Change-Id: I2f3a2a2c116492b95147bc81204729d20870587f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofull_install: create config and log osm folders 07/6207/1
garciadeblas [Thu, 24 May 2018 08:45:53 +0000 (10:45 +0200)]
full_install: create config and log osm folders

Change-Id: I519df03f4223a01283d85c097622bf6a37335950
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstaller: docker build with --no-cache in vimemu and kafka exporter 06/6206/1
garciadeblas [Wed, 23 May 2018 16:29:24 +0000 (18:29 +0200)]
installer: docker build with --no-cache in vimemu and kafka exporter

Change-Id: Ice255e732736f978756c1820cdf18680329ad280
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstall_osm: apt-get update before installing devops 05/6205/1
garciadeblas [Wed, 23 May 2018 10:33:36 +0000 (12:33 +0200)]
install_osm: apt-get update before installing devops

Change-Id: I786bb2b67a049fd93916e7fd449940d9ac071ac5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofix uninstall to remove volumes; build docker images with --no-cache 93/6193/1 v4.0.0
garciadeblas [Tue, 22 May 2018 16:31:14 +0000 (18:31 +0200)]
fix uninstall to remove volumes; build docker images with --no-cache

Change-Id: Ic9b62fcd899dde89286bf6aa8d3806c9759c1eb0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoChanges required to launch RelFOUR: checkout latest stable tag, updated deb release... 73/6173/2
garciadeblas [Fri, 18 May 2018 09:43:39 +0000 (11:43 +0200)]
Changes required to launch RelFOUR: checkout latest stable tag, updated deb release and repo, some checks

Change-Id: I6d1bb7eff17481e5e9fcbdb60e55c0b3c61824db
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoupdated juju bootstrap to use xenial series 79/6179/1
garciadeblas [Fri, 18 May 2018 13:37:28 +0000 (15:37 +0200)]
updated juju bootstrap to use xenial series

Change-Id: I0a6f19c3a89754487cbebf9440b96ce91fdfacea
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoForcing lightweight build to be installed as a normal user 77/6177/1
garciadeblas [Fri, 18 May 2018 13:24:51 +0000 (15:24 +0200)]
Forcing lightweight build to be installed as a normal user

Change-Id: I23529d8b3a294ca5fbe23bec4b51fa7c3fbfe258
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoadd checks to the installer for juju and docker CE installation 72/6172/2
garciadeblas [Fri, 18 May 2018 08:22:09 +0000 (10:22 +0200)]
add checks to the installer for juju and docker CE installation

Change-Id: I2fdb488286eb1c80f78a6e9391293f5a35dd0705
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoSpeed up LXD precache 67/6167/2
Adam Israel [Thu, 17 May 2018 13:18:21 +0000 (09:18 -0400)]
Speed up LXD precache

Speed up the caching of LXD images used by the installer and daily cron
by removing the trusty image, which is no longer used by default.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
6 years agoinstall: new options for addons: elk, pm; plus tracking install progress for lightweight 53/6153/10
garciadeblas [Wed, 16 May 2018 12:46:19 +0000 (14:46 +0200)]
install: new options for addons: elk, pm; plus tracking install progress for lightweight

Change-Id: Ie606686aa8738a94d36b3422acf9e6dc5ab3df92
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>